[PATCH 15/19] drm/nouveau/nv50_display: Remove superfluous prototype for local static functions

2021-03-19 Thread Lee Jones
Fixes the following build error: drivers/gpu/drm/nouveau/dispnv50/disp.c:2530:1: error: conflicting types for ‘nv50_display_fini’ In file included from drivers/gpu/drm/nouveau/dispnv50/disp.c:71: drivers/gpu/drm/nouveau/nv50_display.h:36:6: note: previous declaration of ‘nv50_display_fini’ wa

[PATCH 04/19] include: drm: drm_atomic: Make use of 'new_plane_state'

2021-03-19 Thread Lee Jones
In the macro for_each_oldnew_plane_in_state() 'new_plane_state' is provided as a container for state->planes[i].new_state, but is not utilised in some use-cases, so we fake-use it instead. Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.

[PATCH 18/19] drm/nouveau/nouveau_svm: Remove unused variable 'ret' from void function

2021-03-19 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/nouveau_svm.c: In function ‘nouveau_pfns_map’: drivers/gpu/drm/nouveau/nouveau_svm.c:810:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter Cc: dri

[PATCH 19/19] drm/nouveau/nouveau_ioc32: Demote kernel-doc abuse to standard comment block

2021-03-19 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/nouveau_ioc32.c:52: warning: Function parameter or member 'filp' not described in 'nouveau_compat_ioctl' drivers/gpu/drm/nouveau/nouveau_ioc32.c:52: warning: Function parameter or member 'cmd' not described in 'nouveau_co

[PATCH 07/19] drm/amd/display/dc/calcs/dce_calcs: Remove some large variables from the stack

2021-03-19 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dce_calcs.c: In function ‘bw_calcs_init’: drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dce_calcs.c:2726:1: warning: the frame size of 1336 bytes is larger than 1024 bytes [-Wframe-larger-than=] C

[PATCH 10/19] drm/nouveau/nouveau_bo: Remove unused variables 'dev'

2021-03-19 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/nouveau_bo.c: In function ‘nouveau_ttm_tt_populate’: drivers/gpu/drm/nouveau/nouveau_bo.c:1228:17: warning: variable ‘dev’ set but not used [-Wunused-but-set-variable] drivers/gpu/drm/nouveau/nouveau_bo.c: In function ‘no

[PATCH 06/19] drm/amd/display/dc/calcs/dce_calcs: Move some large variables from the stack to the heap

2021-03-19 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dce_calcs.c: In function ‘calculate_bandwidth’: drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dce_calcs.c:2016:1: warning: the frame size of 1216 bytes is larger than 1024 bytes [-Wframe-larger-tha

[PATCH 14/19] drm/nouveau/dispnv50/headc57d: Make local function 'headc57d_olut' static

2021-03-19 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/dispnv50/headc57d.c:173:1: warning: no previous prototype for ‘headc57d_olut’ [-Wmissing-prototypes] Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter Cc: Lyude Paul Cc: dri-de...@lists.freedesktop.org Cc: nouv...@list

[PATCH 11/19] drm/nouveau/nouveau_display: Remove set but unused variable 'width'

2021-03-19 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/nouveau_display.c: In function ‘nouveau_framebuffer_new’: drivers/gpu/drm/nouveau/nouveau_display.c:309:15: warning: variable ‘width’ set but not used [-Wunused-but-set-variable] Cc: Ben Skeggs Cc: David Airlie Cc: Dan

[PATCH 16/19] drm/nouveau/dispnv50/disp: Include header containing our prototypes

2021-03-19 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/dispnv50/disp.c:2599:1: warning: no previous prototype for ‘nv50_display_create’ [-Wmissing-prototypes] Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter Cc: dri-de...@lists.freedesktop.org Cc: nouv...@lists.freedesktop

[PATCH 17/19] drm/nouveau/nouveau_ioc32: File headers are not good candidates for kernel-doc

2021-03-19 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/nouveau_ioc32.c:2: warning: Cannot understand * file mga_ioc32.c Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter Cc: dri-de...@lists.freedesktop.org Cc: nouv...@lists.freedesktop.org Signed-off-by: Lee Jones --- dr

[PATCH 12/19] drm/nouveau/dispnv04/crtc: Demote non-conforming kernel-doc headers

2021-03-19 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/dispnv04/crtc.c:462: warning: Function parameter or member 'crtc' not described in 'nv_crtc_mode_set_regs' drivers/gpu/drm/nouveau/dispnv04/crtc.c:462: warning: Function parameter or member 'mode' not described in 'nv_crt

[tip:master] BUILD SUCCESS 8cd6e39544454f494981973eed15943c55382530

2021-03-19 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git master branch HEAD: 8cd6e39544454f494981973eed15943c55382530 Merge branch 'x86/seves' elapsed time: 720m configs tested: 127 configs skipped: 2 The following configs have been built successfully. More configs may be tested

Re: [PATCH v8] i2c: virtio: add a virtio i2c frontend driver

2021-03-19 Thread Arnd Bergmann
On Fri, Mar 19, 2021 at 7:35 AM Viresh Kumar wrote: > > On 19-03-21, 14:29, Jie Deng wrote: > > I also see example drivers/i2c/busses/i2c-xiic.c. Some people might think > > this way is more clearer than > > > > updating each member in probe. Basically, I think it's just a matter of > > personal p

Re: macb broken on HiFive Unleashed

2021-03-19 Thread Yixun Lan
HI Andreas: On Wed, Mar 17, 2021 at 4:27 PM Andreas Schwab wrote: > > It turned out to be a broken clock driver. > what's the exact root cause? and any solution? seems I face the same issue, upgrade kernel to 5.11, then eth0 fail to bring up Yixun Lan

Re: [PATCH v7 15/17] media: uvcvideo: Refactor __uvc_ctrl_commit

2021-03-19 Thread Hans Verkuil
On 18/03/2021 21:29, Ricardo Ribalda wrote: > Take a v4l2_ext_controls instead of an array of controls, this way we > can access the error_idx in future changes. > > Signed-off-by: Ricardo Ribalda > --- > drivers/media/usb/uvc/uvc_ctrl.c | 5 ++--- > drivers/media/usb/uvc/uvc_v4l2.c | 8 ++

Re: [PATCH v2 2/2] selftests/kvm: add set_boot_cpu_id test

2021-03-19 Thread Emanuele Giuseppe Esposito
On 18/03/2021 17:20, Andrew Jones wrote: On Thu, Mar 18, 2021 at 04:16:24PM +0100, Emanuele Giuseppe Esposito wrote: Test for the KVM_SET_BOOT_CPU_ID ioctl. Check that it correctly allows to change the BSP vcpu. v1 -> v2: - remove unnecessary printf - move stage for loop inside run_vcpu - te

Re: [PATCH] scripts/coccinelle: Add script to detect sign extension

2021-03-19 Thread Julia Lawall
On Fri, 19 Mar 2021, Evan Benn wrote: > Hello, > > I am attempting to create a coccinelle script that will detect possibly buggy > usage of the bitwise operators where integer promotion may result in bugs, > usually due to sign extension. > > I know this script needs a lot more work, but I am j

[PATCH 2/3] arm64: dts: add one property to specify the imx8mq pcie phy voltage

2021-03-19 Thread Richard Zhu
Both 1.8v and 3.3v power supplies can be feeded to i.MX8MQ PCIe PHY. In default, the PCIE_VPH voltage is suggested to be 1.8v refer to data sheet. When PCIE_VPH is supplied by 3.3v in the HW schematic design, the VREG_BYPASS bits of GPR registers should be cleared from default value 1b'1 to 1b'0.

[PATCH 3/3] PCI: imx: clear vreg bypass when pcie vph voltage is 3v3

2021-03-19 Thread Richard Zhu
Both 1.8v and 3.3v power supplies can be feeded to i.MX8MQ PCIe PHY. In default, the PCIE_VPH voltage is suggested to be 1.8v refer to data sheet. When PCIE_VPH is supplied by 3.3v in the HW schematic design, the VREG_BYPASS bits of GPR registers should be cleared from default value 1b'1 to 1b'0.

[PATCH 1/3] dt-bindings: imx6q-pcie: specify the imx8mq pcie phy voltage

2021-03-19 Thread Richard Zhu
Both 1.8v and 3.3v power supplies can be feeded to i.MX8MQ PCIe PHY. In default, the PCIE_VPH voltage is suggested to be 1.8v refer to data sheet. When PCIE_VPH is supplied by 3.3v in the HW schematic design, the VREG_BYPASS bits of GPR registers should be cleared from default value 1b'1 to 1b'0.

[PATCH] md/raid6: Couple of typo fixes

2021-03-19 Thread Bhaskar Chowdhury
s/boudary/boundary/ s/compliled/compiled/ Signed-off-by: Bhaskar Chowdhury --- crypto/async_tx/raid6test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/async_tx/raid6test.c b/crypto/async_tx/raid6test.c index 66db82e5a3b1..c9d218e53bcb 100644 --- a/crypto/asyn

Re: [PATCH v3 9/9] dt-bindings: serial: stm32: add phandle 'bluetooth' to fix dtbs_check warrning

2021-03-19 Thread Alexandre TORGUE
Hi Dillon On 3/19/21 5:28 AM, dillon min wrote: No changes, Just loop lkp in. Hi lkp, Sorry for the late reply, thanks for your report. This patch is to fix the build warning message. Thanks. Regards On Mon, Mar 15, 2021 at 5:45 PM wrote: From: dillon min when run make dtbs_check with

Re: [PATCH v1 1/5] mfd: intel_quark_i2c_gpio: revert "Constify static struct resources"

2021-03-19 Thread Lee Jones
On Thu, 18 Mar 2021, Andy Shevchenko wrote: > On Tue, Mar 02, 2021 at 09:59:03PM +0100, Rikard Falkeborn wrote: > > On Tue, Mar 02, 2021 at 03:56:16PM +0200, Andy Shevchenko wrote: > > > The structures are used as place holders, so they are modified at > > > run-time. > > > Obviously they may not

Re: [PATCH V3 5/5] arm64: dts: renesas: beacon kits: Setup AVB refclk

2021-03-19 Thread Sergei Shtylyov
On 18.03.2021 15:44, Adam Ford wrote: The AVB refererence clock assumes an external clock that runs reference automatically. Because the Versaclock is wired to provide the AVB refclock, the device tree needs to reference it in order for the driver to start the clock. Signed-off-by: Adam Fo

[PATCH] drm/nouveau: Remove unused variable ret

2021-03-19 Thread Jiapeng Chong
Fix the following coccicheck warnings: ./drivers/gpu/drm/nouveau/nouveau_bios.c:2048:5-8: Unneeded variable: "ret". Return "0" on line 2061. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/gpu/drm/nouveau/nouveau_bios.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)

Re: macb broken on HiFive Unleashed

2021-03-19 Thread Yixun Lan
HI Andreas: On Fri, Mar 19, 2021 at 8:28 AM Yixun Lan wrote: > > HI Andreas: > > On Wed, Mar 17, 2021 at 4:27 PM Andreas Schwab wrote: > > > > It turned out to be a broken clock driver. > > > > what's the exact root cause? and any solution? > seems I face the same issue, upgrade kernel to 5.11,

Re: [PATCH] x86/sgx: Avoid returning NULL in __sgx_alloc_epc_page()

2021-03-19 Thread Borislav Petkov
On Fri, Mar 19, 2021 at 05:06:02PM +1300, Kai Huang wrote: > Below kernel bug happened when running simple SGX application when EPC > is under pressure. The root cause is with commit 5b8719504e3a > ("x86/sgx: Add a basic NUMA allocation scheme to sgx_alloc_epc_page()"), > __sgx_alloc_epc_page() re

Re: [PATCH v7 0/5] clk: add driver for the SiFive FU740

2021-03-19 Thread Yixun Lan
HI Zong, Andreas: On Fri, Mar 19, 2021 at 8:21 AM Zong Li wrote: > > On Thu, Mar 18, 2021 at 10:07 AM Zong Li wrote: > > > > On Wed, Mar 17, 2021 at 3:45 AM Andreas Schwab > > wrote: > > > > > > On Dez 09 2020, Zong Li wrote: > > > > > > > Add a driver for the SiFive FU740 PRCI IP block, which

include/linux/unaligned/be_byteshift.h:41:19: error: redefinition of 'get_unaligned_be16'

2021-03-19 Thread kernel test robot
Hi Linus, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 8b12a62a4e3ed4ae99c715034f557eb391d6b196 commit: de8860b1ed4701ea7e6f760f02d79ca6a3b656a1 iio: magnetometer: Add driver for Yamaha YAS530 date: 10 weeks ag

Re: [PATCH v7 0/5] clk: add driver for the SiFive FU740

2021-03-19 Thread Andreas Schwab
On Mär 19 2021, Zong Li wrote: > Could you please point me out how to test the ethernet from your side? Please use . Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2

Re: macb broken on HiFive Unleashed

2021-03-19 Thread Andreas Schwab
On Mär 19 2021, Yixun Lan wrote: > what's the exact root cause? and any solution? Try reverting the five commits starting with 732374a0b440d9a79c8412f318a25cd37ba6f4e2. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "A

Re: [RFC PATCH v2 net-next 14/16] net: dsa: don't set skb->offload_fwd_mark when not offloading the bridge

2021-03-19 Thread DENG Qingfang
On Fri, Mar 19, 2021 at 01:18:27AM +0200, Vladimir Oltean wrote: > From: Vladimir Oltean > > DSA has gained the recent ability to deal gracefully with upper > interfaces it cannot offload, such as the bridge, bonding or team > drivers. When such uppers exist, the ports are still in standalone mod

[PATCH] KVM: x86: Remove unused variable rc

2021-03-19 Thread Jiapeng Chong
Fix the following coccicheck warnings: ./arch/x86/kvm/emulate.c:4985:5-7: Unneeded variable: "rc". Return "X86EMUL_CONTINUE" on line 5019. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- arch/x86/kvm/emulate.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arc

Re: [PATCH] futex: use wake_up_process() instead of wake_up_state()

2021-03-19 Thread Mike Galbraith
On Fri, 2021-03-19 at 06:21 +0100, Mike Galbraith wrote: > On Fri, 2021-03-19 at 10:59 +0800, Wang Qing wrote: > > Using wake_up_process() is more simpler and friendly, > > and it is more convenient for analysis and statistics > > I likely needn't bother, and don't have a NAK to paste on this thing

Re: [PATCH net V2 1/1] net: phy: fix invalid phy id when probe using C22

2021-03-19 Thread Russell King - ARM Linux admin
On Fri, Mar 19, 2021 at 08:40:45AM +0100, Heiner Kallweit wrote: > Is there a specific reason why c22 is probed first? Reversing the order > would solve the issue we speak about here. > c45-probing of c22-only PHY's shouldn't return false positives > (at least at a first glance). That would likely

[tip: x86/sgx] x86/sgx: Fix uninitialized 'nid' variable

2021-03-19 Thread tip-bot2 for Dave Hansen
The following commit has been merged into the x86/sgx branch of tip: Commit-ID: 262e88b63f55e3d2bacdf629874a0af486775572 Gitweb: https://git.kernel.org/tip/262e88b63f55e3d2bacdf629874a0af486775572 Author:Dave Hansen AuthorDate:Thu, 18 Mar 2021 14:49:33 -07:00 Committer:

[tip: x86/sgx] x86/sgx: Add a basic NUMA allocation scheme to sgx_alloc_epc_page()

2021-03-19 Thread tip-bot2 for Jarkko Sakkinen
The following commit has been merged into the x86/sgx branch of tip: Commit-ID: 323950a8a98b492ac2fa168e8e4c0becfb4554dd Gitweb: https://git.kernel.org/tip/323950a8a98b492ac2fa168e8e4c0becfb4554dd Author:Jarkko Sakkinen AuthorDate:Thu, 18 Mar 2021 01:53:31 +02:00 Committer

Re: [PATCH v4] hwmon: corsair-psu: add support for critical values

2021-03-19 Thread Wilken Gottwalt
On Thu, 18 Mar 2021 12:01:50 -0700 Guenter Roeck wrote: > On Thu, Mar 18, 2021 at 03:17:14PM +0100, Wilken Gottwalt wrote: > > Adds support for reading the critical values of the temperature sensors > > and the rail sensors (voltage and current) once and caches them. Updates > > the naming of the

RE: [drm/i915/dp] 4a8d79901d: WARNING:at_drivers/gpu/drm/i915/display/intel_display_power.c:#assert_can_disable_lcpll[i915]

2021-03-19 Thread Sarvela, Tomi P
linux-5.12-rc3 has fixed at least one long-standing issue with BDW-samus (Google Chromebook Pixel 2015 I think): https://intel-gfx-ci.01.org/tree/linus/combined-alt.html https://intel-gfx-ci.01.org/tree/linus/fi-bdw-samus.html I can test anything on this type of host, just explain me the reprod

[PATCH] staging: rtl8712: Fix a possible NULL pointer dereference in function r8712_joinbss_event_callback

2021-03-19 Thread Lee Gibson
GCC 10 analyzer reports a warning: dereference of NULL The function r8712_find_network can return NULL and is usually checked but no check is present is this case. Fix by adding the check. Signed-off-by: Lee Gibson --- drivers/staging/rtl8712/rtl871x_mlme.c | 3 ++- 1 file changed, 2 insertions(

Re: [PATCH v19 7/8] mm: hugetlb: add a kernel parameter hugetlb_free_vmemmap

2021-03-19 Thread Oscar Salvador
On Mon, Mar 15, 2021 at 05:20:14PM +0800, Muchun Song wrote: > --- a/arch/x86/mm/init_64.c > +++ b/arch/x86/mm/init_64.c > @@ -34,6 +34,7 @@ > #include > #include > #include > +#include > > #include > #include > @@ -1557,7 +1558,8 @@ int __meminit vmemmap_populate(unsigned long start,

Re: fuse: kernel BUG at mm/truncate.c:763!

2021-03-19 Thread Luis Henriques
On Thu, Mar 18, 2021 at 11:55:43AM +, Matthew Wilcox wrote: > On Thu, Mar 18, 2021 at 11:29:28AM +, Luis Henriques wrote: > > On Thu, Mar 18, 2021 at 02:03:02PM +0300, Kirill A. Shutemov wrote: > > > On Thu, Mar 18, 2021 at 11:59:59AM +0100, Miklos Szeredi wrote: > > > > > [16247.536348] pa

Re: [PATCH] x86/sgx: Avoid returning NULL in __sgx_alloc_epc_page()

2021-03-19 Thread Kai Huang
On Fri, 19 Mar 2021 09:45:23 +0100 Borislav Petkov wrote: > On Fri, Mar 19, 2021 at 05:06:02PM +1300, Kai Huang wrote: > > Below kernel bug happened when running simple SGX application when EPC > > is under pressure. The root cause is with commit 5b8719504e3a > > ("x86/sgx: Add a basic NUMA alloca

Re: [PATCH v7 01/17] media: v4l2-ioctl: Fix check_ext_ctrls

2021-03-19 Thread Hans Verkuil
On 18/03/2021 21:29, Ricardo Ribalda wrote: > Drivers that do not use the ctrl-framework use this function instead. > > Fix the following issues: > > - Do not check for multiple classes when getting the DEF_VAL. > - Return -EINVAL for request_api calls > - Default value cannot be changed, return

Re: [PATCH] sched: Warn on long periods of pending need_resched

2021-03-19 Thread Mel Gorman
On Wed, Mar 17, 2021 at 05:06:31PM -0700, Josh Don wrote: > On Wed, Mar 17, 2021 at 1:25 AM Ingo Molnar wrote: > > > > * Josh Don wrote: > > > > > If resched_latency_warn_ms is set to the default value, only one warning > > > will be produced per boot. > > > > Looks like a value hack, should prob

[PATCH] usb: dwc2: Using tab instead of blank

2021-03-19 Thread Zeng Tao
Signed-off-by: Zeng Tao --- drivers/usb/dwc2/gadget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c index ad4c943..53406f0 100644 --- a/drivers/usb/dwc2/gadget.c +++ b/drivers/usb/dwc2/gadget.c @@ -3380,7 +3380,7 @@ void

Re: [RFC PATCH v2 net-next 14/16] net: dsa: don't set skb->offload_fwd_mark when not offloading the bridge

2021-03-19 Thread Vladimir Oltean
On Fri, Mar 19, 2021 at 04:52:31PM +0800, DENG Qingfang wrote: > On Fri, Mar 19, 2021 at 01:18:27AM +0200, Vladimir Oltean wrote: > > From: Vladimir Oltean > > > > DSA has gained the recent ability to deal gracefully with upper > > interfaces it cannot offload, such as the bridge, bonding or team

Re: [PATCH v4 2/4] dt-bindings: arm64: dts: mediatek: Add mt8183-kukui-jacuzzi-juniper

2021-03-19 Thread Enric Balletbo i Serra
Hi Hsin-Yi, Thank you for your patch. On 19/3/21 4:52, Hsin-Yi Wang wrote: > mt8183-kukui-jacuzzi-juniper board also known as Acer Chromebook Spin 311, > using mediatek mt8183 SoC. > > Signed-off-by: Hsin-Yi Wang Reviewed-by: Enric Balletbo i Serra > --- > Documentation/devicetree/bindings/

Re: [PATCH v2 05/14] objtool: Per arch retpoline naming

2021-03-19 Thread Peter Zijlstra
On Thu, Mar 18, 2021 at 09:38:14PM -0500, Josh Poimboeuf wrote: > On Thu, Mar 18, 2021 at 06:11:08PM +0100, Peter Zijlstra wrote: > > @@ -872,7 +877,7 @@ static int add_jump_destinations(struct > > } else if (reloc->sym->type == STT_SECTION) { > > dest_sec = reloc->s

Re: [PATCH 1/1] iommu/vt-d: Fix lockdep splat in intel_pasid_get_entry()

2021-03-19 Thread Joerg Roedel
Hi Baolu, On Fri, Mar 19, 2021 at 09:02:34AM +0800, Lu Baolu wrote: > This code modifies the pasid directory entry. The pasid directory > entries are allocated on demand and will never be freed. > > > What you need to do here is to retry the whole path by adding a goto > > to before the first ge

Re: [PATCH] usb: dwc2: Using tab instead of blank

2021-03-19 Thread Minas Harutyunyan
On 3/19/2021 1:00 PM, Zeng Tao wrote: > Signed-off-by: Zeng Tao Acked-by: Minas Harutyunyan > --- > drivers/usb/dwc2/gadget.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c > index ad4c943..53406f0 100644 > ---

Re: [PATCH v7 13/17] media: uvcvideo: Return -EACCES to inactive controls

2021-03-19 Thread Hans Verkuil
On 18/03/2021 21:29, Ricardo Ribalda wrote: > If a control is inactive return -EACCES to let the userspace know that > the value will not be applied automatically when the control is active > again. > > Reviewed-by: Hans Verkuil > Suggested-by: Hans Verkuil > Signed-off-by: Ricardo Ribalda > --

Re: [PATCH v2 2/2] selftests/kvm: add set_boot_cpu_id test

2021-03-19 Thread Andrew Jones
On Fri, Mar 19, 2021 at 09:34:40AM +0100, Emanuele Giuseppe Esposito wrote: > On 18/03/2021 17:20, Andrew Jones wrote: > > On Thu, Mar 18, 2021 at 04:16:24PM +0100, Emanuele Giuseppe Esposito wrote: > > > +static void run_vm_bsp(uint32_t bsp_vcpu) > > > > I think the 'bsp' suffixes and prefixes ma

Re: [PATCH] x86/sgx: Avoid returning NULL in __sgx_alloc_epc_page()

2021-03-19 Thread Kai Huang
On Fri, 19 Mar 2021 22:01:41 +1300 Kai Huang wrote: > On Fri, 19 Mar 2021 09:45:23 +0100 Borislav Petkov wrote: > > On Fri, Mar 19, 2021 at 05:06:02PM +1300, Kai Huang wrote: > > > Below kernel bug happened when running simple SGX application when EPC > > > is under pressure. The root cause is wit

Re:Re: [PATCH] futex: use wake_up_process() instead of wake_up_state()

2021-03-19 Thread 王擎
>> On Fri, 2021-03-19 at 10:59 +0800, Wang Qing wrote: >> > Using wake_up_process() is more simpler and friendly, >> > and it is more convenient for analysis and statistics >> >> I likely needn't bother, and don't have a NAK to paste on this thing, >> but here's another copy of my NOPE for yet ano

[PATCH] crypto: Correct an error in the comments

2021-03-19 Thread Meng Yu
Remove repeated word 'bit' in comments. Signed-off-by: Meng Yu --- crypto/ecc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/ecc.c b/crypto/ecc.c index 0798a18..63ba70b 100644 --- a/crypto/ecc.c +++ b/crypto/ecc.c @@ -137,7 +137,7 @@ bool vli_is_zero(const u64 *vli,

[PATCH] documentation/kvm: additional explanations on KVM_SET_BOOT_CPU_ID

2021-03-19 Thread Emanuele Giuseppe Esposito
The ioctl KVM_SET_BOOT_CPU_ID fails when called after vcpu creation. Add this explanation in the documentation. Signed-off-by: Emanuele Giuseppe Esposito --- Documentation/virt/kvm/api.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/virt/kvm/api.rst b/Docu

RE: [PATCH 03/11] i2c: imx-lpi2c: add ipg clk for lpi2c driver

2021-03-19 Thread Aisheng Dong
> > > + > > > + lpi2c_imx->clk_ipg = devm_clk_get(&pdev->dev, "ipg"); > > > + if (IS_ERR(lpi2c_imx->clk_ipg)) { > > > + dev_err(&pdev->dev, "can't get I2C ipg clock\n"); > > > + return PTR_ERR(lpi2c_imx->clk_ipg); > > > } > > > > Will this break exist dts? > > It will not break t

[PATCH] Updated locking documentation for journal_head

2021-03-19 Thread Alexander Lochmann
LockDoc's results show that t_list_lock has been replaced by j_list_lock for b_next_transaction, b_tnext, and b_tprev. We, therefore, updated the documentation accordingly. Signed-off-by: Alexander Lochmann Signed-off-by: Horst Schirmeier --- include/linux/journal-head.h | 4 ++-- 1 file change

Re: [PATCH 12/15] staging: rtl8723bs: remove unnecessary logging in os_dep/ioctl_cfg80211.c

2021-03-19 Thread Dan Carpenter
On Thu, Mar 18, 2021 at 04:26:07PM +0100, Fabio Aiuto wrote: > @@ -1405,7 +1398,6 @@ void rtw_cfg80211_surveydone_event_callback(struct > adapter *padapter) > struct wlan_network*pnetwork = NULL; > > #ifdef DEBUG_CFG80211 > - DBG_8192C("%s\n", __func__); > #endif The #ifdef can

Re: [PATCH 5/9] objtool: Rework rebuild_reloc logic

2021-03-19 Thread Peter Zijlstra
On Thu, Mar 18, 2021 at 12:38:42PM -0500, Josh Poimboeuf wrote: > On Thu, Mar 18, 2021 at 06:04:25PM +0100, Peter Zijlstra wrote: > > On Thu, Mar 18, 2021 at 11:36:40AM -0500, Josh Poimboeuf wrote: > > > > I was thinking you could get a section changed without touching > > > > relocations, but whil

Re: [PATCH v1] mtd: nand: Fix BBT update issue

2021-03-19 Thread Miquel Raynal
Hi Yoshio, + Patrick Yoshio Furuyama wrote on Tue, 16 Feb 2021 09:37:55 +0900: > Fixed issue of manages BBT (Bad Block Table). > It didn't mark correctly when a specific block was bad block. > > This issue occurs when the bad block mark (3-bit chunk) is > crosses over 32 bit (e.g. Block10, Bl

ERROR: modpost: "__aeabi_unwind_cpp_pr0" undefined!

2021-03-19 Thread kernel test robot
date: 5 months ago config: arm-randconfig-r003-20210319 (attached as .config) compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project fcc1ce00931751ac02498986feb37744e9ace8de) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin

[PATCH] scsi: csiostor: Fix a typo

2021-03-19 Thread Bhaskar Chowdhury
s/boudaries/boundaries/ Signed-off-by: Bhaskar Chowdhury --- drivers/scsi/csiostor/csio_hw_t5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/csiostor/csio_hw_t5.c b/drivers/scsi/csiostor/csio_hw_t5.c index 1df8891d3725..86fded97d799 100644 --- a/drivers/scs

Re: [Linuxarm] [PATCH net] net: sched: fix packet stuck problem for lockless qdisc

2021-03-19 Thread Yunsheng Lin
On 2021/3/18 14:53, Yunsheng Lin wrote: > Lockless qdisc has below concurrent problem: > cpu0 cpu1 > . . > q->enqueue . > . . >qdisc_run_begin(). > .

[PATCH v5 5/5] arm64/Kconfig: Introduce ARCH_MHP_MEMMAP_ON_MEMORY_ENABLE

2021-03-19 Thread Oscar Salvador
Enable arm64 platform to use the MHP_MEMMAP_ON_MEMORY feature. Signed-off-by: Oscar Salvador Reviewed-by: David Hildenbrand --- arch/arm64/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 1f212b47a48a..c4ade8b47cf8 100644 --- a/arch/ar

[PATCH v5 1/5] mm,memory_hotplug: Allocate memmap from the added memory range

2021-03-19 Thread Oscar Salvador
Physical memory hotadd has to allocate a memmap (struct page array) for the newly added memory section. Currently, alloc_pages_node() is used for those allocations. This has some disadvantages: a) an existing memory is consumed for that purpose (eg: ~2MB per 128MB memory section on x86_64) b

[PATCH v5 0/5] Allocate memmap from hotadded memory (per device)

2021-03-19 Thread Oscar Salvador
Changes from v4 -> v5: - Addressed feedback from David (patch#1) - Tested on x86_64 with different struct page sizes and on large/small memory blocks - Tested on arm64 with 4K, 64K (with and without THP) and with different struct page sizes NOTE: We might need to make this feature and hu

[PATCH v5 2/5] acpi,memhotplug: Enable MHP_MEMMAP_ON_MEMORY when supported

2021-03-19 Thread Oscar Salvador
Let the caller check whether it can pass MHP_MEMMAP_ON_MEMORY by checking mhp_supports_memmap_on_memory(). MHP_MEMMAP_ON_MEMORY can only be set in case ARCH_MHP_MEMMAP_ON_MEMORY_ENABLE is enabled, the architecture supports altmap, and the range to be added spans a single memory block. Signed-off-b

[PATCH v5 4/5] x86/Kconfig: Introduce ARCH_MHP_MEMMAP_ON_MEMORY_ENABLE

2021-03-19 Thread Oscar Salvador
Enable x86_64 platform to use the MHP_MEMMAP_ON_MEMORY feature. Signed-off-by: Oscar Salvador Reviewed-by: David Hildenbrand --- arch/x86/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 2792879d398e..9f0211df1746 100644 --- a/arch/x86/Kco

[PATCH v5 3/5] mm,memory_hotplug: Add kernel boot option to enable memmap_on_memory

2021-03-19 Thread Oscar Salvador
Self stored memmap leads to a sparse memory situation which is unsuitable for workloads that requires large contiguous memory chunks, so make this an opt-in which needs to be explicitly enabled. To control this, let memory_hotplug have its own memory space, as suggested by David, so we can add mem

Re: [PATCH v23 22/28] x86/cet/shstk: User-mode shadow stack support

2021-03-19 Thread Borislav Petkov
On Thu, Mar 18, 2021 at 12:05:58PM -0700, Yu, Yu-cheng wrote: > Maybe I would add comments here. Yap. Also, looking forward in the set, I see prctl_set() and that is also done on current so should be ok. In any case, yes, documenting the assumptions and expectations wrt current here is a good id

Re: [RFC PATCH v2 net-next 14/16] net: dsa: don't set skb->offload_fwd_mark when not offloading the bridge

2021-03-19 Thread DENG Qingfang
On Fri, Mar 19, 2021 at 5:06 PM Vladimir Oltean wrote: > > This is a good point actually, which I thought about, but did not give a > lot of importance to for the moment. Either we go full steam ahead with > assisted learning on the CPU port for everybody, and we selectively > learn the addresses

[PATCH v3 2/7] ASoC: codecs: wcd-clsh: add new version support

2021-03-19 Thread Srinivas Kandagatla
>From WCD937X Class H controller has changed significantly, so add support to this new version for WCD937X and WCD938X Codecs. Signed-off-by: Srinivas Kandagatla --- sound/soc/codecs/wcd-clsh-v2.c | 350 - sound/soc/codecs/wcd-clsh-v2.h | 16 ++ 2 files changed,

[PATCH v3 1/7] ASoC: dt-bindings: wcd938x: add bindings for wcd938x

2021-03-19 Thread Srinivas Kandagatla
Qualcomm WCD9380/WCD9385 Codec is a standalone Hi-Fi audio codec IC connected over SoundWire. This device has two SoundWire device RX and TX respectively, supporting 4 x ADCs, ClassH, Ear, Aux PA, 2xHPH, 7 x TX diff inputs, 8 DMICs, MBHC. Signed-off-by: Srinivas Kandagatla --- .../bindings/sound

[PATCH v3 6/7] ASoC: codecs: wcd938x: add capture dapm widgets

2021-03-19 Thread Srinivas Kandagatla
This patch adds required dapm widgets for capture path. Signed-off-by: Srinivas Kandagatla --- sound/soc/codecs/wcd938x.c | 796 + 1 file changed, 796 insertions(+) diff --git a/sound/soc/codecs/wcd938x.c b/sound/soc/codecs/wcd938x.c index 59e41296a489..31e3c

[PATCH v3 4/7] ASoC: codecs: wcd938x: add basic controls

2021-03-19 Thread Srinivas Kandagatla
This patch adds basic controls found in wcd938x codec. Signed-off-by: Srinivas Kandagatla --- sound/soc/codecs/wcd938x.c | 415 + 1 file changed, 415 insertions(+) diff --git a/sound/soc/codecs/wcd938x.c b/sound/soc/codecs/wcd938x.c index 9e8d588e2235..9b5dda

[PATCH v3 0/7] ASoC: codecs: add wcd938x support

2021-03-19 Thread Srinivas Kandagatla
This patchset adds support for Qualcomm WCD938X codec. Qualcomm WCD9380/WCD9385 Codec is a standalone Hi-Fi audio codec IC connected over SoundWire. This device has two SoundWire devices, RX and TX respectively supporting 4 x ADCs, ClassH, Ear, Aux PA, 2xHPH, 7 x TX diff inputs, 8 DMICs and MBHC.

[PATCH v3 7/7] ASoC: codecs: wcd938x: add audio routing

2021-03-19 Thread Srinivas Kandagatla
This patch adds audio routing for both playback and capture. Signed-off-by: Srinivas Kandagatla --- sound/soc/codecs/wcd938x.c | 97 ++ 1 file changed, 97 insertions(+) diff --git a/sound/soc/codecs/wcd938x.c b/sound/soc/codecs/wcd938x.c index 31e3cf729568..0

[PATCH v3 5/7] ASoC: codecs: wcd938x: add playback dapm widgets

2021-03-19 Thread Srinivas Kandagatla
This patch adds required dapm widgets for playback. Signed-off-by: Srinivas Kandagatla --- sound/soc/codecs/wcd938x.c | 700 + 1 file changed, 700 insertions(+) diff --git a/sound/soc/codecs/wcd938x.c b/sound/soc/codecs/wcd938x.c index 9b5dda775a17..59e41296a

[PATCH v3 3/7] ASoC: codecs: wcd938x: add basic driver

2021-03-19 Thread Srinivas Kandagatla
This patch adds basic SoundWire codec driver to support for WCD938X TX and RX devices. Signed-off-by: Srinivas Kandagatla --- sound/soc/codecs/Kconfig |9 + sound/soc/codecs/Makefile |2 + sound/soc/codecs/wcd938x-sdw.c | 291 ++ sound/soc/codecs/wcd938x.c | 1615

Re: [PATCH] KVM: x86: Remove unused variable rc

2021-03-19 Thread Paolo Bonzini
On 19/03/21 09:53, Jiapeng Chong wrote: Fix the following coccicheck warnings: ./arch/x86/kvm/emulate.c:4985:5-7: Unneeded variable: "rc". Return "X86EMUL_CONTINUE" on line 5019. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- arch/x86/kvm/emulate.c | 4 +--- 1 file changed, 1 in

Re: [PATCH v1 14/14] mm: multigenerational lru: documentation

2021-03-19 Thread Alex Shi
在 2021/3/13 下午3:57, Yu Zhao 写道: > +Recipes > +--- > +:Android on ARMv8.1+: ``X=4``, ``N=0`` > + > +:Android on pre-ARMv8.1 CPUs: Not recommended due to the lack of > + ``ARM64_HW_AFDBM`` > + > +:Laptops running Chrome on x86_64: ``X=7``, ``N=2`` > + > +:Working set estimation: Write ``+ memc

Re: [PATCH] usb: dwc2: Using tab instead of blank

2021-03-19 Thread Greg Kroah-Hartman
On Fri, Mar 19, 2021 at 05:00:55PM +0800, Zeng Tao wrote: > Signed-off-by: Zeng Tao I can not take patches without any changelog text, sorry. greg k-h

Re: [PATCH] documentation/kvm: additional explanations on KVM_SET_BOOT_CPU_ID

2021-03-19 Thread Paolo Bonzini
On 19/03/21 10:16, Emanuele Giuseppe Esposito wrote: The ioctl KVM_SET_BOOT_CPU_ID fails when called after vcpu creation. Add this explanation in the documentation. Signed-off-by: Emanuele Giuseppe Esposito --- Documentation/virt/kvm/api.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deleti

[PATCH 1/2] usb: dwc3: gadget: Avoid continuing preparing TRBs during teardown

2021-03-19 Thread Wesley Cheng
Add checks similar to dwc3_gadget_ep_queue() before kicking off transfers after getting an endpoint completion event. Since cleaning up completed requests will momentarily unlock dwc->lock, there is a chance for a sequence like pullup disable to be executed. This can lead to preparing a TRB, whi

[PATCH 0/2] Fix allowing of ep queuing while stopping transfers

2021-03-19 Thread Wesley Cheng
commit f09ddcfcb8c5 ("usb: dwc3: gadget: Prevent EP queuing while stopping transfers") addressed an issue where the DWC3 gadget was still allowing EP queuing to occur while the pullup disable routine was executing. This led to a situation where the controller prepares a TRB, which will be unmapped

[PATCH 2/2] usb: dwc3: gadget: Ignore EP queue requests during bus reset

2021-03-19 Thread Wesley Cheng
The current dwc3_gadget_reset_interrupt() will stop any active transfers, but only addresses blocking of EP queuing for while we are coming from a disconnected scenario, i.e. after receiving the disconnect event. If the host decides to issue a bus reset on the device, the connected parameter will

[PATCH -next] ASoC: rt1019: make symbol 'rt1019_i2c_driver' static

2021-03-19 Thread 'w00385741
From: Wei Yongjun The sparse tool complains as follows: sound/soc/codecs/rt1019.c:927:19: warning: symbol 'rt1019_i2c_driver' was not declared. Should it be static? This symbol is not used outside of rt1019.c, so this commit marks it static. Fixes: 7ec79d3850d0 ("ASoC: rt1019: add rt1019 ampl

Re: [RFC PATCH v5 1/4] topology: Represent clusters of CPUs within a die

2021-03-19 Thread Jonathan Cameron
On Fri, 19 Mar 2021 06:57:08 + "Song Bao Hua (Barry Song)" wrote: > > -Original Message- > > From: Greg KH [mailto:gre...@linuxfoundation.org] > > Sent: Friday, March 19, 2021 7:35 PM > > To: Song Bao Hua (Barry Song) > > Cc: tim.c.c...@linux.intel.com; catalin.mari...@arm.com; w...@

[PATCH v5 0/2] enable HDCP in Cadence MHDP bridge driver

2021-03-19 Thread Parshuram Thombare
This patch series enables HDCP in Cadence MHDP DPI/DP bridge driver. Changes since v1: - Move sapb reg block right after apb reg block - Corresponding changes in binding and example Changes since v2: - Revert reg resource sequence in binding and use resource mapping by name - Remove hdcp_confi

[PATCH v5 1/2] dt-bindings: drm/bridge: MHDP8546 bridge binding changes for HDCP

2021-03-19 Thread Parshuram Thombare
Add binding changes for HDCP in the MHDP8546 DPI/DP bridge binding. Signed-off-by: Parshuram Thombare --- .../display/bridge/cdns,mhdp8546.yaml | 34 --- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/Documentation/devicetree/bindings/display/bridge/cdns

Re: [PATCH] perf annotate: improve --stdio mode

2021-03-19 Thread Martin Liška
PING On 2/26/21 10:24 AM, Martin Liška wrote: On 2/23/21 8:47 PM, Arnaldo Carvalho de Melo wrote: Em Sun, Feb 21, 2021 at 01:46:36PM +0100, Martin Liška escreveu: The patch changes the output format in 2 ways: - line number is displayed for all source lines (matching TUI mode) Are you aware

[PATCH v5 2/2] drm: bridge: cdns-mhdp8546: Enable HDCP

2021-03-19 Thread Parshuram Thombare
This patch enable HDCP in MHDP driver. Signed-off-by: Parshuram Thombare Reviewed-by: Robert Foss --- drivers/gpu/drm/bridge/cadence/Makefile | 2 +- .../drm/bridge/cadence/cdns-mhdp8546-core.c | 113 +++- .../drm/bridge/cadence/cdns-mhdp8546-core.h | 21 + .../drm/bridge/cadence/c

Re: [PATCH v2] bus: mhi: Add Qcom WWAN control driver

2021-03-19 Thread kernel test robot
Hi Loic, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.12-rc3 next-20210319] [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 documente

Merge Linux and Gnu as Inu? Was Re: For those who did not get this yet, Fair Pay discussion is over, and concluded with LCPU.

2021-03-19 Thread Ywe Cærlyn
Even better Inu OS, and Inu Licence, merges the relevant parts of Linux and Gnu, drops the X and rejects other irrelevant parts. This will be the angle I support. Serenity. Ywe Cærlyn https://www.youtube.com/channel/UC3BcyFY1Bphc7smGH-IGLVw/featured Den 17.03.2021 10:28, skrev Ywe Cærlyn: Some

Re: [PATCH] drm/meson: Fix few typo

2021-03-19 Thread Neil Armstrong
On 18/03/2021 12:00, Bhaskar Chowdhury wrote: > > s/initialy/initially/ > s/desined/designed/ > > Signed-off-by: Bhaskar Chowdhury > --- > drivers/gpu/drm/meson/meson_venc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/meson/meson_venc.c > b/drivers

Re: [PATCH 4.19 000/120] 4.19.181-rc1 review

2021-03-19 Thread Greg KH
On Thu, Mar 18, 2021 at 07:59:59PM +0800, Samuel Zou wrote: > > > On 2021/3/15 21:55, gre...@linuxfoundation.org wrote: > > From: Greg Kroah-Hartman > > > > This is the start of the stable review cycle for the 4.19.181 release. > > There are 120 patches in this series, all will be posted as a r

Re: [PATCH 5.11 000/306] 5.11.7-rc1 review

2021-03-19 Thread Greg KH
On Tue, Mar 16, 2021 at 02:14:43PM -0700, Guenter Roeck wrote: > On Mon, Mar 15, 2021 at 02:51:03PM +0100, gre...@linuxfoundation.org wrote: > > From: Greg Kroah-Hartman > > > > This is the start of the stable review cycle for the 5.11.7 release. > > There are 306 patches in this series, all will

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