[PATCH 29/40] drm/amd/amdgpu/vcn_v1_0: Fix a few kernel-doc misdemeanours

2020-11-24 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c:439: warning: Excess function parameter 'sw' description in 'vcn_v1_0_disable_clock_gating' drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c:566: warning: Excess function parameter 'sw' description in

[PATCH 30/40] drm/amd/amdgpu/jpeg_v1_0: Add some missing function param descriptions

2020-11-24 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c:219: warning: Function parameter or member 'addr' not described in 'jpeg_v1_0_decode_ring_emit_fence' drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c:219: warning: Function parameter or member 'seq' not described

[PATCH 31/40] drm/amd/amdgpu/jpeg_v2_0: Add some missing kernel-doc descriptions

2020-11-24 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c:498: warning: Function parameter or member 'addr' not described in 'jpeg_v2_0_dec_ring_emit_fence' drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c:498: warning: Function parameter or member 'seq' not described in

[PATCH 32/40] drm/amd/amdgpu/vcn_v2_0: Fix a few kernel-doc misdemeanours

2020-11-24 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c:483: warning: Excess function parameter 'sw' description in 'vcn_v2_0_disable_clock_gating' drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c:644: warning: Excess function parameter 'sw' description in

[PATCH 37/40] drm/amd/pm/swsmu/smu12/renoir_ppt: Demote kernel-doc formatting abuse

2020-11-24 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-...@lists.freedesktop.org Cc: dri-de...@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c | 4 ++-- 1 file

[PATCH 39/40] drm/amd/pm/powerplay/smumgr/fiji_smumgr: Remove unused variable 'result'

2020-11-24 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../pm/powerplay/smumgr/fiji_smumgr.c: In function ‘fiji_populate_smc_boot_level’: drivers/gpu/drm/amd/amdgpu/../pm/powerplay/smumgr/fiji_smumgr.c:1603:6: warning: variable ‘result’ set but not used

[PATCH 38/40] drm/amd/pm/swsmu/smu11/navi10_ppt: Remove unused 'struct i2c_algorithm navi10_i2c_algo'

2020-11-24 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Evan Quan Cc: amd-...@lists.freedesktop.org Cc: dri-de...@lists.freedesktop.org Signed-off-by: Lee Jones --- .../gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c | 204

[PATCH 40/40] drm/amd/amdgpu/amdgpu_uvd: Add description for amdgpu_uvd_cs_msg_decode()'s 'buf_sizes' param

2020-11-24 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:555: warning: Function parameter or member 'buf_sizes' not described in 'amdgpu_uvd_cs_msg_decode' Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc:

[PATCH 33/40] drm/amd/amdgpu/vcn_v3_0: Remove unused variable 'direct_poll' from 'vcn_v3_0_start_sriov()'

2020-11-24 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c: In function ‘vcn_v3_0_start_sriov’: drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c:1242:3: warning: variable ‘direct_poll’ set but not used [-Wunused-but-set-variable] Cc: Alex Deucher Cc: "Christian König" Cc:

[PATCH 35/40] drm/amd/pm/swsmu/smu11/vangogh_ppt: Make local function 'vangogh_set_default_dpm_tables()' static

2020-11-24 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/vangogh_ppt.c: At top level: drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/vangogh_ppt.c:764:5: warning: no previous prototype for ‘vangogh_set_default_dpm_tables’ [-Wmissing-prototypes] 764 | int

[PATCH 36/40] drm/amd/pm/inc/smu_v11_0: Mark 'smu11_thermal_policy' as __maybe_unused

2020-11-24 Thread Lee Jones
It's used in some, but not all source files which include 'smu_v11_0.h'. Fixes the following W=1 kernel build warning(s): In file included from drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/smu_v11_0.c:36: drivers/gpu/drm/amd/amdgpu/../pm/inc/smu_v11_0.h:61:43: warning: ‘smu11_thermal_policy’

[PATCH 34/40] drm/amd/amdgpu/amdgpu_acp: Fix doc-rot issues pertaining to a couple of 'handle' params

2020-11-24 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c:183: warning: Function parameter or member 'handle' not described in 'acp_hw_init' drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c:183: warning: Excess function parameter 'adev' description in 'acp_hw_init'

[PATCH 10/40] drm/amd/amdgpu/navi10_ih: Add descriptions for 'ih' and 'entry'

2020-11-24 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/navi10_ih.c:453: warning: Function parameter or member 'ih' not described in 'navi10_ih_get_wptr' drivers/gpu/drm/amd/amdgpu/navi10_ih.c:512: warning: Function parameter or member 'ih' not described in

[PATCH 22/40] drm/amd/amdgpu/amdgpu_uvd: Fix some function documentation headers

2020-11-24 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:95: warning: cannot understand function prototype: 'struct amdgpu_uvd_cs_ctx ' drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:555: warning: Function parameter or member 'adev' not described in

[PATCH 03/40] drm/msm/adreno/a6xx_gpu_state: Make some local functions static

2020-11-24 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:83:7: warning: no previous prototype for ‘state_kcalloc’ [-Wmissing-prototypes] drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:95:7: warning: no previous prototype for ‘state_kmemdup’

[PATCH 20/40] drm/amd/amdgpu/uvd_v5_0: Fix a bunch of kernel-doc function documentation issues

2020-11-24 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c:153: warning: Function parameter or member 'handle' not described in 'uvd_v5_0_hw_init' drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c:153: warning: Excess function parameter 'adev' description in 'uvd_v5_0_hw_init'

[PATCH 12/40] drm/amd/amdgpu/dce_v10_0: Supply description for function param 'async'

2020-11-24 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/dce_v10_0.c:237: warning: Function parameter or member 'async' not described in 'dce_v10_0_page_flip' Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Luben Tuikov Cc:

[PATCH 05/40] drm/amd/amdgpu/tonga_ih: Provide some missing descriptions for 'ih' and 'entry'

2020-11-24 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/tonga_ih.c:193: warning: Function parameter or member 'ih' not described in 'tonga_ih_get_wptr' drivers/gpu/drm/amd/amdgpu/tonga_ih.c:225: warning: Function parameter or member 'ih' not described in

[PATCH 11/40] drm/amd/amdgpu/psp_v11_0: Make local function 'psp_v11_0_wait_for_bootloader()' static

2020-11-24 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/psp_v11_0.c:223:5: warning: no previous prototype for ‘psp_v11_0_wait_for_bootloader’ [-Wmissing-prototypes] Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Hawking Zhang Cc:

[PATCH 00/40] [Set 9] Rid W=1 warnings from GPU

2020-11-24 Thread Lee Jones
This set is part of a larger effort attempting to clean-up W=1 kernel builds, which are currently overwhelmingly riddled with niggly little warnings. 730 out of 5000 left. Lee Jones (40): drm/msm/msm_gem_shrinker: Fix descriptions for 'drm_device' drm/amd/amdgpu/gmc_v10_0: Suppy some missing

Re: linux-next: stall warnings and deadlock on Arm64 (was: [PATCH] kfence: Avoid stalling...)

2020-11-24 Thread Mark Rutland
On Tue, Nov 24, 2020 at 07:01:46AM -0800, Paul E. McKenney wrote: > On Tue, Nov 24, 2020 at 03:03:10PM +0100, Marco Elver wrote: > > [ 91.184432] = > > [ 91.188301] WARNING: suspicious RCU usage > > [ 91.192316] 5.10.0-rc4-next-20201119-2-g51c2bf0ac853 #25

Re: [PATCH v7 2/3] dmaengine: ptdma: register PTDMA controller as a DMA resource

2020-11-24 Thread Sanjay R Mehta
On 11/24/2020 10:48 PM, Vinod Koul wrote: > [CAUTION: External Email] > > Hello Vitaly, > > On 24-11-20, 09:23, Vitaly Mayatskih wrote: >> On Wed, Nov 18, 2020 at 7:20 AM Vinod Koul wrote: >> >>> this should be single line >> >> Vinod, do you see any obvious functional defects still present

Re: [PATCH v2 tip/core/rcu 4/6] srcu: Provide polling interfaces for Tiny SRCU grace periods

2020-11-24 Thread Paul E. McKenney
On Tue, Nov 24, 2020 at 10:44:24AM +0530, Neeraj Upadhyay wrote: > > > On 11/24/2020 2:42 AM, Paul E. McKenney wrote: > > On Mon, Nov 23, 2020 at 10:13:13AM +0530, Neeraj Upadhyay wrote: > > > > > > > > > On 11/21/2020 6:29 AM, paul...@kernel.org wrote: > > > > From: "Paul E. McKenney" > > >

Re: linux-next: stall warnings and deadlock on Arm64 (was: [PATCH] kfence: Avoid stalling...)

2020-11-24 Thread Mark Rutland
On Tue, Nov 24, 2020 at 03:03:10PM +0100, Marco Elver wrote: > On Mon, Nov 23, 2020 at 07:32PM +, Mark Rutland wrote: > > On Fri, Nov 20, 2020 at 03:03:32PM +0100, Marco Elver wrote: > > > On Fri, Nov 20, 2020 at 10:30AM +, Mark Rutland wrote: > > > > On Thu, Nov 19, 2020 at 10:53:53PM

Re: [PATCH 05/17] fs/btrfs: Convert to memzero_page()

2020-11-24 Thread Ira Weiny
On Tue, Nov 24, 2020 at 03:12:44PM +0100, David Sterba wrote: > On Mon, Nov 23, 2020 at 10:07:43PM -0800, ira.we...@intel.com wrote: > > From: Ira Weiny > > > > Remove the kmap/memset()/kunmap pattern and use the new memzero_page() > > call where possible. > > > > Cc: Chris Mason > > Cc: Josef

Re: [PATCH 01/17] mm/highmem: Lift memcpy_[to|from]_page and memset_page to core

2020-11-24 Thread Ira Weiny
On Tue, Nov 24, 2020 at 02:19:41PM +, Matthew Wilcox wrote: > On Mon, Nov 23, 2020 at 10:07:39PM -0800, ira.we...@intel.com wrote: > > +static inline void memzero_page(struct page *page, size_t offset, size_t > > len) > > +{ > > + memset_page(page, 0, offset, len); > > +} > > This is a

Re: [PATCH] arm64: dts: qcom: sdm845: Limit ipa iommu streams

2020-11-24 Thread Alex Elder
On 11/22/20 11:23 PM, Bjorn Andersson wrote: The Android and Windows firmware does not accept the use of 3 as a mask to cover the IPA streams. But with 0x721 being related to WiFi and 0x723 being unsed the mapping can be reduced to just cover 0x720 and 0x722, which is accepted. Do you want to

[PATCH] efi: EFI_EARLYCON should depend on EFI

2020-11-24 Thread Geert Uytterhoeven
CONFIG_EFI_EARLYCON defaults to yes, and thus is enabled on systems that do not support EFI, or do not have EFI support enabled, but do satisfy the symbol's other dependencies. While drivers/firmware/efi/ won't be entered during the build phase if CONFIG_EFI=n, and drivers/firmware/efi/earlycon.c

[PATCH v2 3/3] drm/msm: Improve the a6xx page fault handler

2020-11-24 Thread Jordan Crouse
Use the new adreno-smmu-priv fault info function to get more SMMU debug registers and print the current TTBR0 to debug per-instance pagetables and figure out which GPU block generated the request. Signed-off-by: Jordan Crouse --- drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 4 +-

[PATCH v2 2/3] drm/msm: Add an adreno-smmu-priv callback to get pagefault info

2020-11-24 Thread Jordan Crouse
Add a callback in adreno-smmu-priv to read interesting SMMU registers to provide an opportunity for a richer debug experience in the GPU driver. Signed-off-by: Jordan Crouse --- drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 19 + drivers/iommu/arm/arm-smmu/arm-smmu.h | 2 ++

Re: [RFC Patch 0/2] KVM: SVM: Cgroup support for SVM SEV ASIDs

2020-11-24 Thread Sean Christopherson
On Fri, Nov 13, 2020, David Rientjes wrote: > > On Mon, 2 Nov 2020, Sean Christopherson wrote: >

[PATCH v2 1/3] iommu/arm-smmu: Add support for driver IOMMU fault handlers

2020-11-24 Thread Jordan Crouse
Call report_iommu_fault() to allow upper-level drivers to register their own fault handlers. Signed-off-by: Jordan Crouse --- drivers/iommu/arm/arm-smmu/arm-smmu.c | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu.c

[PATCH v2 0/3] iommu/arm-smmu: adreno-smmu page fault handling

2020-11-24 Thread Jordan Crouse
This is a stack to add an Adreno GPU specific handler for pagefaults. The first patch starts by wiring up report_iommu_fault for arm-smmu. The next patch adds a adreno-smmu-priv function hook to capture a handful of important debugging registers such as TTBR0, CONTEXTIDR, FSYNR0 and others. This

Re: kernel BUG at fs/ext4/inode.c:LINE!

2020-11-24 Thread Linus Torvalds
On Tue, Nov 24, 2020 at 10:33 AM Matthew Wilcox wrote: > > We could fix this by turning that 'if' into a 'while' in > write_cache_pages(). That might be the simplest patch indeed. At the same time, I do worry about other cases like this: while spurious wakeup events are normal and happen in

Re: [PATCH v5 1/3] mtd: spi-nor: atmel: remove global protection flag

2020-11-24 Thread Tudor.Ambarus
On 10/3/20 6:32 PM, Michael Walle wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > This is considered bad for the following reasons: > (1) We only support the block protection with BPn bits for write > protection. Not all Atmel parts

Re: [PATCH net-next v6 2/5] net/lapb: support netdev events

2020-11-24 Thread Xie He
On Tue, Nov 24, 2020 at 1:40 AM Martin Schiller wrote: > > This patch allows layer2 (LAPB) to react to netdev events itself and > avoids the detour via layer3 (X.25). > > 1. Establish layer2 on NETDEV_UP events, if the carrier is already up. > > 2. Call lapb_disconnect_request() on

Re: [PATCH 0/3] Bluetooth: Power down controller when suspending

2020-11-24 Thread Abhishek Pandit-Subedi
Re-send to NXP email addresses for Chin-Ran Lo and Amitkumar Karwar (Marvell wireless IP acquired by NXP) On Tue, Nov 24, 2020 at 11:02 AM Abhishek Pandit-Subedi wrote: > > Hi Marcel, > > > On Mon, Nov 23, 2020 at 3:46 AM Marcel Holtmann wrote: > > > > Hi Abhishek, > > > > > This patch series

Re: [PATCHv8 0/8] System Cache support for GPU and required SMMU support

2020-11-24 Thread Rob Clark
On Tue, Nov 24, 2020 at 3:10 AM Will Deacon wrote: > > On Tue, Nov 24, 2020 at 09:32:54AM +0530, Sai Prakash Ranjan wrote: > > On 2020-11-24 00:52, Rob Clark wrote: > > > On Mon, Nov 23, 2020 at 9:01 AM Sai Prakash Ranjan > > > wrote: > > > > > > > > On 2020-11-23 20:51, Will Deacon wrote: > > >

Re: [PATCH 0/3] Bluetooth: Power down controller when suspending

2020-11-24 Thread Abhishek Pandit-Subedi
Hi Marcel, On Mon, Nov 23, 2020 at 3:46 AM Marcel Holtmann wrote: > > Hi Abhishek, > > > This patch series adds support for a quirk that will power down the > > Bluetooth controller when suspending and power it back up when resuming. > > > > On Marvell SDIO Bluetooth controllers (SD8897 and

Re: [PATCH 01/40] drm/radeon/radeon_device: Consume our own header where the prototypes are located

2020-11-24 Thread Lee Jones
On Tue, 24 Nov 2020, Alex Deucher wrote: > On Mon, Nov 23, 2020 at 6:19 AM Lee Jones wrote: > > > > Fixes the following W=1 kernel build warning(s): > > > > drivers/gpu/drm/radeon/radeon_device.c:637:6: warning: no previous > > prototype for ‘radeon_device_is_virtual’ [-Wmissing-prototypes] >

[PATCH] riscv: defconfig: k210: Disable CONFIG_VT

2020-11-24 Thread Geert Uytterhoeven
There is no need to enable Virtual Terminal support in the Canaan Kendryte K210 defconfigs, as no terminal devices are supported and enabled. Hence disable CONFIG_VT, and remove the no longer needed override for CONFIG_VGA_CONSOLE. This reduces kernel size by ca. 65 KiB. Signed-off-by: Geert

Re: [PATCH] net: stmmac: add flexible PPS to dwmac 4.10a

2020-11-24 Thread Jakub Kicinski
On Tue, 24 Nov 2020 19:27:03 +0100 Antonio Borneo wrote: > On Tue, 2020-11-24 at 10:20 -0800, Jakub Kicinski wrote: > > On Tue, 24 Nov 2020 15:23:27 +0100 Antonio Borneo wrote: > > > On Tue, 2020-11-24 at 15:15 +0100, Ahmad Fatoum wrote: > > > > On 10.10.19 00:26, Jakub Kicinski wrote: > >

[PATCH] Revert "i2c: qcom-geni: Disable DMA processing on the Lenovo Yoga C630"

2020-11-24 Thread Bjorn Andersson
A combination of recent bug fixes by Doug Anderson and the proper definition of iommu streams means that this hack is no longer needed. Let's clean up the code by reverting '127068abe85b ("i2c: qcom-geni: Disable DMA processing on the Lenovo Yoga C630")'. Signed-off-by: Bjorn Andersson ---

Re: [PATCH v4 00/34] SEV-ES hypervisor support

2020-11-24 Thread Sean Christopherson
On Mon, Nov 23, 2020, Tom Lendacky wrote: > On 11/17/20 11:07 AM, Tom Lendacky wrote: > > From: Tom Lendacky > > > > This patch series provides support for running SEV-ES guests under KVM. > > Any comments on this series? I'm planning on doing a thorough review, but it'll probably take me a

[PATCH] exfat: Avoid allocating upcase table using kcalloc()

2020-11-24 Thread Artem Labazov
The table for Unicode upcase conversion requires an order-5 allocation, which may fail on a highly-fragmented system: pool-udisksd: page allocation failure: order:5, mode:0x40dc0(GFP_KERNEL|__GFP_COMP|__GFP_ZERO), nodemask=(null),cpuset=/,mems_allowed=0 CPU: 4 PID: 3756880 Comm: pool-udisksd

Re: [PATCH v2 22/22] x86/fpu/xstate: Introduce boot-parameters for control some state component support

2020-11-24 Thread Len Brown
On Fri, Nov 20, 2020 at 12:03 AM Andy Lutomirski wrote: > > On Thu, Nov 19, 2020 at 3:37 PM Chang S. Bae wrote: > > "xstate.enable=0x6" will enable AMX on a system that does NOT have AMX > > compiled into XFEATURE_MASK_USER_ENABLED (assuming the kernel is new enough > > to support this

Re: [PATCH v3] Kbuild: do not emit debug info for assembly with LLVM_IAS=1

2020-11-24 Thread Masahiro Yamada
On Tue, Nov 24, 2020 at 3:42 AM Nick Desaulniers wrote: > > Hi Masahiro, > I would appreciate any feedback you have on this patch. > Applied to linux-kbuild. Thanks. > On Fri, Nov 20, 2020 at 3:58 PM Jian Cai wrote: > > > > I also verified that with this patch Chrome OS devices booted with

Re: [PATCH v7 1/2] PCI/ERR: Call pci_bus_reset() before calling ->slot_reset() callback

2020-11-24 Thread Guilherme G. Piccoli
Hi Kuppuswamy Sathyanarayanan (and all involved here), thanks for the patch! I'd like to ask what is the status of this patchset - I just "parachuted" in the issue, and by tracking the linux-pci ML, I found this V7 (and all previous versions since V2). Also, noticed that Jay's email might have

[PATCH] arm64: dts: qcom: c630: Re-enable apps_smmu

2020-11-24 Thread Bjorn Andersson
Re-enable the apps_smmu now that the arm-smmu driver supports stream mapping handoff from firmware. Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts | 5 - 1 file changed, 5 deletions(-) diff --git

Re: [PATCH v4 1/4] clk: sifive: Extract prci core to common base

2020-11-24 Thread kernel test robot
Hi Zong, Thank you for the patch! Yet something to improve: [auto build test ERROR on clk/clk-next] [also build test ERROR on robh/for-next linus/master linux/master v5.10-rc5 next-20201124] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we

Re: [PATCH v5 0/2] NFS: Fix interaction between fs_context and user namespaces

2020-11-24 Thread Sargun Dhillon
On Thu, Nov 12, 2020 at 02:09:50AM -0800, Sargun Dhillon wrote: > Right now, it is possible to mount NFS with an non-matching super block > user ns, and NFS sunrpc user ns. This (for the user) results in an awkward > set of interactions if using anything other than auth_null, where the UIDs >

Re: [PATCH v2 3/4] x86/signal: Prevent an alternate stack overflow before a signal delivery

2020-11-24 Thread Jann Horn
On Tue, Nov 24, 2020 at 7:22 PM Bae, Chang Seok wrote: > > On Nov 20, 2020, at 15:04, Jann Horn wrote: > > On Thu, Nov 19, 2020 at 8:40 PM Chang S. Bae > > wrote: > >> > >> diff --git a/arch/x86/kernel/signal.c b/arch/x86/kernel/signal.c > >> index ee6f1ceaa7a2..cee41d684dc2 100644 > >> ---

Re: [PATCH v40 00/24] Intel SGX foundations

2020-11-24 Thread Dr. Greg
On Sat, Nov 21, 2020 at 10:36:58AM -0800, Andy Lutomirski wrote: Good morning to everyone. > Dr. Greg, I know you like sending these emails, but they're not > really helpful for Linux kernel development. Please see below. I don't necessarily enjoy sending these e-mails and they take time away

Re: [PATCH v2 04/10] seccomp: Migrate to use SYSCALL_WORK flag

2020-11-24 Thread Dmitry Osipenko
24.11.2020 20:55, Gabriel Krisman Bertazi пишет: > Dmitry Osipenko writes: > >> Hi, >> >> This patch broke seccomp on arm32 using linux-next, chromium browser >> doesn't work anymore and there are these errors in KMSG: >> >> Unhandled prefetch abort: breakpoint debug exception (0x002) at ... >>

[PATCH 0/2] Fix spelling of "regulator"

2020-11-24 Thread Michael Klein
Michael Klein (2): Documentation: mcp16502-regulator: fix spelling mistake mfd: fix spelling mistakes .../devicetree/bindings/regulator/mcp16502-regulator.txt | 2 +- drivers/regulator/da9055-regulator.c | 4 ++-- include/linux/mfd/da9055/reg.h

[PATCH 1/2] Documentation: mcp16502-regulator: fix spelling mistake

2020-11-24 Thread Michael Klein
Signed-off-by: Michael Klein --- .../devicetree/bindings/regulator/mcp16502-regulator.txt| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/regulator/mcp16502-regulator.txt

[PATCH 2/2] mfd: fix spelling mistakes

2020-11-24 Thread Michael Klein
Signed-off-by: Michael Klein --- drivers/regulator/da9055-regulator.c | 4 ++-- include/linux/mfd/da9055/reg.h | 4 ++-- include/linux/mfd/si476x-core.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/regulator/da9055-regulator.c

Re: linux-next: Tree for Nov 24 (drivers/pinctrl/pinctrl-microchip-sgpio.c)

2020-11-24 Thread Randy Dunlap
On 11/23/20 11:07 PM, Stephen Rothwell wrote: > Hi all, > > Changes since 20201123: > on i386 or x86_64: # CONFIG_OF is not set ../drivers/pinctrl/pinctrl-microchip-sgpio.c: In function ‘microchip_sgpio_register_bank’: ../drivers/pinctrl/pinctrl-microchip-sgpio.c:597:4: error: ‘struct

Re: [PATCH v2 14/22] x86/fpu/xstate: Inherit dynamic user state when used in the parent

2020-11-24 Thread Len Brown
On Fri, Nov 20, 2020 at 12:08 AM Andy Lutomirski wrote: > > On Thu, Nov 19, 2020 at 3:37 PM Chang S. Bae wrote: > > > > When a new task is created, the kernel copies all the states from the > > parent. If the parent already has any dynamic user state in use, the new > > task has to expand the

Re: [PATCH v2 15/22] x86/fpu/xstate: Support ptracer-induced xstate area expansion

2020-11-24 Thread Andy Lutomirski
On Tue, Nov 24, 2020 at 10:22 AM Bae, Chang Seok wrote: > > > > On Nov 19, 2020, at 21:07, Andy Lutomirski wrote: > > > > On Thu, Nov 19, 2020 at 3:37 PM Chang S. Bae > > wrote: > >> > >> > >> diff --git a/arch/x86/kernel/fpu/regset.c b/arch/x86/kernel/fpu/regset.c > >> index

Re: kernel BUG at fs/ext4/inode.c:LINE!

2020-11-24 Thread Matthew Wilcox
On Tue, Nov 24, 2020 at 08:28:16AM -0800, Hugh Dickins wrote: > On Tue, 24 Nov 2020, Matthew Wilcox wrote: > > On Mon, Nov 23, 2020 at 08:07:24PM -0800, Hugh Dickins wrote: > > > > > > Then on crashing a second time, realized there's a stronger reason against > > > that approach. If my testing

Re: [RESEND PATCH v1] proc: use untagged_addr() for pagemap_read addresses

2020-11-24 Thread Eric W. Biederman
Miles Chen writes: > When we try to visit the pagemap of a tagged userspace pointer, we find > that the start_vaddr is not correct because of the tag. > To fix it, we should untag the usespace pointers in pagemap_read(). > > I tested with 5.10-rc4 and the issue remains. > > My test code is baed

Re: [PATCH v1 0/2] Add support to capture external module's SCM version

2020-11-24 Thread William Mcvicker
On Tue, Nov 24, 2020 at 07:12:40PM +0100, Greg Kroah-Hartman wrote: > On Tue, Nov 24, 2020 at 10:05:16AM -0800, William Mcvicker wrote: > > On Tue, Nov 24, 2020 at 10:31:18AM +0100, Jessica Yu wrote: > > > +++ William Mcvicker [23/11/20 14:13 -0800]: > > > > On Mon, Nov 23, 2020 at 09:02:57AM

Re: [PATCH -tip 10/32] sched: Fix priority inversion of cookied task with sibling

2020-11-24 Thread Joel Fernandes
On Mon, Nov 23, 2020 at 09:41:23AM +1100, Balbir Singh wrote: > On Tue, Nov 17, 2020 at 06:19:40PM -0500, Joel Fernandes (Google) wrote: > > From: Peter Zijlstra > > > > The rationale is as follows. In the core-wide pick logic, even if > > need_sync == false, we need to go look at other CPUs

Re: [PATCH] net: stmmac: add flexible PPS to dwmac 4.10a

2020-11-24 Thread Antonio Borneo
On Tue, 2020-11-24 at 10:20 -0800, Jakub Kicinski wrote: > On Tue, 24 Nov 2020 15:23:27 +0100 Antonio Borneo wrote: > > On Tue, 2020-11-24 at 15:15 +0100, Ahmad Fatoum wrote: > > > On 10.10.19 00:26, Jakub Kicinski wrote: > > > > On Mon, 7 Oct 2019 17:43:06 +0200, Antonio Borneo wrote: > > > >

Re: [PATCH v4] mm: Optional full ASLR for mmap() and mremap()

2020-11-24 Thread Vlastimil Babka
Please CC linux-api on future versions. On 10/26/20 5:05 PM, Topi Miettinen wrote: Writing a new value of 3 to /proc/sys/kernel/randomize_va_space enables full randomization of memory mappings created with mmap(NULL, ...). With 2, the base of the VMA used for such mappings is random, but the

Re: [PATCH 0/5] memory: renesas-rpc-if: Trivial fixes

2020-11-24 Thread Sergei Shtylyov
On 11/24/20 2:34 PM, Lad, Prabhakar wrote: [...] >> This patch series fixes trivial issues in RPC-IF driver. >> >> Cheers, >> Prabhakar >> >> Lad Prabhakar (5): >> memory: renesas-rpc-if: Return correct value to the caller of >> rpcif_manual_xfer() >> memory: renesas-rpc-if: Make

[PATCH] modpost: Make static exports fatal

2020-11-24 Thread Quentin Perret
Using EXPORT_SYMBOL*() on static functions is fundamentally wrong. Modpost currently reports that as a warning, but clearly this is not a pattern we should allow, and all in-tree occurences should have been fixed by now. So, promote the warn() message to fatal() to make sure this never happens

Re: [PATCH v2 15/22] x86/fpu/xstate: Support ptracer-induced xstate area expansion

2020-11-24 Thread Bae, Chang Seok
> On Nov 19, 2020, at 21:07, Andy Lutomirski wrote: > > On Thu, Nov 19, 2020 at 3:37 PM Chang S. Bae wrote: >> >> >> diff --git a/arch/x86/kernel/fpu/regset.c b/arch/x86/kernel/fpu/regset.c >> index 8d863240b9c6..6b9d0c0a266d 100644 >> --- a/arch/x86/kernel/fpu/regset.c >> +++

Re: [PATCH v2 1/3] Revert "perf session: Fix decompression of PERF_RECORD_COMPRESSED records"

2020-11-24 Thread Petr Malat
Hi! On Tue, Nov 24, 2020 at 03:36:45PM +0100, Jiri Olsa wrote: > On Tue, Nov 24, 2020 at 11:29:15AM +0100, Petr Malat wrote: > > Both mmapped and compressed events can be split by the buffer boundary, > > it doesn't make sense to handle them differently. > I'm going to need more than this, if

Re: [PATCH v2 3/4] x86/signal: Prevent an alternate stack overflow before a signal delivery

2020-11-24 Thread Bae, Chang Seok
> On Nov 20, 2020, at 15:04, Jann Horn wrote: > > On Thu, Nov 19, 2020 at 8:40 PM Chang S. Bae wrote: >> >> diff --git a/arch/x86/kernel/signal.c b/arch/x86/kernel/signal.c >> index ee6f1ceaa7a2..cee41d684dc2 100644 >> --- a/arch/x86/kernel/signal.c >> +++ b/arch/x86/kernel/signal.c >> @@

Re: [PATCH] net: stmmac: add flexible PPS to dwmac 4.10a

2020-11-24 Thread Jakub Kicinski
On Tue, 24 Nov 2020 15:23:27 +0100 Antonio Borneo wrote: > On Tue, 2020-11-24 at 15:15 +0100, Ahmad Fatoum wrote: > > On 10.10.19 00:26, Jakub Kicinski wrote: > > > On Mon, 7 Oct 2019 17:43:06 +0200, Antonio Borneo wrote: > > > > All the registers and the functionalities used in the callback >

Re: [PATCH] syscalls: Document OCI seccomp filter interactions & workaround

2020-11-24 Thread Florian Weimer
* Jann Horn: > But if you can't tell whether the more modern syscall failed because > of a seccomp filter, you may be forced to retry with an older syscall > even on systems where the new syscall works fine, and such a fallback > may reduce security or reliability if you're trying to use some

Re: [PATCH] ACPI: PM: Re-enable ACPI GPE if it's already enabled

2020-11-24 Thread Kai-Heng Feng
> On Nov 25, 2020, at 01:48, Rafael J. Wysocki wrote: > > On Tuesday, November 24, 2020 6:31:56 PM CET Kai-Heng Feng wrote: >> >>> On Nov 24, 2020, at 22:00, Rafael J. Wysocki wrote: >>> >>> On Tue, Nov 24, 2020 at 8:36 AM Kai-Heng Feng >>> wrote: Dell Precision 5550 fails to

Re: [PATCH v1 0/2] Add support to capture external module's SCM version

2020-11-24 Thread Greg Kroah-Hartman
On Tue, Nov 24, 2020 at 10:05:16AM -0800, William Mcvicker wrote: > On Tue, Nov 24, 2020 at 10:31:18AM +0100, Jessica Yu wrote: > > +++ William Mcvicker [23/11/20 14:13 -0800]: > > > On Mon, Nov 23, 2020 at 09:02:57AM +, Christoph Hellwig wrote: > > > > On Sat, Nov 21, 2020 at 01:16:49AM

Re: [PATCH] vfio iommu type1: Bypass the vma permission check in vfio_pin_pages_remote()

2020-11-24 Thread Peter Xu
Hi, Jia, On Thu, Nov 19, 2020 at 10:27:37PM +0800, Jia He wrote: > The permission of vfio iommu is different and incompatible with vma > permission. If the iotlb->perm is IOMMU_NONE (e.g. qemu side), qemu will > simply call unmap ioctl() instead of mapping. Hence vfio_dma_map() can't > map a dma

Re: [PATCH] tpm_tis: Disable interrupts on ThinkPad T490s

2020-11-24 Thread James Bottomley
On Tue, 2020-11-24 at 10:52 -0700, Jerry Snitselaar wrote: > Before diving further into that though, does anyone else have an > opinion on ripping out the irq code, and just using polling? We've > been only polling since 2015 anyways. Well only a biased one, obviously: polling causes large

Re: [PATCH kernel v4 1/8] genirq/ipi: Simplify irq_reserve_ipi

2020-11-24 Thread Cédric Le Goater
On 11/24/20 7:17 AM, Alexey Kardashevskiy wrote: > __irq_domain_alloc_irqs() can already handle virq==-1 and free > descriptors if it failed allocating hardware interrupts so let's skip > this extra step. > > Signed-off-by: Alexey Kardashevskiy LGTM, Reviewed-by: Cédric Le Goater Copying the

Re: [PATCH v4 0/5] Bluetooth: Add new MGMT interface for advertising add

2020-11-24 Thread Daniel Winkler
Hi Luiz, Thank you again for the support on this issue. I have just provided a patch series here: https://patchwork.kernel.org/project/bluetooth/list/?series=390411 to include test coverage for the new APIs via mgmt-tester. In addition, as this coverage helped me find a minor bug in returning

Re: [PATCH 2/5] memory: renesas-rpc-if: Make rpcif_enable/disable_rpm() as static inline

2020-11-24 Thread Sergei Shtylyov
Hello! On 11/24/20 2:25 PM, Lad Prabhakar wrote: > Define rpcif_enable_rpm() and rpcif_disable_rpm() as static Not sure why I didn't do it this way myself... > inline in the header instead of exporting it. s/it/them/. > Suggested-by: Pavel Machek > Signed-off-by: Lad Prabhakar > ---

[PATCH v3 3/4] pwm: pca9685: Support staggered output ON times

2020-11-24 Thread Clemens Gruber
The PCA9685 supports staggered LED output ON times to minimize current surges and reduce EMI. When this new option is enabled, the ON times of each channel are delayed by channel number x counter range / 16, which avoids asserting all enabled outputs at the same counter value while still

[PATCH v3 2/4] pwm: pca9685: Set full OFF bits in probe

2020-11-24 Thread Clemens Gruber
The full OFF bits are set by default in the PCA9685 LEDn_OFF_H registers at POR. LEDn_ON_L/H and LEDn_OFF_L default to 0. The datasheet states that LEDn_OFF and LEDn_ON should never be both set to the same values. This patch removes the clearing of the full OFF bit in the probe function. We

[PATCH v3 1/4] pwm: pca9685: Switch to atomic API

2020-11-24 Thread Clemens Gruber
The switch to the atomic API goes hand in hand with a few fixes to previously experienced issues: - The duty cycle is no longer lost after disable/enable (previously the OFF registers were cleared in disable and the user was required to call config to restore the duty cycle settings) - If one

Re: [PATCH] syscalls: Document OCI seccomp filter interactions & workaround

2020-11-24 Thread Florian Weimer
* Mark Wielaard: > For valgrind the issue is statx which we try to use before falling back > to stat64, fstatat or stat (depending on architecture, not all define > all of these). The problem with these fallbacks is that under some > containers (libseccomp versions) they might return EPERM

[PATCH v5 2/5] Bluetooth: Break add adv into two mgmt commands

2020-11-24 Thread Daniel Winkler
This patch adds support for the new advertising add interface, with the first command setting advertising parameters and the second to set advertising data. The set parameters command allows the caller to leave some fields "unset", with a params bitfield defining which params were purposefully

[PATCH v5 1/5] Bluetooth: Add helper to set adv data

2020-11-24 Thread Daniel Winkler
We wish to handle advertising data separately from advertising parameters in our new MGMT requests. This change adds a helper that allows the advertising data and scan response to be updated for an existing advertising instance. Reviewed-by: Sonny Sasaka Signed-off-by: Daniel Winkler ---

[PATCH v5 4/5] Bluetooth: Query LE tx power on startup

2020-11-24 Thread Daniel Winkler
Queries tx power via HCI_LE_Read_Transmit_Power command when the hci device is initialized, and stores resulting min/max LE power in hdev struct. If command isn't available (< BT5 support), min/max values both default to HCI_TX_POWER_INVALID. This patch is manually verified by ensuring BT5

[PATCH v5 5/5] Bluetooth: Change MGMT security info CMD to be more generic

2020-11-24 Thread Daniel Winkler
For advertising, we wish to know the LE tx power capabilities of the controller in userspace, so this patch edits the Security Info MGMT command to be more generic, such that other various controller capabilities can be included in the EIR data. This change also includes the LE min and max tx

Re: [PATCH net v3] ipvs: fix possible memory leak in ip_vs_control_net_init

2020-11-24 Thread Julian Anastasov
Hello, On Tue, 24 Nov 2020, Wang Hai wrote: > kmemleak report a memory leak as follows: > > BUG: memory leak > unreferenced object 0x8880759ea000 (size 256): > backtrace: > [] kmem_cache_zalloc include/linux/slab.h:656 [inline] > []

[PATCH v5 0/5] Bluetooth: Add new MGMT interface for advertising add

2020-11-24 Thread Daniel Winkler
Hi Maintainers, This patch series defines the new two-call MGMT interface for adding new advertising instances. Similarly to the hci advertising commands, a mgmt call to set parameters is expected to be first, followed by a mgmt call to set advertising data/scan response. The members of the

[PATCH v5 3/5] Bluetooth: Use intervals and tx power from mgmt cmds

2020-11-24 Thread Daniel Winkler
This patch takes the min/max intervals and tx power optionally provided in mgmt interface, stores them in the advertisement struct, and uses them when configuring the hci requests. While tx power is not used if extended advertising is unavailable, software rotation will use the min and max

Re: [PATCH bpf-next v3 3/3] bpf: Add a selftest for bpf_ima_inode_hash

2020-11-24 Thread Yonghong Song
On 11/24/20 7:12 AM, KP Singh wrote: From: KP Singh The test does the following: - Mounts a loopback filesystem and appends the IMA policy to measure executions only on this file-system. Restricting the IMA policy to a particular filesystem prevents a system-wide IMA policy change. -

Re: [PATCH v3 12/17] asm-generic/hyperv: update hv_interrupt_entry

2020-11-24 Thread David Woodhouse
On Tue, 2020-11-24 at 17:07 +, Wei Liu wrote: > We will soon use the same structure to handle IO-APIC interrupts as > well. Introduce an enum to identify the source and a data structure for > IO-APIC RTE. > > While at it, update pci-hyperv.c to use the enum. > > No functional change. > >

Re: [PATCH v1 0/2] Add support to capture external module's SCM version

2020-11-24 Thread William Mcvicker
On Tue, Nov 24, 2020 at 10:31:18AM +0100, Jessica Yu wrote: > +++ William Mcvicker [23/11/20 14:13 -0800]: > > On Mon, Nov 23, 2020 at 09:02:57AM +, Christoph Hellwig wrote: > > > On Sat, Nov 21, 2020 at 01:16:49AM +, Will McVicker wrote: > > > > These two patches add module support to

[GIT PULL] s390 updates for 5.10-rc6

2020-11-24 Thread Heiko Carstens
Hi Linus, please pull one important s390 fix for 5.10-rc6. Thanks, Heiko The following changes since commit 78d732e1f326f74f240d416af9484928303d9951: s390/cpum_sf.c: fix file permission for cpum_sfb_size (2020-11-12 12:10:36 +0100) are available in the Git repository at:

Re: [PATCH -tip 19/32] entry/idle: Enter and exit kernel protection during idle entry and exit

2020-11-24 Thread Joel Fernandes
On Tue, Nov 24, 2020 at 05:13:35PM +0100, Peter Zijlstra wrote: > On Tue, Nov 17, 2020 at 06:19:49PM -0500, Joel Fernandes (Google) wrote: > > Add a generic_idle_{enter,exit} helper function to enter and exit kernel > > protection when entering and exiting idle, respectively. > > > > While at it,

Re: [PATCH] syscalls: Document OCI seccomp filter interactions & workaround

2020-11-24 Thread Florian Weimer
* Jann Horn: > +seccomp maintainers/reviewers > [thread context is at > https://lore.kernel.org/linux-api/87lfer2c0b@oldenburg2.str.redhat.com/ > ] > > On Tue, Nov 24, 2020 at 5:49 PM Christoph Hellwig wrote: >> On Tue, Nov 24, 2020 at 03:08:05PM +0100, Mark Wielaard wrote: >> > For valgrind

Re: linux-next boot error: WARNING in prepare_kswapd_sleep

2020-11-24 Thread Lorenzo Stoakes
On Tue, 24 Nov 2020 at 07:54, syzbot wrote: > syzbot found the following issue on: > > HEAD commit:d9137320 Add linux-next specific files for 20201124 This appears to be a product of 4b2904f3 ("mm/memcg: add missed warning in mem_cgroup_lruvec") addin

Re: [PATCH v2 1/2] arm64: dts: qcom: sc7180-lite: Tweak DDR/L3 scaling on SC7180-lite

2020-11-24 Thread Doug Anderson
Hi, On Mon, Nov 23, 2020 at 10:21 PM Sibi Sankar wrote: > > Tweak the DDR/L3 bandwidth votes on the lite variant of the SC7180 SoC > since the gold cores only support frequencies upto 2.1 GHz. > > Signed-off-by: Sibi Sankar > --- > > V2: > * Updated the lite ddr/l3 cpufreq map to have better

Re: [PATCH v2 2/2] arm64: dts: qcom: sc7180: Add DDR/L3 votes for the pro variant

2020-11-24 Thread Doug Anderson
Hi, On Mon, Nov 23, 2020 at 10:21 PM Sibi Sankar wrote: > > Add DDR/L3 bandwidth votes for the pro variant of SC7180 SoC, as it support > frequencies upto 2.5 GHz. > > Signed-off-by: Sibi Sankar > --- > arch/arm64/boot/dts/qcom/sc7180.dtsi | 5 + > 1 file changed, 5 insertions(+)

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