Re: [PATCH] can: mcp251xfd: fix wrong check in mcp251xfd_handle_rxif_one

2021-01-13 Thread Manivannan Sadhasivam
On Wed, Jan 13, 2021 at 03:31:00PM +0800, Qinglang Miao wrote: > If alloc_canfd_skb returns NULL, 'cfg' is an uninitialized > variable, so we should check 'skb' rather than 'cfd' after > calling alloc_canfd_skb(priv->ndev, &cfd). > > Fixes: 55e5b97f003e ("can: mcp25xxfd: add driver for Microchip M

[PATCH] perf tools: Resolve symbols against debug file first

2021-01-13 Thread Jiri Slaby
With LTO, there are symbols like these: /usr/lib/debug/usr/lib64/libantlr4-runtime.so.4.8-4.8-1.4.x86_64.debug 10305: 00955fa4 0 NOTYPE LOCAL DEFAULT 29 Predicate.cpp.2bc410e7 This comes from a runtime/debug split done by the standard way: objcopy --only-keep-debug $runtime $debu

[PATCH] drivers: add new VID/PID for supporting Teraoka AD2000

2021-01-13 Thread Jin Chen Xin
From 1df119cfa105383a0e047a68602b3a9dc4f81c3c Mon Sep 17 00:00:00 2001 From: Jin Chen-Xin Date: Wed, 13 Jan 2021 14:09:07 +0800 Subject: [PATCH] drivers: add new VID/PID for supporting Teraoka AD2000 Teraoka AD2000 uses the CP210x driver, but the chip VID/PID is customized with 0988/0578. We nee

Re: [PATCH v7 3/7] mfd: Add base driver for Netronix embedded controller

2021-01-13 Thread Lee Jones
On Tue, 12 Jan 2021, Andreas Kemnade wrote: > On Sat, 9 Jan 2021 19:02:16 +0100 > Jonathan Neuschäfer wrote: > > > The Netronix embedded controller is a microcontroller found in some > > e-book readers designed by the original design manufacturer Netronix, > > Inc. It contains RTC, battery moni

Re: [PATCH v2 1/2] arm64: dts: broadcom: clear the warnings caused by empty dma-ranges

2021-01-13 Thread Arnd Bergmann
On Wed, Jan 13, 2021 at 4:42 AM Bharat Gooty wrote: > > Hello Ray, > > I had cross checked with Design and integration team. > Yes we can set the "dma-rages" to 40 bit DMA ranges. Tested, it is working. > > -Original Message- > From: Ray Jui > > Bharat can correct me if I'm wrong, but I d

[PATCH 00/30] [Set 13] Finally rid W=1 warnings from GPU

2021-01-13 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. 0 out of 5000 left! LAST SET! You're all clean. Can you believe it!? Lee Jones (30): drm/amd/display/dc/dc_helper: Include our own header, con

[PATCH 01/30] drm/amd/display/dc/dc_helper: Include our own header, containing prototypes

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:299:10: warning: no previous prototype for ‘generic_reg_get’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:307:10: warning: no previous prototype for ‘generic_reg

[PATCH 06/30] drm/amd/display/dc/core/dc_resource: Staticify local functions

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1120:5: warning: no previous prototype for ‘shift_border_left_to_dst’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1131:6: warning: no previous pro

[PATCH 03/30] drm/amd/display/dmub/src/dmub_dcn30: Include our own header containing prototypes

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dmub/src/dmub_dcn30.c:83:6: warning: no previous prototype for ‘dmub_dcn30_backdoor_load’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dmub/src/dmub_dcn30.c:118:6: warning: no previous protot

[PATCH 02/30] drm/amd/include/renoir_ip_offset: Mark top-level IP_BASE as __maybe_unused

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../include/renoir_ip_offset.h:226:29: warning: ‘UVD0_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/renoir_ip_offset.h:219:29: warning: ‘USB0_BASE’ defined but not used [-Wu

[PATCH 13/30] drm/amd/display/dc/dce60/Makefile: Ignore -Woverride-init warning

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:28: drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_6_0_d.h:568:43: warning: initialized field overwritten [-Woverride-init] drivers/gpu/drm/amd/amdgpu

[PATCH 11/30] drm/amd/display/dc/dce100/Makefile: Ignore -Woverride-init warning

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:54: drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_10_0_sh_mask.h:5084:45: warning: initialized field overwritten [-Woverride-init] drivers/gpu/drm/

[PATCH 12/30] drm/amd/display/dc/dce100/dce100_resource: Include our own header containing prototypes

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:54: drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:537:3: note: in expansion of macro ‘MI_DCE8_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/.

[PATCH 19/30] drm/amd/display/dc/core/dc_link_dp: Mark 'result_write_min_hblank' as __maybe_unused

2021-01-13 Thread Lee Jones
It looks like it could be used inside the DC_TRACE_LEVEL_MESSAGE() macro. Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c: In function ‘dpcd_set_source_specific_data’: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:4403:18

[PATCH 23/30] drm/nouveau/nvkm/engine/gr/gf100: Demote non-conformant kernel-doc header

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c:992: warning: Function parameter or member 'gr' not described in 'gf100_gr_wait_idle' Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter Cc: dri-de...@lists.freedesktop.org Cc: nouv...@lists.freede

[PATCH 16/30] fixup! drm/amd/display/dc/dce60/Makefile: Ignore -Woverride-init warning

2021-01-13 Thread Lee Jones
--- drivers/gpu/drm/amd/display/dc/dce60/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/dce60/Makefile b/drivers/gpu/drm/amd/display/dc/dce60/Makefile index dda596fa1cd76..fee331accc0e7 100644 --- a/drivers/gpu/drm/amd/display/dc/dce60/

[PATCH 24/30] drm/nouveau/nouveau_bo: Remove unused variables 'dev'

2021-01-13 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 14/30] drm/amd/display/dc/dce80/Makefile: Ignore -Woverride-init warning

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dce80/dce80_resource.c:29: drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_8_0_sh_mask.h:9546:58: warning: initialized field overwritten [-Woverride-init] drivers/gpu/drm/amd

[PATCH 22/30] drm/amd/display/dc/core/dc_link: Fix a couple of function documentation issues

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:214: warning: Function parameter or member 'link' not described in 'dc_link_detect_sink' drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:350: warning: Function parameter or member '

[PATCH 18/30] drm/amd/display/dc/core/dc_link: Move some local data from the stack to the heap

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c: In function ‘dc_link_construct’: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1588:1: warning: the frame size of 1176 bytes is larger than 1024 bytes [-Wframe-larger-than=] Cc:

[PATCH 29/30] drm/nouveau/nv50_display: Remove superfluous prototype for local static functions

2021-01-13 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 30/30] drm/nouveau/dispnv50/disp: Include header containing our prototypes

2021-01-13 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 21/30] drm/amd/display/dc/core/dc_resource: Demote some kernel-doc abuses

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1710: warning: Function parameter or member 'old_stream' not described in 'dc_is_stream_unchanged' drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1710: warning: Function p

[PATCH 15/30] drm/amd/display/dc/dce80/dce80_resource: Include our own header containing prototypes

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/dce80/dce80_resource.c:1126:23: warning: no previous prototype for ‘dce80_create_resource_pool’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce80/dce80_resource.c:1325:23: warning: no

[PATCH 05/30] drm/amd/display/modules/info_packet/info_packet: Correct kernel-doc formatting

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/modules/info_packet/info_packet.c:412: warning: Cannot understand * Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christi

[PATCH 10/30] drm/amd/display/dc/core/dc: Staticise local function 'apply_ctx_interdependent_lock'

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:806:6: warning: no previous prototype for ‘apply_ctx_interdependent_lock’ [-Wmissing-prototypes] Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Dan

[PATCH 07/30] drm/amd/display/dc/core/dc_link: Remove unused variable 'status'

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c: In function ‘query_hdcp_capability’: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:599:28: warning: variable ‘status’ set but not used [-Wunused-but-set-variable] Cc: Harry Went

[PATCH 20/30] drm/amd/display/dc/core/dc: Fix a bunch of documentation misdemeanours

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:287: warning: Cannot understand * drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:366: warning: Function paramete

drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:544:31: sparse: sparse: incorrect type in assignment (different base types)

2021-01-13 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: e609571b5ffa3528bf85292de1ceaddac342bc1c commit: dc1a9bf2c8169d9f607502162af1858a73a18cb8 octeontx2-pf: Add UDP segmentation offload support date: 4 months ago config: alpha-randconfig-s032-20210113

[PATCH 17/30] drm/amd/display/dc/dce60/dce60_resource: Include our own header containing prototypes

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:1115:23: warning: no previous prototype for ‘dce60_create_resource_pool’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:1312:23: warning: no

[PATCH 25/30] drm/nouveau/nouveau_display: Remove set but unused variable 'width'

2021-01-13 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 27/30] drm/nouveau/dispnv50/disp: Remove unused variable 'ret' from function returning void

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/dispnv50/disp.c: In function ‘nv50_mstm_cleanup’: drivers/gpu/drm/nouveau/dispnv50/disp.c:1357:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter C

[PATCH 28/30] drm/nouveau/dispnv50/headc57d: Make local function 'headc57d_olut' static

2021-01-13 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

Recall: [PATCH] drivers: add new VID/PID for supporting Teraoka AD2000

2021-01-13 Thread Jin Chen Xin
Jin Chen Xin would like to recall the message, "[PATCH] drivers: add new VID/PID for supporting Teraoka AD2000". * The information contained in this message is intended for the use of the individuals to whom it is addressed and may contain information that is privileged and confidential. If you

[PATCH 04/30] drm/amd/display/modules/power/power_helpers: Staticify local functions

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_helpers.c:281:6: warning: no previous prototype for ‘fill_iram_v_2’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_helpers.c:455:6: warning: no previous

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

2021-01-13 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

[PATCH 09/30] drm/amd/display/dc/dce112/dce112_resource: Include our own header file containing prototypes

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/dce112/dce112_resource.c:883:6: warning: no previous prototype for ‘dce112_validate_bandwidth’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce112/dce112_resource.c:1008:16: warning: n

[PATCH 08/30] drm/amd/display/dc/core/dc_link_dp: Staticify local function 'linkRateInKHzToLinkRateMultiplier'

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:3710:19: warning: no previous prototype for ‘linkRateInKHzToLinkRateMultiplier’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c: In function ‘dpcd_set_

Recall: [PATCH] drivers: add new VID/PID for supporting Teraoka AD2000

2021-01-13 Thread Jin Chen Xin
Jin Chen Xin would like to recall the message, "[PATCH] drivers: add new VID/PID for supporting Teraoka AD2000". * The information contained in this message is intended for the use of the individuals to whom it is addressed and may contain information that is privileged and confidential. If you

Re: [PATCH] drivers: add new VID/PID for supporting Teraoka AD2000

2021-01-13 Thread Greg Kroah-Hartman
On Wed, Jan 13, 2021 at 08:02:33AM +, Jin Chen Xin wrote: > > From 1df119cfa105383a0e047a68602b3a9dc4f81c3c Mon Sep 17 00:00:00 2001 > From: Jin Chen-Xin > Date: Wed, 13 Jan 2021 14:09:07 +0800 > Subject: [PATCH] drivers: add new VID/PID for supporting Teraoka AD2000 > > Teraoka AD2000 uses

Re: [PATCH v3 2/3] dt-bindings: arm: hisilicon: Add binding for L3 cache controller

2021-01-13 Thread Leizhen (ThunderTown)
On 2021/1/13 15:44, Leizhen (ThunderTown) wrote: > > > On 2021/1/12 21:55, Arnd Bergmann wrote: >> On Tue, Jan 12, 2021 at 1:35 PM Leizhen (ThunderTown) >> wrote: >>> On 2021/1/12 16:46, Arnd Bergmann wrote: On Tue, Jan 12, 2021 at 2:56 AM Zhen Lei wrote: > +--- > +$i

Re: [PATCH v2 0/3] PinePhone volume key (LRADC) wakeup support

2021-01-13 Thread Hans de Goede
Hi, On 1/13/21 5:05 AM, Samuel Holland wrote: > This series allows the volume keys on the PinePhone to wake up the > device. As pointed out for v1, wakeup should only be enabled when a > "wakeup-source" property is present, so v2 requires DT and binding > changes in addition to the driver change.

Re: Recall: [PATCH] drivers: add new VID/PID for supporting Teraoka AD2000

2021-01-13 Thread Greg Kroah-Hartman
On Wed, Jan 13, 2021 at 08:09:29AM +, Jin Chen Xin wrote: > Jin Chen Xin would like to recall the message, "[PATCH] drivers: add new > VID/PID for supporting Teraoka AD2000". Mailing lists do not work that way, sorry :( > * The information contained in this message is intended for the use of

Re: Old platforms: bring out your dead

2021-01-13 Thread Geert Uytterhoeven
Hi Linus, On Wed, Jan 13, 2021 at 4:20 AM Linus Walleij wrote: > On Tue, Jan 12, 2021 at 3:45 PM John Paul Adrian Glaubitz > wrote: > That said there are a three things that people should really be doing if they > want to keep their pet archs/subarchs around as good community > members, and they

[PATCH v5] ASoC: cros_ec_codec: Reset I2S RX when probing

2021-01-13 Thread Yu-Hsuan Hsu
It is not guaranteed that I2S RX is disabled when the kernel booting. For example, if the kernel crashes while it is enabled, it will keep enabled until the next time EC reboots. Reset I2S RX when probing to fix this issue. Signed-off-by: Yu-Hsuan Hsu --- This patch checks the return value. If it

Re: [PATCH 1/2] rtc: pcf2127: Disable Power-On Reset Override

2021-01-13 Thread Philipp Rosenberger
Hi Uwe, On 12.01.21 20:26, Uwe Kleine-König wrote: Hello, On Mon, Jan 04, 2021 at 05:19:09PM +0100, Philipp Rosenberger wrote: If the PCF2127/2129 has lost all power and is then powered again it goes into "Power-On Reset Override" mode. In this mode the RTC seems to work fine. Also the watchdo

Re: [PATCH v2] ARM: dts: sun5i: add A10s/A13 mali gpu support fallback

2021-01-13 Thread Maxime Ripard
On Fri, Jan 08, 2021 at 11:38:19AM +0100, Sergio Sota wrote: > The A10s/A13 mali gpu was not defined in device tree > Add A10 mali gpu as a fallback for A10s/A13 > Tested with Olimex-A13-SOM / Olimex-A13-OlinuXino-MICRO > "kmscube" 3d cube on screen (60fps / 10%cpu) > Versions: Lima:1.1.0 EGL:1.4 O

Re: Old platforms: bring out your dead

2021-01-13 Thread Geert Uytterhoeven
Hi Rob, On Wed, Jan 13, 2021 at 8:58 AM Rob Landley wrote: > On 1/12/21 4:46 PM, Linus Walleij wrote: > > On Tue, Jan 12, 2021 at 3:45 PM John Paul Adrian Glaubitz > > wrote: > >> Yeah, I have the same impression that's the strong commercial interest > >> pushes > >> hobbyist use of the Linux k

Re: [PATCH] arm64: dts: qcom: sdm660: Fix CPU capacities

2021-01-13 Thread AngeloGioacchino Del Regno
Il 13/01/21 05:37, Danny Lin ha scritto: On Tue, Jan 12, 2021 at 8:04 pm, AngeloGioacchino Del Regno wrote: Il 12/01/21 15:59, Alexey Minnekhanov ha scritto: Hi! I always had a feeling something is not right in those cpu definitions, so cpus with reg 100-103 are little cores, and 0-3 big one

Re: [PATCH net] rxrpc: Call state should be read with READ_ONCE() under some circumstances

2021-01-13 Thread David Howells
Jakub Kicinski wrote: > On Tue, 12 Jan 2021 15:59:15 + David Howells wrote: > > From: Baptiste Lepers > > > > The call state may be changed at any time by the data-ready routine in > > response to received packets, so if the call state is to be read and acted > > upon several times in a fun

Re: [PATCH 0/4] media: sunxi-cir: Cleanup and power management

2021-01-13 Thread Maxime Ripard
On Tue, Jan 12, 2021 at 10:51:28PM -0600, Samuel Holland wrote: > This series cleans up some dead code in the sunxi-cir driver and adds > system power management hooks. Acked-by: Maxime Ripard Thanks! Maxime signature.asc Description: PGP signature

Re: [PATCH v2 0/3] PinePhone volume key (LRADC) wakeup support

2021-01-13 Thread Maxime Ripard
On Tue, Jan 12, 2021 at 10:05:39PM -0600, Samuel Holland wrote: > This series allows the volume keys on the PinePhone to wake up the > device. As pointed out for v1, wakeup should only be enabled when a > "wakeup-source" property is present, so v2 requires DT and binding > changes in addition to th

Re: [PATCH v3 2/6] mm: Teach pfn_to_online_page() to consider subsection validity

2021-01-13 Thread David Hildenbrand
On 13.01.21 08:35, Dan Williams wrote: > pfn_section_valid() determines pfn validity on subsection granularity > where pfn_valid() may be limited to coarse section granularity. > Explicitly validate subsections after pfn_valid() succeeds. > > Fixes: b13bc35193d9 ("mm/hotplug: invalid PFNs from pfn

Re: [PATCH v2 5/5] clk: qcom: Add SDX55 APCS clock controller support

2021-01-13 Thread Manivannan Sadhasivam
On Tue, Jan 12, 2021 at 11:37:04PM -0800, Stephen Boyd wrote: > Quoting Manivannan Sadhasivam (2021-01-08 03:32:33) > > Add a driver for the SDX55 APCS clock controller. It is part of the APCS > > hardware block, which among other things implements also a combined mux > > and half integer divider f

Re: [PATCH] sched: pull tasks when CPU is about to run SCHED_IDLE tasks

2021-01-13 Thread Vincent Guittot
On Wed, 13 Jan 2021 at 04:14, chin wrote: > > > > > At 2021-01-12 16:18:51, "Vincent Guittot" wrote: > >On Tue, 12 Jan 2021 at 07:59, chin wrote: > >> > >> > >> > >> > >> At 2021-01-11 19:04:19, "Vincent Guittot" > >> wrote: > >> >On Mon, 11 Jan 2021 at 09:27, chin wrote: > >> >> > >> >> > >>

Re: [PATCH v3 2/6] mm: Teach pfn_to_online_page() to consider subsection validity

2021-01-13 Thread Oscar Salvador
On Tue, Jan 12, 2021 at 11:35:27PM -0800, Dan Williams wrote: > pfn_section_valid() determines pfn validity on subsection granularity > where pfn_valid() may be limited to coarse section granularity. > Explicitly validate subsections after pfn_valid() succeeds. > > Fixes: b13bc35193d9 ("mm/hotplug

Re: [PATCH v3 5/6] mm: Fix memory_failure() handling of dax-namespace metadata

2021-01-13 Thread David Hildenbrand
On 13.01.21 08:35, Dan Williams wrote: > Given 'struct dev_pagemap' spans both data pages and metadata pages be > careful to consult the altmap if present to delineate metadata. In fact > the pfn_first() helper already identifies the first valid data pfn, so > export that helper for other code path

Re: [PATCH] ACPI: configfs: add missing check after configfs_register_default_group

2021-01-13 Thread Hanjun Guo
On 2021/1/13 15:30, Qinglang Miao wrote: A list_add corruption is reported by Hulk Robot like this: == list_add corruption. Call Trace: link_obj+0xc0/0x1c0 link_group+0x21/0x140 configfs_register_subsystem+0xdb/0x380 acpi_configfs_init+0x25/0x1000 [acpi_configfs] do_one_initcall+0x149

Re: [PATCH v3 6/6] libnvdimm/namespace: Fix visibility of namespace resource attribute

2021-01-13 Thread Greg KH
On Tue, Jan 12, 2021 at 11:35:50PM -0800, Dan Williams wrote: > Legacy pmem namespaces lost support for the "resource" attribute when > the code was cleaned up to put the permission visibility in the > declaration. Restore this by listing 'resource' in the default > attributes. > > A new ndctl reg

Re: [PATCH 1/2] rtc: pcf2127: Disable Power-On Reset Override

2021-01-13 Thread Uwe Kleine-König
On Wed, Jan 13, 2021 at 09:18:31AM +0100, Philipp Rosenberger wrote: > Hi Uwe, > > On 12.01.21 20:26, Uwe Kleine-König wrote: > > Hello, > > > > On Mon, Jan 04, 2021 at 05:19:09PM +0100, Philipp Rosenberger wrote: > > > If the PCF2127/2129 has lost all power and is then powered again it goes > >

Re: [PATCH] usb: dwc3: qcom: Add shutdown callback for dwc3

2021-01-13 Thread Felipe Balbi
Hi, Sandeep Maheswaram writes: > This patch adds a shutdown callback to USB DWC QCOM driver to ensure that > it is properly shutdown in reboot/shutdown path. This is required > where SMMU address translation is enabled like on SC7180 > SoC and few others. If the hardware is still accessing memor

Re: [PATCH v3 2/4] mm: failfast mode with __GFP_NORETRY in alloc_contig_range

2021-01-13 Thread David Hildenbrand
On 13.01.21 02:21, Minchan Kim wrote: > Contiguous memory allocation can be stalled due to waiting > on page writeback and/or page lock which causes unpredictable > delay. It's a unavoidable cost for the requestor to get *big* > contiguous memory but it's expensive for *small* contiguous > memory(e

Re: [PATCH v4 3/3] ASoC: SOF: Intel: hda: Avoid checking jack on system suspend

2021-01-13 Thread Kai Vehmanen
Hi, On Wed, 13 Jan 2021, Kai-Heng Feng wrote: > System takes a very long time to suspend after commit 215a22ed31a1 > ("ALSA: hda: Refactor codec PM to use direct-complete optimization"): [...] > [ 321.262505] snd_hda_codec_realtek ehdaudio0D0: Unable to sync register > 0x2b8000. -5 > [ 328.426

Re: [PATCH RESEND v4 01/11] usb: gadget: bdc: fix improper SPDX comment style for header file

2021-01-13 Thread Felipe Balbi
Chunfeng Yun writes: > For C header files Documentation/process/license-rules.rst > mandates C-like comments (opposed to C source files where > C++ style should be used). > > Cc: Florian Fainelli > Signed-off-by: Chunfeng Yun > Acked-by: Florian Fainelli Acked-by: Felipe Balbi -- balbi s

Re: [PATCH RESEND v4 03/11] usb: gadget: bdc: prefer pointer dereference to pointer type

2021-01-13 Thread Felipe Balbi
Chunfeng Yun writes: > Prefer kzalloc(sizeof(*bd_table)...) over > kzalloc(sizeof(struct bd_table) > > Cc: Florian Fainelli > Signed-off-by: Chunfeng Yun > Acked-by: Florian Fainelli Acked-by: Felipe Balbi -- balbi signature.asc Description: PGP signature

Re: [PATCH RESEND v4 02/11] usb: gadget: bdc: remove bdc_ep_set_halt() declaration

2021-01-13 Thread Felipe Balbi
Chunfeng Yun writes: > No definition for bdc_ep_set_halt(), so remove it. > > Cc: Florian Fainelli > Signed-off-by: Chunfeng Yun > Acked-by: Florian Fainelli Acked-by: Felipe Balbi -- balbi signature.asc Description: PGP signature

[tip:x86/urgent] BUILD SUCCESS 66a425011c61e71560c234492d204e83cfb73d1d

2021-01-13 Thread kernel test robot
mips allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig x86_64 randconfig-a006-20210113 x86_64 randconfig-a004-20210113 x86_64

Re: [PATCH RESEND v4 04/11] usb: gadget: bdc: fix warning of embedded function name

2021-01-13 Thread Felipe Balbi
Chunfeng Yun writes: > Use '"%s...", __func__' to replace embedded function name > > Cc: Florian Fainelli > Signed-off-by: Chunfeng Yun > Acked-by: Florian Fainelli Acked-by: Felipe Balbi -- balbi signature.asc Description: PGP signature

Re: [PATCH RESEND v4 05/11] usb: gadget: bdc: fix check warning of block comments alignment

2021-01-13 Thread Felipe Balbi
Chunfeng Yun writes: > fix the warning: > WARNING:BLOCK_COMMENT_STYLE: > Block comments should align the * on each line > > Cc: Florian Fainelli > Signed-off-by: Chunfeng Yun > Acked-by: Florian Fainelli Acked-by: Felipe Balbi -- balbi signature.asc Description: PGP signature

Re: [PATCH RESEND v4 06/11] usb: gadget: bdc: add identifier name for function declaraion

2021-01-13 Thread Felipe Balbi
Chunfeng Yun writes: > This is used to avoid the warning of function arguments, e.g. > WARNING:FUNCTION_ARGUMENTS: function definition argument 'u32' > should also have an identifier name > > Cc: Florian Fainelli > Signed-off-by: Chunfeng Yun > Acked-by: Florian Fainelli Acked-by: Felipe

[PATCH 1/1] Documentation: media: Fix recently introduced build warning in subdev docs

2021-01-13 Thread Sakari Ailus
A reference to the sub-device pad ops was not follwed by a whitespace, resulting in a warning during documentation build. Fix it. Reported-by: Stephen Rothwell Fixes: 25c8d9a7689e ("media: Documentation: v4l: Document that link_validate op is valid for sink only") Signed-off-by: Sakari Ailus --

Re: [PATCH RESEND v4 08/11] usb: gadget: bdc: use the BIT macro to define bit filed

2021-01-13 Thread Felipe Balbi
Chunfeng Yun writes: > Prefer using the BIT macro to define bit fileds > > Cc: Florian Fainelli > Signed-off-by: Chunfeng Yun > Acked-by: Florian Fainelli Acked-by: Felipe Balbi -- balbi signature.asc Description: PGP signature

[tip:timers/urgent] BUILD SUCCESS e3fab2f3de081e98c50b7b4ace1b040161d95310

2021-01-13 Thread kernel test robot
allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig x86_64 randconfig-a004-20210113 x86_64 randconfig-a001-20210113 x86_64 randconfig-a005-20210113 x86_64

Re: [PATCH RESEND v4 10/11] usb: gadget: bdc: fix checkpatch.pl spacing error

2021-01-13 Thread Felipe Balbi
Chunfeng Yun writes: > fix checkpatch.pl error: > ERROR:SPACING: space prohibited before that ',' > > Cc: Florian Fainelli > Signed-off-by: Chunfeng Yun > Acked-by: Florian Fainelli Acked-by: Felipe Balbi -- balbi signature.asc Description: PGP signature

Re: [PATCH RESEND v4 09/11] usb: gadget: bdc: fix checkpatch.pl tab warning

2021-01-13 Thread Felipe Balbi
Chunfeng Yun writes: > WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements > WARNING:TABSTOP: Statements should start on a tabstop > > Cc: Florian Fainelli > Signed-off-by: Chunfeng Yun > Acked-by: Florian Fainelli Acked-by: Felipe Balbi -- balbi signature.asc Des

Re: [PATCH RESEND v4 07/11] usb: gadget: bdc: avoid precedence issues

2021-01-13 Thread Felipe Balbi
Chunfeng Yun writes: > Add () around macro argument to avoid precedence issues > > Cc: Florian Fainelli > Signed-off-by: Chunfeng Yun > Acked-by: Florian Fainelli Acked-by: Felipe Balbi -- balbi signature.asc Description: PGP signature

Re: [PATCH RESEND v4 11/11] usb: gadget: bdc: fix checkpatch.pl repeated word warning

2021-01-13 Thread Felipe Balbi
Chunfeng Yun writes: > fix the warning: > WARNING:REPEATED_WORD: Possible repeated word: 'and' > > Cc: Florian Fainelli > Signed-off-by: Chunfeng Yun > Acked-by: Florian Fainelli Acked-by: Felipe Balbi -- balbi signature.asc Description: PGP signature

[RFC PATCH] x86/speculation: Add finer control for when to issue IBPB

2021-01-13 Thread Anand K Mistry
When IB speculation is conditionally disabled for a process (via prctl() or seccomp), IBPB is issued whenever that process is switched to/from. However, this results more IBPBs than necessary. The goal is to protect a victim process from an attacker poisoning the BTB by issuing IBPB in the attacker

Re: [PATCH v2 1/7] ASoC: dt-bindings: sun8i-codec: Increase #sound-dai-cells

2021-01-13 Thread Maxime Ripard
Hi, On Wed, Jan 13, 2021 at 12:06:09AM -0600, Samuel Holland wrote: > Increase sound-dai-cells to 1 to allow using the DAIs in the codec > corresponding to AIF2 and AIF3. > > The generic ASoC OF code supports a #sound-dai-cells value of 0 or 1 > with no impact to the driver, so this is a backward

[PATCH 1/2] MAINTAINERS: Remove stale URLs for cpuset

2021-01-13 Thread Zefan Li
Those URLs are no longer accessable. Reported-by: Steve Wahl Signed-off-by: Zefan Li --- MAINTAINERS | 2 -- 1 file changed, 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 546aa66428c9..89140540aa8d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4494,8 +4494,6 @@ CONTROL GROUP - C

SPI not working on 5.10 and 5.11, bisected to 766c6b63aa04 ("spi: fix client driver breakages when using GPIO descriptors")

2021-01-13 Thread Christophe Leroy
Hello, My board has powerpc 885 microcontroler. Temperature sensor is an LM74. Kernel has CONFIG_SPI_FSL_SPI and CONFIG_SPI_FSL_CPM and CONFIG_SENSORS_LM70. Since kernel 5.10, 'sensors' reports temperature 0°C on my board: root@vgoip:~# sensors lm74-spi-0-5 Adapter: SP

[PATCH 2/2] MAINTAINERS: Update my email address

2021-01-13 Thread Zefan Li
Signed-off-by: Zefan Li --- MAINTAINERS | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 89140540aa8d..bc38f36f257c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4467,7 +4467,7 @@ F:include/linux/console* CONTROL GROUP (CGROUP

[tip:irq/urgent] BUILD SUCCESS 4bae052dde14c5538eca39592777b1d1987234ba

2021-01-13 Thread kernel test robot
onfig mips allyesconfig mips allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig x86_64 randconfig-a004-20210113 x86_64 randconfig-a001-20210

Re: [linux-sunxi] [PATCH] arm64: dts: allwinner: h6: PineH64 model B: Add bluetooth

2021-01-13 Thread Chen-Yu Tsai
On Mon, Jan 11, 2021 at 5:16 AM Jernej Skrabec wrote: > > PineH64 model B has wifi+bt combo module. Wifi is already supported, so > lets add also bluetooth node. > > Signed-off-by: Jernej Skrabec Acked-by: Chen-Yu Tsai Looks good to me, though I couldn't find anything on the polarity of the in

Re: [PATCH 0/1] mm: restore full accuracy in COW page reuse

2021-01-13 Thread David Hildenbrand
On 13.01.21 04:31, Linus Torvalds wrote: > On Tue, Jan 12, 2021 at 6:16 PM Matthew Wilcox wrote: >> >> The thing about the speculative page cache references is that they can >> temporarily bump a refcount on a page which _used_ to be in the page >> cache and has now been reallocated as some other

Re: [PATCH v3 1/2] x86/setup: don't remove E820_TYPE_RAM for pfn 0

2021-01-13 Thread Oscar Salvador
On Mon, Jan 11, 2021 at 09:40:16PM +0200, Mike Rapoport wrote: > From: Mike Rapoport > > The first 4Kb of memory is a BIOS owned area and to avoid its allocation > for the kernel it was not listed in e820 tables as memory. As the result, > pfn 0 was never recognised by the generic memory manageme

Re: [PATCH] arm64: dts: allwinner: h6: PineH64 model B: Add bluetooth

2021-01-13 Thread Maxime Ripard
On Sun, Jan 10, 2021 at 10:16:06PM +0100, Jernej Skrabec wrote: > PineH64 model B has wifi+bt combo module. Wifi is already supported, so > lets add also bluetooth node. > > Signed-off-by: Jernej Skrabec Applied, thanks Maxime signature.asc Description: PGP signature

Re: [PATCH 0/1] mm: restore full accuracy in COW page reuse

2021-01-13 Thread David Hildenbrand
On 13.01.21 09:52, David Hildenbrand wrote: > On 13.01.21 04:31, Linus Torvalds wrote: >> On Tue, Jan 12, 2021 at 6:16 PM Matthew Wilcox wrote: >>> >>> The thing about the speculative page cache references is that they can >>> temporarily bump a refcount on a page which _used_ to be in the page >>

[PATCH v2 2/2] MAINTAINERS: Update my email address

2021-01-13 Thread Zefan Li
Signed-off-by: Zefan Li --- MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 2a01cd3e0a2b..4987d1ce9ac6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4448,7 +4448,7 @@ F:include/linux/console* CONTROL GROUP (CGROUP) M

Re: 5.11 new lockdep warning related to led-class code (also may involve ata / piix controller)

2021-01-13 Thread Hans de Goede
Hi, On 1/12/21 11:30 PM, Pavel Machek wrote: > Hi! > >> Booting a 5.11-rc2 kernel with lockdep enabled inside a virtualbox vm (which >> still >> emulates good old piix ATA controllers) I get the below lockdep splat early >> on during boot: >> >> This seems to be led-class related but also seems

Re: [PATCH] Documentation: input: define ABS_PRESSURE/ABS_MT_PRESSURE resolution as grams

2021-01-13 Thread Benjamin Tissoires
On Wed, Jan 13, 2021 at 12:03 AM Peter Hutterer wrote: > > ABS_PRESSURE and ABS_MT_PRESSURE on touch devices usually represent > contact size (as a finger flattens with higher pressure the contact size > increases) and userspace translates the kernel pressure value back into > contact size. For ex

Re: [PATCH v3 0/9] Support Runtime PM and host mode by Tegra ChipIdea USB driver

2021-01-13 Thread Dmitry Osipenko
13.01.2021 04:20, Peter Chen пишет: > On 21-01-12 09:56:37, Dmitry Osipenko wrote: >> 29.12.2020 17:26, Dmitry Osipenko пишет: >>> 29.12.2020 08:16, Peter Chen пишет: On 20-12-18 15:02:37, Dmitry Osipenko wrote: > This series implements Runtime PM support for the Tegra ChipIdea USB >

Re: [PATCH] [RFC] net: phy: Fix reboot crash if CONFIG_IP_PNP is not set

2021-01-13 Thread Geert Uytterhoeven
Hi Andrew, On Tue, Jan 5, 2021 at 3:10 PM Andrew Lunn wrote: > > I added a statically-linked ethtool binary to my initramfs, and can > > confirm that retrieving the PHY statistics does not access the PHY > > registers when the device is suspended: > > > > # ethtool --phy-statistics eth0 > >

Re: [PATCH v5] ASoC: cros_ec_codec: Reset I2S RX when probing

2021-01-13 Thread Enric Balletbo i Serra
Hi Yu-Hsun, Thank you for your patch. Some comments below. On 13/1/21 9:17, Yu-Hsuan Hsu wrote: > It is not guaranteed that I2S RX is disabled when the kernel booting. > For example, if the kernel crashes while it is enabled, it will keep > enabled until the next time EC reboots. Reset I2S RX wh

[RESEND PATCH] kasan: fix incorrect arguments passing in kasan_add_zero_shadow

2021-01-13 Thread Lecopzer Chen
kasan_remove_zero_shadow() shall use original virtual address, start and size, instead of shadow address. Fixes: 0207df4fa1a86 ("kernel/memremap, kasan: make ZONE_DEVICE with work with KASAN") Signed-off-by: Lecopzer Chen Reviewed-by: Andrey Konovalov Cc: Andrey Ryabinin Cc: Dan Williams Cc:

Re: [PATCH v2 1/6] drivers: crypto: qce: sha: Restore/save ahash state with custom struct in export/import

2021-01-13 Thread kernel test robot
Hi Thara, Thank you for the patch! Yet something to improve: [auto build test ERROR on cryptodev/master] [also build test ERROR on crypto/master v5.11-rc3 next-20210113] [cannot apply to sparc-next/master] [If your patch is applied to the wrong git tree, kindly drop us a note. And when

[PATCH] drm/amd/display: Simplify bool comparison

2021-01-13 Thread Yang Li
Fix the following coccicheck warning: ./drivers/gpu/drm/amd/display/dc/dml/dcn30/display_mode_vba_30.c:1228:9-20: WARNING: Comparison to bool Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/dc/dml/dcn30/display_mode_vba_30.c | 4 ++-- 1 file changed, 2 insertions

"KASAN: vmalloc-out-of-bounds Read in bpf_trace_run1/2/3/5" and "BUG: unable to handle kernel paging request in bpf_trace_run1/2/3/4" should share the same root cause

2021-01-13 Thread 慕冬亮
Hi developers, I found the following cases should share the same root cause: BUG: unable to handle kernel paging request in bpf_trace_run1 BUG: unable to handle kernel paging request in bpf_trace_run2 BUG: unable to handle kernel paging request in bpf_trace_run3 BUG: unable to handle kernel pagin

Re: [PATCH v3] drm/sun4i: de2: Reimplement plane z position setting logic

2021-01-13 Thread Maxime Ripard
Hi, On Wed, Jan 06, 2021 at 09:46:30PM +0100, Jernej Skrabec wrote: > From: Roman Stratiienko > > To set blending channel order register software needs to know state and > position of each channel, which impossible at plane commit stage. > > Move this procedure to atomic_flush stage, where all

[PATCH 0/4] Add sysfs interface to collect reports from debugging tools

2021-01-13 Thread Alexander Potapenko
This patchset adds a library that captures error reports from debugging tools like KASAN or KFENCE and exposes those reports to userspace via sysfs. Report capturing is controlled by two new types of tracepoints: error_report_start and error_report_end, that must be added to the tools that want to

  1   2   3   4   5   6   7   8   9   10   >