Re: [PATCH v4 2/3] dt-bindings: mtd: Add a property to declare secure regions in NAND chips

2021-03-08 Thread Boris Brezillon
On Mon, 8 Mar 2021 19:01:34 +0530 Manivannan Sadhasivam wrote: > On Mon, Mar 08, 2021 at 10:10:59AM +0100, Boris Brezillon wrote: > > On Mon, 8 Mar 2021 11:14:46 +0530 > > Manivannan Sadhasivam wrote: > > > > > On a typical end product, a vendor may choose to secure some regions in > > >

Re: [PATCH v2 1/2] mm: disable LRU pagevec during the migration temporarily

2021-03-08 Thread kernel test robot
/linux.git 144c79ef33536b4ecb4951e07dbc1f2b7fa99d32 config: arm64-randconfig-r023-20210308 (attached as .config) compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 820f508b08d7c94b2dd7847e9710d2bc36d3dd45) reproduce (this is a W=1 build): wget https

Re: [PATCH v2 4/7] CMDLINE: powerpc: convert to generic builtin command line

2021-03-08 Thread Christophe Leroy
Le 09/03/2021 à 01:02, Daniel Walker a écrit : This updates the powerpc code to use the CONFIG_GENERIC_CMDLINE option. Cc: xe-linux-exter...@cisco.com Signed-off-by: Ruslan Ruslichenko Signed-off-by: Ruslan Bilovol Signed-off-by: Daniel Walker --- arch/powerpc/Kconfig| 37

Re: [PATCH v4 4/5] perf stat: Enable iostat mode for x86 platforms

2021-03-08 Thread liuqi (BA)
Hi Alexander, On 2021/2/3 21:58, Alexander Antonov wrote: This functionality is based on recently introduced sysfs attributes for Intel® Xeon® Scalable processor family (code name Skylake-SP): Commit bb42b3d39781 ("perf/x86/intel/uncore: Expose an Uncore unit to IIO PMON mapping") Mode is

[PATCH] selftests/timers: remove unneeded semicolon

2021-03-08 Thread Jiapeng Chong
Fix the following coccicheck warnings: ./tools/testing/selftests/timers/nanosleep.c:75:2-3: Unneeded semicolon Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- tools/testing/selftests/timers/nanosleep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 3/3] power: supply: max8997_charger: Switch to new binding

2021-03-08 Thread Timon Baetz
On Mon, 1 Feb 2021 19:03:35 +0100, Krzysztof Kozlowski wrote: > On Mon, Feb 01, 2021 at 09:26:42AM +, Timon Baetz wrote: > > On Sun, 31 Jan 2021 18:28:40 +0100, Krzysztof Kozlowski wrote: > > > On Sat, Jan 30, 2021 at 05:30:14PM +, Timon Baetz wrote: > > > > Get regulator from parent

Re: [PATCH] x86/perf: Fix guest_get_msrs static call if there is no PMU

2021-03-08 Thread Peter Zijlstra
On Mon, Mar 08, 2021 at 12:40:44PM -0800, Sean Christopherson wrote: > On Mon, Mar 08, 2021, Peter Zijlstra wrote: > > Given the one user in atomic_switch_perf_msrs() that should work because > > it doesn't seem to care about nr_msrs when !msrs. > > Uh, that commit quite cleary says: D0h! I got

Re: [PATCH v2 3/7] powerpc: convert config files to generic cmdline

2021-03-08 Thread Christophe Leroy
Le 09/03/2021 à 01:02, Daniel Walker a écrit : This is a scripted mass convert of the config files to use the new generic cmdline. There is a bit of a trim effect here. It would seems that some of the config haven't been trimmed in a while. If you do that in a separate patch, you loose

[PATCH] scsi: ufs: Remove unnecessary null checks in ufshcd_find_max_sup_active_icc_level()

2021-03-08 Thread Yue Hu
From: Yue Hu Since vcc/vccq/vccq2 have already been null checked before using. Signed-off-by: Yue Hu --- drivers/scsi/ufs/ufshcd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index 7b3267e..f941bc3 100644 ---

Re: [PATCH 1/2] dt-bindings: misc: add binding for generic ripple counter

2021-03-08 Thread Rasmus Villemoes
On 08/03/2021 22.38, Rob Herring wrote: > On Mon, Mar 08, 2021 at 09:02:29PM +0100, Rasmus Villemoes wrote: >> On 08/03/2021 18.21, Rob Herring wrote: >>> On Fri, Feb 26, 2021 at 03:14:10PM +0100, Rasmus Villemoes wrote: While a ripple counter can not usually be interfaced with (directly)

Re: [PATCH v6 1/1] iio/scmi: Adding support for IIO SCMI Based Sensors

2021-03-08 Thread Cristian Marussi
Hi On Tue, Mar 09, 2021 at 06:37:27AM +, Sudeep Holla wrote: > On Mon, Mar 08, 2021 at 07:48:41PM +, Jonathan Cameron wrote: > > On Mon, 8 Mar 2021 04:28:42 + > > Sudeep Holla wrote: > > > > > Hi Jonathan, > > > > > > On Tue, Feb 23, 2021 at 10:30:37AM -0800, Jyoti Bhayana wrote: > >

Re: [PATCH v2 2/7] CMDLINE: drivers: of: ifdef out cmdline section

2021-03-08 Thread Christophe Leroy
Le 09/03/2021 à 01:02, Daniel Walker a écrit : It looks like there's some seepage of cmdline stuff into the generic device tree code. This conflicts with the generic cmdline implementation so I remove it in the case when that's enabled. Cc: xe-linux-exter...@cisco.com Signed-off-by: Ruslan

Re: [PATCH RFCv2] mm/madvise: introduce MADV_POPULATE_(READ|WRITE) to prefault/prealloc memory

2021-03-08 Thread Rolf Eike Beer
diff --git a/mm/internal.h b/mm/internal.h index 9902648f2206..a5c4ed23b1db 100644 --- a/mm/internal.h +++ b/mm/internal.h @@ -340,6 +340,9 @@ void __vma_unlink_list(struct mm_struct *mm, struct vm_area_struct *vma); #ifdef CONFIG_MMU extern long populate_vma_page_range(struct vm_area_struct

Re: [PATCH v2 1/7] CMDLINE: add generic builtin command line

2021-03-08 Thread Christophe Leroy
Le 09/03/2021 à 01:02, Daniel Walker a écrit : This code allows architectures to use a generic builtin command line. The state of the builtin command line options across architecture is diverse. On x86 and mips they have pretty much the same code and the code prepends the builtin command line

[PATCH 1/2] dt-bindings:pci: Set LTSSM Detect.Quiet state delay.

2021-03-08 Thread Nadeem Athani
The parameter detect-quiet-min-delay can be used to program the minimum time that LTSSM waits on entering Detect.Quiet state. 00 : 0us minimum wait time in Detect.Quiet state. 01 : 100us minimum wait time in Detect.Quiet state. 10 : 1000us minimum wait time in Detect.Quiet state. 11 : 2000us

[PATCH 2/2] PCI: cadence: Set LTSSM Detect.Quiet state delay.

2021-03-08 Thread Nadeem Athani
The parameter detect_quiet_min_delay can be used to program the minimum time that LTSSM waits on entering Detect.Quiet state. 00 : 0us minimum wait time in Detect.Quiet state. 01 : 100us minimum wait time in Detect.Quiet state. 10 : 1000us minimum wait time in Detect.Quiet state. 11 : 2000us

[PATCH 0/2] PCI: cadence: Set LTSSM Detect.Quiet state delay.

2021-03-08 Thread Nadeem Athani
This patch includes a set of two patches. First patch for adding a new property detect-quiet-min-delay in yaml file. Second patch programs the delay value in host pcie driver. The parameter detect-quiet-min-delay can be used to program the minimum time that LTSSM waits on entering Detect.Quiet

Re: [PATCH] libnvdimm: Let revalidate_disk() revalidate region read-only

2021-03-08 Thread Christoph Hellwig
On Mon, Mar 08, 2021 at 10:54:22PM -0800, Dan Williams wrote: > Previous kernels allowed the BLKROSET to override the disk's read-only > status. With that situation fixed the pmem driver needs to rely on > revalidate_disk() to clear the disk read-only status after the host > region has been marked

Re: [PATCH 0/4] kbuild: build speed improvment of CONFIG_TRIM_UNUSED_KSYMS

2021-03-08 Thread Masahiro Yamada
On Fri, Feb 26, 2021 at 4:24 AM Nicolas Pitre wrote: > > On Fri, 26 Feb 2021, Masahiro Yamada wrote: > > > On Fri, Feb 26, 2021 at 2:20 AM Nicolas Pitre wrote: > > > > > > On Fri, 26 Feb 2021, Masahiro Yamada wrote: > > > > > > > > > > > Now CONFIG_TRIM_UNUSED_KSYMS is revived, but Linus is

Re: [PATCH v2 4/5] mtd: spi-nor: Move Software Write Protection logic out of the core

2021-03-08 Thread Tudor.Ambarus
On 3/8/21 7:28 PM, Vignesh Raghavendra wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > On 3/6/21 3:20 PM, Tudor Ambarus wrote: >> It makes the core file a bit smaller and provides better separation >> between the Software Write Protection

Re: [PATCH v2 3/4] arm64: dts: ti: Add support for Siemens IOT2050 boards

2021-03-08 Thread Jan Kiszka
On 04.03.21 07:58, Vignesh Raghavendra wrote: > Hi, > > On 2/12/21 1:02 AM, Jan Kiszka wrote: >> From: Jan Kiszka >> >> Add support for two Siemens SIMATIC IOT2050 variants, Basic and >> Advanced. They are based on the TI AM6528 GP and AM6548 SOCs HS, thus >> differ in their number of cores and

Re: [RFC PATCH 2/6] clk: sifive: Use reset-simple in prci driver for PCIe driver

2021-03-08 Thread Greentime Hu
Philipp Zabel 於 2021年3月4日 週四 下午7:58寫道: > > On Tue, 2021-03-02 at 18:59 +0800, Greentime Hu wrote: > > We use reset-simple in this patch so that pcie driver can use > > devm_reset_control_get() to get this reset data structure and use > > reset_control_deassert() to deassert pcie_power_up_rst_n. >

[PATCH] char: lp: remove redundant space around (inside) parenthesized expressions

2021-03-08 Thread Qiang Ma
These two lines of code don't meet the linux kernel style, and use a space after these keywords: if, switch, case, for, do, while. Do not add spaces around (inside) parenthesized expressions. So remove the redundant space. Signed-off-by: Qiang Ma --- drivers/char/lp.c | 4 ++-- 1 file changed,

[PATCH] firewire: Use bitwise instead of arithmetic operator for flags

2021-03-08 Thread Jiapeng Chong
Fix the following coccicheck warnings: ./drivers/firewire/core-device.c:973:22-23: WARNING: sum of probable bitmasks, consider |. ./drivers/firewire/core-device.c:954:22-23: WARNING: sum of probable bitmasks, consider |. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong ---

Re: [Intel-wired-lan] [PATCH] e1000e: Fix error handling in e1000_set_d0_lplu_state_82571

2021-03-08 Thread Dvora Fuxbrumer
On 28/02/2021 11:44, Dinghao Liu wrote: There is one e1e_wphy() call in e1000_set_d0_lplu_state_82571 that we have caught its return value but lack further handling. Check and terminate the execution flow just like other e1e_wphy() in this function. Signed-off-by: Dinghao Liu ---

[tip:master] BUILD SUCCESS 361316d29e5718c52c92ee4a4d8d6ccb9d5d60a9

2021-03-08 Thread kernel test robot
allyesconfig mips allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig x86_64 randconfig-a006-20210308 x86_64 randconfig-a001-20210308 x86_64

Re: [syzbot] upstream boot error: WARNING in kvm_wait

2021-03-08 Thread Dmitry Vyukov
On Sat, Mar 6, 2021 at 12:37 PM Dmitry Vyukov wrote: > > On Fri, Mar 5, 2021 at 9:56 PM syzbot > wrote: > > > > Hello, > > > > syzbot found the following issue on: > > > > HEAD commit:280d542f Merge tag 'drm-fixes-2021-03-05' of git://anongit.. > > git tree: upstream > > console

Re: [syzbot] net-next boot error: WARNING in kvm_wait

2021-03-08 Thread Dmitry Vyukov
On Fri, Mar 5, 2021 at 9:57 PM syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit:d310ec03 Merge tag 'perf-core-2021-02-17' of git://git.ker.. > git tree: net-next > console output: https://syzkaller.appspot.com/x/log.txt?x=1532e4c6d0 > kernel config:

Re: [syzbot] bpf boot error: WARNING in kvm_wait

2021-03-08 Thread Dmitry Vyukov
On Sat, Mar 6, 2021 at 12:28 PM syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit:edbea922 veth: Store queue_mapping independently of XDP pr.. > git tree: bpf > console output: https://syzkaller.appspot.com/x/log.txt?x=113ae02ad0 > kernel config:

Re: [syzbot] net boot error: WARNING in kvm_wait

2021-03-08 Thread Dmitry Vyukov
On Sat, Mar 6, 2021 at 8:37 AM syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit:ad5d07f4 cipso,calipso: resolve a number of problems with .. > git tree: net > console output: https://syzkaller.appspot.com/x/log.txt?x=12aca7cad0 > kernel config:

Re: [syzbot] bpf-next boot error: WARNING in kvm_wait

2021-03-08 Thread Dmitry Vyukov
On Sat, Mar 6, 2021 at 8:37 AM syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit:d01b59c9 bpf: Add bpf_skb_adjust_room flag BPF_F_ADJ_ROOM_.. > git tree: bpf-next > console output: https://syzkaller.appspot.com/x/log.txt?x=1592bd66d0 > kernel config:

Re: [syzbot] WARNING in kvm_wait

2021-03-08 Thread Dmitry Vyukov
On Tue, Mar 9, 2021 at 12:29 AM 'Sean Christopherson' via syzkaller-bugs wrote: > > On Mon, Mar 08, 2021, syzbot wrote: > > Hello, > > > > syzbot found the following issue on: > > > > HEAD commit:a38fd874 Linux 5.12-rc2 > > git tree: upstream > > console output:

[PATCH] libnvdimm: Let revalidate_disk() revalidate region read-only

2021-03-08 Thread Dan Williams
Previous kernels allowed the BLKROSET to override the disk's read-only status. With that situation fixed the pmem driver needs to rely on revalidate_disk() to clear the disk read-only status after the host region has been marked read-write. Recall that when libnvdimm determines that the

[PATCH] mmc: via-sdmmc: remove unneeded variable 'ret'

2021-03-08 Thread Yang Li
Fix the following coccicheck warning: ./drivers/mmc/host/via-sdmmc.c:1274:5-8: Unneeded variable: "ret". Return "0" on line 1295 Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/mmc/host/via-sdmmc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

Re: linux-next: manual merge of the vhost tree with the sound tree

2021-03-08 Thread Takashi Iwai
On Tue, 09 Mar 2021 02:58:33 +0100, Stephen Rothwell wrote: > > Hi all, > > Today's linux-next merge of the vhost tree got conflicts in: > > sound/virtio/virtio_card.c > sound/virtio/virtio_card.h > sound/virtio/virtio_ctl_msg.c > sound/virtio/virtio_pcm.c > sound/virtio/virtio_pcm.h

Re: [PATCH] crypto: sun8i-ss: Fix memory leak of object d when dma_iv fails to map

2021-03-08 Thread Corentin Labbe
Le Tue, Mar 02, 2021 at 04:34:46PM +, Colin King a écrit : > From: Colin Ian King > > In the case where the dma_iv mapping fails, the return error path leaks > the memory allocated to object d. Fix this by adding a new error return > label and jumping to this to ensure d is free'd before

Re: [PATCH] crypto: allwinner: sun8i-ce: fix error return code in sun8i_ce_prng_generate()

2021-03-08 Thread Corentin Labbe
Le Thu, Mar 04, 2021 at 05:57:17PM -0800, Jia-Ju Bai a écrit : > When dma_mapping_error() returns an error, no error return code of > sun8i_ce_prng_generate() is assigned. > To fix this bug, err is assigned with -EFAULT as error return code. > > Reported-by: TOTE Robot > Signed-off-by: Jia-Ju

Re: [EXT] [PATCH v2 2/4] dt-bindings: spi: add compatible entry for imx8mp in FlexSPI controller

2021-03-08 Thread Heiko Schocher
Hello Kuldeep, On 09.03.21 07:29, Kuldeep Singh wrote: >> Hi! >> >> On 09.03.21 06:56, Kuldeep Singh wrote: >>> Hi Heiko, >>> -Original Message- From: Heiko Schocher Sent: Tuesday, March 9, 2021 11:01 AM To: linux-arm-ker...@lists.infradead.org Cc: Heiko Schocher

Re: [PATCH next 2/2] sound: usb: fix use after free in usb_audio_disconnect

2021-03-08 Thread Takashi Iwai
On Mon, 08 Mar 2021 23:30:57 +0100, Pavel Skripkin wrote: > > The problem was in wrong "if" placement. chip->quirk_type is freed > in snd_card_free_when_closed(), but inside if statement it's accesed. > > Fixes: 9799110825db ("ALSA: usb-audio: Disable USB autosuspend properly in >

Re: [PATCH v2 7/7] CMDLINE: x86: convert to generic builtin command line

2021-03-08 Thread Ard Biesheuvel
On Tue, 9 Mar 2021 at 01:03, Daniel Walker wrote: > > This updates the x86 code to use the CONFIG_GENERIC_CMDLINE > option. > > Cc: xe-linux-exter...@cisco.com > Signed-off-by: Ruslan Ruslichenko > Signed-off-by: Ruslan Bilovol > Signed-off-by: Daniel Walker > --- > arch/x86/Kconfig

[PATCH] scsi: 3w-sas: remove unneeded variable 'retval'

2021-03-08 Thread Yang Li
Fix the following coccicheck warning: ./drivers/scsi/3w-sas.c:866:5-11: Unneeded variable: "retval". Return "1" on line 898 Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/scsi/3w-sas.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/scsi/3w-sas.c

Re: [PATCH 2/3] iommu/io-pgtable-arm: Add IOMMU_LLC page protection flag

2021-03-08 Thread Sai Prakash Ranjan
Hi, On 2021-02-05 17:38, Sai Prakash Ranjan wrote: On 2021-02-04 03:16, Will Deacon wrote: On Tue, Feb 02, 2021 at 11:56:27AM +0530, Sai Prakash Ranjan wrote: On 2021-02-01 23:50, Jordan Crouse wrote: > On Mon, Feb 01, 2021 at 08:20:44AM -0800, Rob Clark wrote: > > On Mon, Feb 1, 2021 at 3:16

Re: [PATCH v2 00/10] fsdax,xfs: Add reflink support for fsdax

2021-03-08 Thread Xiaoguang Wang
hi, First thanks for your patchset. I'd like to know whether your patchset pass fstests? Thanks. Regards, Xiaoguang Wang This patchset is attempt to add CoW support for fsdax, and take XFS, which has both reflink and fsdax feature, as an example. Changes from V1: - Factor some helper

[PATCH v5] coccinelle: misc: add minmax script

2021-03-08 Thread Denis Efremov
Check for opencoded min(), max() implementations. Signed-off-by: Denis Efremov --- Changes in v2: - <... ...> instead of ... when any - org mode reports fixed - patch rule to drop excessive () Changes in v3: - "depends on patch && (pmax || pmaxif || pmin || pminif)" fixed Changes in v4: -

Re: [PATCHv2 0/4] perf/core: Add support to exclude kernel mode PMU tracing

2021-03-08 Thread Sai Prakash Ranjan
Hi Andi, On 2021-03-05 01:47, Andi Kleen wrote: > Andi Kleen writes: >> >> Normally disk encryption is in specialized work queues. It's total >> overkill to restrict all of the kernel if you just want to restrict >> those work queues. >> >> I would suggest some more analysis where secrets are

Re: [PATCH] mm/memory-failure: Use a mutex to avoid memory_failure() races

2021-03-08 Thread Aili Yao
On Tue, 9 Mar 2021 06:04:41 + HORIGUCHI NAOYA(堀口 直也) wrote: > ... > > > > If others are OK with this method, then I am OK too. > > But I have two concerns, May you take into account: > > > > 1. The memory_failure with 0 return code for race condition, then the > > kill_me_maybe() goes

Re: [PATCH v6 1/1] iio/scmi: Adding support for IIO SCMI Based Sensors

2021-03-08 Thread Sudeep Holla
On Mon, Mar 08, 2021 at 07:48:41PM +, Jonathan Cameron wrote: > On Mon, 8 Mar 2021 04:28:42 + > Sudeep Holla wrote: > > > Hi Jonathan, > > > > On Tue, Feb 23, 2021 at 10:30:37AM -0800, Jyoti Bhayana wrote: > > > Hi Jonathan, > > > > > > Thanks for the detailed and careful review of this

Re: [PATCH next 1/2] sound: usb: fix NULL ptr dereference in usb_audio_probe

2021-03-08 Thread Takashi Iwai
On Mon, 08 Mar 2021 23:30:36 +0100, Pavel Skripkin wrote: > > syzbot reported null pointer dereference in usb_audio_probe. > The problem was in case, when quirk == NULL. It's not an > error condition, so quirk must be checked before dereferencing. > > Call Trace: >

[PATCH v2] mm,hwpoison: return -EBUSY when page already poisoned

2021-03-08 Thread Aili Yao
When the page is already poisoned, another memory_failure() call in the same page now return 0, meaning OK. For nested memory mce handling, this behavior may lead to mce looping, Example: 1.When LCME is enabled, and there are two processes A && B running on different core X && Y separately, which

Re: [PATCH] SOUND: pci: hda: Add Sound BlasterX AE-5 Plus support

2021-03-08 Thread Takashi Iwai
On Mon, 08 Mar 2021 19:48:35 +0100, Simeon Simeonoff wrote: > > > The new AE-5 Plus model has a different Subsystem ID compared to the > non-plus model. Adding the new id to the list of quirks. > > Signed-off-by: Simeon Simeonoff Thanks, applied now. Takashi

[PATCH v1 1/1] PCI: pciehp: Skip DLLSC handling if DPC is triggered

2021-03-08 Thread sathyanarayanan . kuppuswamy
From: Kuppuswamy Sathyanarayanan When hotplug and DPC are both enabled on a Root port or Downstream Port, during DPC events that cause a DLLSC link down/up events, such events must be suppressed to let the DPC driver own the recovery path. When DPC is present and enabled, hardware will put the

Re: [PATCH v3 1/2] usb: dwc3: Trigger a GCTL soft reset when switching modes in DRD

2021-03-08 Thread Wesley Cheng
On 3/8/2021 7:05 PM, Thinh Nguyen wrote: > Wesley Cheng wrote: >> >> On 3/6/2021 3:41 PM, Thinh Nguyen wrote: >>> Wesley Cheng wrote: On 1/8/2021 4:44 PM, Thinh Nguyen wrote: > Hi, > > John Stultz wrote: >> On Fri, Jan 8, 2021 at 4:26 AM Felipe Balbi wrote: >>> Hi,

Re: [PATCH 0/6] clk: Ingenic JZ4760(B) support

2021-03-08 Thread Zhou Yanjie
Hi Paul, On 2021/3/7 下午10:17, Paul Cercueil wrote: Hi, Here are a set of patches to add support for the Ingenic JZ4760(B) SoCs. One thing to note is that the ingenic,jz4760-tcu is undocumented for now, as I will update the TCU documentation in a different patchset. Zhou: the CGU code now

[PATCH] io_uring: remove unneeded variable 'ret'

2021-03-08 Thread Yang Li
Fix the following coccicheck warning: ./fs/io_uring.c:8984:5-8: Unneeded variable: "ret". Return "0" on line 8998 Reported-by: Abaci Robot Signed-off-by: Yang Li --- fs/io_uring.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/io_uring.c b/fs/io_uring.c index

RE: [EXT] [PATCH v2 2/4] dt-bindings: spi: add compatible entry for imx8mp in FlexSPI controller

2021-03-08 Thread Kuldeep Singh
> Hi! > > On 09.03.21 06:56, Kuldeep Singh wrote: > > Hi Heiko, > > > >> -Original Message- > >> From: Heiko Schocher > >> Sent: Tuesday, March 9, 2021 11:01 AM > >> To: linux-arm-ker...@lists.infradead.org > >> Cc: Heiko Schocher ; Ashish Kumar ; > >> Mark Brown ; Rob Herring ; > >>

Re: Re: [PATCH] Input: elan_i2c - Reduce the resume time for new dev ices

2021-03-08 Thread Dan Carpenter
Hi 'Dmitry, url: https://github.com/0day-ci/linux/commits/Dmitry-Torokhov/Re-PATCH-Input-elan_i2c-Reduce-the-resume-time-for-new-dev-ices/20210308-111956 base: https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next config: x86_64-randconfig-m001-20210308 (attached as .config

Re: [PATCH v2 0/6] arm/arm64: Allow the rescheduling IPI to bypass irq_enter/exit

2021-03-08 Thread Yuichi Ito
Hi Marc, Mark > Mark is working on this, I believe. I'll let him comment on the current > state of things. I understand. Mark, Could you tell me current state? Thanks, Yuichi Ito

[PATCH v4] mm: cma: support sysfs

2021-03-08 Thread Minchan Kim
Since CMA is getting used more widely, it's more important to keep monitoring CMA statistics for system health since it's directly related to user experience. This patch introduces sysfs statistics for CMA, in order to provide some basic monitoring of the CMA allocator. * the number of CMA page

RE: [PATCH v2] arm64/ras: Update code to trace out more data for ARM processor

2021-03-08 Thread Jason Tian OS
Hi All, May I know whether this patch can be merged or not? Thanks. Jason -Original Message- From: Shiju Jose Sent: Thursday, February 25, 2021 1:44 AM To: Jason Tian OS ; linux-kernel@vger.kernel.org; linux-e...@vger.kernel.org; linux-arm-ker...@lists.infradead.org;

[RFC PATCH v2 6/6] vfio: Add nested IOPF support

2021-03-08 Thread Shenming Lu
To set up nested mode, drivers such as vfio_pci have to register a handler to receive stage/level 1 faults from the IOMMU, but since currently each device can only have one iommu dev fault handler, and if stage 2 IOPF is already enabled (VFIO_IOMMU_ENABLE_IOPF), we choose to update the registered

[RFC PATCH v2 4/6] vfio: VFIO_IOMMU_ENABLE_IOPF

2021-03-08 Thread Shenming Lu
Since enabling IOPF for devices may lead to a slow ramp up of performance, we add an VFIO_IOMMU_ENABLE_IOPF ioctl to make it configurable. And the IOPF enabling of a VFIO device includes setting IOMMU_DEV_FEAT_IOPF and registering the VFIO page fault handler. Note that VFIO_IOMMU_DISABLE_IOPF is

[RFC PATCH v2 2/6] vfio: Add an MMU notifier to avoid pinning

2021-03-08 Thread Shenming Lu
To avoid pinning pages when they are mapped in IOMMU page tables, we add an MMU notifier to tell the addresses which are no longer valid and try to unmap them. Signed-off-by: Shenming Lu --- drivers/vfio/vfio_iommu_type1.c | 68 + 1 file changed, 68 insertions(+)

[RFC PATCH v2 5/6] vfio: No need to statically pin and map if IOPF enabled

2021-03-08 Thread Shenming Lu
If IOPF enabled for the VFIO container, there is no need to statically pin and map the entire DMA range, we can do it on demand. And unmap according to the IOPF mapped bitmap when removing vfio_dma. Signed-off-by: Shenming Lu --- drivers/vfio/vfio_iommu_type1.c | 35

[RFC PATCH v2 1/6] iommu: Evolve to support more scenarios of using IOPF

2021-03-08 Thread Shenming Lu
This patch follows the discussion here: https://lore.kernel.org/linux-acpi/YAaxjmJW+ZMvrhac@myrica/ In order to support more scenarios of using IOPF (mainly consider the nested extension), besides keeping IOMMU_DEV_FEAT_IOPF as a general capability for whether delivering faults through the

[RFC PATCH v2 3/6] vfio: Add a page fault handler

2021-03-08 Thread Shenming Lu
VFIO manages the DMA mapping itself. To support IOPF for VFIO devices, we add a VFIO page fault handler to serve the reported page faults from the IOMMU driver. Besides, we can pre-map more pages than requested at once to optimize for fewer page fault handlings. Signed-off-by: Shenming Lu ---

[RFC PATCH v2 0/6] Add IOPF support for VFIO passthrough

2021-03-08 Thread Shenming Lu
Hi, The static pinning and mapping problem in VFIO and possible solutions have been discussed a lot [1, 2]. One of the solutions is to add I/O page fault support for VFIO devices. Different from those relatively complicated software approaches such as presenting a vIOMMU that provides the DMA

[Resend]Re: [PATCH] [v26,1/4] scsi: ufs: Introduce HPB feature

2021-03-08 Thread Wang Qing
>The Following is experiment environment: > - kernel version: 4.4.0 > - RAM: 8GB > - UFS 2.1 (64GB) > >Result: >+---+--+--+---+ >| cycle | baseline | with HPB | diff | >+---+--+--+---+ >| 1 | 272.4| 264.9| -7.5 | >| 2 | 250.4|

Re: [PATCH v5 11/12] x86/paravirt: switch functions with custom code to ALTERNATIVE

2021-03-08 Thread Jürgen Groß
On 08.03.21 19:30, Borislav Petkov wrote: On Mon, Mar 08, 2021 at 01:28:43PM +0100, Juergen Gross wrote: diff --git a/arch/x86/include/asm/paravirt.h b/arch/x86/include/asm/paravirt.h index 36cd71fa097f..04b3067f31b5 100644 --- a/arch/x86/include/asm/paravirt.h +++

[PATCH] powerpc/vdso32: Add missing _restgpr_31_x to fix build failure

2021-03-08 Thread Christophe Leroy
With some defconfig including CONFIG_CC_OPTIMIZE_FOR_SIZE, (for instance mvme5100_defconfig and ps3_defconfig), gcc 5 generates a call to _restgpr_31_x. Until recently it went unnoticed, but commit 42ed6d56ade2 ("powerpc/vdso: Block R_PPC_REL24 relocations") made it rise to the surface. Provide

[PATCH] ARM: dts: imx6ull: fix ubi mount failed on MYS-6ULX-IOT board

2021-03-08 Thread dillon . minfei
From: dillon min This patch intend to fix ubi filesystem mount failed on MYS-6ULX-IOT board, from Micron MT29F2G08ABAEAWP's datasheets, we need to choose 4-bit ECC. Table 18: Error Management Details Description Requirement Minimum number of valid blocks

[PATCH] ARM: dts: imx6ull: fix ubi filesystem mount failed

2021-03-08 Thread dillon . minfei
From: dillon min since Micron MT29F2G08ABAEAWP's ecc error management: |Description| Requirement |Minimum required ECC | 4-bit ECC per 528 bytes |Minimum ECC with internal ECC enabled | 4-bit ECC per 516 bytes (user data) +

Re: [PATCH v5 02/12] x86/paravirt: switch time pvops functions to use static_call()

2021-03-08 Thread Jürgen Groß
On 08.03.21 18:00, Boris Ostrovsky wrote: On 3/8/21 7:28 AM, Juergen Gross wrote: --- a/arch/x86/xen/time.c +++ b/arch/x86/xen/time.c @@ -379,11 +379,6 @@ void xen_timer_resume(void) } } -static const struct pv_time_ops xen_time_ops __initconst = { - .sched_clock =

Re: mmotm 2021-03-08-21-52 uploaded

2021-03-08 Thread Stephen Rothwell
Hi Andrew, On Mon, 08 Mar 2021 21:52:55 -0800 a...@linux-foundation.org wrote: > > * mm-mempool-minor-coding-style-tweaks.patch . . > * mm-mempool-minor-coding-style-tweaks.patch This patch appears twice (I just dropped the second one). -- Cheers, Stephen Rothwell

Re: [EXT] [PATCH v2 2/4] dt-bindings: spi: add compatible entry for imx8mp in FlexSPI controller

2021-03-08 Thread Heiko Schocher
Hi! On 09.03.21 06:56, Kuldeep Singh wrote: > Hi Heiko, > >> -Original Message- >> From: Heiko Schocher >> Sent: Tuesday, March 9, 2021 11:01 AM >> To: linux-arm-ker...@lists.infradead.org >> Cc: Heiko Schocher ; Ashish Kumar ; >> Mark Brown ; Rob Herring ; Yogesh >> Gaur ;

Re: [PATCH] mm/memory-failure: Use a mutex to avoid memory_failure() races

2021-03-08 Thread 堀口 直也
On Tue, Mar 09, 2021 at 10:04:21AM +0800, Aili Yao wrote: > On Mon, 8 Mar 2021 14:55:04 -0800 > "Luck, Tony" wrote: > > > There can be races when multiple CPUs consume poison from the same > > page. The first into memory_failure() atomically sets the HWPoison > > page flag and begins hunting for

Re: kernel panic: Attempted to kill init!

2021-03-08 Thread Palash Oswal
On Mon, Mar 8, 2021 at 10:50 PM Al Viro wrote: > I'd suggest to add printk(KERN_ERR "got to %d", __LINE__); in fs/fhandle.c at > beginning of do_handle_open() > right before each copy_from_user() in handle_to_path() > right before and right after the call of

Re: [PATCH 8/9] arm64: dts: qcom: sc7280: Add AOSS QMP node

2021-03-08 Thread Sibi Sankar
On 2021-02-27 19:26, Sai Prakash Ranjan wrote: On 2021-02-27 00:16, Stephen Boyd wrote: Quoting Sai Prakash Ranjan (2021-02-25 23:51:00) On 2021-02-26 01:11, Stephen Boyd wrote: > Quoting Sai Prakash Ranjan (2021-02-25 01:30:24) >> Add a DT node for the AOSS QMP on SC7280 SoC. >> >>

RE: [PATCH 2/2] iio:magnetometer: Support for ST magnetic sensors

2021-03-08 Thread LI Qingwu
Hi Jonathan, Thanks for your input, I will integrate into existing magnetometers driver! Best Regards ** Li Qingwu (Terry) ** -Original Message- From: Jonathan Cameron Sent: Sunday, March 7,

RE: [EXT] [PATCH v2 2/4] dt-bindings: spi: add compatible entry for imx8mp in FlexSPI controller

2021-03-08 Thread Kuldeep Singh
Hi Heiko, > -Original Message- > From: Heiko Schocher > Sent: Tuesday, March 9, 2021 11:01 AM > To: linux-arm-ker...@lists.infradead.org > Cc: Heiko Schocher ; Ashish Kumar ; > Mark Brown ; Rob Herring ; Yogesh > Gaur ; devicet...@vger.kernel.org; linux- > ker...@vger.kernel.org;

mmotm 2021-03-08-21-52 uploaded

2021-03-08 Thread akpm
The mm-of-the-moment snapshot 2021-03-08-21-52 has been uploaded to https://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: https://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

[PATCH 5/6] reset: qcom: Add PDC Global reset signals for WPSS

2021-03-08 Thread Sibi Sankar
Add PDC Global reset signals for Wireless Processor Subsystem (WPSS) on SC7280 SoCs. Signed-off-by: Sibi Sankar --- drivers/reset/reset-qcom-pdc.c | 62 ++ 1 file changed, 51 insertions(+), 11 deletions(-) diff --git a/drivers/reset/reset-qcom-pdc.c

[PATCH 4/6] dt-bindings: reset: pdc: Add PDC Global bindings

2021-03-08 Thread Sibi Sankar
Add PDC Global reset controller bindings for SC7280 SoCs. Signed-off-by: Sibi Sankar --- Documentation/devicetree/bindings/reset/qcom,pdc-global.yaml | 4 include/dt-bindings/reset/qcom,sdm845-pdc.h | 2 ++ 2 files changed, 6 insertions(+) diff --git

[PATCH 6/6] arm64: dts: qcom: sc7280: Add nodes to boot WPSS

2021-03-08 Thread Sibi Sankar
Add miscellaneous nodes to boot the Wireless Processor Subsystem on SC7280 SoCs. Signed-off-by: Sibi Sankar --- https://patchwork.kernel.org/project/linux-arm-msm/list/?series=438217 Depends on ipcc dt node enablement from ^^ arch/arm64/boot/dts/qcom/sc7280.dtsi | 143

[PATCH 2/6] dt-bindings: mailbox: Add WPSS client index to IPCC

2021-03-08 Thread Sibi Sankar
Add WPSS remote processor client index to Inter-Processor Communication Controller (IPCC) block. Signed-off-by: Sibi Sankar --- include/dt-bindings/mailbox/qcom-ipcc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/mailbox/qcom-ipcc.h

[PATCH 1/6] soc: qcom: smem: Update max processor count

2021-03-08 Thread Sibi Sankar
Update max processor count to reflect the number of co-processors on SC7280 SoCs. Signed-off-by: Sibi Sankar --- drivers/soc/qcom/smem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/qcom/smem.c b/drivers/soc/qcom/smem.c index cc4e0655a47b..4fb5aeeb0843 100644

[PATCH 3/6] dt-bindings: reset: aoss: Add AOSS reset controller binding

2021-03-08 Thread Sibi Sankar
Add AOSS reset controller bindings for SC7280 SoCs. Signed-off-by: Sibi Sankar --- Documentation/devicetree/bindings/reset/qcom,aoss-reset.yaml | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/reset/qcom,aoss-reset.yaml

[PATCH 0/6] Enable miscellaneous hardware blocks to boot WPSS

2021-03-08 Thread Sibi Sankar
This series enables miscellaneous hardware blocks to boot Wireless Processor Subsystem (WPSS) on SC7280 SoC. [1] https://lore.kernel.org/patchwork/cover/1389010/ The series depends on ^^ Sibi Sankar (6): soc: qcom: smem: Update max processor count dt-bindings: mailbox: Add WPSS client index

Re: [PATCH v2 0/3] add "delay" clock support to gpio_wdt

2021-03-08 Thread Guenter Roeck
On 3/4/21 2:12 PM, Rasmus Villemoes wrote: > As Arnd and Guenther suggested, this adds support to the gpio_wdt > driver for being a consumer of the clock driving the ripple > counter. However, I don't think it should be merged as-is, see below. > > The first patch makes sense on its own, quick

Re: [PATCH V2 2/4] vDPA/ifcvf: enable Intel C5000X-PL virtio-net for vDPA

2021-03-08 Thread Zhu, Lingshan
On 3/9/2021 10:42 AM, Jason Wang wrote: On 2021/3/9 10:28 上午, Zhu, Lingshan wrote: On 3/9/2021 10:23 AM, Jason Wang wrote: On 2021/3/8 4:35 下午, Zhu Lingshan wrote: This commit enabled Intel FPGA SmartNIC C5000X-PL virtio-net for vDPA Signed-off-by: Zhu Lingshan ---  

Re: [PATCH] arch: x86: kernel: Adjust the words to suit sentences in the file vmlinux.lds.S

2021-03-08 Thread Bhaskar Chowdhury
On 21:10 Mon 08 Mar 2021, Randy Dunlap wrote: On 3/8/21 7:41 PM, Bhaskar Chowdhury wrote: s/percpu/per CPU/ s/baremetal/bare metal/ Signed-off-by: Bhaskar Chowdhury Yeah, "bare metal" is a little better than "baremetal". OTOH, "percpu" is a kernel construct's name. It doesn't have to be

RE: [PATCH] usb: cdns3: Coherent memory allocation optimization

2021-03-08 Thread Sanket Parmar
Hi Peter, > On 21-03-05 17:01:11, Sanket Parmar wrote: > > Allocation of DMA coherent memory in atomic context using > > dma_alloc_coherent() might fail on some platform. To fix it, > > Replaced dma_alloc_coherent() with dma_pool API to allocate a > > smaller chunk of DMA coherent memory for TRB

Re: [PATCH] Squashfs: fix xattr id and id lookup sanity checks

2021-03-08 Thread Andrew Morton
On Mon, 1 Mar 2021 07:27:57 + (GMT) Phillip Lougher wrote: > The checks for maximum metadata block size is > missing SQUASHFS_BLOCK_OFFSET (the two byte length > count). There is no definition of SQUASHFS_BLOCK_OFFSET. Makes compiler unhappy.

[PATCH v2 3/4] arm64: dts: imx8mp: add flexspi node

2021-03-08 Thread Heiko Schocher
add node for the flexspi modul on imx8mp. Signed-off-by: Heiko Schocher --- Changes in v2: - work in comments from Marco - add own compatible entry "nxp,imx8mp-fspi" - reworked order of properties as Marco mentioned arch/arm64/boot/dts/freescale/imx8mp.dtsi | 16 1 file

[PATCH v2 4/4] arm64: imx8mp: imx8mp-phycore-som enable spi nor

2021-03-08 Thread Heiko Schocher
enable the mt25qu256aba spi nor on the imx8mp-phycore-som. Signed-off-by: Heiko Schocher --- Changes in v2: - work in comments from Marco and Teresa - rename node into "'som_flash: flash@0 { }" - compatible is now first entry - removed #size-cells and #address-cells as no child node.

[PATCH v2 2/4] dt-bindings: spi: add compatible entry for imx8mp in FlexSPI controller

2021-03-08 Thread Heiko Schocher
add compatible entry "nxp,imx8mp-fspi" in NXP FlexSPI controller Signed-off-by: Heiko Schocher --- (no changes since v1) Documentation/devicetree/bindings/spi/spi-nxp-fspi.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/spi/spi-nxp-fspi.txt

[PATCH v2 0/4] enable flexspi support on imx8mp

2021-03-08 Thread Heiko Schocher
This series enables support for the SPI NOR on the imx8mp based phyboard-pollux-rdk board. Patches new in v2: "spi: fspi: enable fspi driver for on imx8mp" which adds own compatible entry for imx8mp and seperate in own patch the documentation entry in patch "dt-bindings: spi: add compatible

[PATCH v2 1/4] spi: fspi: enable fspi driver for on imx8mp

2021-03-08 Thread Heiko Schocher
add compatible entry in nxp_fspi driver for imx8mp. Signed-off-by: Heiko Schocher --- Changes in v2: - work in comments from Marco add own compatible entry for imx8mp drivers/spi/spi-nxp-fspi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/spi-nxp-fspi.c

Re: [PATCH v2] KVM: x86: Revise guest_fpu xcomp_bv field

2021-03-08 Thread Liu, Jing2
On 3/2/2021 7:59 AM, Sean Christopherson wrote: On Thu, Feb 25, 2021, Jing Liu wrote: XCOMP_BV[63] field indicates that the save area is in the compacted format and XCOMP_BV[62:0] indicates the states that have space allocated in the save area, including both XCR0 and XSS bits enabled by the

Re: [PATCH v2 1/3] clk: add devm_clk_prepare_enable() helper

2021-03-08 Thread Guenter Roeck
On 3/4/21 2:12 PM, Rasmus Villemoes wrote: > Add a managed wrapper for clk_prepare_enable(). > > Signed-off-by: Rasmus Villemoes That has been tried several times, including by yours truly, and has always been rejected. Just use devm_add_action_or_reset() like many other watchdog drivers.

Re: linux-next: Signed-off-by missing for commit in the rcu tree

2021-03-08 Thread Paul E. McKenney
On Mon, Mar 08, 2021 at 05:03:27PM +1100, Stephen Rothwell wrote: > Hi all, > > Commit > > 3e90d423e754 ("EXP net: phy: make mdio_bus_phy_suspend/resume as > __maybe_unused") > > is missing a Signed-off-by from its committer. Fixed, thank you and apologies!

  1   2   3   4   5   6   7   8   9   10   >