[PATCH v21 0/4] scsi: ufs: Add Host Performance Booster Support

2021-02-18 Thread Daejun Park
Changelog: v20 -> v21 1. Add bMAX_DATA_SIZE_FOR_HPB_SINGLE_CMD attr. and fHPBen flag support. v19 -> v20 1. Add documentation for sysfs entries of hpb->stat. 2. Fix read buffer command for under-sized sub-region. 3. Fix wrong condition checking for kick map work. 4. Delete redundant response UPIU

Re: [PATCH V3 XRT Alveo 18/18] fpga: xrt: Kconfig and Makefile updates for XRT drivers

2021-02-18 Thread kernel test robot
documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Lizhi-Hou/XRT-Alveo-driver-overview/20210218-151631 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 2ab38c17aac10bf55ab3efde4c4db3893d8691d2 config: parisc-randc

Re: [PATCH] irqdomain: remove debugfs_file from struct irq_domain

2021-02-18 Thread Marc Zyngier
On Thu, 18 Feb 2021 08:52:53 +, Greg KH wrote: [...] > Ok, how about this: > > > diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c > index 2fcf66473436..86c7f0489620 100644 > --- a/fs/debugfs/inode.c > +++ b/fs/debugfs/inode.c > @@ -297,7 +297,7 @@ struct dentry *debugfs_lookup(const ch

[PATCH v21 2/4] scsi: ufs: L2P map management for HPB read

2021-02-18 Thread Daejun Park
This is a patch for managing L2P map in HPB module. The HPB divides logical addresses into several regions. A region consists of several sub-regions. The sub-region is a basic unit where L2P mapping is managed. The driver loads L2P mapping data of each sub-region. The loaded sub-region is called a

Re: [PATCH net-next RFC v4] net: hdlc_x25: Queue outgoing LAPB frames

2021-02-18 Thread Xie He
On Thu, Feb 18, 2021 at 12:57 AM Leon Romanovsky wrote: > > It is nice that you are resending your patch without the resolution. > However it will be awesome if you don't ignore review comments and fix this > "3 - 1" > by writing solid comment above. I thought you already agreed with me? It look

[PATCH v21 3/4] scsi: ufs: Prepare HPB read for cached sub-region

2021-02-18 Thread Daejun Park
This patch changes the read I/O to the HPB read I/O. If the logical address of the read I/O belongs to active sub-region, the HPB driver modifies the read I/O command to HPB read. It modifies the UPIU command of UFS instead of modifying the existing SCSI command. In the HPB version 1.0, the maxim

Re: [PATCH] PCI: imx6: Limit DBI register length for imx6qp pcie

2021-02-18 Thread Lucas Stach
Am Donnerstag, dem 18.02.2021 um 13:09 +0800 schrieb Richard Zhu: > Refer to commit 075af61c19cd ("PCI: imx6: Limit DBI register length"), > i.MX6QP PCIe has the similar issue. > Define the length of the DBI registers and limit config space to its > length for i.MX6QP PCIe too. > > Signed-off-by:

Re: [PATCH v3 05/11] mm, fsdax: Refactor memory-failure handler for dax mapping

2021-02-18 Thread Ruan Shiyang
On 2021/2/18 下午4:32, Christoph Hellwig wrote: On Wed, Feb 17, 2021 at 10:56:11AM +0800, Ruan Shiyang wrote: I'd like to confirm one thing... I have checked all of this patchset by checkpatch.pl and it did not report the overly long line warning. So, I should still obey the rule of 80 chars

[PATCH] firmware_loader: Remove unnecessary conversion to bool

2021-02-18 Thread Jiapeng Chong
Fix the following coccicheck warnings: ./tools/testing/selftests/firmware/fw_namespace.c:98:54-59: WARNING: conversion to bool not needed here. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- tools/testing/selftests/firmware/fw_namespace.c | 2 +- 1 file changed, 1 insertion(+), 1 de

Re: [PATCH v2] vfs: prevent copy_file_range to copy across devices

2021-02-18 Thread Amir Goldstein
On Thu, Feb 18, 2021 at 9:42 AM Christoph Hellwig wrote: > > Looks good: > > Reviewed-by: Christoph Hellwig > > This whole idea of cross-device copie has always been a horrible idea, > and I've been arguing against it since the patches were posted. Ok. I'm good with this v2 as well, but need to

Re: [PATCH v14 11/11] kdump: update Documentation about crashkernel

2021-02-18 Thread Baoquan He
On 01/30/21 at 03:10pm, Chen Zhou wrote: > For arm64, the behavior of crashkernel=X has been changed, which > tries low allocation in DMA zone and fall back to high allocation > if it fails. > > We can also use "crashkernel=X,high" to select a high region above > DMA zone, which also tries to allo

Re: [PATCH v3 05/11] mm, fsdax: Refactor memory-failure handler for dax mapping

2021-02-18 Thread Christoph Hellwig
On Wed, Feb 17, 2021 at 10:56:11AM +0800, Ruan Shiyang wrote: > I'd like to confirm one thing... I have checked all of this patchset by > checkpatch.pl and it did not report the overly long line warning. So, I > should still obey the rule of 80 chars one line? checkpatch.pl is completely broke

Re: [PATCH v3 1/2] perf tools: add 'perf irq' to measure the hardware interrupts

2021-02-18 Thread Bixuan Cui
On 2021/1/29 21:57, Hagen Paul Pfeifer wrote: > Idea: why now pre-calc the max IRQ name length and adjust the columns > dynamically? Time consume us, entry time and exit time can be threatet static > in (max) length lenght. This overlong, static ASCII lines are no pleasure! ;-) > > Furthermore,

[PATCH v21 1/4] scsi: ufs: Introduce HPB feature

2021-02-18 Thread Daejun Park
This is a patch for the HPB initialization and adds HPB function calls to UFS core driver. NAND flash-based storage devices, including UFS, have mechanisms to translate logical addresses of IO requests to the corresponding physical addresses of the flash storage. In UFS, Logical-address-to-Physica

of overlay: how to insert new nodes with references to it

2021-02-18 Thread Enrico Weigelt, metux IT consult
Hello folks, I'm trying to use an overlay to add several new nodes with references between them (eg. a gpio controller and devices using the gpios). Problem: dtc adds my new 'gpio1' node to the __fixups__ list, which is used for resolving symbols against the live tree - obviously it can't exist

RE: [Linuxarm] Re: [PATCH v2] sched/topology: fix the issue groups don't span domain->span for NUMA diameter > 2

2021-02-18 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Valentin Schneider [mailto:valentin.schnei...@arm.com] > Sent: Friday, February 12, 2021 8:55 AM > To: Peter Zijlstra ; Song Bao Hua (Barry Song) > > Cc: vincent.guit...@linaro.org; mgor...@suse.de; mi...@kernel.org; > dietmar.eggem...@arm.com; morten.rasmus.

[PATCH v21 4/4] scsi: ufs: Add HPB 2.0 support

2021-02-18 Thread Daejun Park
This patch supports the HPB 2.0. The HPB 2.0 supports read of varying sizes from 4KB to 512KB. In the case of Read (<= 32KB) is supported as single HPB read. In the case of Read (36KB ~ 512KB) is supported by as a combination of write buffer command and HPB read command to deliver more PPN. The wr

Re: [PATCH] clk: sunxi-ng: v3s: add support for variable rate audio pll output

2021-02-18 Thread Tobias Schramm
Hi Icenowy, > We have introducee SDM-based accurate audio PLL on several > other SoCs. Some people is quite sensitive about audio-related things. > While it is possible to support 24MHz * 128 / 25 / 5 = 24.576MHz without delta sigma modulation, matching 22.5792MHz is indeed not possible. I read

Re: [PATCH] mtd: rawnand: qcom: update last code word register

2021-02-18 Thread Miquel Raynal
Hello, > >> >> +/* helper to configure location register values */ > >> +static void nandc_set_read_loc(struct nand_chip *chip, int cw, int >> reg, > >> + int offset, int size, int is_last) > > > > You know cw, you have access to chip->ecc.steps, so you can derive by >

[PATCH] staging: vc04_services: Fixed address type mismatch in vchiq_arm.c

2021-02-18 Thread Pritthijit Nath
This change fixes a sparse address type mismatch warning "incorrect type in assignment (different address spaces)". Signed-off-by: Pritthijit Nath --- .../staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/stag

[PATCH] perf machine: Use true and false for bool variable

2021-02-18 Thread Jiapeng Chong
Fix the following coccicheck warnings: ./tools/perf/util/machine.c:2000:9-10: WARNING: return of 0/1 in function 'symbol__match_regex' with return type bool. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- tools/perf/util/machine.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletio

[PATCH v4 2/2] perf tools: Add documentation for 'perf irq' command

2021-02-18 Thread Bixuan Cui
Add documentation for 'perf irq' command. Signed-off-by: Bixuan Cui --- tools/perf/Documentation/perf-irq.txt | 47 +++ tools/perf/command-list.txt | 1 + 2 files changed, 48 insertions(+) create mode 100644 tools/perf/Documentation/perf-irq.txt diff --git a/

[PATCH v4 0/2] perf tools: add 'perf irq' to measure the hardware interrupts

2021-02-18 Thread Bixuan Cui
When the hardware interrupt processing function is executed, the interrupt and preemption of current cpu are disabled. As a result, the task is suspended. The execution of the hardware processing function takes a long time (for example 5 ms), will affect the task scheduling performance. This patc

[PATCH v4 1/2] perf tools: add 'perf irq' to measure the hardware interrupts

2021-02-18 Thread Bixuan Cui
Add 'perf irq' to trace/measure the hardware interrupts. Now three functions are provided: 1. 'perf irq record ' to record the irq handler events. 2. 'perf irq script' to see a detailed trace of the workload that was recorded. 3. 'perf irq report' to calculate the time consumed by each

Re: [PATCH] clk: sunxi-ng: v3s: add support for variable rate audio pll output

2021-02-18 Thread Icenowy Zheng
于 2021年2月18日 GMT+08:00 下午5:18:39, Tobias Schramm 写到: >Hi Icenowy, > > > We have introducee SDM-based accurate audio PLL on several >> other SoCs. Some people is quite sensitive about audio-related >things. > > >While it is possible to support 24MHz * 128 / 25 / 5 = 24.576MHz >without >delta si

[PATCH] staging: wimax/i2400m: don't change the endianness of one byte variable

2021-02-18 Thread Muhammad Usama Anjum
It is wrong to change the endianness of a variable which has just one byte size. Sparse warnings fixed: drivers/staging//wimax/i2400m/control.c:452:17: warning: cast to restricted __le32 drivers/staging//wimax/i2400m/control.c:452:17: warning: cast to restricted __le32 drivers/staging//wimax/i24

[PATCH] cifs: Fix inconsistent IS_ERR and PTR_ERR

2021-02-18 Thread YueHaibing
Fix inconsistent IS_ERR and PTR_ERR in cifs_find_swn_reg(). The proper pointer to be passed as argument to PTR_ERR() is share_name. This bug was detected with the help of Coccinelle. Fixes: bf80e5d4259a ("cifs: Send witness register and unregister commands to userspace daemon") Signed-off-by: Yu

Re: [PATCH v5] perf tools: Fix arm64 build error with gcc-11

2021-02-18 Thread John Garry
On 18/02/2021 03:12, Jianlin Lv wrote: gcc version: 11.0.0 20210208 (experimental) (GCC) Following build error on arm64: ... In function ‘printf’, inlined from ‘regs_dump__printf’ at util/session.c:1141:3, inlined from ‘regs__printf’ at util/session.c:1169:2: /usr/include/aarch64-

Re: [PATCH] i2c: thunderx: Fix an issue about missing call to 'pci_free_irq_vectors()'

2021-02-18 Thread Robert Richter
On 14.02.21 22:37:34, Dejin Zheng wrote: > Call to 'pci_free_irq_vectors()' are missing both in the error handling > path of the probe function, and in the remove function. So add them. > > Fixes: 4c21541d8da17fb ("i2c: thunderx: Replace pci_enable_msix()") > Signed-off-by: Dejin Zheng This is a

Re: [PATCH V3 1/2] topology: Allow multiple entities to provide sched_freq_tick() callback

2021-02-18 Thread Viresh Kumar
On 17-02-21, 00:24, Ionela Voinescu wrote: > > diff --git a/arch/arm64/kernel/topology.c b/arch/arm64/kernel/topology.c > > index 1e47dfd465f8..47fca7376c93 100644 > > --- a/arch/arm64/kernel/topology.c > > +++ b/arch/arm64/kernel/topology.c > > @@ -240,7 +240,6 @@ static struct scale_freq_data amu

Re: [PATCH 00/21] [Set 2] Rid W=1 warnings from Clock

2021-02-18 Thread Lee Jones
On Wed, 17 Feb 2021, Jakub Kicinski wrote: > On Tue, 16 Feb 2021 08:20:46 + Lee Jones wrote: > > On Mon, 15 Feb 2021, Jakub Kicinski wrote: > > > On Mon, 15 Feb 2021 08:49:52 + Lee Jones wrote: > > > > Yes, please share. > > > > > > https://github.com/kuba-moo/nipa > > > > Thanks f

Re: [PATCH] mm: be more verbose for alloc_contig_range faliures

2021-02-18 Thread Michal Hocko
On Thu 18-02-21 10:02:43, David Hildenbrand wrote: > On 18.02.21 09:56, Michal Hocko wrote: > > On Wed 17-02-21 08:36:03, Minchan Kim wrote: > > > alloc_contig_range is usually used on cma area or movable zone. > > > It's critical if the page migration fails on those areas so > > > dump more debugg

Re: [PATCH v3 0/4] Introduce pcim_alloc_irq_vectors()

2021-02-18 Thread Robert Richter
On 17.02.21 00:02:45, Dejin Zheng wrote: > Introduce pcim_alloc_irq_vectors(), a device-managed version of > pci_alloc_irq_vectors(), In some i2c drivers, If pcim_enable_device() > has been called before, then pci_alloc_irq_vectors() is actually a > device-managed function. It is used as a device-m

Re: [PATCH v5 1/8] smp: Run functions concurrently in smp_call_function_many_cond()

2021-02-18 Thread Nadav Amit
> On Feb 18, 2021, at 12:09 AM, Christoph Hellwig wrote: > > On Tue, Feb 09, 2021 at 02:16:46PM -0800, Nadav Amit wrote: >> +/* >> + * Flags to be used as scf_flags argument of smp_call_function_many_cond(). >> + */ >> +#define SCF_WAIT(1U << 0) /* Wait until function execution >> comp

Re: [PATCH] irqdomain: remove debugfs_file from struct irq_domain

2021-02-18 Thread Greg KH
On Thu, Feb 18, 2021 at 09:04:42AM +, Marc Zyngier wrote: > On Thu, 18 Feb 2021 08:54:00 +, > Greg KH wrote: > > [...] > > > > > Wow, wait, you are removing a debugfs file _before_ debugfs is even > > > > initialized? Didn't expect that, ok, let me go try this again... > > > > > > Yeah

linux-next: Tree for Feb 18

2021-02-18 Thread Stephen Rothwell
Hi all, Changes since 20210217: The devicetree tree gained a conflict against the powerpc tree. The gpio-brgl tree gained a build failure so I used the version from next-20210217. Non-merge commits (relative to Linus' tree): 10739 10746 files changed, 466789 insertions(+), 299161 deletions(-)

Re: [PATCH] mm: be more verbose for alloc_contig_range faliures

2021-02-18 Thread David Hildenbrand
On 18.02.21 10:35, Michal Hocko wrote: On Thu 18-02-21 10:02:43, David Hildenbrand wrote: On 18.02.21 09:56, Michal Hocko wrote: On Wed 17-02-21 08:36:03, Minchan Kim wrote: alloc_contig_range is usually used on cma area or movable zone. It's critical if the page migration fails on those areas

Re: [PATCH] staging: wimax/i2400m: don't change the endianness of one byte variable

2021-02-18 Thread Muhammad Usama Anjum
On Thu, 2021-02-18 at 10:40 +0100, Greg KH wrote: > On Thu, Feb 18, 2021 at 02:21:54PM +0500, Muhammad Usama Anjum wrote: > > It is wrong to change the endianness of a variable which has just one > > byte size. > > > > Sparse warnings fixed: > > drivers/staging//wimax/i2400m/control.c:452:17: warn

Re: [PATCH] i2c: thunderx: Fix an issue about missing call to 'pci_free_irq_vectors()'

2021-02-18 Thread Robert Richter
On 14.02.21 22:37:34, Dejin Zheng wrote: > Call to 'pci_free_irq_vectors()' are missing both in the error handling > path of the probe function, and in the remove function. So add them. > > Fixes: 4c21541d8da17fb ("i2c: thunderx: Replace pci_enable_msix()") > Signed-off-by: Dejin Zheng > --- > d

Re: [PATCH] clk: sunxi-ng: v3s: add support for variable rate audio pll output

2021-02-18 Thread Maxime Ripard
On Thu, Feb 18, 2021 at 05:21:16PM +0800, Icenowy Zheng wrote: > > > 于 2021年2月18日 GMT+08:00 下午5:18:39, Tobias Schramm 写到: > >Hi Icenowy, > > > > > We have introducee SDM-based accurate audio PLL on several > >> other SoCs. Some people is quite sensitive about audio-related > >things. > > > > >Wh

RE: [PATCH 1/2] PCI: xilinx-nwl: Enable coherent PCIe DMA traffic using CCI

2021-02-18 Thread Bharat Kumar Gogada
> Hi Bharat, > > Thank you for sending the patches over! > > > Add support for routing PCIe DMA traffic coherently when Cache > > Coherent Interconnect (CCI) is enabled in the system. > > The "dma-coherent" property is used to determine if CCI is enabled or > > not. > > Refer https://developer.ar

[PATCH 03/11] perf intel-pt: Retain the last PIP packet payload as is

2021-02-18 Thread Adrian Hunter
Retain the PIP packet payload as is, instead of just the CR3, because it contains also the VMX NR flag which is needed to track VM-Entry. Signed-off-by: Adrian Hunter --- .../arch/x86/tests/intel-pt-pkt-decoder-test.c | 4 ++-- .../perf/util/intel-pt-decoder/intel-pt-decoder.c | 14 +++

[PATCH 05/11] perf machine: Factor out machines__find_guest()

2021-02-18 Thread Adrian Hunter
Factor out machines__find_guest() so it can be re-used. Signed-off-by: Adrian Hunter --- tools/perf/util/machine.c | 9 + tools/perf/util/machine.h | 1 + tools/perf/util/session.c | 7 +-- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/tools/perf/util/machine.c b/to

[PATCH 04/11] perf intel-pt: Amend decoder to track the NR flag

2021-02-18 Thread Adrian Hunter
The PIP packet NR (non-root) flag indicates whether or not a virtual machine is being traced (NR=1 => VM). Add support for tracking its value. In particular note that the PIP packet (outside of PSB+) will be associated with a TIP packet from which address the NR value takes effect. At that point,

Re: [PATCH] misc/pvpanic: Export module FDT device table

2021-02-18 Thread Greg Kroah-Hartman
On Thu, Feb 18, 2021 at 05:40:24PM +0800, Shile Zhang wrote: > Export the module FDT device table to ensure the FDT compatible strings > are listed in the module alias. This help the pvpanic driver can be > loaded on boot automatically not only the ACPI device, but also the FDT > device. > > Signe

[PATCH 06/11] perf machine: Factor out machine__idle_thread()

2021-02-18 Thread Adrian Hunter
Factor out machine__idle_thread() so it can be re-used for guest machines. A thread is needed to find executable code, even for the guest kernel. To avoid possible future pid number conflicts, the idle thread can be used. Signed-off-by: Adrian Hunter --- tools/perf/util/machine.c | 18 +

Re: [PATCH v2 2/3] media: camss: use v4l2_get_link_freq() to calculate the relevant clocks

2021-02-18 Thread Andrey Konovalov
Hi Jacopo, On 18.02.2021 11:07, Jacopo Mondi wrote: Hi Andrey, On Thu, Feb 18, 2021 at 01:11:33AM +0300, Andrey Konovalov wrote: There are places in the camss driver where camss_get_pixel_clock() is called to get the pixel rate (using V4L2_CID_PIXEL_RATE control) and to calculate the link freq

[PATCH 07/11] perf intel-pt: Support decoding of guest kernel

2021-02-18 Thread Adrian Hunter
The guest kernel can be found from any guest thread belonging to the guest machine. The guest machine is associated with the current host process pid. An idle thread (pid=tid=0) is created as a vehicle from which to find the guest kernel map. Decoding guest user space is not supported. Synthesize

[PATCH 1/2] debugfs: be more robust at handling improper input in debugfs_lookup()

2021-02-18 Thread Greg Kroah-Hartman
debugfs_lookup() doesn't like it if it is passed an illegal name pointer, or if the filesystem isn't even initialized yet. If either of these happen, it will crash the system, so fix it up by properly testing for valid input and that we are up and running before trying to find a file in the filesy

[PATCH 2/2] debugfs: do not attempt to create a new file before the filesystem is initalized

2021-02-18 Thread Greg Kroah-Hartman
Some subsystems want to add debugfs files at early boot, way before debugfs is initialized. This seems to work somehow as the vfs layer will not allow it to happen, but let's be explicit and test to ensure we are properly up and running before allowing files to be created. Reported-by: Michael Wa

[PATCH] Input: fix boolreturn.cocci warnings

2021-02-18 Thread kernel test robot
From: kernel test robot drivers/input/touchscreen/zinitix.c:250:8-9: WARNING: return of 0/1 in function 'zinitix_init_touch' with return type bool Return statements in functions returning bool should use true/false instead of 1/0. Generated by: scripts/coccinelle/misc/boolreturn.cocci Fixes:

Re: [PATCH 1/2] mm: Make alloc_contig_range handle free hugetlb pages

2021-02-18 Thread Oscar Salvador
On Wed, Feb 17, 2021 at 04:00:11PM +0100, Michal Hocko wrote: > Is this really necessary? dissolve_free_huge_page will take care of this > and the race windown you are covering is really tiny. Probably not, I was trying to shrink to race window as much as possible but the call to dissolve_free_hug

[PATCH 11/11] perf intel-pt: Add documentation for tracing virtual machines

2021-02-18 Thread Adrian Hunter
Add documentation to the perf-intel-pt man page for tracing virtual machines. Signed-off-by: Adrian Hunter --- tools/perf/Documentation/perf-intel-pt.txt | 82 ++ 1 file changed, 82 insertions(+) diff --git a/tools/perf/Documentation/perf-intel-pt.txt b/tools/perf/Documenta

[PATCH 10/11] perf intel-pt: Split VM-Entry and VM-Exit branches

2021-02-18 Thread Adrian Hunter
Events record a single cpumode so the tools cannot handle a branch from the host machine to a virtual machine, or vice versa. Split it in two so that each branch can have a different cpumode. E.g. host ip -> guest ip becomes: host ip -> 0 0 -> guest ip Sig

[PATCH 08/11] perf intel-pt: Allow for a guest kernel address filter

2021-02-18 Thread Adrian Hunter
Handling TIP.PGD for an address filter for a guest kernel is the same as a host kernel, but user space decoding, and hence address filters, are not supported. Signed-off-by: Adrian Hunter --- tools/perf/util/intel-pt.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/to

Re: [Linux-stm32] [PATCH v2 12/14] ARM: dts: stm32: move clocks/resets to SCMI resources for stm32mp15

2021-02-18 Thread Ahmad Fatoum
Hello Gabriel, On 26.01.21 10:01, gabriel.fernan...@foss.st.com wrote: > From: Gabriel Fernandez > > This change reflects board hardware configuration where RCC security > features are configured for RCC[TZEN]=1 and RCC[MCKPROT]=0, that is > RCC TrustZone is hardened and RCC MCKPROT is disabled.

[PATCH] sched/fair: Use true and false for bool variable

2021-02-18 Thread Jiapeng Chong
Fix the following coccicheck warnings: ./kernel/sched/fair.c:9504:9-10: WARNING: return of 0/1 in function 'voluntary_active_balance' with return type bool. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- kernel/sched/fair.c | 8 1 file changed, 4 insertions(+), 4 deletions(

drivers/input/touchscreen/zinitix.c:250:8-9: WARNING: return of 0/1 in function 'zinitix_init_touch' with return type bool

2021-02-18 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f40ddce88593482919761f74910f42f4b84c004b commit: 26822652c85eff14e40115255727b2693400c524 Input: add zinitix touchscreen driver date: 5 months ago config: x86_64-randconfig-c002-20210216 (attached as .conf

Re: [PATCH v1] usb: typec: tcpm: Wait for vbus discharge to VSAFE0V before toggling

2021-02-18 Thread Greg Kroah-Hartman
On Thu, Feb 18, 2021 at 02:02:43AM -0800, Badhri Jagan Sridharan wrote: > When vbus auto discharge is enabled, TCPM can sometimes be faster than > the TCPC i.e. TCPM can go ahead and move the port to unattached state > (involves disabling vbus auto discharge) before TCPC could effectively > dischar

[PATCH v1] usb: typec: tcpm: Wait for vbus discharge to VSAFE0V before toggling

2021-02-18 Thread Badhri Jagan Sridharan
When vbus auto discharge is enabled, TCPM can sometimes be faster than the TCPC i.e. TCPM can go ahead and move the port to unattached state (involves disabling vbus auto discharge) before TCPC could effectively discharge vbus to VSAFE0V. This leaves vbus with residual charge and increases the deca

[PATCH 09/11] perf intel-pt: Adjust sample flags for VM-Exit

2021-02-18 Thread Adrian Hunter
Use the change of NR to detect whether an asynchronous branch is a VM-Exit. Note VM-Entry is determined from the vmlaunch or vmresume instruction, in which case, sample flags will show "VMentry" even if the VM-Entry fails. Signed-off-by: Adrian Hunter --- tools/perf/util/intel-pt.c | 11 +++

Re: [PATCH] mm: be more verbose for alloc_contig_range faliures

2021-02-18 Thread Michal Hocko
On Thu 18-02-21 10:43:21, David Hildenbrand wrote: > On 18.02.21 10:35, Michal Hocko wrote: > > On Thu 18-02-21 10:02:43, David Hildenbrand wrote: > > > On 18.02.21 09:56, Michal Hocko wrote: > > > > On Wed 17-02-21 08:36:03, Minchan Kim wrote: > > > > > alloc_contig_range is usually used on cma ar

[PATCH] misc/pvpanic: Export module FDT device table

2021-02-18 Thread Shile Zhang
Export the module FDT device table to ensure the FDT compatible strings are listed in the module alias. This help the pvpanic driver can be loaded on boot automatically not only the ACPI device, but also the FDT device. Signed-off-by: Shile Zhang --- drivers/misc/pvpanic.c | 1 + 1 file changed,

[PATCH 00/11] perf intel-pt: Add limited support for tracing guest kernels

2021-02-18 Thread Adrian Hunter
Hi Currently, only kernel tracing is supported and only with "timeless" decoding i.e. no TSC timestamps Other limitations and caveats VMX controls may suppress packets needed for decoding resulting in decoding errors VMX controls may block the perf NMI to the host potentially resulting in los

Re: [PATCH 4/7] KVM: nVMX: move inject_page_fault tweak to .complete_mmu_init

2021-02-18 Thread Paolo Bonzini
On 17/02/21 19:43, Maxim Levitsky wrote: 1. npt/ept disabled in the host. In this case we have a single shadowing and a nested hypervisor has to do its own shadowing on top of it. In this case the MMU itself has to generate page faults (they are a result of hardware page faults, but are completel

[PATCH 01/11] perf script: Add branch types for VM-Entry and VM-Exit

2021-02-18 Thread Adrian Hunter
In preparation to support Intel PT decoding of virtual machine traces, add branch types for VM-Entry and VM-Exit. Note they are both treated as "calls" because the VM-Exit transfers control to a different address. Signed-off-by: Adrian Hunter --- tools/perf/builtin-script.c | 2 ++ tools/perf/u

[PATCH 02/11] perf intel_pt: Add vmlaunch and vmresume as branches

2021-02-18 Thread Adrian Hunter
In preparation to support Intel PT decoding of virtual machine traces, add vmlaunch and vmresume as branch instructions. Note, sample flags will show "VMentry" even if the VM-Entry fails. Signed-off-by: Adrian Hunter --- tools/perf/arch/x86/tests/insn-x86.c | 1 + .../util/intel-p

RE: [PATCH V3 0/4] tools: perf: Add JSON metrics for i.MX8M platforms

2021-02-18 Thread Joakim Zhang
Gentle pinging... Best Regards, Joakim Zhang > -Original Message- > From: John Garry > Sent: 2021年1月27日 22:14 > To: Joakim Zhang ; w...@kernel.org; > mathieu.poir...@linaro.org; leo@linaro.org; pet...@infradead.org; > mi...@redhat.com; a...@kernel.org; mark.rutl...@arm.com; > alexan

Re: [PATCH v1 03/18] arm64: dts: imx8mq-evk: add reserve memory node for CMA region

2021-02-18 Thread Lucas Stach
Am Mittwoch, dem 17.02.2021 um 16:39 -0300 schrieb Ezequiel Garcia: > Hi Benjamin, > > On Wed, 2021-02-17 at 09:02 +0100, Benjamin Gaignard wrote: > > Define allocation range for the default CMA region. > > > > Signed-off-by: Benjamin Gaignard > > Signed-off-by: Ezequiel Garcia > > Despite it

Re: [PATCH v8 21/22] counter: 104-quad-8: Replace mutex with spinlock

2021-02-18 Thread William Breathitt Gray
On Tue, Feb 16, 2021 at 07:27:20PM +, Jonathan Cameron wrote: > On Tue, 16 Feb 2021 11:16:03 +0900 > William Breathitt Gray wrote: > > > On Sun, Feb 14, 2021 at 06:19:46PM +, Jonathan Cameron wrote: > > > On Fri, 12 Feb 2021 21:13:45 +0900 > > > William Breathitt Gray wrote: > > > > >

[PATCH] scsi: mvumi: Use true and false for bool variable

2021-02-18 Thread Jiapeng Chong
Fix the following coccicheck warnings: ./drivers/scsi/mvumi.c:69:9-10: WARNING: return of 0/1 in function 'tag_is_empty' with return type bool. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/scsi/mvumi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a

Re: [PATCH] coccinelle: misc: add swap script

2021-02-18 Thread Julia Lawall
On Thu, 18 Feb 2021, Denis Efremov wrote: > > > On 2/18/21 12:31 AM, Julia Lawall wrote: > >> +@depends on patch@ > >> +identifier tmp; > >> +expression a, b; > >> +type T; > >> +@@ > >> + > >> +( > >> +- T tmp; > >> +| > >> +- T tmp = 0; > >> +| > >> +- T *tmp = NULL; > >> +) > >> +... when !=

Re: arch/arm/kernel/sys_oabi-compat.c:257:6: error: implicit declaration of function 'ep_op_has_event'

2021-02-18 Thread Russell King - ARM Linux admin
f4b84c004b > > commit: c281634c865202e2776b0250678ff93c771947ff ARM: compat: remove > > KERNEL_DS usage in sys_oabi_epoll_ctl() > > date: 10 months ago > > config: arm-randconfig-m031-20210218 (attached as .config) > > compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0 > > rep

Re: 5.10 LTS Kernel: 2 or 6 years?

2021-02-18 Thread Pavel Machek
Hi! (Second attempt to reply, as first one is not in the archives?!) > > So far the jury is still out for 5.10, are you willing to help with > > this? If not, why are you willing to hope that others are going to do > > your work for you? I am talking to some companies, but am not willing > > to

[PATCH] Input: Use true and false for bool variable

2021-02-18 Thread Jiapeng Chong
Fix the following coccicheck warnings: ./drivers/input/touchscreen/zinitix.c:250:8-9: WARNING: return of 0/1 in function 'zinitix_init_touch' with return type bool. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/input/touchscreen/zinitix.c | 2 +- 1 file changed, 1 insertion

Re: [PATCH] drivers: staging: comedi: Fixed side effects from macro definition.

2021-02-18 Thread Ian Abbott
On 17/02/2021 14:20, chakravarthikulkarni wrote: Warning found by checkpatch.pl script. Signed-off-by: chakravarthikulkarni --- drivers/staging/comedi/comedi.h | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/staging/comedi/comedi.h b/drivers/staging/comed

Re: [PATCH] cpufreq: schedutil: Don't consider freq reduction to busy CPU if need_freq_update is set

2021-02-18 Thread Viresh Kumar
On 18-02-21, 16:25, Yue Hu wrote: > From: Yue Hu > > For busy CPU case, we do not need to avoid freq reduction if limits > change since commit 600f5badb78c ("cpufreq: schedutil: Don't skip > freq update when limits change"). > > Later, commit 23a881852f3e ("cpufreq: schedutil: Don't skip freq >

RE: [PATCH v6 04/15] PCI: Add pci_find_vsec_capability() to find a specific VSEC

2021-02-18 Thread Gustavo Pimentel
On Wed, Feb 17, 2021 at 22:27:38, Bjorn Helgaas wrote: > [+cc Krzysztof, since he commented on a previous version] > [+cc Lukas, who previously proposed exactly what I suggest below, > sorry for repeating. I think Lukas was right to propose passing in > the vendor ID because it makes it easier

Re: [PATCH v2] vfs: prevent copy_file_range to copy across devices

2021-02-18 Thread Luis Henriques
Amir Goldstein writes: > On Thu, Feb 18, 2021 at 9:42 AM Christoph Hellwig wrote: >> >> Looks good: >> >> Reviewed-by: Christoph Hellwig >> >> This whole idea of cross-device copie has always been a horrible idea, >> and I've been arguing against it since the patches were posted. > > Ok. I'm go

Re: [PATCH v3] arm64: dts: mediatek: Add mt8192 power domains controller

2021-02-18 Thread Weiyi Lu
On Mon, 2020-11-30 at 19:16 +0800, Weiyi Lu wrote: > On Fri, 2020-11-27 at 13:42 +0100, Matthias Brugger wrote: > > > > On 19/11/2020 15:13, Enric Balletbo Serra wrote: > > > Hi Weiyi, > > > > > > Missatge de Weiyi Lu del dia dj., 19 de nov. > > > 2020 a les 14:10: > > >> > > >> On Thu, 2020-11-

Re: [PATCH v8 20/22] counter: Implement events_queue_size sysfs attribute

2021-02-18 Thread William Breathitt Gray
On Sun, Feb 14, 2021 at 06:11:46PM +, Jonathan Cameron wrote: > On Fri, 12 Feb 2021 21:13:44 +0900 > William Breathitt Gray wrote: > > > The events_queue_size sysfs attribute provides a way for users to > > dynamically configure the Counter events queue size for the Counter > > character devi

[PATCH v2] sign-file: add openssl engine support

2021-02-18 Thread Yang Song
Use a customized signature service supported by openssl engine to sign the kernel module. Add command line parameters that support engine for sign-file to use the customized openssl engine service to sign kernel modules. Signed-off-by: Yang Song --- scripts/sign-file.c | 54 +

Re: [PATCH] staging: vc04_services: Fixed address type mismatch in vchiq_arm.c

2021-02-18 Thread Greg KH
On Thu, Feb 18, 2021 at 02:40:15PM +0530, Pritthijit Nath wrote: > This change fixes a sparse address type mismatch warning "incorrect type > in assignment (different address spaces)". > > Signed-off-by: Pritthijit Nath > --- > .../staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 6 +---

Re: [PATCH RESEND v2 4/5] iommu/tegra-smmu: Rework tegra_smmu_probe_device()

2021-02-18 Thread Nicolin Chen
Hi Guillaume, Thank you for the test results! And sorry for my belated reply. On Thu, Feb 11, 2021 at 03:50:05PM +, Guillaume Tucker wrote: > > On Sat, Feb 06, 2021 at 01:40:13PM +, Guillaume Tucker wrote: > >>> It'd be nicer if I can get both logs of the vanilla kernel (failing) > >>> an

Re: [PATCH] staging: wimax/i2400m: don't change the endianness of one byte variable

2021-02-18 Thread Greg KH
On Thu, Feb 18, 2021 at 02:21:54PM +0500, Muhammad Usama Anjum wrote: > It is wrong to change the endianness of a variable which has just one > byte size. > > Sparse warnings fixed: > drivers/staging//wimax/i2400m/control.c:452:17: warning: cast to restricted > __le32 > drivers/staging//wimax/i24

[PATCH] staging: fwserial: Fix alignment of function parameters

2021-02-18 Thread Prakash Dubey
This patch fixes the following checkpatch.pl check: CHECK: Alignment should match open parenthesis Signed-off-by: Prakash Dubey --- drivers/staging/fwserial/fwserial.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/fwserial/fwserial.c b/drivers/staging/

Re: [PATCH] perf record: Fix continue profiling after draining the buffer

2021-02-18 Thread Yang Jihong
Hello, On 2021/2/7 8:56, Yang Jihong wrote: Hello, On 2021/2/5 18:46, Jiri Olsa wrote: On Fri, Feb 05, 2021 at 07:35:22PM +0900, Namhyung Kim wrote: Hello, On Fri, Feb 5, 2021 at 3:50 PM Yang Jihong wrote: commit da231338ec9c098707c8a1e4d8a50e2400e2fe17 uses eventfd to solve rare race

Re: [PATCH net-next RFC v4] net: hdlc_x25: Queue outgoing LAPB frames

2021-02-18 Thread Leon Romanovsky
On Thu, Feb 18, 2021 at 01:07:13AM -0800, Xie He wrote: > On Thu, Feb 18, 2021 at 12:57 AM Leon Romanovsky wrote: > > > > It is nice that you are resending your patch without the resolution. > > However it will be awesome if you don't ignore review comments and fix this > > "3 - 1" > > by writing

Re: [PATCH v13 02/15] iommu: Introduce bind/unbind_guest_msi

2021-02-18 Thread Auger Eric
Hi Keqian, On 2/18/21 9:43 AM, Keqian Zhu wrote: > Hi Eric, > > On 2021/2/12 16:55, Auger Eric wrote: >> Hi Keqian, >> >> On 2/1/21 12:52 PM, Keqian Zhu wrote: >>> Hi Eric, >>> >>> On 2020/11/18 19:21, Eric Auger wrote: On ARM, MSI are translated by the SMMU. An IOVA is allocated for ea

Re: linux-next: manual merge of the devicetree tree with the powerpc tree

2021-02-18 Thread Michael Ellerman
Stephen Rothwell writes: > Hi all, > > Today's linux-next merge of the devicetree tree got a conflict in: > > arch/powerpc/kexec/elf_64.c > > between commit: > > 2377c92e37fe ("powerpc/kexec_file: fix FDT size estimation for kdump > kernel") > > from the powerpc tree and commit: > > 130b2d5

Re: [PATCH RFC] mm/madvise: introduce MADV_POPULATE to prefault/prealloc memory

2021-02-18 Thread Michal Hocko
On Wed 17-02-21 16:48:44, David Hildenbrand wrote: > When we manage sparse memory mappings dynamically in user space - also > sometimes involving MADV_NORESERVE - we want to dynamically populate/ Just wondering what is MADV_NORESERVE? I do not see anything like that in the Linus tree. Did you mean

RE: [PATCH v11 12/13] vfio/pci: Register a DMA fault response region

2021-02-18 Thread Shameerali Kolothum Thodi
Hi Eric, > > -Original Message- > > From: Eric Auger [mailto:eric.au...@redhat.com] > > Sent: 16 November 2020 11:00 > > To: eric.auger@gmail.com; eric.au...@redhat.com; > > io...@lists.linux-foundation.org; linux-kernel@vger.kernel.org; > > k...@vger.kernel.org; kvm...@lists.cs.columb

Re: [PATCH v1 03/18] arm64: dts: imx8mq-evk: add reserve memory node for CMA region

2021-02-18 Thread Dan Carpenter
On Wed, Feb 17, 2021 at 04:39:49PM -0300, Ezequiel Garcia wrote: > Hi Benjamin, > > On Wed, 2021-02-17 at 09:02 +0100, Benjamin Gaignard wrote: > > Define allocation range for the default CMA region. > > > > Signed-off-by: Benjamin Gaignard > > Signed-off-by: Ezequiel Garcia > > Despite it see

Re: [PATCH v11 12/13] vfio/pci: Register a DMA fault response region

2021-02-18 Thread Auger Eric
Hi Shameer, On 2/18/21 11:36 AM, Shameerali Kolothum Thodi wrote: > Hi Eric, > >>> -Original Message- >>> From: Eric Auger [mailto:eric.au...@redhat.com] >>> Sent: 16 November 2020 11:00 >>> To: eric.auger@gmail.com; eric.au...@redhat.com; >>> io...@lists.linux-foundation.org; linux-k

Re: [PATCH v13 02/15] iommu: Introduce bind/unbind_guest_msi

2021-02-18 Thread Keqian Zhu
Hi Eric, On 2021/2/12 16:55, Auger Eric wrote: > Hi Keqian, > > On 2/1/21 12:52 PM, Keqian Zhu wrote: >> Hi Eric, >> >> On 2020/11/18 19:21, Eric Auger wrote: >>> On ARM, MSI are translated by the SMMU. An IOVA is allocated >>> for each MSI doorbell. If both the host and the guest are exposed >>>

Re: [PATCH] misc/pvpanic: Export module FDT device table

2021-02-18 Thread Shile Zhang
On 2021/2/18 18:00, Greg Kroah-Hartman wrote: On Thu, Feb 18, 2021 at 05:40:24PM +0800, Shile Zhang wrote: Export the module FDT device table to ensure the FDT compatible strings are listed in the module alias. This help the pvpanic driver can be loaded on boot automatically not only the ACPI

Re: [PATCH v2 1/2] staging: comedi: cast function output to assigned variable type

2021-02-18 Thread Atul Gopinathan
On Thu, Feb 18, 2021 at 10:31:15AM +, Ian Abbott wrote: > On 18/02/2021 08:44, Atul Gopinathan wrote: > > Fix the following warning generated by sparse: > > > > drivers/staging//comedi/comedi_fops.c:2956:23: warning: incorrect type in > > assignment (different address spaces) > > drivers/stag

Re: [PATCH v1] usb: typec: tcpm: Wait for vbus discharge to VSAFE0V before toggling

2021-02-18 Thread Badhri Jagan Sridharan
Hi Greg, This patch is a bug fix for the following patch which was introduced in 5.11. commit f321a02caebdd0c56e167610cda2fa148cd96e8b Author: Badhri Jagan Sridharan Date: Wed Oct 28 23:31:35 2020 -0700 usb: typec: tcpm: Implement enabling Auto Discharge disconnect support TCPCI spec

Re: [PATCH RFC] mm/madvise: introduce MADV_POPULATE to prefault/prealloc memory

2021-02-18 Thread David Hildenbrand
On 18.02.21 11:25, Michal Hocko wrote: On Wed 17-02-21 16:48:44, David Hildenbrand wrote: When we manage sparse memory mappings dynamically in user space - also sometimes involving MADV_NORESERVE - we want to dynamically populate/ Just wondering what is MADV_NORESERVE? I do not see anything li

Re: [PATCH RESEND] mm, kasan: don't poison boot memory

2021-02-18 Thread Catalin Marinas
On Wed, Feb 17, 2021 at 09:59:24PM +0100, Andrey Konovalov wrote: > During boot, all non-reserved memblock memory is exposed to the buddy > allocator. Poisoning all that memory with KASAN lengthens boot time, > especially on systems with large amount of RAM. This patch makes > page_alloc to not cal

<    1   2   3   4   5   6   7   8   9   10   >