Re: [PATCH] mm/memcontrol:rewrite mem_cgroup_page_lruvec()

2020-11-04 Thread Roman Gushchin
On Wed, Nov 04, 2020 at 10:25:16PM +0800, Hui Su wrote: > mem_cgroup_page_lruvec() in memcontrol.c and > mem_cgroup_lruvec() in memcontrol.h is very similar > except for the param(page and memcg) which also can be > convert to each other. > > So rewrite mem_cgroup_page_lruvec() with

Re: [PATCH bpf-next] lib/strncpy_from_user.c: Don't overcopy bytes after NUL terminator

2020-11-04 Thread Daniel Borkmann
On 11/4/20 9:18 PM, Daniel Xu wrote: On Wed Nov 4, 2020 at 8:24 AM PST, Daniel Borkmann wrote: On 11/4/20 3:29 AM, Daniel Xu wrote: do_strncpy_from_user() may copy some extra bytes after the NUL terminator into the destination buffer. This usually does not matter for normal string operations.

Re: [PATCH v1] lan743x: correctly handle chips with internal PHY

2020-11-04 Thread Sven Van Asbroeck
Hi Jakub, On Wed, Nov 4, 2020 at 4:58 PM Jakub Kicinski wrote: > > Not a big deal but if you have to change the patch could you make sure > your email address is spelled the same in the From line and other tags? Absolutely, thanks for letting me know about those case differences.

Re: [PATCH bpf-next v3 5/9] bpf: Allow LSM programs to use bpf spin locks

2020-11-04 Thread Martin KaFai Lau
On Wed, Nov 04, 2020 at 05:44:49PM +0100, KP Singh wrote: > From: KP Singh > > Usage of spin locks was not allowed for tracing programs due to > insufficient preemption checks. The verifier does not currently prevent > LSM programs from using spin locks, but the helpers are not exposed > via

Re: [PATCH v8 -tip 17/26] sched: Split the cookie and setup per-task cookie on fork

2020-11-04 Thread chris hyser
On 10/19/20 9:43 PM, Joel Fernandes (Google) wrote: In order to prevent interference and clearly support both per-task and CGroup APIs, split the cookie into 2 and allow it to be set from either per-task, or CGroup API. The final cookie is the combined value of both and is computed when the

Re: [PATCH v3 1/2] ASoC: dt-bindings: fsl_aud2htx: Add binding doc for aud2htx module

2020-11-04 Thread Rob Herring
On Mon, 02 Nov 2020 09:52:26 +0800, Shengjiu Wang wrote: > AUD2HTX (Audio Subsystem TO HDMI TX Subsystem) is a new > IP module found on i.MX8MP. > > Signed-off-by: Shengjiu Wang > --- > changes in v3: > - Add additionalProperties > > changes in v2: > - fix indentation issue > - remove nodename

Re: [PATCH 1/4] dt-bindings: clock: document the fsl-flexspi-clk driver

2020-11-04 Thread Rob Herring
On Sun, 01 Nov 2020 20:20:50 +0100, Michael Walle wrote: > Signed-off-by: Michael Walle > --- > .../bindings/clock/fsl,flexspi-clock.yaml | 55 +++ > 1 file changed, 55 insertions(+) > create mode 100644 > Documentation/devicetree/bindings/clock/fsl,flexspi-clock.yaml >

Re: [PATCH 1/4] dt-bindings: vendor-prefixes: Add abt vendor prefix

2020-11-04 Thread Rob Herring
On Sun, 01 Nov 2020 09:31:47 +, Paul Cercueil wrote: > Add prefix for ShenZhen Asia Better Technology Ltd. > > Signed-off-by: Paul Cercueil > --- > Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ > 1 file changed, 2 insertions(+) > Acked-by: Rob Herring

Re: [PATCH v2 1/7] media: uvcvideo: Use pr_cont() macro

2020-11-04 Thread Ricardo Ribalda
Hi On Wed, Nov 4, 2020 at 10:51 PM Joe Perches wrote: > > On Wed, 2020-11-04 at 23:42 +0200, Laurent Pinchart wrote: > > Hi Joe, > > Hi Laurent. > > > On Wed, Nov 04, 2020 at 11:29:30AM -0800, Joe Perches wrote: > > > On Wed, 2020-11-04 at 19:07 +0100, Ricardo Ribalda wrote: > > > > Replace all

Re: [PATCH 1/2] extcon: fsa9480: Rewrite bindings in YAML and extend

2020-11-04 Thread Rob Herring
On Sun, 01 Nov 2020 01:43:56 +0100, Linus Walleij wrote: > This rewrites the FSA9480 DT bindings using YAML and > extends them with the compatible TI TSU6111. > > I chose to name the file fcs,fsa880 since this is the > first switch, later versions are improvements. > > Cc:

Re: [PATCH v2 1/4] dt-bindings: microchip: atmel, at91rm9200-tcb: add atmel, tcb-pwm

2020-11-04 Thread Rob Herring
On Fri, 30 Oct 2020 19:36:55 +0100, Alexandre Belloni wrote: > Move the TCB pwm nodes under their parent. This removes the need for the > tc-block property as there is now a child-parent relationship between the > TC channel and the TC block. > > Move the documentation to the main file. > >

Re: [PATCH v8 1/4] powerpc: Refactor kexec functions to move arch independent code to drivers/of

2020-11-04 Thread Rob Herring
On Fri, Oct 30, 2020 at 10:44:26AM -0700, Lakshmi Ramasubramanian wrote: > The functions remove_ima_buffer() and delete_fdt_mem_rsv() that handle > carrying forward the IMA measurement logs on kexec for powerpc do not > have architecture specific code, but they are currently defined for > powerpc

Re: [PATCH] arm64: dts: ti: k3-am65*/j721e*: Fix unit address format error for dss node

2020-11-04 Thread Jyri Sarha
On 05/11/2020 00:25, Nishanth Menon wrote: > Fix the node address to follow the device tree convention. > > This fixes the dtc warning: > : Warning (simple_bus_reg): /bus@10/dss@04a0: simple-bus > unit address format error, expected "4a0" > > Fixes: 76921f15acc0 ("arm64: dts: ti:

Re: [PATCH] iio/adc: ingenic: Fix AUX/VBAT readings when touchscreen is used

2020-11-04 Thread Artur Rojek
Hi Paul, On 2020-11-03 21:12, Paul Cercueil wrote: When the command feature of the ADC is used, it is possible to program the ADC, and specify at each step what input should be processed, and in comparison to what reference. This broke the AUX and battery readings when the touchscreen was

[PATCH] arm64: dts: ti: k3-am65*/j721e*: Fix unit address format error for dss node

2020-11-04 Thread Nishanth Menon
Fix the node address to follow the device tree convention. This fixes the dtc warning: : Warning (simple_bus_reg): /bus@10/dss@04a0: simple-bus unit address format error, expected "4a0" Fixes: 76921f15acc0 ("arm64: dts: ti: k3-j721e-main: Add DSS node") Fixes: fc539b90eda2 ("arm64:

Re: [PATCH bpf-next v3 2/9] libbpf: Add support for task local storage

2020-11-04 Thread Martin KaFai Lau
On Wed, Nov 04, 2020 at 05:44:46PM +0100, KP Singh wrote: > From: KP Singh > > Updates the bpf_probe_map_type API to also support > BPF_MAP_TYPE_TASK_STORAGE similar to other local storage maps. > > Signed-off-by: KP Singh Acked-by: Martin KaFai Lau

KASAN: use-after-free Read in path_init (3)

2020-11-04 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:4e78c578 Add linux-next specific files for 20201030 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=110d0c9250 kernel config: https://syzkaller.appspot.com/x/.config?x=83318758268dc331 dashboard

[tip:x86/apic] BUILD SUCCESS f36a74b9345aebaf5d325380df87a54720229d18

2020-11-04 Thread kernel test robot
allnoconfig i386 randconfig-a004-20201104 i386 randconfig-a006-20201104 i386 randconfig-a005-20201104 i386 randconfig-a001-20201104 i386 randconfig-a002-20201104 i386 randconfig-a003-20201104

Re: [PATCH bpf-next v3 1/9] bpf: Implement task local storage

2020-11-04 Thread Martin KaFai Lau
Please ignore this reply which has missed some recipients. On Wed, Nov 04, 2020 at 02:08:14PM -0800, Martin KaFai Lau wrote: > On Wed, Nov 04, 2020 at 05:44:45PM +0100, KP Singh wrote: > [ ... ] > > > +static void *bpf_pid_task_storage_lookup_elem(struct bpf_map *map, void > > *key) > > +{ > >

Re: [PATCH bpf-next v3 1/9] bpf: Implement task local storage

2020-11-04 Thread Martin KaFai Lau
On Wed, Nov 04, 2020 at 05:44:45PM +0100, KP Singh wrote: [ ... ] > +static void *bpf_pid_task_storage_lookup_elem(struct bpf_map *map, void *key) > +{ > + struct bpf_local_storage_data *sdata; > + struct task_struct *task; > + unsigned int f_flags; > + struct pid *pid; > +

Re: RFC: default to spec_store_bypass_disable=prctl spectre_v2_user=prctl

2020-11-04 Thread Kees Cook
On Wed, Nov 04, 2020 at 04:57:02PM -0500, Andrea Arcangeli wrote: > Switch the kernel default of SSBD and STIBP to the ones with > CONFIG_SECCOMP=n (i.e. spec_store_bypass_disable=prctl > spectre_v2_user=prctl) even if CONFIG_SECCOMP=y. Agreed. I think this is the right time to flip this switch.

Re: [PATCH v3] swiotlb: Adjust SWIOTBL bounce buffer size for SEV guests.

2020-11-04 Thread Konrad Rzeszutek Wilk
On Wed, Nov 04, 2020 at 10:08:04PM +, Ashish Kalra wrote: > From: Ashish Kalra > > For SEV, all DMA to and from guest has to use shared > (un-encrypted) pages. SEV uses SWIOTLB to make this > happen without requiring changes to device drivers. > However, depending on workload being run, the

[PATCH v3] swiotlb: Adjust SWIOTBL bounce buffer size for SEV guests.

2020-11-04 Thread Ashish Kalra
From: Ashish Kalra For SEV, all DMA to and from guest has to use shared (un-encrypted) pages. SEV uses SWIOTLB to make this happen without requiring changes to device drivers. However, depending on workload being run, the default 64MB of SWIOTLB might not be enough and SWIOTLB may run out of

Re: [PATCH bpf-next v3 1/9] bpf: Implement task local storage

2020-11-04 Thread Martin KaFai Lau
On Wed, Nov 04, 2020 at 05:44:45PM +0100, KP Singh wrote: [ ... ] > +static void *bpf_pid_task_storage_lookup_elem(struct bpf_map *map, void *key) > +{ > + struct bpf_local_storage_data *sdata; > + struct task_struct *task; > + unsigned int f_flags; > + struct pid *pid; > +

Re: [PATCH net-next v3 2/4] dt-bindings: net: Add Rx/Tx output configuration for 10base T1L

2020-11-04 Thread Rob Herring
On Fri, Oct 30, 2020 at 08:56:55PM +0100, Andrew Lunn wrote: > On Fri, Oct 30, 2020 at 12:29:48PM -0500, Dan Murphy wrote: > > Per the 802.3cg spec the 10base T1L can operate at 2 different > > differential voltages 1v p2p and 2.4v p2p. The abiility of the PHY to > > drive that output is dependent

Re: [RFC 8/9] staging: dpaa2-switch: properly setup switching domains

2020-11-04 Thread Vladimir Oltean
On Wed, Nov 04, 2020 at 06:57:19PM +0200, Ioana Ciornei wrote: > From: Ioana Ciornei > > Until now, the DPAA2 switch was not capable to properly setup it's > switching domains depending on the existence, or lack thereof, of a > upper bridge device. This meant that all switch ports of a DPSW

Re: [GIT PULL] Docs-build warning fixes for 5.10-rc3

2020-11-04 Thread Stephen Rothwell
Hi Linus, On Tue, 3 Nov 2020 13:18:27 -0800 Linus Torvalds wrote: > > On Tue, Nov 3, 2020 at 11:44 AM Jonathan Corbet wrote: > > > > This pull contains a series of warning fixes from Mauro; once applied, the > > number of warnings from the once-noisy docs build process is nearly zero. > >

[tip: core/entry] x86/entry: Move nmi entry/exit into common code

2020-11-04 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the core/entry branch of tip: Commit-ID: b6be002bcd1dd1dedb926abf3c90c794eacb77dc Gitweb: https://git.kernel.org/tip/b6be002bcd1dd1dedb926abf3c90c794eacb77dc Author:Thomas Gleixner AuthorDate:Mon, 02 Nov 2020 12:53:16 -08:00

Re: [PATCH 1/2] dt-bindings: pinctrl: qcom: Add sm8250 lpass lpi pinctrl bindings

2020-11-04 Thread Rob Herring
On Fri, Oct 30, 2020 at 04:34:20PM +, Srinivas Kandagatla wrote: > Add device tree binding Documentation details for Qualcomm SM8250 > LPASS(Low Power Audio Sub System) LPI(Low Power Island) pinctrl driver. > > Signed-off-by: Srinivas Kandagatla > --- >

Re: [PATCH v6 6/6] dt-bindings: spi: Add compatible for Intel LGM SoC

2020-11-04 Thread Rob Herring
On Fri, Oct 30, 2020 at 01:31:53PM +0800, Ramuthevar,Vadivel MuruganX wrote: > From: Ramuthevar Vadivel Murugan > > Add compatible for Intel LGM SoC. > > Signed-off-by: Ramuthevar Vadivel Murugan > > --- > Documentation/devicetree/bindings/spi/cadence-quadspi.yaml | 1 + > 1 file changed, 1

Re: [PATCH v4 14/16] dt-bindings: power: Add MT8192 power domains

2020-11-04 Thread Rob Herring
On Fri, 30 Oct 2020 12:36:20 +0100, Enric Balletbo i Serra wrote: > From: Weiyi Lu > > Add power domains dt-bindings for MT8192. > > Signed-off-by: Weiyi Lu > Signed-off-by: Enric Balletbo i Serra > --- > > Changes in v4: None > Changes in v3: None > Changes in v2: None > >

Re: [PATCH v4 1/2] dt-bindings: Add bindings for BrcmSTB SCMI mailbox driver

2020-11-04 Thread Jim Quinlan
On Wed, Nov 4, 2020 at 4:50 PM Rob Herring wrote: > > On Thu, Oct 29, 2020 at 03:59:06PM -0400, Jim Quinlan wrote: > > Bindings are added. Only one interrupt is needed because > > we do not yet employ the SCMI p2a channel. > > I still don't understand what this is. To repeat from v1: I thought

Re: [PATCH v4 10/16] dt-bindings: power: Add MT8183 power domains

2020-11-04 Thread Rob Herring
On Fri, 30 Oct 2020 12:36:16 +0100, Enric Balletbo i Serra wrote: > Add power domains dt-bindings for MT8183. > > Signed-off-by: Matthias Brugger > Signed-off-by: Enric Balletbo i Serra > --- > > Changes in v4: None > Changes in v3: None > Changes in v2: None > >

RFC: default to spec_store_bypass_disable=prctl spectre_v2_user=prctl

2020-11-04 Thread Andrea Arcangeli
Hello, [ Given the CC list and your mention of spectre_v2_user=prctl is spot on to show the badness... I spawned a new thread to suggest another thing related to seccomp that I've been intending to suggest for a while ] On Tue, Nov 03, 2020 at 04:29:38PM -0800, Kees Cook wrote: > I assume

Re: [PATCH v6 5/6] dt-bindings: spi: Convert cadence-quadspi.txt to cadence-quadspi.yaml

2020-11-04 Thread Rob Herring
On Mon, Nov 02, 2020 at 01:59:41PM +0800, Ramuthevar, Vadivel MuruganX wrote: > Hi Rob, > > Thank you for the review comments... > > On 30/10/2020 11:18 pm, Rob Herring wrote: > > On Fri, Oct 30, 2020 at 01:31:52PM +0800, Ramuthevar,Vadivel MuruganX wrote: > > > From: Ramuthevar Vadivel Murugan

[PATCH] HID: mcp2221: Fix GPIO output handling

2020-11-04 Thread Lars Povlsen
The mcp2221 driver GPIO output handling has has several issues. * A wrong value is used for the GPIO direction. * Wrong offsets are calculated for some GPIO set value/set direction operations, when offset is larger than 0. This has been fixed by introducing proper manifest constants for the

Re: [PATCH V2 00/10] PKS: Add Protection Keys Supervisor (PKS) support

2020-11-04 Thread Thomas Gleixner
On Wed, Nov 04 2020 at 09:46, Ira Weiny wrote: > On Tue, Nov 03, 2020 at 12:36:16AM +0100, Thomas Gleixner wrote: >> This is the wrong ordering, really. >> >> x86/entry: Move nmi entry/exit into common code >> >> is a general cleanup and has absolutely nothing to do with PKRS.So this >>

RE: [PATCH v22 5/5] remoteproc: Add initial zynqmp R5 remoteproc driver

2020-11-04 Thread Ben Levinsky
Hi Mathieu, > -Original Message- > From: Mathieu Poirier > Sent: Wednesday, November 4, 2020 1:30 PM > To: Ben Levinsky > Cc: michael.auch...@ni.com; Stefano Stabellini ; > devicet...@vger.kernel.org; linux-remotep...@vger.kernel.org; linux- > ker...@vger.kernel.org;

Re: [git pull] drm next pull for 5.10-rc1

2020-11-04 Thread Lyude Paul
ACK, I will send out a patch for this asap On Wed, 2020-11-04 at 01:20 +0300, Kirill A. Shutemov wrote: > On Thu, Oct 15, 2020 at 11:33:08AM +1000, Dave Airlie wrote: > >   drm/nouveau/kms: Search for encoders' connectors properly > > This commit (09838c4efe9a) broke boot for me. These two

Re: [PATCH v1] lan743x: correctly handle chips with internal PHY

2020-11-04 Thread Jakub Kicinski
On Wed, 4 Nov 2020 11:08:47 -0500 Sven Van Asbroeck wrote: > Tested-by: Sven Van Asbroeck # lan7430 > Signed-off-by: Sven Van Asbroeck Not a big deal but if you have to change the patch could you make sure your email address is spelled the same in the From line and other tags?

Re: [PATCH net-next 1/3] ptp: idt82p33: add adjphase support

2020-11-04 Thread Jakub Kicinski
On Wed, 4 Nov 2020 11:01:47 -0500 min.li...@renesas.com wrote: > From: Min Li > > Add idt82p33_adjphase() to support PHC write phase mode. > > Signed-off-by: Min Li This appears to break the build. Each patch must build, otherwise we're risking breaking builds when people bisect bugs with git

Re: [PATCH v4 0/7] arm64: dts: rockchip: Add Engicam PX30.Core

2020-11-04 Thread Heiko Stübner
Am Mittwoch, 4. November 2020, 20:54:40 CET schrieb Jagan Teki: > On Thu, Oct 22, 2020 at 12:27 AM Jagan Teki > wrote: > > > > Hi Heiko, > > > > On Tue, Sep 29, 2020 at 2:02 PM Jagan Teki > > wrote: > > > > > > PX30.Core is an EDIMM SOM based on Rockchip PX30 from Engicam. > > > > > >

linux-next: build warning after merge of the rdma-fixes tree

2020-11-04 Thread Stephen Rothwell
Hi all, After merging the rdma-fixes tree, today's linux-next build (htmldocs) produced this warning: drivers/infiniband/ulp/srpt/ib_srpt.c:630: warning: Function parameter or member 'port_cnt' not described in 'srpt_unregister_mad_agent' Introduced by commit 372a1786283e ("IB/srpt: Fix

Re: [PATCH v8 -tip 20/26] sched: Release references to the per-task cookie on exit

2020-11-04 Thread chris hyser
On 10/19/20 9:43 PM, Joel Fernandes (Google) wrote: During exit, we have to free the references to a cookie that might be shared by many tasks. This commit therefore ensures when the task_struct is released, any references to cookies that it holds are also released. Tested-by: Julien Desfossez

Re: [PATCH v1] lan743x: correctly handle chips with internal PHY

2020-11-04 Thread Sven Van Asbroeck
Andrew, On Wed, Nov 4, 2020 at 11:55 AM Andrew Lunn wrote: > If you look at that patch, you see: > > - ret = phy_connect_direct(netdev, phydev, > -lan743x_phy_link_status_change, > -PHY_INTERFACE_MODE_GMII); > - if (ret)

Re: [PATCH v2 1/7] media: uvcvideo: Use pr_cont() macro

2020-11-04 Thread Joe Perches
On Wed, 2020-11-04 at 23:42 +0200, Laurent Pinchart wrote: > Hi Joe, Hi Laurent. > On Wed, Nov 04, 2020 at 11:29:30AM -0800, Joe Perches wrote: > > On Wed, 2020-11-04 at 19:07 +0100, Ricardo Ribalda wrote: > > > Replace all the uses of printk(KERN_CONT ... with pr_cont(). > > > > Perhaps remove

Re: [PATCH v4 1/2] dt-bindings: Add bindings for BrcmSTB SCMI mailbox driver

2020-11-04 Thread Rob Herring
On Thu, Oct 29, 2020 at 03:59:06PM -0400, Jim Quinlan wrote: > Bindings are added. Only one interrupt is needed because > we do not yet employ the SCMI p2a channel. I still don't understand what this is. To repeat from v1: I thought SCMI was a mailbox consumer, not provider? > >

Re: [PATCH v2 2/2] media: dt-bindings: media: i2c: Add IMX300 CMOS sensor binding

2020-11-04 Thread Rob Herring
On Thu, Oct 29, 2020 at 06:29:47PM +0100, khol...@gmail.com wrote: > From: AngeloGioacchino Del Regno > > Add YAML device tree binding for IMX300 CMOS image sensor, and > the relevant MAINTAINERS entries. > > Signed-off-by: AngeloGioacchino Del Regno > --- >

Re: [PATCH v8 3/3] hv_netvsc: Use vmbus_requestor to generate transaction IDs for VMBus hardening

2020-11-04 Thread Jakub Kicinski
On Wed, 4 Nov 2020 13:43:48 -0800 Jakub Kicinski wrote: > On Wed, 4 Nov 2020 16:40:27 +0100 Andrea Parri (Microsoft) wrote: > > From: Andres Beltran > > > > Currently, pointers to guest memory are passed to Hyper-V as > > transaction IDs in netvsc. In the face of errors or malicious > >

Re: [PATCH 2/3] dt-bindings: goodix

2020-11-04 Thread Rob Herring
On Thu, Oct 29, 2020 at 06:03:12PM +0100, Andrej Valek wrote: > Add information about option how to disable FW loading for each boot. Please fix your subject. > > Signed-off-by: Andrej Valek > --- > Documentation/devicetree/bindings/input/touchscreen/goodix.yaml | 1 + > 1 file changed, 1

Re: [PATCH v8 3/3] hv_netvsc: Use vmbus_requestor to generate transaction IDs for VMBus hardening

2020-11-04 Thread Jakub Kicinski
On Wed, 4 Nov 2020 16:40:27 +0100 Andrea Parri (Microsoft) wrote: > From: Andres Beltran > > Currently, pointers to guest memory are passed to Hyper-V as > transaction IDs in netvsc. In the face of errors or malicious > behavior in Hyper-V, netvsc should not expose or trust the transaction >

Re: [PATCH v4] dt-bindings: mtd: gpmi-nand: Fix matching of clocks on different SoCs

2020-11-04 Thread Rob Herring
On Thu, 29 Oct 2020 17:20:21 +0100, Krzysztof Kozlowski wrote: > Driver requires different amount of clocks for different SoCs. Describe > these requirements properly to fix dtbs_check warnings like: > > arch/arm64/boot/dts/freescale/imx8mm-beacon-kit.dt.yaml: > nand-controller@33002000:

Re: [PATCH v2 1/7] media: uvcvideo: Use pr_cont() macro

2020-11-04 Thread Ricardo Ribalda
Hi Joe On Wed, Nov 4, 2020 at 8:29 PM Joe Perches wrote: > > On Wed, 2020-11-04 at 19:07 +0100, Ricardo Ribalda wrote: > > Replace all the uses of printk(KERN_CONT ... with pr_cont(). > > Perhaps remove the uvc_printk macro and uses and use the more > common pr_fmt and pr_ mechanisms. I have

Re: [PATCH v2 1/7] media: uvcvideo: Use pr_cont() macro

2020-11-04 Thread Laurent Pinchart
Hi Joe, On Wed, Nov 04, 2020 at 11:29:30AM -0800, Joe Perches wrote: > On Wed, 2020-11-04 at 19:07 +0100, Ricardo Ribalda wrote: > > Replace all the uses of printk(KERN_CONT ... with pr_cont(). > > Perhaps remove the uvc_printk macro and uses and use the more > common pr_fmt and pr_ mechanisms.

Re: [PATCH v3 3/6] dt-bindings: phy: add the samsung,exynos-pcie-phy binding

2020-11-04 Thread Rob Herring
On Thu, 29 Oct 2020 14:40:14 +0100, Marek Szyprowski wrote: > Add dt-bindings for the Samsung Exynos PCIe PHY controller (Exynos5433 > variant). Based on the text dt-binding posted by Jaehoon Chung. > > Signed-off-by: Marek Szyprowski > Reviewed-by: Krzysztof Kozlowski > --- >

Re: [PATCH v3 5/6] pci: dwc: pci-exynos: rework the driver to support Exynos5433 variant

2020-11-04 Thread Rob Herring
On Thu, Oct 29, 2020 at 02:40:16PM +0100, Marek Szyprowski wrote: > From: Jaehoon Chung > > Exynos5440 SoC support has been dropped since commit 8c83315da1cf ("ARM: > dts: exynos: Remove Exynos5440"). Rework this driver to support DWC PCIe > variant found in the Exynos5433 SoCs. > > The main

Re: [PATCH] net: macvlan: remove redundant initialization in macvlan_dev_netpoll_setup

2020-11-04 Thread Jakub Kicinski
On Wed, 4 Nov 2020 06:53:11 -0500 menglong8.d...@gmail.com wrote: > From: Menglong Dong > > The initialization for err with 0 seems useless, as it is soon updated > with -ENOMEM. So, we can init err with -ENOMEM. > > Signed-off-by: Menglong Dong > --- > drivers/net/macvlan.c | 3 +-- > 1

Re: [PATCH v3 2/6] dt-bindings: pci: add the samsung,exynos-pcie binding

2020-11-04 Thread Rob Herring
On Thu, Oct 29, 2020 at 02:40:13PM +0100, Marek Szyprowski wrote: > Add dt-bindings for the Samsung Exynos PCIe controller (Exynos5433 > variant). Based on the text dt-binding posted by Jaehoon Chung. > > Signed-off-by: Marek Szyprowski > Reviewed-by: Krzysztof Kozlowski > --- >

Re: [PATCH 2/2] infiniband: Modify the reference to xa_store_irq() because the parameter of this function has changed

2020-11-04 Thread Jason Gunthorpe
On Wed, Nov 04, 2020 at 07:30:36PM +, Matthew Wilcox wrote: > On Wed, Nov 04, 2020 at 02:58:43PM -0400, Jason Gunthorpe wrote: > > > static void cm_finalize_id(struct cm_id_private *cm_id_priv) > > > { > > > xa_store_irq(_id_table, cm_local_id(cm_id_priv->id.local_id), > > > -

Re: [PATCH v22 5/5] remoteproc: Add initial zynqmp R5 remoteproc driver

2020-11-04 Thread Mathieu Poirier
On Tue, Nov 03, 2020 at 10:23:39AM -0800, Ben Levinsky wrote: > R5 is included in Xilinx Zynq UltraScale MPSoC so by adding this > remotproc driver, we can boot the R5 sub-system in different 2 > configurations - > * split > * lock-step > > The Xilinx R5 Remoteproc Driver boots the

Re: Crash when specifying non-existent serial port in speakup / tty_kopen

2020-11-04 Thread Samuel Thibault
Matthias Reichl, le mer. 04 nov. 2020 22:15:05 +0100, a ecrit: > > This looks like only a warning, did it actually crash? > > Yes, scroll down a bit, the null pointer oops followed almost > immediately after that > > [ 49.979043] BUG: kernel NULL pointer dereference, address: 0090

Re: [RFC 6/9] staging: dpaa2-switch: add .ndo_start_xmit() callback

2020-11-04 Thread Vladimir Oltean
On Wed, Nov 04, 2020 at 06:57:17PM +0200, Ioana Ciornei wrote: > From: Ioana Ciornei > > Implement the .ndo_start_xmit() callback for the switch port interfaces. > For each of the switch ports, gather the corresponding queue > destination ID (QDID) necessary for Tx enqueueing. > > We'll reserve

Re: [PATCH v7 2/3] drm: Add support for the LogiCVC display controller

2020-11-04 Thread Sam Ravnborg
Hi Paul. A few comments in the following. I did not find time to read all of the driver. Sam On Mon, Nov 02, 2020 at 04:53:07PM +0100, Paul Kocialkowski wrote: > Introduces a driver for the LogiCVC display controller, a programmable > logic controller optimized for use in Xilinx

Re: [PATCH v2 4/6] ASoC: qcom: dt-bindings: add bindings for lpass va macro codec

2020-11-04 Thread Rob Herring
On Thu, 29 Oct 2020 11:08:27 +, Srinivas Kandagatla wrote: > This binding is for LPASS has internal codec VA macro which is > for connecting with DMICs. > > Signed-off-by: Srinivas Kandagatla > --- > .../bindings/sound/qcom,lpass-va-macro.yaml | 67 +++ > 1 file changed,

Greetings from Miss Jeannette Bryan.

2020-11-04 Thread Miss Jeannette Bryan
Greetings from Miss Jeannette Bryan. How are you and your family doing today?Hope fine? I would like to use this opportunity to introduce myself to you. I am Miss Jeannette Bryan. My parents are Mr. and Mrs. Dikko Bryan ; my father was a highly reputable business magnet who operated Sao Tome &

Re: [PATCH v11 08/14] s390/vfio-ap: hot plug/unplug queues on bind/unbind of queue device

2020-11-04 Thread Tony Krowiak
On 11/4/20 7:52 AM, Halil Pasic wrote: On Tue, 3 Nov 2020 17:49:21 -0500 Tony Krowiak wrote: +void vfio_ap_mdev_hot_unplug_queue(struct vfio_ap_queue *q) +{ + unsigned long apid = AP_QID_CARD(q->apqn); + + if ((q->matrix_mdev == NULL) ||

Re: [PATCH v2 1/6] ASoC: qcom: dt-bindings: add bindings for lpass wsa macro codec

2020-11-04 Thread Rob Herring
On Thu, 29 Oct 2020 11:08:24 +, Srinivas Kandagatla wrote: > This binding is for LPASS has internal codec WSA macro which is > for connecting with WSA Smart speakers. > > Signed-off-by: Srinivas Kandagatla > --- > .../bindings/sound/qcom,lpass-wsa-macro.yaml | 69 +++ > 1

Re: [PATCH 2/2] dt-bindings: mfd: ahc1ec0.yaml: Add Advantech Embedded Controll - AHC1EC0

2020-11-04 Thread Rob Herring
On Fri, Oct 23, 2020 at 1:30 AM Shihlun.Lin wrote: > > Hi Rob, > > Thank you for taking the time for checking. > > > -Original Message- > > From: Rob Herring [mailto:r...@kernel.org] > > Sent: Saturday, October 17, 2020 2:31 AM > > To: Shihlun.Lin > > Cc: Lee Jones;

Re: [PATCH] arm64: dts: exynos: Fix reboot/poweroff issues on Exynos7

2020-11-04 Thread Paweł Chmiel
Hi On 29.10.2020 18:50, Krzysztof Kozlowski wrote: > On Wed, Oct 28, 2020 at 10:08:13PM +0100, Paweł Chmiel wrote: >> In vendor sources for Exynos 7420, psci is not used to reboot or >> poweroff device. Instead we should use syscon reboot/poweroff. >> Previously it was not possible to poweroff

Re: Crash when specifying non-existent serial port in speakup / tty_kopen

2020-11-04 Thread Matthias Reichl
Hi Samuel, On Wed, Nov 04, 2020 at 09:13:23PM +0100, Samuel Thibault wrote: > Hello, > > Matthias Reichl, le mer. 04 nov. 2020 15:57:37 +0100, a ecrit: > > I initially noticed this oops on x86_64 running kernel 5.4.59 when > > I accidentally mistyped "ttyS0" as "ttyS9": > > > > modprobe

[GIT PULL] PCI fixes for v5.10

2020-11-04 Thread Bjorn Helgaas
The following changes since commit 3650b228f83adda7e5ee532e2b90429c03f7b9ec: Linux 5.10-rc1 (2020-10-25 15:14:11 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git tags/pci-v5.10-fixes-1 for you to fetch changes up to

Re: [RESEND PATCH v3 1/4] dt-bindings: connector: add power-opmode optional property to usb-connector

2020-11-04 Thread Rob Herring
On Fri, Oct 30, 2020 at 04:27:14PM +0100, Amelie DELAUNAY wrote: > > > On 10/30/20 3:29 PM, Rob Herring wrote: > > On Thu, Oct 29, 2020 at 11:49 AM Amelie DELAUNAY > > wrote: > > > > > > > > > > > > On 10/29/20 4:40 PM, Rob Herring wrote: > > > > On Thu, Oct 29, 2020 at 10:58:03AM +0100,

Re: Linux 5.9.4

2020-11-04 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index 50e927f34853..0c8f0ba8c34f 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 9 -SUBLEVEL = 3 +SUBLEVEL = 4 EXTRAVERSION = NAME = Kleptomaniac Octopus diff --git

Linux 5.9.4

2020-11-04 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.9.4 kernel. This is only a bugfix for the 5.9.3 kernel release which had some problems with some symlinks for the powerpc selftests. This problem was caused by issues in going from git->patch->quilt->git and things got a bit messed up. To resolve this, I

Re: [PATCH v2 2/2] ARM: dts: BCM5301X: Linksys EA9500 make use of pinctrl

2020-11-04 Thread Vivek Unune
On Wed, Nov 04, 2020 at 12:37:45PM -0800, Florian Fainelli wrote: > > > On 11/4/2020 12:29 PM, Vivek Unune wrote: > > Now that we have a pin controller, use that instead of manuplating the > > mdio/mdc pins directly. i.e. we no longer require the mdio-mii-mux > > I am a bit confused here as I

Re: [Freedreno] [PATCH v5 3/3] dt-bindings: drm/msm/gpu: Add cooling device support

2020-11-04 Thread Rob Clark
On Wed, Nov 4, 2020 at 12:03 PM Rob Herring wrote: > > On Fri, 30 Oct 2020 16:17:12 +0530, Akhil P Oommen wrote: > > Add cooling device support to gpu. A cooling device is bound to a > > thermal zone to allow thermal mitigation. > > > > Signed-off-by: Akhil P Oommen > > Reviewed-by: Matthias

[PATCH v1 2/2] spi: Populate fwnode in of_register_spi_device()

2020-11-04 Thread Saravana Kannan
From: Daniel Mentz This allows the fw_devlink feature to work for spi devices too. This avoids unnecessary probe deferrals related to spi devices and improves suspend/resume ordering for spi devices when fw_devlink=on. Signed-off-by: Daniel Mentz [saravanak: Minor commit text cleanup]

Re: [PATCH] dt-bindings: serial: 8250_omap: Add compatible for UART controller on AM64 SoC

2020-11-04 Thread Rob Herring
On Thu, 29 Oct 2020 12:23:18 +0530, Vignesh Raghavendra wrote: > AM64 uses a UART controller that is compatible with AM654 UART. > Introduce a specific compatible to help handle the differences if > necessary. > > Signed-off-by: Vignesh Raghavendra > --- >

[PATCH v1 1/2] driver core: Fix lockdep warning on wfs_lock

2020-11-04 Thread Saravana Kannan
There's a potential deadlock with the following cycle: wfs_lock --> device_links_lock --> kn->count Fix this by simply dropping the lock around a list_empty() check that's just exported to a sysfs file. The sysfs file output is an instantaneous check anyway and the lock doesn't really add any

Re: [PATCH] ARM: do not assemble iwmmxt.S with LLVM toolchain

2020-11-04 Thread Nick Desaulniers
On Mon, Apr 13, 2020 at 2:01 PM Russell King - ARM Linux admin wrote: > > On Mon, Apr 13, 2020 at 12:23:38PM -0700, Nick Desaulniers wrote: > > On Fri, Apr 10, 2020 at 5:33 AM Russell King - ARM Linux admin > > wrote: > > > > > > For older CPUs, it doesn't matter what the latest ARM ARM says,

Re: [Patch v2] spi: fsl-dspi: fix wrong pointer in suspend/resume

2020-11-04 Thread Mark Brown
On Tue, 3 Nov 2020 10:05:46 +0800, Qiang Zhao wrote: > Since commit 530b5affc675 ("spi: fsl-dspi: fix use-after-free in > remove path"), this driver causes a "NULL pointer dereference" > in dspi_suspend/resume. > This is because since this commit, the drivers private data point to > "dspi" instead

Re: [PATCH] spi: fsl-dspi: fix NULL pointer dereference

2020-11-04 Thread Mark Brown
On Thu, 29 Oct 2020 16:40:35 +0800, Qiang Zhao wrote: > Since commit 530b5affc675 ("spi: fsl-dspi: fix use-after-free in > remove path"), this driver causes a kernel oops: > > [ 64.587431] Unable to handle kernel NULL pointer dereference at > virtual address 0020 > [..] > [

Re: [PATCH] ASoC: mchp-spdiftx: Do not set Validity bit(s)

2020-11-04 Thread Mark Brown
On Wed, 4 Nov 2020 17:57:38 +0200, Codrin Ciubotariu wrote: > The Validity bits (bit 28) must not be set in order to have the samples > valid. Some controllers look for this bit and ignore the samples if it > is set. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git

Re: [PATCH 4/4] pinctrl: amd: remove debounce filter setting in irq type setting

2020-11-04 Thread Andy Shevchenko
On Wed, Nov 4, 2020 at 6:05 PM Coiby Xu wrote: > > Debounce filter setting should be independent from irq type setting > because according to the ACPI specs, there are separate arguments for > specifying debounce timeout and irq type in GpioIo and GpioInt. > > This will fix broken touchpads for

linux-next: Fixes tag needs some work in the drm-msm tree

2020-11-04 Thread Stephen Rothwell
Hi all, In commit a0b21e0ad294 ("drm/msm: Add missing stub definition") Fixes tag Fixes: 8ede2ecc3e5e ("drm/msm/dp: Add DP compliance tests on has these problem(s): - Subject has leading but no trailing parentheses - Subject has leading but no trailing quotes -- Cheers, Stephen

Re: [PATCH v4] zram: break the strict dependency from lzo

2020-11-04 Thread Minchan Kim
On Wed, Nov 04, 2020 at 02:12:35PM +, Rui Salvaterra wrote: > Hi, Minchan, > > On Tue, 3 Nov 2020 at 21:29, Minchan Kim wrote: > > > > Can't we just provide choice/endchoice in Kconfig to select default > > comp algorithm from admin? > > I'm fine with whatever you guys decide, just let me

Re: [RFC]: userspace memory reaping

2020-11-04 Thread Minchan Kim
On Wed, Nov 04, 2020 at 07:58:44AM +0100, Michal Hocko wrote: > On Tue 03-11-20 13:32:28, Minchan Kim wrote: > > On Tue, Nov 03, 2020 at 10:35:50AM +0100, Michal Hocko wrote: > > > On Mon 02-11-20 12:29:24, Suren Baghdasaryan wrote: > > > [...] > > > > To follow up on this. Should I post an RFC

Re: [v2 4/4] spi: aspeed: Add ASPEED FMC/SPI memory controller driver

2020-11-04 Thread Mark Brown
On Tue, Nov 03, 2020 at 03:22:02PM +0800, Chin-Ting Kuo wrote: > Add driver for ASPEED BMC FMC/SPI memory controller which > supports spi-mem interface. This breaks the build for me with an x86 allmodconfig: /mnt/kernel/drivers/spi/spi-aspeed.c: In function 'aspeed_2600_spi_dma_checksum':

Re: [PATCH 2/4] pinctrl: amd: use higher precision for 512 RtcClk

2020-11-04 Thread Andy Shevchenko
On Wed, Nov 4, 2020 at 6:04 PM Coiby Xu wrote: > > RTC is 32.768kHz thus 512 RtcClk equals to 15625 usec. equals 15625 > Reported-by: Andy Shevchenko > Suggested-by: Andy Shevchenko One of them is enough. > Suggested-by: Hans de Goede > Message-ID:

Re: [PATCH v2 2/2] ARM: dts: BCM5301X: Linksys EA9500 make use of pinctrl

2020-11-04 Thread Florian Fainelli
On 11/4/2020 12:29 PM, Vivek Unune wrote: > Now that we have a pin controller, use that instead of manuplating the > mdio/mdc pins directly. i.e. we no longer require the mdio-mii-mux I am a bit confused here as I thought the mux was intended to dynamically switch the pins in order to support

Re: [PATCH 1/4] pinctrl: amd: fix incorrect way to disable debounce filter

2020-11-04 Thread Andy Shevchenko
On Wed, Nov 4, 2020 at 6:05 PM Coiby Xu wrote: > > The correct way to disable debounce filter is to clear bit 5 and 6 > of the register. > > Cc: Hans de Goede > Message-ID: Can you use a Link tag with proper lore.kernel.org URL? -- With Best Regards, Andy Shevchenko

Re: [PATCH v10 3/3] Use secure anon inodes for userfaultfd

2020-11-04 Thread Eric Biggers
On Sun, Oct 11, 2020 at 01:29:36AM -0700, Lokesh Gidra wrote: > From: Daniel Colascione > > This change gives userfaultfd file descriptors a real security > context, allowing policy to act on them. > > Signed-off-by: Daniel Colascione > > [Remove owner inode from userfaultfd_ctx] > [Use

Re: [PATCH v2 0/8] gpio: exar: refactor the driver

2020-11-04 Thread Andy Shevchenko
On Wed, Nov 4, 2020 at 9:34 PM Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > I just wanted to convert the driver to using simpler IDA API but ended up > quickly converting it to using regmap. Unfortunately I don't have the HW > to test it so marking the patches that introduce

[PATCH 2/2] module: add more 'kernel-doc' comments

2020-11-04 Thread Sergey Shtylyov
Some functions have the proper 'kernel-doc' comments but these don't start with proper /** -- fix that, along with adding () to the function name on the following lines to fully comply with the 'kernel-doc' format. Signed-off-by: Sergey Shtylyov --- kernel/module.c | 16 1

[PATCH v5 2/4] mfd: Add driver for Embedded Controller found on Acer Iconia Tab A500

2020-11-04 Thread Dmitry Osipenko
Acer Iconia Tab A500 is an Android tablet device, it has ENE KB930 Embedded Controller which provides battery-gauge, LED, GPIO and some other functions. The EC uses firmware that is specifically customized for Acer A500. This patch adds MFD driver for the Embedded Controller which allows to

[PATCH v5 4/4] ARM: tegra: acer-a500: Add Embedded Controller

2020-11-04 Thread Dmitry Osipenko
This patch adds device-tree node for the Embedded Controller which is found on the Picasso board. The Embedded Controller itself is ENE KB930, it provides functions like battery-gauge/LED/GPIO/etc and it uses firmware that is specifically customized for the Acer A500 device. Signed-off-by: Dmitry

[PATCH v5 0/4] Introduce Embedded Controller driver for Acer A500

2020-11-04 Thread Dmitry Osipenko
Hello! This series adds support for the Embedded Controller which is found on Acer Iconia Tab A500 (Android tablet device). The Embedded Controller is ENE KB930 and it's running firmware customized for the A500. The firmware interface may be reused by some other sibling Acer tablets, although

Re: [RFT PATCH v2 7/8] gpio: exar: switch to using regmap

2020-11-04 Thread Andy Shevchenko
On Wed, Nov 4, 2020 at 9:34 PM Bartosz Golaszewski wrote: ... > +static const struct regmap_config exar_regmap_config = { > + .name = "exar-gpio", > + .reg_bits = 8, > + .val_bits = 8, > +}; Looking at gpio-pca953xx regmap conversion I'm wondering

[PATCH v5 3/4] power: supply: Add battery gauge driver for Acer Iconia Tab A500

2020-11-04 Thread Dmitry Osipenko
This patch adds battery gauge driver for Acer Iconia Tab A500 device. The battery gauge function is provided via the Embedded Controller, which is found on the Acer A500. Reviewed-by: Sebastian Reichel Signed-off-by: Dmitry Osipenko --- drivers/power/supply/Kconfig | 6 +

[PATCH 1/2] module: fix up 'kernel-doc' comments

2020-11-04 Thread Sergey Shtylyov
Some 'kernel-doc' function comments do not fully comply with the specified format due to: - missing () after the function name; - "RETURNS:"/"Returns:" instead of "Return:" when documenting the function's result. - empty line before describing the function's arguments. Signed-off-by: Sergey

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