[PATCH v10 7/8] powerpc: Move arch_ima_add_kexec_buffer to ima

2020-12-04 Thread Lakshmi Ramasubramanian
arch_ima_add_kexec_buffer() sets the address and size of the IMA measurement log in the architecture specific field in struct kimage. This function does not have architecture specific code, but is currently limited to powerpc. Move arch_ima_add_kexec_buffer() to security/integrity/ima/ima_kexec.c

[PATCH v10 6/8] powerpc: Move ima_get_kexec_buffer() and ima_free_kexec_buffer() to ima

2020-12-04 Thread Lakshmi Ramasubramanian
ima_get_kexec_buffer() retrieves the address and size of the buffer used for carrying forward the IMA measurement logs on kexec from the device tree. ima_free_kexec_buffer() removes the chosen node "linux,ima-kexec-buffer" from the device tree, and frees the buffer used for carrying forward the

[PATCH v10 3/8] powerpc: Move ima buffer functions to drivers/of/kexec.c

2020-12-04 Thread Lakshmi Ramasubramanian
The functions do_get_kexec_buffer() and get_addr_size_cells(), defined in arch/powerpc/kexec/ima.c, retrieve the address and size of the given property from the device tree blob. These functions do not have architecture specific code, but are currently limited to powerpc. do_get_kexec_buffer()

[PATCH v10 4/8] powerpc: Use ima kexec node functions

2020-12-04 Thread Lakshmi Ramasubramanian
do_get_kexec_buffer() and get_addr_size_cells() are called by ima_get_kexec_buffer(), ima_free_kexec_buffer, and remove_ima_buffer() to retrieve the address and size of the buffer used for carrying forward the IMA measurement log across kexec system call. These functions correctly handle a device

Re: [PATCH bpf-next v3 13/14] bpf: Add tests for new BPF atomic operations

2020-12-04 Thread Andrii Nakryiko
On Fri, Dec 4, 2020 at 7:29 AM Yonghong Song wrote: > > > > On 12/4/20 1:45 AM, Brendan Jackman wrote: > > On Thu, Dec 03, 2020 at 11:06:31PM -0800, Yonghong Song wrote: > >> On 12/3/20 8:02 AM, Brendan Jackman wrote: > > [...] > >>> diff --git

Re: [PATCH bpf-next v2 1/3] bpf: Expose bpf_get_socket_cookie to tracing programs

2020-12-04 Thread Martin KaFai Lau
On Thu, Dec 03, 2020 at 10:33:28PM +0100, Florent Revest wrote: > This creates a new helper proto because the existing > bpf_get_socket_cookie_sock_proto has a ARG_PTR_TO_CTX argument and only > works for BPF programs where the context is a sock. > > This helper could also be useful to other BPF

Re: [PATCH] s390/vfio-ap: Clean up vfio_ap resources when KVM pointer invalidated

2020-12-04 Thread Tony Krowiak
On 12/4/20 11:57 AM, Cornelia Huck wrote: On Fri, 4 Dec 2020 11:48:24 -0500 Tony Krowiak wrote: On 12/3/20 12:55 PM, Halil Pasic wrote: On Wed, 2 Dec 2020 18:41:01 -0500 Tony Krowiak wrote: The vfio_ap device driver registers a group notifier with VFIO when the file descriptor for a

Re: [PATCH] s390/vfio-ap: Clean up vfio_ap resources when KVM pointer invalidated

2020-12-04 Thread Tony Krowiak
On 12/4/20 2:05 PM, Halil Pasic wrote: On Fri, 4 Dec 2020 09:43:59 -0500 Tony Krowiak wrote: +{ + if (matrix_mdev->kvm) { + (matrix_mdev->kvm); + matrix_mdev->kvm->arch.crypto.pqap_hook = NULL; Is a plain assignment to arch.crypto.pqap_hook apropriate, or

Re: [PATCH v7 1/7] fpga: sec-mgr: fpga security manager class driver

2020-12-04 Thread Randy Dunlap
Hi-- On 12/3/20 1:09 PM, Russ Weight wrote: > --- > diff --git a/Documentation/fpga/fpga-sec-mgr.rst > b/Documentation/fpga/fpga-sec-mgr.rst > new file mode 100644 > index ..26dac599ead7 > --- /dev/null > +++ b/Documentation/fpga/fpga-sec-mgr.rst > @@ -0,0 +1,44 @@ > +In addition

[PATCH] net: fix spelling mistake "wil" -> "will" in Kconfig

2020-12-04 Thread Colin King
From: Colin Ian King There is a spelling mistake in the Kconfig help text. Fix it. Signed-off-by: Colin Ian King --- drivers/net/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 4ee41924cdf1..260f9f46668b 100644 ---

Re: [RFC PATCH 0/9] CXL 2.0 Support

2020-12-04 Thread Dan Williams
On Fri, Dec 4, 2020 at 11:26 AM Verma, Vishal L wrote: > > On Fri, 2020-12-04 at 10:12 -0800, Ben Widawsky wrote: > > Hi Chris. > > > > On 20-12-04 12:40:03, Chris Browy wrote: > [..] > > > > >acpidump indicates the CXL0 and CXLM devices but no SRAT or HMAT > > > tables are > > >in the

Re: [PATCH v2] mm: Don't fault around userfaultfd-registered regions on reads

2020-12-04 Thread Andrea Arcangeli
On Fri, Dec 04, 2020 at 02:23:29PM -0500, Peter Xu wrote: > If we see [1]: > > if (!pte_present && !pte_none && pte_swp_uffd_wp && not_anonymous_vma && > !is_migration_entry) > > Then it's fundamentally the same as: > > swp_entry(0, _UFFD_SWP_UFFD_WP) && !vma_is_anonymous(vma) Yes

Re: [PATCH v2] bpf: remove trailing semicolon in macro definition

2020-12-04 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to bpf/bpf-next.git (refs/heads/master): On Wed, 2 Dec 2020 13:28:10 -0800 you wrote: > From: Tom Rix > > The macro use will already have a semicolon. > Clean up escaped newlines > > Signed-off-by: Tom Rix > > [...] Here is the summary with links: - [v2]

[PATCH] firmware: tegra: reduce stack usage

2020-12-04 Thread Arnd Bergmann
From: Arnd Bergmann Building the bpmp-debugfs driver for Arm results in a warning for stack usage: drivers/firmware/tegra/bpmp-debugfs.c:321:16: error: stack frame size of 1224 bytes in function 'bpmp_debug_store' [-Werror,-Wframe-larger-than=] static ssize_t bpmp_debug_store(struct file

[PATCH] remoteproc: sysmon: fix shutdown_acked state

2020-12-04 Thread Arnd Bergmann
From: Arnd Bergmann The latest version of sysmon_stop() starts by initializing the sysmon->shutdown_acked variable, but then overwrites it with an uninitialized variable later: drivers/remoteproc/qcom_sysmon.c:551:11: error: variable 'acked' is used uninitialized whenever 'if' condition is

[PATCH] Input: fix spelling mistake "theses" -> "these" in Kconfig

2020-12-04 Thread Colin King
From: Colin Ian King There is a spelling mistake in the Kconfig help text. Fix it. Signed-off-by: Colin Ian King --- drivers/input/mouse/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/mouse/Kconfig b/drivers/input/mouse/Kconfig index

[PATCH 3/3] spi: spi-geni-qcom: Use the new method of gpio CS control

2020-12-04 Thread Stephen Boyd
Let's set the 'use_gpio_descriptors' field so that we use the new way of requesting the CS GPIOs in the core. This allows us to avoid having to configure the CS pins in "output" mode with an 'output-enable' pinctrl setting. Cc: Akash Asthana Cc: Bjorn Andersson Reviewed-by: Douglas Anderson

[PATCH 2/3] platform/chrome: cros_ec_spi: Drop bits_per_word assignment

2020-12-04 Thread Stephen Boyd
This is already handed by default in spi_setup() if the bits_per_word is 0, so just drop it to shave off a line. Cc: Simon Glass Cc: Gwendal Grignou Reviewed-by: Douglas Anderson Tested-by: Douglas Anderson Acked-by: Enric Balletbo i Serra Cc: Alexandru M Stan Signed-off-by: Stephen Boyd

Re: [PATCH v3 4/4] membarrier: Execute SYNC_CORE on the calling thread

2020-12-04 Thread Mathieu Desnoyers
- On Dec 4, 2020, at 12:07 AM, Andy Lutomirski l...@kernel.org wrote: > membarrier()'s MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE is documented > as syncing the core on all sibling threads but not necessarily the > calling thread. This behavior is fundamentally buggy and cannot be used >

[PATCH 1/3] platform/chrome: cros_ec_spi: Don't overwrite spi::mode

2020-12-04 Thread Stephen Boyd
There isn't any need to overwrite the mode here in the driver with what has been detected by the firmware, such as DT or ACPI. In fact, if we use the SPI CS gpio descriptor feature we will overwrite the mode with SPI_MODE_0 where it already contains SPI_MODE_0 and more importantly SPI_CS_HIGH.

[PATCH 0/3] spi: spi-geni-qcom: Use gpio descriptors for CS

2020-12-04 Thread Stephen Boyd
Collected patches from the two series below and associated tags so they can be merged in one pile through the spi tree. Merry December! SPI: https://lore.kernel.org/r/20201202214935.1114381-1-swb...@chromium.org cros-ec: https://lore.kernel.org/r/20201203011649.1405292-1-swb...@chromium.org Cc:

Re: [PATCH 3/3] exec: Transform exec_update_mutex into a rw_semaphore

2020-12-04 Thread Eric W. Biederman
Linus Torvalds writes: > On Fri, Dec 4, 2020 at 8:08 AM Bernd Edlinger > wrote: >> >> > >> > -static void kcmp_unlock(struct mutex *m1, struct mutex *m2) >> > +static void kcmp_unlock(struct rw_semaphore *l1, struct rw_semaphore *l2) >> > { >> > - if (likely(m2 != m1)) >> > -

[PATCH v2] dt-bindings: phy: Convert Broadcom SATA PHY to YAML

2020-12-04 Thread Florian Fainelli
Update the Broadcom SATA PHY Device Tree binding to a YAML format. Suggested-by: Vinod Koul Signed-off-by: Florian Fainelli --- Changes in v2: - fixed #phy-cells warning - fixed yamlling warnings .../bindings/phy/brcm,sata-phy.yaml | 148 ++

[PATCH] remoteproc: fix spelling mistake "Peripherial" -> "Peripherial" in Kconfig

2020-12-04 Thread Colin King
From: Colin Ian King There is a spelling mistake in the Kconfig help text. Fix it. Signed-off-by: Colin Ian King --- drivers/remoteproc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/remoteproc/Kconfig b/drivers/remoteproc/Kconfig index

[PATCH v2 1/1] mfd: intel-m10-bmc: expose mac address and count

2020-12-04 Thread Russ Weight
Create two sysfs entries for exposing the MAC address and count from the MAX10 BMC register space. The MAC address is the first in a sequential block of MAC addresses reserved for the FPGA card. The MAC count is the number of MAC addresses in the reserved block. Signed-off-by: Russ Weight

[PATCH v2 0/1] mfd: intel-m10-bmc: add sysfs files for mac_address

2020-12-04 Thread Russ Weight
Add two sysfs nodes to the Intel MAX10 BMC driver: mac_address and mac_count. The mac_address provides the first of a series of sequential MAC addresses assigned to the FPGA card. The mac_count indicates how many MAC addresses are assigned to the card. Changelog v1 -> v2: - Updated the

[PATCH] mtd: rawnand: Clean up some spelling mistakes and grammar in Kconfig text

2020-12-04 Thread Colin King
From: Colin Ian King There are some spelling mistakes in the Kconfig help text, fix these. Also clean up the grammar. Signed-off-by: Colin Ian King --- drivers/mtd/nand/raw/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/nand/raw/Kconfig

Re: crypto: sun4i-ss: error with kmap

2020-12-04 Thread Corentin Labbe
On Fri, Dec 04, 2020 at 04:08:27PM +0100, Thomas Gleixner wrote: > On Fri, Dec 04 2020 at 14:26, Corentin Labbe wrote: > > On Fri, Dec 04, 2020 at 12:34:05AM +0100, Thomas Gleixner wrote: > >> The unmap comes from sg_miter_stop() and looking at the previous > >> map/unmap cycles there are never

[PATCH] [v2] enetc: fix build warning

2020-12-04 Thread Arnd Bergmann
From: Arnd Bergmann When CONFIG_OF is disabled, there is a harmless warning about an unused variable: enetc_pf.c: In function 'enetc_phylink_create': enetc_pf.c:981:17: error: unused variable 'dev' [-Werror=unused-variable] Slightly rearrange the code to pass around the of_node as a function

Re: [PATCH v2] mm: Don't fault around userfaultfd-registered regions on reads

2020-12-04 Thread Peter Xu
Hi, Andrea, On Fri, Dec 04, 2020 at 01:12:56PM -0500, Andrea Arcangeli wrote: > On Thu, Dec 03, 2020 at 11:10:18PM -0500, Andrea Arcangeli wrote: > > from the pte, one that cannot ever be set in any swp entry today. I > > assume it can't be _PAGE_SWP_UFFD_WP since that already can be set but > >

Re: [rcu:rcu/next 94/101] mm/slab_common.c:555: undefined reference to `kmem_cache_last_alloc'

2020-12-04 Thread Paul E. McKenney
kmem_last_alloc() to return last allocation for memory block > config: i386-randconfig-p001-20201204 (attached as .config) > compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 > reproduce (this is a W=1 build): > # > https://git.kernel.org/pub/scm/linux/kernel/git/pa

[PATCH] firmware: fix a spelling mistake "managament" -> "management" in Kconfig

2020-12-04 Thread Colin King
From: Colin Ian King There is a spelling mistake in the Kconfig help text. Fix it. Signed-off-by: Colin Ian King --- drivers/firmware/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig index

Re: [RFC PATCH 0/9] CXL 2.0 Support

2020-12-04 Thread Verma, Vishal L
On Fri, 2020-12-04 at 10:12 -0800, Ben Widawsky wrote: > Hi Chris. > > On 20-12-04 12:40:03, Chris Browy wrote: [..] > > >acpidump indicates the CXL0 and CXLM devices but no SRAT or HMAT tables > > are > >in the dump which is curious. > > I don't typically use HMAT, but I do have an

Re: [PATCH] drivers: thermal: Add NULL pointer check before using cooling device stats

2020-12-04 Thread Daniel Lezcano
On 04/12/2020 20:09, Manaf Meethalavalappu Pallikunhi wrote: > There is a possible chance that some cooling device stats buffer > allocation fails due to very high cooling device max state value. > Later cooling device update or cooling stats sysfs will try to > access stats data for the same

Re: [RFC PATCH 1/2] drm: RFC add choice to use dynamic debug in drm-debug

2020-12-04 Thread jim . cromie
On Fri, Dec 4, 2020 at 8:42 AM Ville Syrjälä wrote: > > On Thu, Dec 03, 2020 at 08:53:17PM -0700, Jim Cromie wrote: > > drm's debug system uses distinct categories of debug messages, mapped > > to bits in drm.debug. Currently, code does a lot of unlikely bit-mask > > checks on drm.debug (in

Re: linux-next: build failure after merge of the rcu tree

2020-12-04 Thread Paul E. McKenney
On Fri, Dec 04, 2020 at 07:25:26PM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the rcu tree, today's linux-next build (sparc defconfig) > failed like this: > > mm/slab_common.o: In function `kmem_last_alloc': > slab_common.c:(.text+0xc4): undefined reference to

[PATCH] scsi: qla4xxx: remove redundant assignment to variable rval

2020-12-04 Thread Colin King
From: Colin Ian King The variable rval is being initialized with a value that is never read and it is being updated later with a new value. The initialization is redundant and can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King --- drivers/scsi/qla4xxx/ql4_nx.c

Re: [PATCH REPOST] pcmcia: Remove NEC VRC4173 CARDU

2020-12-04 Thread Sebastian Andrzej Siewior
On 2020-11-19 18:06:24 [+0100], To linux-kernel@vger.kernel.org wrote: > On 2020-11-13 22:34:08 [+0100], To linux-kernel@vger.kernel.org wrote: > > This driver is the very definition of bitrotting: > > - Introduced in commit > > 79a140932c776 ("[PATCH] mips: vR41xx updates") > > which is

Re: [BUG] SPI broken for SPI based panel drivers

2020-12-04 Thread Sven Van Asbroeck
On Fri, Dec 4, 2020 at 11:52 AM H. Nikolaus Schaller wrote: > > >> Anyways it is debatable if this is a bug at all. It is just a definition. > > > > I respectfully disagree. Prior to the fix, your panel's active-low chip > > select > > needed to be described in the devicetree with 'spi-cs-high'.

Re: [PATCH] s390/vfio-ap: Clean up vfio_ap resources when KVM pointer invalidated

2020-12-04 Thread Halil Pasic
On Fri, 4 Dec 2020 09:43:59 -0500 Tony Krowiak wrote: > >> +{ > >> + if (matrix_mdev->kvm) { > >> + (matrix_mdev->kvm); > >> + matrix_mdev->kvm->arch.crypto.pqap_hook = NULL; > > Is a plain assignment to arch.crypto.pqap_hook apropriate, or do we need > > to take more care?

Re: [PATCH v5] f2fs: compress: add compress_inode to cache compressed blocks

2020-12-04 Thread Jaegeuk Kim
Chao, could you please rebase this patch? Thanks, On 12/02, Chao Yu wrote: > From: Chao Yu > > Support to use address space of inner inode to cache compressed block, > in order to improve cache hit ratio of random read. > > Signed-off-by: Chao Yu > --- > v5: > - rebase to last dev branch. >

[PATCH] drivers: thermal: Add NULL pointer check before using cooling device stats

2020-12-04 Thread Manaf Meethalavalappu Pallikunhi
There is a possible chance that some cooling device stats buffer allocation fails due to very high cooling device max state value. Later cooling device update or cooling stats sysfs will try to access stats data for the same cooling device. It will lead to NULL pointer dereference issue. Add a

Re: [PATCH v7] f2fs: compress: support compress level

2020-12-04 Thread Jaegeuk Kim
On 12/04, Chao Yu wrote: > Expand 'compress_algorithm' mount option to accept parameter as format of > :, by this way, it gives a way to allow user to do more > specified config on lz4 and zstd compression level, then f2fs compression > can provide higher compress ratio. > > In order to set

BUG: KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick

2020-12-04 Thread Naresh Kamboju
LKFT started testing KCSAN enabled kernel from the linux next tree. Here we have found BUG: KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick This report is from an x86_64 machine clang-11 linux next 20201201. Since we are running for the first time we do not call this regression. [

Re: [PATCH bpf-next v3 12/14] bpf: Pull tools/build/feature biz into selftests Makefile

2020-12-04 Thread Andrii Nakryiko
On Fri, Dec 4, 2020 at 1:41 AM Brendan Jackman wrote: > > On Thu, Dec 03, 2020 at 01:01:27PM -0800, Andrii Nakryiko wrote: > > On Thu, Dec 3, 2020 at 8:07 AM Brendan Jackman wrote: > > > > > > This is somewhat cargo-culted from the libbpf build. It will be used > > > in a subsequent patch to

Re: [PATCH bpf-next v2 1/3] bpf: Expose bpf_get_socket_cookie to tracing programs

2020-12-04 Thread Daniel Borkmann
On 12/4/20 7:56 PM, Daniel Borkmann wrote: On 12/3/20 10:33 PM, Florent Revest wrote: This creates a new helper proto because the existing bpf_get_socket_cookie_sock_proto has a ARG_PTR_TO_CTX argument and only works for BPF programs where the context is a sock. This helper could also be

Re: [PATCH v5] coresight: etm4x: Modify core-commit of cpu to avoid the overflow of HiSilicon ETM

2020-12-04 Thread Mathieu Poirier
On Thu, Nov 26, 2020 at 09:34:30PM +0800, Qi Liu wrote: > The ETM device can't keep up with the core pipeline when cpu core > is at full speed. This may cause overflow within core and its ETM. > This is a common phenomenon on ETM devices. > > On HiSilicon Hip08 platform, a specific feature is

Re: [PATCH v8 13/18] KVM: x86: Introduce new KVM_FEATURE_SEV_LIVE_MIGRATION feature & Custom MSR.

2020-12-04 Thread Tom Lendacky
On 12/4/20 12:41 PM, Sean Christopherson wrote: On Fri, Dec 4, 2020 at 10:07 AM Ashish Kalra wrote: Yes i will post a fresh version of the live migration patches. Also, can you please check your email settings, we are only able to see your response on the mailing list but we are not getting

Re: [PATCH 4/9] mm: vmscan: use a new flag to indicate shrinker is registered

2020-12-04 Thread Johannes Weiner
On Thu, Dec 03, 2020 at 02:25:20PM -0800, Yang Shi wrote: > On Thu, Dec 3, 2020 at 12:09 PM Roman Gushchin wrote: > > > > On Wed, Dec 02, 2020 at 08:59:40PM -0800, Yang Shi wrote: > > > On Wed, Dec 2, 2020 at 7:01 PM Roman Gushchin wrote: > > > > > > > > On Wed, Dec 02, 2020 at 10:27:20AM -0800,

[PATCH] powerpc/powermac: Fix low_sleep_handler with CONFIG_VMAP_STACK

2020-12-04 Thread Christophe Leroy
low_sleep_handler() can't restore the context from standard stack because the stack can hardly be accessed with MMU OFF. Store everything in a global storage area instead of storing a pointer to the stack in that global storage area. To avoid a complete churn of the function, still use r1 as the

Re: [PATCH bpf-next v2 1/3] bpf: Expose bpf_get_socket_cookie to tracing programs

2020-12-04 Thread Daniel Borkmann
On 12/3/20 10:33 PM, Florent Revest wrote: This creates a new helper proto because the existing bpf_get_socket_cookie_sock_proto has a ARG_PTR_TO_CTX argument and only works for BPF programs where the context is a sock. This helper could also be useful to other BPF program types such as LSM.

BUG: KASAN lib/test_kasan.c

2020-12-04 Thread Jeffrin Jose T
hello, detected KASAN BUG [ related information ] ---x---x> [ 43.616259] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x146/0x2c0 (gdb) l *vmalloc_oob+0x146/0x2c0 0x81b8b0b0 is in vmalloc_oob (lib/test_kasan.c:764). 759

[tip:x86/sgx] BUILD SUCCESS a4b9c48b96517ff4780b22a784e7537eac5dc21b

2020-12-04 Thread kernel test robot
allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig x86_64 randconfig-a004-20201204 x86_64 randconfig-a006-20201204 x86_64 randconfig

[PATCH] ceph: remove redundant assignment to variable i

2020-12-04 Thread Colin King
From: Colin Ian King The variable i is being initialized with a value that is never read and it is being updated later with a new value in a for-loop. The initialization is redundant and can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King ---

BUG: KCSAN: data-race in dec_zone_page_state / write_cache_pages

2020-12-04 Thread Naresh Kamboju
LKFT started testing KCSAN enabled kernel from the linux next tree. Here we have found BUG: KCSAN: data-race in dec_zone_page_state / write_cache_pages This report is from an x86_64 machine clang-11 linux next 20201201. Since we are running for the first time we do not call this regression. [

[PATCH v2 bpf-next 1/3] bpf: eliminate btf_module_mutex as RCU synchronization can be used

2020-12-04 Thread Alan Maguire
btf_module_mutex is used when manipulating the BTF module list. However we will wish to look up this list from BPF program context, and such contexts can include interrupt state where we cannot sleep due to a mutex_lock(). RCU usage here conforms quite closely to the example in the system call

Re: [PATCH v1 3/7] spi: qspi-tegra: Add support for Tegra210 QSPI controller

2020-12-04 Thread Mark Brown
On Thu, Dec 03, 2020 at 04:22:54PM -0800, Sowjanya Komatineni wrote: > On 12/2/20 11:17 AM, Sowjanya Komatineni wrote: > > > It seems weird that this device needs us to do a memcpy() to do DMA, > > > most devices are able to DMA directly from the buffers provided by the > > > SPI API (and let the

Re: [PATCH v14 09/10] fs/ntfs3: Add NTFS3 in fs/Kconfig and fs/Makefile

2020-12-04 Thread kernel test robot
Hi Konstantin, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v5.10-rc6 next-20201204] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base

[PATCH v2 bpf-next 3/3] selftests/bpf: verify module-specific types can be shown via bpf_snprintf_btf

2020-12-04 Thread Alan Maguire
Verify that specifying a module object id in "struct btf_ptr *" along with a type id of a module-specific type will succeed. veth_stats_rx() is chosen because its function signature consists of a module-specific type "struct veth_stats" and a kernel-specific one "struct net_device". Currently

[PATCH v2 bpf-next 2/3] bpf: add module support to btf display helpers

2020-12-04 Thread Alan Maguire
bpf_snprintf_btf and bpf_seq_printf_btf use a "struct btf_ptr *" argument that specifies type information about the type to be displayed. Augment this information to include an object id. If this id is 0, the assumption is that it refers to a core kernel type from vmlinux; otherwise the object

[PATCH] arm64: dts: qcom: Fix SD card vqmmc max voltage on sc7180-trogdor

2020-12-04 Thread Douglas Anderson
It never makes sense to set the IO voltage of the SD card (vqmmc) to a voltage that's higher than the voltage of the card's main power supply (vmmc). The card's main voltage is 2.952V on trogdor, so let's set the max for the IO voltage to the same. NOTE: On Linux, this is pretty much a no-op

[PATCH v2 bpf-next 0/3] bpf: support module BTF in BTF display helpers

2020-12-04 Thread Alan Maguire
This series aims to add support to bpf_snprintf_btf() and bpf_seq_printf_btf() allowing them to store string representations of module-specific types, as well as the kernel-specific ones they currently support. Patch 1 removes the btf_module_mutex, as since we will need to look up module BTF

Re: [PATCH v8 13/18] KVM: x86: Introduce new KVM_FEATURE_SEV_LIVE_MIGRATION feature & Custom MSR.

2020-12-04 Thread Kalra, Ashish
This time I received your email directly. Thanks, Ashish > On Dec 4, 2020, at 12:41 PM, Sean Christopherson wrote: > > On Fri, Dec 4, 2020 at 10:07 AM Ashish Kalra wrote: >> >> Yes i will post a fresh version of the live migration patches. >> >> Also, can you please check your email

Re: [PATCH v8 13/18] KVM: x86: Introduce new KVM_FEATURE_SEV_LIVE_MIGRATION feature & Custom MSR.

2020-12-04 Thread Sean Christopherson
On Fri, Dec 4, 2020 at 10:07 AM Ashish Kalra wrote: > > Yes i will post a fresh version of the live migration patches. > > Also, can you please check your email settings, we are only able to see your > response on the > mailing list but we are not getting your direct responses. Hrm, as in you

Re: [PATCH 06/10] sched/fair: Clear the target CPU from the cpumask of CPUs searched

2020-12-04 Thread Mel Gorman
On Fri, Dec 04, 2020 at 04:43:05PM +0100, Vincent Guittot wrote: > On Fri, 4 Dec 2020 at 16:40, Mel Gorman wrote: > > > > On Fri, Dec 04, 2020 at 04:23:48PM +0100, Vincent Guittot wrote: > > > On Fri, 4 Dec 2020 at 15:31, Mel Gorman > > > wrote: > > > > > > > > On Fri, Dec 04, 2020 at

[PATCH v2] PM: domains: create debugfs nodes when adding power domains

2020-12-04 Thread Thierry Strudel
debugfs nodes were created in genpd_debug_init alled in late_initcall preventing power domains registered though loadable modules to have a debugfs entry. Create/remove debugfs nodes when the power domain is added/removed to/from the internal gpd_list. Signed-off-by: Thierry Strudel --- v2: fix

Re: [PATCH v14 04/10] fs/ntfs3: Add file operations and implementation

2020-12-04 Thread Eric Biggers
On Fri, Dec 04, 2020 at 06:45:54PM +0300, Konstantin Komarov wrote: > +/* external compression lzx/xpress */ > +static int decompress_lzx_xpress(struct ntfs_sb_info *sbi, const char *cmpr, > + size_t cmpr_size, void *unc, size_t unc_size, > +

Re: [PATCH v14 06/10] fs/ntfs3: Add compression

2020-12-04 Thread Eric Biggers
On Fri, Dec 04, 2020 at 06:45:56PM +0300, Konstantin Komarov wrote: > This adds compression > > Signed-off-by: Konstantin Komarov > --- > fs/ntfs3/lib/common_defs.h | 196 +++ > fs/ntfs3/lib/decompress_common.c | 314 + > fs/ntfs3/lib/decompress_common.h | 558

BUG: KCSAN: data-race in __rpc_do_wake_up_task_on_wq / xprt_request_transmit

2020-12-04 Thread Naresh Kamboju
LKFT started testing KCSAN enabled kernel from the linux next tree. Here we have found BUG: KCSAN: data-race in __rpc_do_wake_up_task_on_wq / xprt_request_transmit This report is from an x86_64 machine clang-11 linux next 20201201. Since we are running for the first time we do not call this

[PATCH] clk: imx: Fix reparenting of UARTs not associated with sdout

2020-12-04 Thread Adam Ford
The default clock source on i.MX8M Mini and Nano boards use a 24MHz clock, but users who need to re-parent the clock source run into issues because all the UART clocks are enabled whether or not they're needed by sdout. Any attempt to change the parent results in an busy error because the clocks

Re: [PATCH v8 11/12] mm/vmalloc: Hugepage vmalloc mappings

2020-12-04 Thread Edgecombe, Rick P
On Fri, 2020-12-04 at 18:12 +1000, Nicholas Piggin wrote: > Excerpts from Edgecombe, Rick P's message of December 1, 2020 6:21 > am: > > On Sun, 2020-11-29 at 01:25 +1000, Nicholas Piggin wrote: > > > Support huge page vmalloc mappings. Config option > > > HAVE_ARCH_HUGE_VMALLOC > > > enables

Re: [v4,2/3] PCI: mediatek: Add new generation controller support

2020-12-04 Thread Bjorn Helgaas
On Fri, Dec 04, 2020 at 08:39:09AM +0100, Lukas Wunner wrote: > On Mon, Nov 30, 2020 at 11:30:05AM -0600, Bjorn Helgaas wrote: > > On Mon, Nov 23, 2020 at 02:45:13PM +0800, Jianjun Wang wrote: > > > On Thu, 2020-11-19 at 14:28 -0600, Bjorn Helgaas wrote: > > > > > +static int mtk_pcie_setup(struct

Re: [PATCH] pid: add null pointer check in pid_nr_ns()

2020-12-04 Thread Alakesh Haloi
On Wed, Dec 02, 2020 at 11:19:46AM -0600, Eric W. Biederman wrote: > Alakesh Haloi writes: > > > There has been at least one occurrence where a null pointer derefernce > > panic was seen with following stack trace. > > > > #0 [ff800bcd3800] machine_kexec at ff8008095fb4 > > #1

Re: [f2fs-dev] [PATCH] f2fs: fix race of pending_pages in decompression

2020-12-04 Thread Jaegeuk Kim
On 12/04, Daeho Jeong wrote: > Thanks for the explanation about verity. > I got your point. Thanks~ Possible fix can be like this? --- fs/f2fs/compress.c | 2 -- fs/f2fs/data.c | 19 +-- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/fs/f2fs/compress.c

Re: [PATCH] dpaa_eth: fix build errorr in dpaa_fq_init

2020-12-04 Thread Jakub Kicinski
On Thu, 3 Dec 2020 15:49:21 +0100 Björn Töpel wrote: > On Thu, 3 Dec 2020 at 15:46, Anders Roxell wrote: > > > > When building FSL_DPAA_ETH the following build error shows up: > > > > /tmp/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c: In function > > ‘dpaa_fq_init’: > >

Re: [PATCH] coresight: remove broken __exit annotations

2020-12-04 Thread Mathieu Poirier
On Fri, Dec 04, 2020 at 12:11:40AM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > Functions that are annotated __exit are discarded for built-in drivers, > but the .remove callback in a device driver must still be kept around > to allow bind/unbind operations. > > There is now a linker

[PATCH] ACPI: fan: fix warning with CONFIG_DEBUG_LOCK_ALLOC

2020-12-04 Thread Pierre-Louis Bossart
On a TigerLake device with CONFIG_DEBUG_LOCK_ALLOC the following warning is thrown: [ 13.784413] BUG: key 88810ea5a080 has not been registered! [ 13.784722] DEBUG_LOCKS_WARN_ON(1) [ 13.784737] WARNING: CPU: 2 PID: 1 at kernel/locking/lockdep.c:4623 lockdep_init_map_waits+0x25e/0x310 [

Re: [PATCH] f2fs: introduce a new per-sb directory in sysfs

2020-12-04 Thread Jaegeuk Kim
On 12/03, Chao Yu wrote: > Jaegeuk, > > Can you comment on this patch? Waiting for use-case? :) > > On 2020/11/27 17:01, Chao Yu wrote: > > Add a new directory 'stat' in path of /sys/fs/f2fs//, later > > we can add new readonly stat sysfs file into this directory, it will > > make directory

NEDBANK

2020-12-04 Thread Mr. Casmir Nkulu
Attention: Esteemed Customer Note that the NED-BANK of RSA have received the authority by United State of America Federal Reserve Bank in conjunction with the International Monetary Fund (IMF) and the World Bank to finally release all pending Lottery winning payments, Contracts payments,

BUG: KCSAN: data-race in mutex_spin_on_owner+0xef/0x1b0

2020-12-04 Thread Naresh Kamboju
LKFT started testing KCSAN enabled kernel from the linux next tree. Here we have found BUG: KCSAN: data-race in mutex_spin_on_owner and several more KCSAN BUGs. This report is from an x86_64 machine clang-11 linux next 20201201. Since we are running for the first time we do not call this

Re: [PATCH v3 0/3] PCI/MSI: Cleanup init and improve 32-bit MSI checking

2020-12-04 Thread Bjorn Helgaas
On Thu, Dec 03, 2020 at 12:51:07PM -0600, Bjorn Helgaas wrote: > From: Bjorn Helgaas > > MSI/MSI-X init was a little unconventional. We had pci_msi_setup_pci_dev() > to disable MSI and MSI-X, in probe.c instead of msi.c so we could do it > even without CONFIG_PCI_MSI. Move that to msi.c and

Re: [PATCH v2 0/2] Adds support to capture module's SCM version

2020-12-04 Thread Will McVicker
On Fri, Dec 04, 2020 at 06:18:08PM +, Christoph Hellwig wrote: > On Fri, Dec 04, 2020 at 10:13:56AM -0800, Will McVicker wrote: > > On Fri, Dec 04, 2020 at 07:51:59AM +, Christoph Hellwig wrote: > > > I think your decription still shows absolutely no benefit for the > > > kernel, so I'not

Re: [PATCH 3/3] kunit: tool: move kunitconfig parsing into __init__

2020-12-04 Thread Daniel Latypov
On Thu, Dec 3, 2020 at 7:57 PM David Gow wrote: > > On Fri, Dec 4, 2020 at 3:41 AM Daniel Latypov wrote: > > > > LinuxSourceTree will unceremoniously crash if the user doesn't call > > read_kunitconfig() first in a number of functions. > > This patch seems to partly be reverting the changes

Re: [PATCH v2 0/2] Adds support to capture module's SCM version

2020-12-04 Thread Will McVicker
On Fri, Dec 04, 2020 at 07:51:59AM +, Christoph Hellwig wrote: > I think your decription still shows absolutely no benefit for the > kernel, so I'not sure why anyone would want to waste time on this. Hi Christoph, Did you get a chance to read my earlier responses regarding the uses for

Re: [PATCH v2 0/2] Adds support to capture module's SCM version

2020-12-04 Thread Christoph Hellwig
On Fri, Dec 04, 2020 at 10:13:56AM -0800, Will McVicker wrote: > On Fri, Dec 04, 2020 at 07:51:59AM +, Christoph Hellwig wrote: > > I think your decription still shows absolutely no benefit for the > > kernel, so I'not sure why anyone would want to waste time on this. > Hi Christoph, > > Did

[PATCH v2 2/2] iio: dac: ad5766: add driver support for AD5766

2020-12-04 Thread Cristian Pop
The AD5766/AD5767 are 16-channel, 16-bit/12-bit, voltage output dense DACs Digital-to-Analog converters. This change adds support for these DACs. Link: https://www.analog.com/media/en/technical-documentation/data-sheets/ad5766-5767.pdf Signed-off-by: Cristian Pop --- Changes in v2:

Re: [PATCH 0/5] SDM630/660 Multimedia and GPU clock controllers

2020-12-04 Thread AngeloGioacchino Del Regno
Il giorno sab 26 set 2020 alle ore 15:03 ha scritto: > > From: AngeloGioacchino Del Regno > > This patch series brings up the MultiMedia Clock Controller (MMCC) > and the GPU Clock Controller (GPUCC) on the SDM660 series of SoCs, > including SDM630, SDM636, SDM660 and SDA variants, where

[PATCH v2 1/2] dt-bindings: iio: dac: AD5766 yaml documentation

2020-12-04 Thread Cristian Pop
This adds device tree bindings for the AD5766 DAC. Signed-off-by: Cristian Pop --- Changes in v2: - Add "additionalProperties: false" property - Remove blank line .../bindings/iio/dac/adi,ad5766.yaml | 53 +++ 1 file changed, 53 insertions(+) create

Re:

2020-12-04 Thread Yury Norov
On Thu, Dec 3, 2020 at 5:36 PM Yun Levi wrote: > > >On Fri, Dec 4, 2020 at 3:53 AM Willy Tarreau wrote: > > > > On Thu, Dec 03, 2020 at 10:46:25AM -0800, Yury Norov wrote: > > > Yun, could you please stop top-posting and excessive trimming in the > > > thread? > > > > And re-configure the mail

Re: [PATCH v2] mm: Don't fault around userfaultfd-registered regions on reads

2020-12-04 Thread Andrea Arcangeli
On Thu, Dec 03, 2020 at 11:10:18PM -0500, Andrea Arcangeli wrote: > from the pte, one that cannot ever be set in any swp entry today. I > assume it can't be _PAGE_SWP_UFFD_WP since that already can be set but > you may want to verify it... I thought more about the above, and I think the already

Re: Why the auxiliary cipher in gss_krb5_crypto.c?

2020-12-04 Thread Theodore Y. Ts'o
On Fri, Dec 04, 2020 at 02:59:35PM +, David Howells wrote: > Hi Chuck, Bruce, > > Why is gss_krb5_crypto.c using an auxiliary cipher? For reference, the > gss_krb5_aes_encrypt() code looks like the attached. > > From what I can tell, in AES mode, the difference between the main cipher and >

Re: [RFC PATCH 0/9] CXL 2.0 Support

2020-12-04 Thread Ben Widawsky
Hi Chris. On 20-12-04 12:40:03, Chris Browy wrote: > Hi Ben, > > Trying to bring up the environment using the latest developments as follows: > > 1. Linux kernel baseline version is cloned using > git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git >    Using master

Re: [PATCH v3 1/3] PCI/MSI: Move MSI/MSI-X init to msi.c

2020-12-04 Thread Bjorn Helgaas
On Fri, Dec 04, 2020 at 12:05:15PM +0100, Thierry Reding wrote: > On Thu, Dec 03, 2020 at 12:51:08PM -0600, Bjorn Helgaas wrote: > > From: Bjorn Helgaas > > > > Move pci_msi_setup_pci_dev(), which disables MSI and MSI-X interrupts, from > > probe.c to msi.c so it's with all the other MSI code

[tip:timers/core] BUILD SUCCESS fef92cd2bc04c64bb3743d40c0b4be47aedf9e23

2020-12-04 Thread kernel test robot
allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig x86_64 randconfig-a004-20201204 x86_64 randconfig-a006-20201204 x86_64 randconfig-a002-20201204 x86_64

Re: [PATCH 0/6] prohibit pinning pages in ZONE_MOVABLE

2020-12-04 Thread Pavel Tatashin
> > ZONE_MOVABLE can be configured via kernel parameter, or when memory > > nodes are onlined after hot-add; so this is something that admins > > configure. ZONE_MOVABLE is designed to gurantee memory hot-plug > > functionality, and not availability of THP, however, I did not know > > about the

Re: [PATCH 2/3] kunit: tool: fix minor typing issue with None status

2020-12-04 Thread Daniel Latypov
On Thu, Dec 3, 2020 at 8:17 PM David Gow wrote: > > On Fri, Dec 4, 2020 at 3:41 AM Daniel Latypov wrote: > > > > This seems good to me, but I have a few questions, particularly around > the description. > > > The code to handle aggregating statuses didn't check that the status > > actually got

CF.- HELLO I HAVE A FINANCIAL PROPOSAL FOR YOU

2020-12-04 Thread Matthew ADE

Re: [RFC PATCH v1 07/12] efi: Replace strstarts() by str_has_prefix().

2020-12-04 Thread James Bottomley
On Fri, 2020-12-04 at 18:07 +0100, Ard Biesheuvel wrote: > On Fri, 4 Dec 2020 at 18:06, > wrote: > > From: Francis Laniel > > > > The two functions indicates if a string begins with a given prefix. > > The only difference is that strstarts() returns a bool while > > str_has_prefix() > > returns

Re: [PATCH v8 13/18] KVM: x86: Introduce new KVM_FEATURE_SEV_LIVE_MIGRATION feature & Custom MSR.

2020-12-04 Thread Ashish Kalra
Yes i will post a fresh version of the live migration patches. Also, can you please check your email settings, we are only able to see your response on the mailing list but we are not getting your direct responses. Thanks, Ashish

Re: [resend/standalone PATCH v4] Add auxiliary bus support

2020-12-04 Thread Ranjani Sridharan
On Fri, 2020-12-04 at 13:35 +0100, Greg KH wrote: > On Wed, Dec 02, 2020 at 04:54:24PM -0800, Dan Williams wrote: > > From: Dave Ertman > > > > Add support for the Auxiliary Bus, auxiliary_device and > > auxiliary_driver. > > It enables drivers to create an auxiliary_device and bind an > >

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