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

2021-02-23 Thread Daejun Park
> > @@ -2656,7 +2656,12 @@ static int ufshcd_queuecommand(struct Scsi_Host > > *host, struct scsi_cmnd *cmd) > > > > lrbp->req_abort_skip = false; > > > > - ufshpb_prep(hba, lrbp); > > + err = ufshpb_prep(hba, lrbp); > > + if (err == -EAGAIN) { > > + lrbp->

Re: [PATCH net] atl1c: switch to napi_gro_receive

2021-02-23 Thread Jakub Kicinski
On Mon, 22 Feb 2021 09:40:45 +0800 Sieng Piaw Liew wrote: > Changing to napi_gro_receive() improves efficiency significantly. Tested > on Intel Core2-based motherboards and iperf3. > > Signed-off-by: Sieng Piaw Liew net-next is currently closed (see the note below). Would you mind resending this

Re: [BUG] Race between policy reload sidtab conversion and live conversion

2021-02-23 Thread Paul Moore
On Tue, Feb 23, 2021 at 5:36 PM Tyler Hicks wrote: > On 2021-02-23 15:50:56, Tyler Hicks wrote: > > On 2021-02-23 15:43:48, Tyler Hicks wrote: > > > I'm seeing a race during policy load while the "regular" sidtab > > > conversion is happening and a live conversion starts to take place in > > > sid

Re: [RFC] linux-next panic in hugepage_subpool_put_pages()

2021-02-23 Thread Andrew Morton
On Tue, 23 Feb 2021 10:06:12 -0800 Mike Kravetz wrote: > On 2/23/21 6:57 AM, Gerald Schaefer wrote: > > Hi, > > > > LTP triggered a panic on s390 in hugepage_subpool_put_pages() with > > linux-next 5.12.0-20210222, see below. > > > > It crashes on the spin_lock(&spool->lock) at the beginning, b

Re: [PATCH v2] gdb: lx-symbols: store the abspath()

2021-02-23 Thread Andrew Morton
On Tue, 23 Feb 2021 16:12:17 +0100 Johannes Berg wrote: > On Thu, 2020-12-17 at 09:31 +0100, Jan Kiszka wrote: > > On 17.12.20 09:17, Johannes Berg wrote: > > > From: Johannes Berg > > > > > > If we store the relative path, the user might later cd to a > > > different directory, and that would

[PATCH v2] drm/nouveau/kms/nvd9-nv138: Fix CRC calculation for the cursor channel

2021-02-23 Thread Lyude Paul
Something that didn't get noticed until I started running cursor tests: we're accidentally disabling an option for CRC calculation that's enabled by default: WidePipeCrc, which controls whether we use the full width of the data in the display pipe in order calculate CRCs. Having this disabled appar

Re: [PATCH] ibmveth: Switch to using the new API kobj_to_dev()

2021-02-23 Thread Jakub Kicinski
On Mon, 22 Feb 2021 16:02:21 +0800 Yang Li wrote: > fixed the following coccicheck: > ./drivers/net/ethernet/ibm/ibmveth.c:1805:51-52: WARNING opportunity for > kobj_to_dev() > > Reported-by: Abaci Robot > Signed-off-by: Yang Li # Form letter - net-next is closed We have already sent the netwo

Re: [PATCH net-next v2] net: dsa: mt7530: support MDB operations

2021-02-23 Thread Jakub Kicinski
On Mon, 22 Feb 2021 18:07:17 +0800 DENG Qingfang wrote: > Support port MDB add to/delete from MT7530 ARL. > > As the hardware can manage multicast forwarding itself, trapping > multicast traffic to the CPU is no longer required. > > Signed-off-by: DENG Qingfang # Form letter - net-next is close

Re: UBSAN: shift-out-of-bounds in nl802154_new_interface

2021-02-23 Thread Jakub Kicinski
Alex, there seems to be a few more syzbot reports for nl802154 beyond what you posted fixes for. Are you looking at these? On Mon, 22 Feb 2021 00:05:29 -0800 syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit:3af409ca net: enetc: fix destroyed phylink dereference

Re: [PATCH v4 1/2] scsi: ufs: Enable power management for wlun

2021-02-23 Thread Asutosh Das
On Tue, Feb 23 2021 at 12:23 -0800, Adrian Hunter wrote: On 23/02/21 1:04 am, Asutosh Das wrote: During runtime-suspend of ufs host, the scsi devices are already suspended and so are the queues associated with them. But the ufs host sends SSU to wlun during its runtime-suspend. During the proces

Re: [PATCH v3] IMA: support for duplicate measurement records

2021-02-23 Thread Petr Vorel
Hi Tushar, > Change Log v3: > - Incorporated feedback from Mimi on v2. > - Updated patch title and description to make it generic. > - Changed config description word 'data' to 'records'. > - Tested use cases for boot param "ima_policy=tcb". LGTM. Reviewed-by: Petr Vorel Kind regards, Petr

Re: [PATCH v12 01/13] vfio: VFIO_IOMMU_SET_PASID_TABLE

2021-02-23 Thread kernel test robot
Hi Eric, Thank you for the patch! Yet something to improve: [auto build test ERROR on v5.11] [also build test ERROR on next-20210223] [cannot apply to vfio/next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--bas

Re: [PATCH 3/3] kbuild: Add a build check for missing gitignore entries

2021-02-23 Thread Rob Herring
On Tue, Feb 23, 2021 at 5:20 PM Linus Torvalds wrote: > > On Tue, Feb 23, 2021 at 10:14 AM Rob Herring wrote: > > > > Any non-phony targets need to be in gitignore. The normal way to check > > this is doing an in-tree build and running git-status which is easy to > > miss. Git provides an easy wa

linux-next: Signed-off-by missing for commits in Linus' tree

2021-02-23 Thread Stephen Rothwell
Hi all, Commits b33fff07e3e3 ("x86, build: allow LTO to be selected") d2dcd3e37475 ("x86, cpu: disable LTO for cpu.c") e242db40be27 ("x86, vdso: disable LTO only for vDSO") b1a1a1a09b46 ("kbuild: lto: postpone objtool") 41425ebe2024 ("objtool: Split noinstr validation from --vmlinux")

Re: [GIT PULL] keys: Collected minor fixes and cleanups

2021-02-23 Thread pr-tracker-bot
The pull request you sent on Wed, 10 Feb 2021 14:59:34 +: > git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git > tags/keys-misc-20210126 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/c03c21ba6f4e95e406a1a7b4c34ef334b977c194 Thank you! -- Deet-

Re: linux-next: Signed-off-by missing for commits in Linus' tree

2021-02-23 Thread Linus Torvalds
On Tue, Feb 23, 2021 at 4:31 PM Stephen Rothwell wrote: > > are missing a Signed-off-by from their committer. Gaah. Maybe I should do some pre-pull hook or something to notice this automatically (like you clearly do). Linus

Re: [PATCH v6 00/12] SVM cleanup and INVPCID feature support

2021-02-23 Thread Jim Mattson
Any updates? What should we be telling customers with Debian 9 guests? :-) On Fri, Jan 22, 2021 at 5:52 PM Babu Moger wrote: > > > > On 1/21/21 5:51 PM, Babu Moger wrote: > > > > > > On 1/20/21 9:10 PM, Babu Moger wrote: > >> > >> > >> On 1/20/21 3:45 PM, Babu Moger wrote: > >>> > >>> > >>> On 1/

Re: UBSAN: shift-out-of-bounds in nl802154_new_interface

2021-02-23 Thread Alexander Aring
Hi, On Tue, 23 Feb 2021 at 18:48, Jakub Kicinski wrote: > > Alex, there seems to be a few more syzbot reports for nl802154 beyond > what you posted fixes for. Are you looking at these? Yes, I have it on my list. I will try to fix them at the weekend. - Alex

Re: [PATCH 5.11 00/12] 5.11.1-rc1 review

2021-02-23 Thread Shuah Khan
On 2/23/21 2:05 PM, Shuah Khan wrote: On 2/22/21 5:12 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 5.11.1 release. There are 12 patches in this series, all will be posted as a response to this one.  If anyone has any issues with these being applied, please l

Re: [PATCHSET] making unix_bind() undo mknod on failure

2021-02-23 Thread Jakub Kicinski
On Mon, 22 Feb 2021 19:06:00 + Al Viro wrote: > On Sat, Feb 20, 2021 at 09:08:56PM +, Al Viro wrote: > > > *shrug* > > > > If anything, __unix_complete_bind() might make a better name for that, > > with dropping ->bindlock also pulled in, but TBH I don't have sufficiently > > strong prefe

Re: [PATCH 1/3] kbuild: Make old-atomics and missing-syscalls phony targets

2021-02-23 Thread Masahiro Yamada
On Wed, Feb 24, 2021 at 3:14 AM Rob Herring wrote: > > The old-atomics and missing-syscalls targets are not files, so they > should be marked as PHONY. > > Cc: Masahiro Yamada > Cc: Michal Marek > Signed-off-by: Rob Herring > --- > Kbuild | 2 ++ > 1 file changed, 2 insertions(+) > > diff --gi

Re: UBSAN: shift-out-of-bounds in nl802154_new_interface

2021-02-23 Thread Jakub Kicinski
On Tue, 23 Feb 2021 19:26:26 -0500 Alexander Aring wrote: > Hi, > > On Tue, 23 Feb 2021 at 18:48, Jakub Kicinski wrote: > > > > Alex, there seems to be a few more syzbot reports for nl802154 beyond > > what you posted fixes for. Are you looking at these? > > Yes, I have it on my list. I will t

Re: [PATCH 2/3] x86: Drop generated syscall headers from 'targets'

2021-02-23 Thread Masahiro Yamada
On Wed, Feb 24, 2021 at 3:14 AM Rob Herring wrote: > > Including the generated syscall headers in 'targets' is wrong because they > are not built in $(obj)/ and the Makefile does its own path prefix and > build rules. > > Cc: Andy Lutomirski > Cc: Thomas Gleixner > Cc: Ingo Molnar > Cc: Borisla

Re: linux-next: Signed-off-by missing for commits in Linus' tree

2021-02-23 Thread Stephen Rothwell
Hi Linus, On Tue, 23 Feb 2021 16:33:47 -0800 Linus Torvalds wrote: > > On Tue, Feb 23, 2021 at 4:31 PM Stephen Rothwell > wrote: > > > > are missing a Signed-off-by from their committer. > > Gaah. Maybe I should do some pre-pull hook or something to notice this > automatically (like you cle

Re: [PATCH v3] IMA: support for duplicate measurement records

2021-02-23 Thread Tushar Sugandhi
Hello Petr, On 2021-02-23 4:18 p.m., Petr Vorel wrote: Hi Tushar, Change Log v3: - Incorporated feedback from Mimi on v2. - Updated patch title and description to make it generic. - Changed config description word 'data' to 'records'. - Tested use cases for boot param "ima_policy=tcb".

Re: [PATCH v5 bpf-next 1/6] bpf: enable task local storage for tracing programs

2021-02-23 Thread Yonghong Song
On 2/23/21 2:28 PM, Song Liu wrote: To access per-task data, BPF programs usually creates a hash table with pid as the key. This is not ideal because: 1. The user need to estimate the proper size of the hash table, which may be inaccurate; 2. Big hash tables are slow; 3. To clean up

Re: [PATCH v8] vfs: fix copy_file_range regression in cross-fs copies

2021-02-23 Thread Olga Kornievskaia
On Mon, Feb 22, 2021 at 5:25 AM Luis Henriques wrote: > > A regression has been reported by Nicolas Boichat, found while using the > copy_file_range syscall to copy a tracefs file. Before commit > 5dae222a5ff0 ("vfs: allow copy_file_range to copy across devices") the > kernel would return -EXDEV

Re: [PATCH v19 01/13] kexec: Move ELF fields to struct kimage

2021-02-23 Thread Thiago Jung Bauermann
Lakshmi Ramasubramanian writes: > ELF related fields elf_headers, elf_headers_sz, and elf_load_addr are > defined in architecture specific 'struct kimage_arch' for x86, powerpc, > and arm64. The name of these fields are different in these > architectures that makes it hard to have a common cod

[PATCH] KVM: SVM: Fix nested VM-Exit on #GP interception handling

2021-02-23 Thread Sean Christopherson
Fix the interpreation of nested_svm_vmexit()'s return value when synthesizing a nested VM-Exit after intercepting an SVM instruction while L2 was running. The helper returns '0' on success, whereas a return value of '0' in the exit handler path means "exit to userspace". The incorrect return valu

Re: [PATCH v19 02/13] arm64: Use ELF fields defined in 'struct kimage'

2021-02-23 Thread Thiago Jung Bauermann
Lakshmi Ramasubramanian writes: > ELF related fields elf_headers, elf_headers_sz, and elf_headers_mem > have been moved from 'struct kimage_arch' to 'struct kimage' as > elf_headers, elf_headers_sz, and elf_load_addr respectively. > > Use the ELF fields defined in 'struct kimage'. > > Signed-of

Re: [PATCH v19 03/13] powerpc: Use ELF fields defined in 'struct kimage'

2021-02-23 Thread Thiago Jung Bauermann
Lakshmi Ramasubramanian writes: > ELF related fields elf_headers, elf_headers_sz, and elfcorehdr_addr > have been moved from 'struct kimage_arch' to 'struct kimage' as > elf_headers, elf_headers_sz, and elf_load_addr respectively. > > Use the ELF fields defined in 'struct kimage'. > > Signed-of

Re: [PATCH v19 04/13] x86: Use ELF fields defined in 'struct kimage'

2021-02-23 Thread Thiago Jung Bauermann
Lakshmi Ramasubramanian writes: > ELF related fields elf_headers, elf_headers_sz, and elf_load_addr > have been moved from 'struct kimage_arch' to 'struct kimage'. > > Use the ELF fields defined in 'struct kimage'. > > Signed-off-by: Lakshmi Ramasubramanian > Suggested-by: Rob Herring > Fixes

Re: [PATCH RESEND v2 2/2] virt: acrn: Make remove_cpu sysfs invisible with !CONFIG_HOTPLUG_CPU

2021-02-23 Thread Shuo A Liu
Hi, On Tue 23.Feb'21 at 15:25:30 +, Qais Yousef wrote: On 02/21/21 21:43, shuo.a@intel.com wrote: From: Shuo Liu Without cpu hotplug support, vCPU cannot be removed from a Service VM. Don't expose remove_cpu sysfs when CONFIG_HOTPLUG_CPU disabled. Signed-off-by: Shuo Liu Acked-by: R

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

2021-02-23 Thread Daejun Park
Changelog: v22 -> v23 1. Add support compatibility of HPB 1.0. 2. Fix read id for single HPB read command. 3. Fix number of pre-allocated requests for write buffer. 4. Add fast path for response UPIU that has same LUN in sense data. 5. Remove WARN_ON for preventing kernel crash. 7. Fix wrong argum

Re: [PATCH 1/3] kbuild: Make old-atomics and missing-syscalls phony targets

2021-02-23 Thread Rob Herring
On Tue, Feb 23, 2021 at 6:47 PM Masahiro Yamada wrote: > > On Wed, Feb 24, 2021 at 3:14 AM Rob Herring wrote: > > > > The old-atomics and missing-syscalls targets are not files, so they > > should be marked as PHONY. > > > > Cc: Masahiro Yamada > > Cc: Michal Marek > > Signed-off-by: Rob Herrin

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

2021-02-23 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

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

2021-02-23 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

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

2021-02-23 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 v19 04/13] x86: Use ELF fields defined in 'struct kimage'

2021-02-23 Thread Thiago Jung Bauermann
Lakshmi Ramasubramanian writes: > ELF related fields elf_headers, elf_headers_sz, and elf_load_addr > have been moved from 'struct kimage_arch' to 'struct kimage'. > > Use the ELF fields defined in 'struct kimage'. > > Signed-off-by: Lakshmi Ramasubramanian > Suggested-by: Rob Herring > Fixes

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

2021-02-23 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 3/3] kbuild: Add a build check for missing gitignore entries

2021-02-23 Thread Masahiro Yamada
On Wed, Feb 24, 2021 at 8:59 AM Rob Herring wrote: > > On Tue, Feb 23, 2021 at 5:20 PM Linus Torvalds > wrote: > > > > On Tue, Feb 23, 2021 at 10:14 AM Rob Herring wrote: > > > > > > Any non-phony targets need to be in gitignore. The normal way to check > > > this is doing an in-tree build and r

Re: [PATCH v8] vfs: fix copy_file_range regression in cross-fs copies

2021-02-23 Thread dai . ngo
On 2/23/21 9:33 AM, Amir Goldstein wrote: On Tue, Feb 23, 2021 at 7:31 PM wrote: On 2/23/21 8:57 AM, dai@oracle.com wrote: On 2/23/21 8:47 AM, Amir Goldstein wrote: On Tue, Feb 23, 2021 at 6:02 PM wrote: On 2/23/21 7:29 AM, dai@oracle.com wrote: On 2/23/21 2:32 AM, Luis Henriques

Re: Why do kprobes and uprobes singlestep?

2021-02-23 Thread Masami Hiramatsu
On Tue, 23 Feb 2021 15:24:19 -0800 Andy Lutomirski wrote: > A while back, I let myself be convinced that kprobes genuinely need to > single-step the kernel on occasion, and I decided that this sucked but > I could live with it. it would, however, be Really Really Nice (tm) > if we could have a r

Re: [PATCH v9 3/7] crypto: move curve_id of ECDH from the key to algorithm name

2021-02-23 Thread yumeng
在 2021/2/23 18:44, tudor.amba...@microchip.com 写道: Hi, On 2/23/21 9:10 AM, Meng Yu wrote: --- a/drivers/crypto/atmel-ecc.c +++ b/drivers/crypto/atmel-ecc.c @@ -104,7 +104,7 @@ static int atmel_ecdh_set_secret(struct crypto_kpp *tfm, const void *buf, return -EINVAL;

Re: [PATCH v12 01/13] vfio: VFIO_IOMMU_SET_PASID_TABLE

2021-02-23 Thread kernel test robot
Hi Eric, Thank you for the patch! Yet something to improve: [auto build test ERROR on v5.11] [also build test ERROR on next-20210223] [cannot apply to vfio/next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--bas

Re: [PATCH v19 05/13] of: Add a common kexec FDT setup function

2021-02-23 Thread Thiago Jung Bauermann
Lakshmi Ramasubramanian writes: > From: Rob Herring > > Both arm64 and powerpc do essentially the same FDT /chosen setup for > kexec. The differences are either omissions that arm64 should have > or additional properties that will be ignored. The setup code can be > combined and shared by bo

Re: [PATCH] cert: Add kconfig dependency for validate_trust

2021-02-23 Thread Eric Snowberg
> On Feb 23, 2021, at 4:47 PM, David Howells wrote: > > Eric Snowberg wrote: > >> The kernel test robot reports when building with Kconfig >> CONFIG_INTEGRITY_PLATFORM_KEYRING defined and >> CONFIG_SYSTEM_DATA_VERIFICATION undefined: >> >> ld.lld: error: undefined symbol: pkcs7_validate_tru

[PATCH -next] sound: n64: Fix return value check in n64audio_probe()

2021-02-23 Thread Wei Yongjun
In case of error, the function devm_platform_ioremap_resource() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Fixes: 1448f8acf4cc ("sound: Add n64 driver") Reported-by: Hulk Robot Signed-off-by: Wei Yongjun --- sound/mips/snd

Re: [PATCH v9 3/7] crypto: move curve_id of ECDH from the key to algorithm name

2021-02-23 Thread yumeng
在 2021/2/23 18:44, tudor.amba...@microchip.com 写道: Hi, On 2/23/21 9:10 AM, Meng Yu wrote: --- a/drivers/crypto/atmel-ecc.c +++ b/drivers/crypto/atmel-ecc.c @@ -104,7 +104,7 @@ static int atmel_ecdh_set_secret(struct crypto_kpp *tfm, const void *buf, return -EINVAL;

Re: [RFC] linux-next panic in hugepage_subpool_put_pages()

2021-02-23 Thread Mike Kravetz
On 2/23/21 3:58 PM, Andrew Morton wrote: > On Tue, 23 Feb 2021 10:06:12 -0800 Mike Kravetz > wrote: > >> On 2/23/21 6:57 AM, Gerald Schaefer wrote: >>> Hi, >>> >>> LTP triggered a panic on s390 in hugepage_subpool_put_pages() with >>> linux-next 5.12.0-20210222, see below. >>> >>> It crashes on

[PATCH v4] KVM: kvmclock: Fix vCPUs > 64 can't be online/hotpluged

2021-02-23 Thread Wanpeng Li
From: Wanpeng Li # lscpu Architecture: x86_64 CPU op-mode(s):32-bit, 64-bit Byte Order:Little Endian CPU(s):88 On-line CPU(s) list: 0-63 Off-line CPU(s) list: 64-87 # cat /proc/cmdline BOOT_IMAGE=/vmlinuz-5.10.0-rc3-tlinux2-0050+ root=/dev/mapper/c

Re: [PATCH 2/2] irqchip: add support for BCM6345 interrupt controller

2021-02-23 Thread kernel test robot
Hi "Álvaro, Thank you for the patch! Yet something to improve: [auto build test ERROR on tip/irq/core] [also build test ERROR on v5.11 next-20210223] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' a

Re: [PATCH stable-rc queue/4.9 1/1] futex: Provide distinct return value when owner is exiting

2021-02-23 Thread Xiaoming Ni
On 2021/2/23 21:00, Greg KH wrote: On Mon, Feb 22, 2021 at 10:11:37PM +0800, Xiaoming Ni wrote: On 2021/2/22 20:09, Greg KH wrote: On Mon, Feb 22, 2021 at 06:54:06PM +0800, Xiaoming Ni wrote: On 2021/2/22 18:16, Greg KH wrote: On Mon, Feb 22, 2021 at 03:03:28PM +0800, Xiaoming Ni wrote: From

Re: [PATCH] gcc-plugins: Disable GCC_PLUGIN_CYC_COMPLEXITY for s390

2021-02-23 Thread Guenter Roeck
On Tue, Feb 23, 2021 at 07:03:47PM +0100, Heiko Carstens wrote: > On Tue, Feb 23, 2021 at 09:41:40AM -0800, Guenter Roeck wrote: > > > I tried to explain why we don't want to set COMPILE_TEST for s390 > > > anymore. It overrides architecture dependencies in Kconfig, and lots > > > of drivers do not

Re: [PATCH] hugetlb: fix uninitialized subpool pointer

2021-02-23 Thread Mike Kravetz
On 2/23/21 3:21 PM, Mike Kravetz wrote: > On 2/23/21 2:58 PM, Oscar Salvador wrote: >> On 2021-02-23 23:55, Mike Kravetz wrote: >>> Yes, that is the more common case where the once active hugetlb page >>> will be simply added to the free list via enqueue_huge_page(). This >>> path does not go thro

Re: [PATCH v5 0/8] support for bitmap (and hence CPU) list "N" abbreviation

2021-02-23 Thread Paul E. McKenney
On Mon, Feb 22, 2021 at 05:05:06PM -0800, Yury Norov wrote: > On Sun, Feb 21, 2021 at 03:08:19AM -0500, Paul Gortmaker wrote: > > This is the 5th and final version of this series. We got some good > > improvements, like adding self-tests, using "N" as "just another number" > > that could be used a

Re: [PATCH v3 1/1] kernel/crash_core: Add crashkernel=auto for vmcore creation

2021-02-23 Thread Baoquan He
On 02/11/21 at 10:08am, Saeed Mirzamohammadi wrote: > This adds crashkernel=auto feature to configure reserved memory for > vmcore creation. CONFIG_CRASH_AUTO_STR is defined to be set for > different kernel distributions and different archs based on their > needs. > > Signed-off-by: Saeed Mirzamoh

Re: [PATCH v19 05/13] of: Add a common kexec FDT setup function

2021-02-23 Thread Lakshmi Ramasubramanian
On 2/23/21 5:20 PM, Thiago Jung Bauermann wrote: Lakshmi Ramasubramanian writes: From: Rob Herring Both arm64 and powerpc do essentially the same FDT /chosen setup for kexec. The differences are either omissions that arm64 should have or additional properties that will be ignored. The set

Re: [PATCH] asm-generic/ioctl.h: use BUILD_BUG_ON_ZERO() for type check

2021-02-23 Thread Masahiro Yamada
On Wed, Feb 24, 2021 at 5:04 AM Arnd Bergmann wrote: > > On Tue, Feb 23, 2021 at 11:06 AM Masahiro Yamada wrote: > > > > > -#ifdef __CHECKER__ > > -#define _IOC_TYPECHECK(t) (sizeof(t)) > > -#else > > /* provoke compile error for invalid uses of size argument */ > > -extern unsigned int __invali

[GIT PULL] arch/nios2 update for 5.12-rc1

2021-02-23 Thread Tan, Ley Foon
Hi Linus Please pull the arch/nios2 updates for v5.12-rc1. Regards Ley Foon The following changes since commit f40ddce88593482919761f74910f42f4b84c004b: Linux 5.11 (2021-02-14 14:32:24 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lftan/nios

Re: [PATCH v3 1/1] kernel/crash_core: Add crashkernel=auto for vmcore creation

2021-02-23 Thread Baoquan He
On 02/24/21 at 09:54am, Baoquan He wrote: > On 02/11/21 at 10:08am, Saeed Mirzamohammadi wrote: > > This adds crashkernel=auto feature to configure reserved memory for > > vmcore creation. CONFIG_CRASH_AUTO_STR is defined to be set for > > different kernel distributions and different archs based on

Re: [PATCH v4 1/1] kernel/crash_core: Add crashkernel=auto for vmcore creation

2021-02-23 Thread Baoquan He
On 02/23/21 at 09:41am, Saeed Mirzamohammadi wrote: > This adds crashkernel=auto feature to configure reserved memory for > vmcore creation. CONFIG_CRASH_AUTO_STR is defined to be set for > different kernel distributions and different archs based on their > needs. > > Signed-off-by: Saeed Mirzamoh

Re: [RFC] linux-next panic in hugepage_subpool_put_pages()

2021-02-23 Thread Andrew Morton
On Tue, 23 Feb 2021 17:29:48 -0800 Mike Kravetz wrote: > >> I will do a bit more verification and put together a patch (it should > >> be simple). > > > > There's also Michel's documentation request: > > https://lkml.kernel.org/r/20210127102645.gh...@dhcp22.suse.cz > > > > Thanks Andrew, I for

Re: [RFC PATCH 0/6] [RFC] Faultable tracepoints (v2)

2021-02-23 Thread Steven Rostedt
On Thu, 18 Feb 2021 17:21:19 -0500 Michael Jeanson wrote: > This series only implements the tracepoint infrastructure required to > allow tracers to handle page faults. Modifying each tracer to handle > those page faults would be a next step after we all agree on this piece > of instrumentation i

Re: [PATCH v12 03/13] vfio: VFIO_IOMMU_SET_MSI_BINDING

2021-02-23 Thread kernel test robot
Hi Eric, I love your patch! Yet something to improve: [auto build test ERROR on v5.11] [cannot apply to vfio/next next-20210223] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-sc

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

2021-02-23 Thread Yue Hu
On Mon, 22 Feb 2021 15:30:34 +0100 "Rafael J. Wysocki" wrote: > On Mon, Feb 22, 2021 at 2:57 PM Yue Hu wrote: > > > > On Mon, 22 Feb 2021 11:00:14 +0530 > > Viresh Kumar wrote: > > > > > On 19-02-21, 19:45, Yue Hu wrote: > > > > We will set next_f to next_freq(previous freq) if next_f is >

[PATCH] KVM: x86: Remove the best->function == 0x7 assignment

2021-02-23 Thread Yejune Deng
In kvm_update_cpuid_runtime(), there is no need the best->function == 0x7 assignment, because there is e->function == function in cpuid_entry2_find(). Signed-off-by: Yejune Deng --- arch/x86/kvm/cpuid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kvm/cpuid.c b/ar

linux-next: build warnings after merge of the amdgpu tree

2021-02-23 Thread Stephen Rothwell
Hi all, After merging the amdgpu tree, today's linux-next build (htmldocs) produced these warnings: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h:380: warning: Function parameter or member 'vblank_lock' not described in 'amdgpu_display_manager' drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm

Re: [PATCH 1/2] KVM: vmx/pmu: Fix dummy check if lbr_desc->event is created

2021-02-23 Thread Xu, Like
On 2021/2/24 1:15, Sean Christopherson wrote: On Tue, Feb 23, 2021, Like Xu wrote: If lbr_desc->event is successfully created, the intel_pmu_create_ guest_lbr_event() will return 0, otherwise it will return -ENOENT, and then jump to LBR msrs dummy handling. Fixes: 1b5ac3226a1a ("KVM: vmx/pmu: P

[PATCH v3 3/3] dt-bindings: clock: add ti,lmk04832 bindings

2021-02-23 Thread Liam Beguin
From: Liam Beguin Document devicetree bindings for Texas Instruments' LMK04832. The LMK04208 is a high performance clock conditioner with superior clock jitter cleaning, generation, and distribution with JEDEC JESD204B support. Signed-off-by: Liam Beguin --- .../bindings/clock/ti,lmk04832.yaml

[PATCH v3 0/3] add support for the lmk04832

2021-02-23 Thread Liam Beguin
From: Liam Beguin Hi, The LMK04832 is an ultra-high performance clock conditioner with JEDEC JESD204B support and is also pin compatible with the LMK0482x family of devices. This driver adds initial support to configure the LMK04832 clocks using the clock framework. This has been tested on a s

[PATCH v3 2/3] clk: lmk04832: add support for digital delay

2021-02-23 Thread Liam Beguin
From: Liam Beguin The digital delay allows outputs to be delayed from 8 to 1023 VCO cycles. The delay step can be as small as half the period of the clock distribution path. For example, a 3.2-GHz VCO frequency results in 156.25-ps steps. The digital delay value takes effect on the clock output

[PATCH v3 1/3] clk: add support for the lmk04832

2021-02-23 Thread Liam Beguin
From: Liam Beguin The LMK04832 is an ultra-high performance clock conditioner with JEDEC JESD204B support and is also pin compatible with the LMK0482x family of devices. Signed-off-by: Liam Beguin --- drivers/clk/Kconfig|7 + drivers/clk/Makefile |1 + drivers/clk/clk-lmk

linux-next: build warning after merge of the block tree

2021-02-23 Thread Stephen Rothwell
Hi all, After merging the block tree, today's linux-next build (htmldocs) produced this warning: kernel/trace/blktrace.c:1878: warning: Function parameter or member 'rwbs' not described in 'blk_fill_rwbs'` Introduced by commit 1f83bb4b4914 ("blktrace: add blk_fill_rwbs documentation comment"

Re: [PATCH v5 2/2] counter: add IRQ or GPIO based event counter

2021-02-23 Thread William Breathitt Gray
On Tue, Feb 23, 2021 at 06:45:16PM +0100, Oleksij Rempel wrote: > Hello William, > > Here is cooled down technical answer. Excuse me for over reacting. Hello Oleksij, Let me apologize too if I offended you in some way in with previous response, I assure you that was not my intention. I truly do

Re: [RFC PATCH 0/4] KVM: arm64: Improve efficiency of stage2 page table

2021-02-23 Thread wangyanan (Y)
Hi Alex, On 2021/2/23 23:55, Alexandru Elisei wrote: Hi Yanan, I wanted to review the patches, but unfortunately I get an error when trying to apply the first patch in the series: Applying: KVM: arm64: Move the clean of dcache to the map handler error: patch failed: arch/arm64/kvm/hyp/pgtable.

Re: [PATCH v8 1/6] arm64: hyperv: Add Hyper-V hypercall and register access utilities

2021-02-23 Thread Boqun Feng
On Thu, Feb 18, 2021 at 03:16:29PM -0800, Michael Kelley wrote: [...] > + > +/* > + * Get the value of a single VP register. One version > + * returns just 64 bits and another returns the full 128 bits. > + * The two versions are separate to avoid complicating the > + * calling sequence for the mo

Re: [PATCH] Makefile: reuse CC_VERSION_TEXT

2021-02-23 Thread Masahiro Yamada
On Wed, Feb 24, 2021 at 5:10 AM 'Nick Desaulniers' via Clang Built Linux wrote: > > On Fri, Feb 5, 2021 at 5:49 PM Masahiro Yamada wrote: > > > > On Sat, Feb 6, 2021 at 7:01 AM 'Nick Desaulniers' via Clang Built > > Linux wrote: > > > > > > I noticed we're invoking $(CC) via $(shell) more than o

Re: (.text.ks8851_probe_common+0x370): undefined reference to `__this_module'

2021-02-23 Thread Randy Dunlap
On 2/21/21 10:12 PM, kernel test robot wrote: Hi Marek, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 31caf8b2a847214be856f843e251fc2ed2cd1075 commit: ef3631220d2b3d8d14cf64464760505baa60d6ac net: ks8851: Registe

Re: [PATCH v2] x86/mce: fix wrong no-return-ip logic in do_machine_check()

2021-02-23 Thread Aili Yao
On Tue, 23 Feb 2021 16:12:43 + "Luck, Tony" wrote: > > What I think is qemu has not an easy to get the MCE signature from host or > > currently no methods for this > > So qemu treat all AR will be No RIPV, Do more is better than do less. > > RIPV would be important in the guest in the cas

Re: linux-next: build warning after merge of the block tree

2021-02-23 Thread Chaitanya Kulkarni
On 2/23/21 18:31, Stephen Rothwell wrote: > Hi all, > > After merging the block tree, today's linux-next build (htmldocs) > produced this warning: > > kernel/trace/blktrace.c:1878: warning: Function parameter or member 'rwbs' > not described in 'blk_fill_rwbs'` > > Introduced by commit > > 1f83b

[GIT PULL] libnvdimm + device-dax for v5.12-rc1

2021-02-23 Thread Dan Williams
Hi Linus, please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm tags/libnvdimm-for-5.12 ...to receive some miscellaneous cleanups and a fix for v5.12. This mainly continues the kernel wide effort to remove a return code from the remove() callback in the driver model. The

Re: [PATCH v3] mm/mmap: Don't unlock VMAs in remap_file_pages()

2021-02-23 Thread Matthew Wilcox
On Tue, Feb 23, 2021 at 11:50:23PM +, Liam Howlett wrote: > Since this call uses MAP_FIXED, do_mmap() will munlock the necessary > range. There is also an error in the loop test expression which will > evaluate as false and the loop body has never execute. > > Signed-off-by: Liam R. Howlett

Re: [RFC PATCH v1] sched/fair: limit load balance redo times at the same sched_domain level

2021-02-23 Thread Li, Aubrey
On 2021/2/24 1:33, Vincent Guittot wrote: > On Tue, 23 Feb 2021 at 06:41, Li, Aubrey wrote: >> >> Hi Vincent, >> >> Sorry for the delay, I just returned from Chinese New Year holiday. >> >> On 2021/1/25 22:51, Vincent Guittot wrote: >>> On Mon, 25 Jan 2021 at 15:00, Li, Aubrey wrote: On

Re: Re: [PATCH] recordmcount: use w8 to read relp->r_info in arm64_is_fake_mcount

2021-02-23 Thread chenjun (AM)
在 2021/2/24 6:26, Steven Rostedt 写道: > On Mon, 22 Feb 2021 15:50:19 + > "chenjun (AM)" wrote: > >> Hi >> >> There is no problem when I use aarch64_be(gcc v10.2). Because gcc v10.2 use >> __patchable_function_entries >> instead of __mcount. I am not sure when the change happened. > > But you

Re: [External] [PATCH] hugetlb: fix uninitialized subpool pointer

2021-02-23 Thread Muchun Song
On Wed, Feb 24, 2021 at 5:56 AM Mike Kravetz wrote: > > Gerald Schaefer reported a panic on s390 in hugepage_subpool_put_pages() > with linux-next 5.12.0-20210222. > Call trace: > hugepage_subpool_put_pages.part.0+0x2c/0x138 > __free_huge_page+0xce/0x310 > alloc_pool_huge_page+0x102/0x120 >

Re: [PATCH] Makefile: reuse CC_VERSION_TEXT

2021-02-23 Thread Masahiro Yamada
On Sat, Feb 6, 2021 at 12:46 PM Sedat Dilek wrote: > > On Sat, Feb 6, 2021 at 2:49 AM Masahiro Yamada wrote: > > > > On Sat, Feb 6, 2021 at 7:01 AM 'Nick Desaulniers' via Clang Built > > Linux wrote: > > > > > > I noticed we're invoking $(CC) via $(shell) more than once to check the > > > versio

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

2021-02-23 Thread Barry Song
As long as NUMA diameter > 2, building sched_domain by sibling's child domain will definitely create a sched_domain with sched_group which will span out of the sched_domain: +--+ +--++---+ +--+ | node | 12 |node | 20 | n

Re: [PATCH] vdpa/mlx5: set_features should allow reset to zero

2021-02-23 Thread Jason Wang
On 2021/2/24 3:35 上午, Si-Wei Liu wrote: On 2/23/2021 5:26 AM, Michael S. Tsirkin wrote: On Tue, Feb 23, 2021 at 10:03:57AM +0800, Jason Wang wrote: On 2021/2/23 9:12 上午, Si-Wei Liu wrote: On 2/21/2021 11:34 PM, Michael S. Tsirkin wrote: On Mon, Feb 22, 2021 at 12:14:17PM +0800, Jason Wan

Re: [PATCH v12 01/13] vfio: VFIO_IOMMU_SET_PASID_TABLE

2021-02-23 Thread kernel test robot
Hi Eric, Thank you for the patch! Yet something to improve: [auto build test ERROR on v5.11] [also build test ERROR on next-20210223] [cannot apply to vfio/next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--bas

[PATCH v2 1/3] bus: mhi: core: Introduce internal register poll helper function

2021-02-23 Thread Bhaumik Bhatt
Introduce helper function to allow MHI core driver to poll for a value in a register field. This helps reach a common path to read and poll register values along with a retry time interval. Signed-off-by: Bhaumik Bhatt --- arch/arm64/configs/defconfig| 76

[PATCH v2 3/3] bus: mhi: core: Use poll register read API for RDDM download

2021-02-23 Thread Bhaumik Bhatt
Make use of mhi_poll_reg_field() API in order to poll for RDDM download in panic path to employ a common approach throughout the driver. Signed-off-by: Bhaumik Bhatt --- drivers/bus/mhi/core/boot.c | 20 ++-- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/drivers/

[PATCH v2 0/3] Polling for MHI ready

2021-02-23 Thread Bhaumik Bhatt
v2: -Addressed review comments -Introduce new patch for to use controller defined read_reg() for polling -Add usage in RDDM download panic path as well Use polling instead of interrupt driven approach to wait for MHI ready state. In certain devices, it is likely that there is no incoming MHI inte

[PATCH v2 2/3] bus: mhi: core: Move to polling method to wait for MHI ready

2021-02-23 Thread Bhaumik Bhatt
In certain devices, it is likely that there is no incoming MHI interrupt for a transition to MHI READY state. One such example is the move from Pass Through to an SBL or AMSS execution environment. In order to facilitate faster bootup times as there is no need to wait until timeout_ms completes, MH

linux-next: Tree for Feb 24

2021-02-23 Thread Stephen Rothwell
Hi all, Please do not add any changes destined for v5.13 to your linux-next included branches until after v5.12-rc1 has been released. Changes since 20210223: The risc-v tree gained a conflict against Linus' tree. The amdgpu tree lost its build failure. The block tree lost its build fa

Re: [PATCH v2 1/2] dt-bindings: interrupt-controller: document BCM6345 external interrupt controller

2021-02-23 Thread Florian Fainelli
On 2/23/2021 12:43 PM, Álvaro Fernández Rojas wrote: > Document the binding for the BCM6345 external interrupt controller. > > Signed-off-by: Álvaro Fernández Rojas > Signed-off-by: Jonas Gorski Reviewed-by: Florian Fainelli -- Florian

Re: [PATCH v2 2/2] irqchip: add support for BCM6345 external interrupt controller

2021-02-23 Thread Florian Fainelli
On 2/23/2021 12:43 PM, Álvaro Fernández Rojas wrote: > This interrupt controller is present on bcm63xx SoCs in order to generate > interrupts based on GPIO status changes. > > Signed-off-by: Álvaro Fernández Rojas > Signed-off-by: Jonas Gorski > --- [snip] > +static int __init bcm6345_ext_in

[PATCH v3 2/3] bus: mhi: core: Move to polling method to wait for MHI ready

2021-02-23 Thread Bhaumik Bhatt
In certain devices, it is likely that there is no incoming MHI interrupt for a transition to MHI READY state. One such example is the move from Pass Through to an SBL or AMSS execution environment. In order to facilitate faster bootup times as there is no need to wait until timeout_ms completes, MH

[PATCH v3 3/3] bus: mhi: core: Use poll register read API for RDDM download

2021-02-23 Thread Bhaumik Bhatt
Make use of mhi_poll_reg_field() API in order to poll for RDDM download in panic path to employ a common approach throughout the driver. Signed-off-by: Bhaumik Bhatt --- drivers/bus/mhi/core/boot.c | 20 ++-- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/drivers/

Re: [PATCH] mips: smp-bmips: fix CPU mappings

2021-02-23 Thread Florian Fainelli
On 2/23/2021 4:48 AM, Álvaro Fernández Rojas wrote: > When booting bmips with SMP enabled on a BCM6358 running on CPU #1 instead of > CPU #0, the current CPU mapping code produces the following: > - smp_processor_id(): 0 > - cpu_logical_map(): 1 > - cpu_number_map(): 1 > > This is because SMP i

<    4   5   6   7   8   9   10   11   >