Re: [PATCH v2 03/20] dt-bindings: Add vendor prefix for Baikal Electronics, JSC

2020-05-06 Thread Serge Semin
On Wed, May 06, 2020 at 09:26:53PM +0200, Sam Ravnborg wrote: > Hi Sergey > > > > +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml > > > > @@ -139,6 +139,8 @@ patternProperties: > > > > description: Azoteq (Pty) Ltd > > > >"^azw,.*": > > > > description: Shenzhen AZW

Re: [PATCH v4 1/5] net: macb: fix wakeup test in runtime suspend/resume routines

2020-05-06 Thread Jakub Kicinski
On Wed, 6 May 2020 13:37:37 +0200 nicolas.fe...@microchip.com wrote: > From: Nicolas Ferre > > Use the proper struct device pointer to check if the wakeup flag > and wakeup source are positioned. > Use the one passed by function call which is equivalent to > >dev->dev.parent. > > It's

Re: linux-next boot error: WARNING: suspicious RCU usage in ipmr_get_table

2020-05-06 Thread Stephen Rothwell
Hi Qian, On Tue, 28 Apr 2020 09:56:59 -0400 Qian Cai wrote: > > > On Apr 28, 2020, at 4:57 AM, Dmitry Vyukov wrote: > >> net/ipv4/ipmr.c:136 RCU-list traversed in non-reader section!! > > https://lore.kernel.org/netdev/20200222063835.14328-2-frextr...@gmail.com/ > > Never been picked up

Re: [RFC 1/8] dt-bindings: mfd: add Khadas Microcontroller bindings

2020-05-06 Thread Rob Herring
On Tue, 21 Apr 2020 10:00:55 +0200, Neil Armstrong wrote: > This Microcontroller is present on the Khadas VIM1, VIM2, VIM3 and Edge > boards. > > It has multiple boot control features like password check, power-on > options, power-off control and system FAN control on recent boards. > >

Re: [PATCH -next] drm/amdgpu/navi10: fix unsigned comparison with 0

2020-05-06 Thread Alex Deucher
On Wed, May 6, 2020 at 3:03 AM ChenTao wrote: > > Fixes warning because size is uint32_t and can never be negtative > > drivers/gpu/drm/amd/amdgpu/../powerplay/navi10_ppt.c:1296:12: warning: > comparison of unsigned expression < 0 is always false [-Wtype-limits] >if (size < 0) > >

Re: [PATCH v2 04/11] perf stat: extend -D,--delay option with -1 value

2020-05-06 Thread Arnaldo Carvalho de Melo
Em Wed, May 06, 2020 at 09:20:54PM +0300, Alexey Budankov escreveu: > > Extend -D,--delay option with -1 value to start monitoring with > events disabled to be enabled later by enable command provided > via control file descriptor. > Signed-off-by: Alexey Budankov > --- >

Re: [PATCH] ASoC: dt-bindings: ak4642: switch to yaml base Documentation

2020-05-06 Thread Rob Herring
On Tue, Apr 21, 2020 at 02:17:53PM +0900, Kuninori Morimoto wrote: > From: Kuninori Morimoto > > This patch switches from .txt base to .yaml base Document. > > Signed-off-by: Kuninori Morimoto > --- > .../devicetree/bindings/sound/ak4642.txt | 37 >

Re: KASAN: use-after-free Read in usblp_bulk_read

2020-05-06 Thread Alan Stern
On Wed, 6 May 2020, Pete Zaitcev wrote: > On Wed, 06 May 2020 11:14:42 +0200 > Oliver Neukum wrote: > > > Very well. We are not going to find it without exceptional luck. Yet > > there may be a real issue, too. We simply do not know. How about the > > attached patch? > > >

[PATCH] memory: tegra: Fix an error handling path in 'tegra186_emc_probe()'

2020-05-06 Thread Christophe JAILLET
The call to 'tegra_bpmp_get()' must be balanced by a call to 'tegra_bpmp_put()' in case of error, as already done in the remove function. Add an error handling path and corresponding goto. Fixes: 52d15dd23f0b ("memory: tegra: Support DVFS on Tegra186 and later") Signed-off-by: Christophe JAILLET

Re: [PATCH 8/9] KVM: x86, SVM: do not clobber guest DR6 on KVM_EXIT_DEBUG

2020-05-06 Thread Paolo Bonzini
On 06/05/20 20:15, Peter Xu wrote: > On Wed, May 06, 2020 at 07:10:33AM -0400, Paolo Bonzini wrote: >> On Intel, #DB exceptions transmit the DR6 value via the exit qualification >> field of the VMCS, and the exit qualification only contains the description >> of the precise event that caused a

Re: [PATCH v3 2/4] dt-bindings: power: meson-ee-pwrc: add support for the Meson GX SoCs

2020-05-06 Thread Rob Herring
On Mon, 20 Apr 2020 22:26:10 +0200, Martin Blumenstingl wrote: > The power domains on the GX SoCs are very similar to G12A. The only > known differences so far are: > - The GX SoCs do not have the HHI_VPU_MEM_PD_REG2 register (for the > VPU power-domain) > - The GX SoCs have an additional reset

Re: [PATCH v3 1/4] dt-bindings: power: meson-ee-pwrc: add support for Meson8/8b/8m2

2020-05-06 Thread Rob Herring
On Mon, 20 Apr 2020 22:26:09 +0200, Martin Blumenstingl wrote: > The power domains on the 32-bit Meson8/Meson8b/Meson8m2 SoCs are very > similar to what G12A still uses. The (known) differences are: > - Meson8 doesn't use any reset lines at all > - Meson8b and Meson8m2 use the same reset lines,

[PATCH] iommu/iova: Retry from last rb tree node if iova search fails

2020-05-06 Thread vjitta
From: Vijayanand Jitta When ever a new iova alloc request comes iova is always searched from the cached node and the nodes which are previous to cached node. So, even if there is free iova space available in the nodes which are next to the cached node iova allocation can still fail because of

Re: [PATCH net-next] sunrpc: Remove unused function ip_map_update

2020-05-06 Thread J. Bruce Fields
Thanks, applying for 5.8.--b. On Tue, May 05, 2020 at 04:45:37PM +0800, YueHaibing wrote: > commit 49b28684fdba ("nfsd: Remove deprecated nfsctl system call and related > code.") > left behind this, remove it. > > Signed-off-by: YueHaibing > --- > net/sunrpc/svcauth_unix.c | 9 - > 1

Re: [PATCH v3 1/2] dt-bindings: serial: Document CTS/RTS gpios in STM32 UART

2020-05-06 Thread Rob Herring
On Mon, 20 Apr 2020 22:32:03 +0530, m...@kernel.org wrote: > From: Manivannan Sadhasivam > > Document the use of CTS/RTS gpios for flow control in STM32 UART > controller. These properties can be used instead of 'st,hw-flow-ctrl' > for making use of any gpio pins for flow control instead of

Re: [PATCH v4 14/18] static_call: Add static_cond_call()

2020-05-06 Thread Andy Lutomirski
> On May 6, 2020, at 10:23 AM, Linus Torvalds > wrote: > > On Wed, May 6, 2020 at 6:51 AM Peter Zijlstra wrote: >> >> I was hoping for: >> >>bar:# @bar >>movl%edi, .L_x$local(%rip) >>retq >>ponies:

Re: [PATCH v2 14/20] mips: Use offset-sized IO-mem accessors in CPS debug printout

2020-05-06 Thread Serge Semin
Hi On Wed, May 06, 2020 at 09:16:24PM +0300, Sergei Shtylyov wrote: > Hello! > > On 05/06/2020 08:42 PM, sergey.se...@baikalelectronics.ru wrote: > > > From: Serge Semin > > > > Similar to commit 8e5c62e38a88 ("mips: early_printk_8250: Use offset-sized > > IO-mem accessors") the IO-memory

[PATCH v2 8/9] dt-bindings: gpio: renesas,gpio-rcar: Add r8a7742 (RZ/G1H) support

2020-05-06 Thread Lad Prabhakar
Renesas RZ/G1H (R8A7742) SoC GPIO blocks are identical to the R-Car Gen2 family. Add support for its GPIO controllers. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu Reviewed-by: Geert Uytterhoeven --- v1->v2: * No change ---

[PATCH v2 9/9] ARM: dts: r8a7742: Add GPIO nodes

2020-05-06 Thread Lad Prabhakar
Describe GPIO blocks in the R8A7742 device tree. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu Reviewed-by: Geert Uytterhoeven --- v1->v2: * Included the nodes in sort order --- arch/arm/boot/dts/r8a7742.dtsi | 90 ++ 1 file changed, 90

[PATCH v2 7/9] ARM: dts: r8a7742: Add [H]SCIF{A|B} support

2020-05-06 Thread Lad Prabhakar
Describe [H]SCIF{A|B} ports in the R8A7742 device tree. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu Reviewed-by: Geert Uytterhoeven --- v1->v2: * Included the nodes in sort order --- arch/arm/boot/dts/r8a7742.dtsi | 155 + 1 file changed,

[PATCH v2 6/9] dt-bindings: serial: renesas,hscif: Document r8a7742 bindings

2020-05-06 Thread Lad Prabhakar
RZ/G1H (R8A7742) SoC also has the R-Car gen2 compatible HSCIF ports, so document the SoC specific bindings. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu Reviewed-by: Geert Uytterhoeven --- v1->v2: * No change ---

[PATCH v2 1/9] dt-bindings: mmc: renesas,mmcif: Document r8a7742 DT bindings

2020-05-06 Thread Lad Prabhakar
Add support for r8a7742 SoC. Renesas RZ/G1H (R8A7742) MMCIF is identical to the R-Car Gen2 family. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu Reviewed-by: Geert Uytterhoeven --- v1->v2: * Updated interrupts table to include r8a7742 ---

[PATCH v2 2/9] dt-bindings: irqchip: renesas-irqc: Document r8a7742 bindings

2020-05-06 Thread Lad Prabhakar
Document SoC specific bindings for RZ/G1H (r8a7742) SoC. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu Reviewed-by: Geert Uytterhoeven --- v1->v2: * No change --- .../devicetree/bindings/interrupt-controller/renesas,irqc.yaml | 1 + 1 file changed, 1 insertion(+) diff

[PATCH v2 5/9] dt-bindings: serial: renesas,scifb: Document r8a7742 bindings

2020-05-06 Thread Lad Prabhakar
RZ/G1H (R8A7742) SoC also has the R-Car gen2 compatible SCIFB ports, so document the SoC specific bindings. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu Reviewed-by: Geert Uytterhoeven --- v1->v2: * No change ---

[PATCH v2 3/9] ARM: dts: r8a7742: Add IRQC support

2020-05-06 Thread Lad Prabhakar
Describe the IRQC interrupt controller in the r8a7742 device tree. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu Reviewed-by: Geert Uytterhoeven Acked-by: Marc Zyngier --- v1->v2: * No change --- arch/arm/boot/dts/r8a7742.dtsi | 14 ++ 1 file changed, 14

[PATCH v2 4/9] dt-bindings: serial: renesas,scif: Document r8a7742 bindings

2020-05-06 Thread Lad Prabhakar
RZ/G1H (R8A7742) SoC also has the R-Car gen2 compatible SCIF ports, so document the SoC specific bindings. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu Reviewed-by: Geert Uytterhoeven --- v1->v2: * No change --- Documentation/devicetree/bindings/serial/renesas,scif.yaml

[PATCH v2 0/9] RZ/G1H describe IRQC, [H]SCIF{A|B} and GPIO nodes

2020-05-06 Thread Lad Prabhakar
Hi All, This patch series describes irqc, serial and gpio controllers on R8A7742 SoC. * Patch 1/9 is from series [1], which added initial basic support for iW-RainboW-G21D-Qseven development board. * Patches 2-9 are from series [2] ("Add R8A7742/RZG1H board support") Cheers, Prabhakar [1]

Re: [PATCH -next] power/supply/cw2015: Make some symbols static

2020-05-06 Thread Tobias Schramm
> Fix the following warning: > > drivers/power/supply/cw2015_battery.c:96:5: warning: > 'cw_update_profile' was not declared. Should it be static? > drivers/power/supply/cw2015_battery.c:712:1: warning: > 'cw_bat_pm_ops' was not declared. Should it be static? > LGTM. Acked-by: Tobias Schramm

Re: [RFC][PATCH 1/3] evm: Move hooks outside LSM infrastructure

2020-05-06 Thread Mimi Zohar
[Cc: John Johansen]  On Wed, 2020-04-29 at 09:39 +0200, Roberto Sassu wrote: > EVM is a module for the protection of the integrity of file metadata. It > protects security-relevant extended attributes, and some file attributes > such as the UID and the GID. It protects their integrity with an

Re: [PATCH v10 0/3] mm/hmm/test: add self tests for HMM

2020-05-06 Thread Jason Gunthorpe
On Wed, Apr 22, 2020 at 12:50:25PM -0700, Ralph Campbell wrote: > This series adds basic self tests for HMM and are intended for Jason > Gunthorpe's rdma tree since he is making some HMM related changes that > this can help test. > > Changes v9 -> v10: > Patches 1 & 2 include Jason's changes from

Re: [PATCH 2/2] Add a new sysctl knob: unprivileged_userfaultfd_user_mode_only

2020-05-06 Thread Peter Xu
On Wed, Apr 22, 2020 at 05:26:32PM -0700, Daniel Colascione wrote: > +unprivileged_userfaultfd_user_mode_only > + > + > +This flag controls whether unprivileged users can use the userfaultfd > +system calls to handle page faults in kernel mode. If set to

Re: [Regression] [Bisected] Commit 6d232b29cfce65961db4a668c2c6c6987cd24d45 breaks some of the Fn-keys on my old Sony Vaio VPCM13M1E.

2020-05-06 Thread Maximilian Luz
On 5/6/20 5:16 PM, Fabio Comolli wrote: Hi, I updated my old Sony Vaio a few days ago and discovered that a few Fn-keys on my old Sony Vaio had stopped working. The bisection points at the commit in the subject and reverting it makes everything work again even with current Linus' git. Hi,

Re: Please can I have a stable KCSAN branch for 5.8?

2020-05-06 Thread Paul E. McKenney
On Wed, May 06, 2020 at 09:11:23PM +0200, Marco Elver wrote: > On Wed, 6 May 2020 at 20:02, Paul E. McKenney wrote: > > > > On Wed, May 06, 2020 at 05:26:56PM +0200, Marco Elver wrote: > > > On Wed, 6 May 2020 at 16:41, Will Deacon wrote: > > > > > > > > Hi Paul, > > > > > > > > Cheers for the

Re: [PATCH v11 1/8] dt-bindings: soc: Add Aspeed XDMA Engine

2020-05-06 Thread Rob Herring
On Tue, 5 May 2020 11:58:18 -0500, Eddie James wrote: > Document the bindings for the Aspeed AST25XX and AST26XX XDMA engine. > > Signed-off-by: Eddie James > Reviewed-by: Andrew Jeffery > --- > .../devicetree/bindings/soc/aspeed/xdma.yaml | 103 > + > MAINTAINERS

Re: [PATCH 2/4] dt-bindings: display: Add ilitek-9341 binding

2020-05-06 Thread Rob Herring
On Wed, 6 May 2020 14:31:33 +0800, dillon.min...@gmail.com wrote: > From: dillon min > > add ili9341 for stm32f429-disco board > some hardware resources can be found here > https://www.st.com/zh/evaluation-tools/32f429idiscovery.html > > Signed-off-by: dillon min > --- >

Re: [PATCH v2 03/20] dt-bindings: Add vendor prefix for Baikal Electronics, JSC

2020-05-06 Thread Sam Ravnborg
Hi Sergey > > > +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml > > > @@ -139,6 +139,8 @@ patternProperties: > > > description: Azoteq (Pty) Ltd > > >"^azw,.*": > > > description: Shenzhen AZW Technology Co., Ltd. > > > + "^baikal,.*": > > > +description: BAIKAL

Re: [v2] arm64: dts: sc7180: add dsi controller and phy entries for idp dts

2020-05-06 Thread Matthias Kaehlcke
On Fri, Feb 14, 2020 at 10:49:37AM -0800, Matthias Kaehlcke wrote: > On Tue, Feb 11, 2020 at 05:07:35PM +0530, Harigovindan P wrote: > > > subject: arm64: dts: sc7180: add dsi controller and phy entries for idp dts > > nit: 'dts' at the end is redundant, the prefixes make it clear that this > is

Re: [PATCH 06/11] net: ethernet: mtk-eth-mac: new driver

2020-05-06 Thread Joe Perches
On Wed, 2020-05-06 at 22:16 +0300, Leon Romanovsky wrote: > On Tue, May 5, 2020 at 5:03 PM Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > This adds the driver for the MediaTek Ethernet MAC used on the MT8* SoC > > family. For now we only support full-duplex. [] > > diff --git

[PATCH 1/2] usb: typec: tps6598x: add device tree hooks

2020-05-06 Thread Angus Ainslie
Add a compatible string for the devicetree. Signed-off-by: Angus Ainslie --- drivers/usb/typec/tps6598x.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/usb/typec/tps6598x.c b/drivers/usb/typec/tps6598x.c index f661d8722ee0..2e71a35cc9d8 100644 ---

[PATCH 0/2] tps6598x: add device tree hooks and document

2020-05-06 Thread Angus Ainslie
Add device tree compatible string for tps6598x driver and create the dt binding doc for the driver Angus Ainslie (2): usb: typec: tps6598x: add device tree hooks dt-bindings: usb: ti,tps6598x: add dt binding doc .../devicetree/bindings/usb/ti,tps6598x.yaml | 75 +++

Re: [PATCH 06/11] net: ethernet: mtk-eth-mac: new driver

2020-05-06 Thread Jakub Kicinski
On Wed, 6 May 2020 22:16:11 +0300 Leon Romanovsky wrote: > > +#define MTK_MAC_DRVNAME"mtk_eth_mac" > > +#define MTK_MAC_VERSION"1.0" > > Please don't add driver version to new driver. It has already been pointed out. Please trim

[PATCH 2/2] dt-bindings: usb: ti,tps6598x: add dt binding doc

2020-05-06 Thread Angus Ainslie
Document the tps6598x driver Signed-off-by: Angus Ainslie --- .../devicetree/bindings/usb/ti,tps6598x.yaml | 75 +++ 1 file changed, 75 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/ti,tps6598x.yaml diff --git

Re: [PATCH v2 1/2] dt-bindings: soc: ti: add binding for k3 platforms chipid module

2020-05-06 Thread Grygorii Strashko
Hi Rob, On 05/05/2020 22:34, Grygorii Strashko wrote: Add DT binding for Texas Instruments K3 Multicore SoC platforms chipid module which is represented by CTRLMMR_xxx_JTAGID register and contains information about SoC id and revision. Signed-off-by: Grygorii Strashko Reviewed-by: Lokesh

[PATCH] i2c: mux: demux-pinctrl: Fix an error handling path in 'i2c_demux_pinctrl_probe()'

2020-05-06 Thread Christophe JAILLET
A call to 'i2c_demux_deactivate_master()' is missing in the error handling path, as already done in the remove function. Fixes: 50a5ba876908 ("i2c: mux: demux-pinctrl: add driver") Signed-off-by: Christophe JAILLET --- drivers/i2c/muxes/i2c-demux-pinctrl.c | 1 + 1 file changed, 1 insertion(+)

Re: [PATCH v2 03/20] dt-bindings: Add vendor prefix for Baikal Electronics, JSC

2020-05-06 Thread Serge Semin
Hi Sam, On Wed, May 06, 2020 at 07:55:53PM +0200, Sam Ravnborg wrote: > Hi Sergey. > > On Wed, May 06, 2020 at 08:42:21PM +0300, sergey.se...@baikalelectronics.ru > wrote: > > From: Serge Semin > > > > Add "BAIKAL ELECTRONICS, JSC" to the list of devicetree vendor prefixes > > as "baikal". >

Re: [PATCH v12 1/2] dt-bindings: proximity: provide vcnl3020 device tree binding document

2020-05-06 Thread Rob Herring
On Wed, 6 May 2020 04:08:08 +0300, Ivan Mikhaylov wrote: > Mostly standard i2c driver with some additional led-current option > for vcnl3020. > > Signed-off-by: Ivan Mikhaylov > --- > .../iio/proximity/vishay,vcnl3020.yaml| 65 +++ > 1 file changed, 65 insertions(+) >

Re: [PATCH 06/11] net: ethernet: mtk-eth-mac: new driver

2020-05-06 Thread Leon Romanovsky
On Tue, May 5, 2020 at 5:03 PM Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > This adds the driver for the MediaTek Ethernet MAC used on the MT8* SoC > family. For now we only support full-duplex. > > Signed-off-by: Bartosz Golaszewski > --- >

Re: [f2fs-dev] [PATCH] f2fs: get parent inode when recovering pino

2020-05-06 Thread Eric Biggers
On Wed, May 06, 2020 at 02:47:19PM +0800, Gao Xiang wrote: > On Wed, May 06, 2020 at 09:58:22AM +0800, Gao Xiang wrote: > > On Tue, May 05, 2020 at 06:24:28PM -0700, Eric Biggers wrote: > > > On Wed, May 06, 2020 at 08:14:07AM +0800, Gao Xiang wrote: > > > > > > > > > > Actually, I think this is

Re: Please can I have a stable KCSAN branch for 5.8?

2020-05-06 Thread Marco Elver
On Wed, 6 May 2020 at 20:02, Paul E. McKenney wrote: > > On Wed, May 06, 2020 at 05:26:56PM +0200, Marco Elver wrote: > > On Wed, 6 May 2020 at 16:41, Will Deacon wrote: > > > > > > Hi Paul, > > > > > > Cheers for the quick reply! > > > > > > On Wed, May 06, 2020 at 07:36:16AM -0700, Paul E.

Re: [RFC PATCH 0/3] SCMI System Power Support

2020-05-06 Thread Rob Herring
On Thu, Apr 30, 2020 at 12:23 PM Cristian Marussi wrote: > > Hi Rob > > thanks for the feedback. Plain text for maillists please. > > > On top of this a new SCMI driver has been developed which registers for > > > > such System Power notification and acts accordingly to satisfy such > >

[PATCH next] ARM: dts: am57xx: fix networking on boards with ksz9031 phy

2020-05-06 Thread Grygorii Strashko
Since commit bcf3440c6dd7 ("net: phy: micrel: add phy-mode support for the KSZ9031 PHY") the networking is broken on boards: am571x-idk am572x-idk am574x-idk am57xx-beagle-x15 All above boards have phy-mode = "rgmii" and this is worked before because KSZ9031 PHY started with default RGMII

Re: [PATCH net-next 1/7] dt-binding: ti: am65x: document common platform time sync cpts module

2020-05-06 Thread Grygorii Strashko
On 06/05/2020 22:07, Rob Herring wrote: On Tue, May 5, 2020 at 10:01 AM Grygorii Strashko wrote: On 05/05/2020 07:04, Rob Herring wrote: On Fri, May 01, 2020 at 11:50:05PM +0300, Grygorii Strashko wrote: Document device tree bindings for TI AM654/J721E SoC The Common Platform Time Sync

Re: [PATCH -next] drm/udl: Make udl_handle_damage static

2020-05-06 Thread Sam Ravnborg
Hi Zou Wei. On Thu, Apr 30, 2020 at 08:13:17PM +0800, Zou Wei wrote: > Fix the following sparse warning: > > drivers/gpu/drm/udl/udl_modeset.c:269:5: warning: symbol 'udl_handle_damage' > was not declared. Should it be static? > > Reported-by: Hulk Robot > Signed-off-by: Zou Wei Thanks,

[PATCH next] ARM: dts: am437x: fix networking on boards with ksz9031 phy

2020-05-06 Thread Grygorii Strashko
Since commit bcf3440c6dd7 ("net: phy: micrel: add phy-mode support for the KSZ9031 PHY") the networking is broken on boards: am437x-gp-evm am437x-sk-evm am437x-idk-evm All above boards have phy-mode = "rgmii" and this is worked before, because KSZ9031 PHY started with default RGMII internal

Re: [PATCH net-next 1/7] dt-binding: ti: am65x: document common platform time sync cpts module

2020-05-06 Thread Rob Herring
On Tue, May 5, 2020 at 10:01 AM Grygorii Strashko wrote: > > > > On 05/05/2020 07:04, Rob Herring wrote: > > On Fri, May 01, 2020 at 11:50:05PM +0300, Grygorii Strashko wrote: > >> Document device tree bindings for TI AM654/J721E SoC The Common Platform > >> Time Sync (CPTS) module. The CPTS

Re: [PATCH] video: fbdev: valkyriefb.c: fix warning comparing pointer to 0

2020-05-06 Thread Sam Ravnborg
On Wed, Apr 29, 2020 at 10:09:42PM +0800, Jason Yan wrote: > Fix the following coccicheck warning: > > drivers/video/fbdev/valkyriefb.c:348:10-11: WARNING comparing pointer to > 0, suggest !E > drivers/video/fbdev/valkyriefb.c:334:12-13: WARNING comparing pointer to > 0 >

Re: [PATCH] slub: limit count of partial slabs scanned to gather statistics

2020-05-06 Thread Qian Cai
> On May 4, 2020, at 12:07 PM, Konstantin Khlebnikov > wrote: > > To get exact count of free and used objects slub have to scan list of > partial slabs. This may take at long time. Scanning holds spinlock and > blocks allocations which move partial slabs to per-cpu lists and back. > >

Re: [PATCH] clone: only use lower 32 flag bits

2020-05-06 Thread Joe Perches
On Tue, 2020-05-05 at 19:44 +0200, Christian Brauner wrote: > Jan reported an issue where an interaction between sign-extending clone's > flag argument on ppc64le and the new CLONE_INTO_CGROUP feature causes > clone() to consistently fail with EBADF. [] > Let's fix this by always capping the upper

Re: [PATCH v7 6/7] tpm: Add YAML schema for TPM TIS I2C options

2020-05-06 Thread Rob Herring
On Wed, May 6, 2020 at 10:20 AM Amir Mizinski wrote: > > > On 2020-05-05 16:12, Rob Herring wrote: > > On Mon, Apr 27, 2020 at 03:49:30PM +0300, amirmi...@gmail.com wrote: > >> From: Amir Mizinski > >> > >> Added a YAML schema to support tpm tis i2c related dt-bindings for the I2c > >> PTP based

Re: [PATCH] drm/amdgpu: allocate large structures dynamically

2020-05-06 Thread Joe Perches
On Tue, 2020-05-05 at 16:01 +0200, Arnd Bergmann wrote: > After the structure was padded to 1024 bytes, it is no longer > suitable for being a local variable, as the function surpasses > the warning limit for 32-bit architectures: > > drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:587:5: error: stack

Re: [PATCH 15/15] x86: use non-set_fs based maccess routines

2020-05-06 Thread Linus Torvalds
On Wed, May 6, 2020 at 11:15 AM Christoph Hellwig wrote: > > That was the first prototype, and or x86 it works great, just the > __user cases in maccess.c are a little ugly. And they point to > the real problem - for architectures like sparc and s390 that use > an entirely separate address space

Re: [PATCH v6 4/4] usb: host: Add ability to build new Broadcom STB USB drivers

2020-05-06 Thread Alan Cooper
On Tue, May 5, 2020 at 6:54 AM Greg Kroah-Hartman wrote: > > On Thu, Apr 30, 2020 at 07:12:58AM -0400, Al Cooper wrote: > > Add the build system changes needed to get the Broadcom STB XHCI, > > EHCI and OHCI functionality working. The OHCI support does not > > require anything unique to Broadcom

Re: [PATCH net 11/16] net: ethernet: marvell: mvneta: fix fixed-link phydev leaks

2020-05-06 Thread Naresh Kamboju
On Tue, 29 Nov 2016 at 00:00, Johan Hovold wrote: > > Make sure to deregister and free any fixed-link PHY registered using > of_phy_register_fixed_link() on probe errors and on driver unbind. > > Fixes: 83895bedeee6 ("net: mvneta: add support for fixed links") > Signed-off-by: Johan Hovold > ---

linux-next: Fixes tags need some work in the v4l-dvb tree

2020-05-06 Thread Stephen Rothwell
Hi all, In commit 8c038effd893 ("media: staging: ipu3-imgu: Move alignment attribute to field") Fixes tag Fixes: commit c9d52c114a9f ("media: staging: imgu: Address a compiler warning on alignment") has these problem(s): - leading word 'commit' unexpected In commit 81d1adeb52c9

Re: [PATCH] securityfs: Add missing d_delete() call on removal

2020-05-06 Thread Al Viro
On Wed, May 06, 2020 at 08:34:29AM -0700, Kees Cook wrote: > Just posted the whole series: > https://lore.kernel.org/lkml/20200506152114.50375-1-keesc...@chromium.org/ > > But the specific question was driven by this patch: >

Re: callchain ABI change with commit 6cbc304f2f360

2020-05-06 Thread Stephane Eranian
On Wed, May 6, 2020 at 4:37 AM Peter Zijlstra wrote: > > On Tue, May 05, 2020 at 08:37:40PM -0700, Stephane Eranian wrote: > > Hi, > > > > I have received reports from users who have noticed a change of > > behaviour caused by > > commit: > > > > 6cbc304f2f360 ("perf/x86/intel: Fix unwind errors

Re: [PATCH v4 resend 2] dt-bindings: net: btusb: DT fix s/interrupt-name/interrupt-names/

2020-05-06 Thread Rajat Jain
On Tue, May 5, 2020 at 10:38 AM Brian Norris wrote: > > On Tue, May 5, 2020 at 6:36 AM Geert Uytterhoeven > wrote: > > > > The standard DT property name is "interrupt-names". > > > > Fixes: fd913ef7ce619467 ("Bluetooth: btusb: Add out-of-band wakeup support") > > Signed-off-by: Geert

Re: [patch V4 part 1 03/36] sched: Clean up scheduler_ipi()

2020-05-06 Thread Paul E. McKenney
On Wed, May 06, 2020 at 08:37:03PM +0200, Peter Zijlstra wrote: > On Wed, May 06, 2020 at 11:28:56AM -0700, Paul E. McKenney wrote: > > I still see warnings of the form "leave instruction with modified stack > > frame" from older complilers and of the form "undefined stack state" > > from newer

Re: [PATCH 21/24] rcu/tiny: move kvfree_call_rcu() out of header

2020-05-06 Thread Paul E. McKenney
On Wed, May 06, 2020 at 08:29:02PM +0200, Uladzislau Rezki wrote: > Hello, Paul, Joel. > > > > Move inlined kvfree_call_rcu() function out of the > > > header file. This step is a preparation for head-less > > > support. > > > > > > Reviewed-by: Joel Fernandes (Google) > > > Signed-off-by:

Re: [PATCH hmm v2 0/5] Adjust hmm_range_fault() API

2020-05-06 Thread Jason Gunthorpe
On Fri, May 01, 2020 at 03:20:43PM -0300, Jason Gunthorpe wrote: > From: Jason Gunthorpe > > The API is a bit complicated for the uses we actually have, and > disucssions for simplifying have come up a number of times. > > This small series removes the customizable pfn format and simplifies the

linux-next: Fixes tag needs some work in the kvm-fixes tree

2020-05-06 Thread Stephen Rothwell
Hi all, In commit 637543a8d61c ("KVM: x86: Fixes posted interrupt check for IRQs delivery modes") Fixes tag Fixes: (fdcf75621375 'KVM: x86: Disable posted interrupts for non-standard IRQs delivery modes') has these problem(s): - No SHA1 recognised It should just be Fixes:

Re: [PATCH v2 2/2] media: v4l: xilinx: Add Xilinx UHD-SDI Rx Subsystem driver

2020-05-06 Thread Hyun Kwon
Hi Vishal, Thanks for the patch. Sorry for late reply. On Wed, 2020-04-29 at 07:17:04 -0700, Vishal Sagar wrote: > The Xilinx UHD-SDI Rx subsystem soft IP is used to capture native SDI > streams from SDI sources like SDI broadcast equipment like cameras and > mixers. This block outputs either

Re: [patch V4 part 1 03/36] sched: Clean up scheduler_ipi()

2020-05-06 Thread Peter Zijlstra
On Wed, May 06, 2020 at 11:28:56AM -0700, Paul E. McKenney wrote: > I still see warnings of the form "leave instruction with modified stack > frame" from older complilers and of the form "undefined stack state" > from newer compilers. I am running stock objtool versions, so I am > guessing that

Re: [PATCH] scripts: fix deprecated always and hostprogs-y

2020-05-06 Thread Masahiro Yamada
On Tue, May 5, 2020 at 8:54 PM Anders Roxell wrote: > > When I did an allmodconfig build the following warning showed up: > > scripts/Makefile.lib:8: 'always' is deprecated. Please use 'always-y' instead > scripts/Makefile.lib:12: 'hostprogs-y' and 'hostprogs-m' are deprecated. > Please use

Re: [GRUB PATCH RFC 12/18] i386/efi: Report UEFI Secure Boot status to the Linux kernel

2020-05-06 Thread Matthew Garrett
On Wed, May 6, 2020 at 6:33 AM Daniel Kiper wrote: > > On Tue, May 05, 2020 at 10:29:05AM -0700, Matthew Garrett wrote: > > On Mon, May 4, 2020 at 4:25 PM Daniel Kiper wrote: > > > > > > Otherwise the kernel does not know its state and cannot enable various > > > security features depending on

linux-next: Fixes tag needs some work in the arm64-fixes tree

2020-05-06 Thread Stephen Rothwell
Hi all, In commit 20bf6ebaec5f ("arm64: hugetlb: avoid potential NULL dereference") Fixes tag Fixes: 66b3923a1a0f77a5 ("arm64: hugetlb: add support for PTE contiguous bit)" has these problem(s): - Subject has leading but no trailing quotes -- Cheers, Stephen Rothwell

Re: [RFC][PATCH 1/4] devicetree: bindings: Add linux,cma-heap tag for reserved memory

2020-05-06 Thread John Stultz
On Wed, May 6, 2020 at 10:35 AM Andrew F. Davis wrote: > On 5/6/20 12:30 PM, John Stultz wrote: > > On Wed, May 6, 2020 at 9:04 AM Andrew F. Davis wrote: > >> On 5/4/20 4:50 AM, Brian Starkey wrote: > >>> On Fri, May 01, 2020 at 11:40:16AM -0700, John Stultz wrote: > So the name we expose

Re: [PATCH v3 18/25] mm: Allow large pages to be added to the page cache

2020-05-06 Thread Yang Shi
On Sun, May 3, 2020 at 8:10 PM Matthew Wilcox wrote: > > On Wed, Apr 29, 2020 at 06:36:50AM -0700, Matthew Wilcox wrote: > > @@ -886,7 +906,7 @@ static int __add_to_page_cache_locked(struct page *page, > > /* Leave page->index set: truncation relies upon it */ > > if (!huge) > >

[rcu:rcu/next] BUILD SUCCESS 8bdf39e77175a971e0fe9b2d55dcb156eae01d3c

2020-05-06 Thread kbuild test robot
randconfig-b003-20200502 i386 randconfig-b001-20200502 x86_64 randconfig-b003-20200502 x86_64 randconfig-b001-20200502 i386 randconfig-b002-20200502 i386 randconfig-b003-20200506 i386 randconfig-b001-20200506 x86_64

[PATCH v2 11/11] perf docs: extend record mode docs with info on --ctl-fd[-ack] options

2020-05-06 Thread Alexey Budankov
Extend perf-record.txt file with --ctl-fd[-ack] options description. Document possible usage model introduced by --ctl-fd[-ack] options by providing example bash shell script. Signed-off-by: Alexey Budankov --- tools/perf/Documentation/perf-record.txt | 39 1 file

[PATCH] percpu_ref: Use a more common logging style

2020-05-06 Thread Joe Perches
Remove the trailing newline from the used-once pr_fmt and add it to the single use of pr_ in this code to use a more common logging style. Miscellanea: o Use %lu in the pr_debug format and remove the unnecessary cast Signed-off-by: Joe Perches --- lib/percpu-refcount.c | 6 +++--- 1 file

[PATCH v2 10/11] perf record: introduce --ctl-fd[-ack] options

2020-05-06 Thread Alexey Budankov
Introduce --ctl-fd[-ack] options to pass open file descriptors numbers from command line. Signed-off-by: Alexey Budankov --- tools/perf/builtin-record.c | 9 + tools/perf/util/record.h| 2 ++ 2 files changed, 11 insertions(+) diff --git a/tools/perf/builtin-record.c

[PATCH v2 09/11] perf record: implement control commands handling

2020-05-06 Thread Alexey Budankov
Implement handling of 'enable' and 'disable' control commands coming from control file descriptor. Signed-off-by: Alexey Budankov --- tools/perf/builtin-record.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/tools/perf/builtin-record.c

Re: [PATCH 21/24] rcu/tiny: move kvfree_call_rcu() out of header

2020-05-06 Thread Uladzislau Rezki
Hello, Paul, Joel. > > Move inlined kvfree_call_rcu() function out of the > > header file. This step is a preparation for head-less > > support. > > > > Reviewed-by: Joel Fernandes (Google) > > Signed-off-by: Uladzislau Rezki (Sony) > > --- > > include/linux/rcutiny.h | 6 +- > >

[PATCH v2 08/11] perf record: extend -D,--delay option with -1 value

2020-05-06 Thread Alexey Budankov
Extend -D,--delay option with -1 to start collection with events disabled to be enbled later by enable command provided via control file descriptor. Signed-off-by: Alexey Budankov --- tools/perf/builtin-record.c | 12 tools/perf/builtin-trace.c | 2 +- tools/perf/util/record.h

Re: [patch V4 part 1 03/36] sched: Clean up scheduler_ipi()

2020-05-06 Thread Paul E. McKenney
On Wed, May 06, 2020 at 05:33:00PM +0200, Peter Zijlstra wrote: > On Wed, May 06, 2020 at 02:37:19PM +0200, Alexandre Chartre wrote: > > On 5/5/20 3:16 PM, Thomas Gleixner wrote: > > > @@ -650,6 +655,16 @@ static inline bool got_nohz_idle_kick(vo > > > return false; > > > } > > >

Re: [PATCH V2] video: fbdev: w100fb: Fix a potential double free.

2020-05-06 Thread Sam Ravnborg
Hi Christophe On Wed, May 06, 2020 at 08:19:02PM +0200, Christophe JAILLET wrote: > Some memory is vmalloc'ed in the 'w100fb_save_vidmem' function and freed in > the 'w100fb_restore_vidmem' function. (these functions are called > respectively from the 'suspend' and the 'resume' functions) > >

[PATCH v2 07/11] perf docs: extend stat mode docs with info on --ctl-fd[-ack] options

2020-05-06 Thread Alexey Budankov
Extend perf-stat.txt file with --ctl-fd[-ack] options description. Document possible usage model introduced by --ctl-fd[-ack] options by providing example bash shell script. Signed-off-by: Alexey Budankov --- tools/perf/Documentation/perf-stat.txt | 40 ++ 1 file

[PATCH v2 06/11] perf stat: introduce --ctl-fd[-ack] options

2020-05-06 Thread Alexey Budankov
Introduce --ctl-fd[-ack] options to pass open file descriptors numbers from command line. Signed-off-by: Alexey Budankov --- tools/perf/builtin-stat.c | 10 ++ tools/perf/util/stat.h| 2 ++ 2 files changed, 12 insertions(+) diff --git a/tools/perf/builtin-stat.c

[PATCH v2 05/11] perf stat: implement control commands handling

2020-05-06 Thread Alexey Budankov
Implement handling of 'enable' and 'disable' control commands coming from control file descriptor. Signed-off-by: Alexey Budankov --- tools/perf/builtin-stat.c | 48 +-- 1 file changed, 36 insertions(+), 12 deletions(-) diff --git

Re: [PATCH 05/11] net: core: provide devm_register_netdev()

2020-05-06 Thread Edwin Peer
On Tue, May 5, 2020 at 11:46 PM Bartosz Golaszewski wrote: > Re the last bit in priv_flags: is this really a problem though? It's > not like struct net_device must remain stable - e.g. we can make > priv_flags a bitmap. Fair enough. Regards, Edwin Peer

[PATCH v2 04/11] perf stat: extend -D,--delay option with -1 value

2020-05-06 Thread Alexey Budankov
Extend -D,--delay option with -1 value to start monitoring with events disabled to be enabled later by enable command provided via control file descriptor. Signed-off-by: Alexey Budankov --- tools/perf/builtin-stat.c | 18 ++ tools/perf/util/evlist.h | 3 +++

[PATCH v2 03/11] perf stat: factor out event handling loop into a function

2020-05-06 Thread Alexey Budankov
Factor out event handling loop into handle_events() function. Signed-off-by: Alexey Budankov --- tools/perf/builtin-stat.c | 85 +++ 1 file changed, 50 insertions(+), 35 deletions(-) diff --git a/tools/perf/builtin-stat.c b/tools/perf/builtin-stat.c index

[PATCH V2] video: fbdev: w100fb: Fix a potential double free.

2020-05-06 Thread Christophe JAILLET
Some memory is vmalloc'ed in the 'w100fb_save_vidmem' function and freed in the 'w100fb_restore_vidmem' function. (these functions are called respectively from the 'suspend' and the 'resume' functions) However, it is also freed in the 'remove' function. In order to avoid a potential double free,

[PATCH v2 02/11] perf evlist: implement control command handling functions

2020-05-06 Thread Alexey Budankov
Implement functions of initialization, finalization and processing of control commands coming from control file descriptors. Signed-off-by: Alexey Budankov --- tools/perf/util/evlist.c | 100 +++ tools/perf/util/evlist.h | 12 + 2 files changed, 112

[PATCH v2 01/11] perf evlist: introduce control file descriptors

2020-05-06 Thread Alexey Budankov
Define and initialize control file descriptors. Signed-off-by: Alexey Budankov --- tools/perf/util/evlist.c | 3 +++ tools/perf/util/evlist.h | 3 +++ 2 files changed, 6 insertions(+) diff --git a/tools/perf/util/evlist.c b/tools/perf/util/evlist.c index 0a0b760d6948..2db4bedc4f81 100644 ---

Re: [PATCH v4 14/18] static_call: Add static_cond_call()

2020-05-06 Thread Peter Zijlstra
On Wed, May 06, 2020 at 01:09:24PM -0500, Josh Poimboeuf wrote: > #define __ARCH_DEFINE_STATIC_CALL_TRAMP(name, insns) \ > asm(".pushsection .static_call.text, \"ax\" \n" \ > ".align 4 \n" \ >

Re: [PATCH v2 14/20] mips: Use offset-sized IO-mem accessors in CPS debug printout

2020-05-06 Thread Sergei Shtylyov
Hello! On 05/06/2020 08:42 PM, sergey.se...@baikalelectronics.ru wrote: > From: Serge Semin > > Similar to commit 8e5c62e38a88 ("mips: early_printk_8250: Use offset-sized > IO-mem accessors") the IO-memory might require to use a proper load/store > instructions (like Bailal-T1 IO-memory). To

Re: [PATCH 8/9] KVM: x86, SVM: do not clobber guest DR6 on KVM_EXIT_DEBUG

2020-05-06 Thread Peter Xu
On Wed, May 06, 2020 at 07:10:33AM -0400, Paolo Bonzini wrote: > On Intel, #DB exceptions transmit the DR6 value via the exit qualification > field of the VMCS, and the exit qualification only contains the description > of the precise event that caused a vmexit. > > On AMD, instead the DR6 field

Re: [PATCH 15/15] x86: use non-set_fs based maccess routines

2020-05-06 Thread Christoph Hellwig
On Wed, May 06, 2020 at 10:51:51AM -0700, Linus Torvalds wrote: > My private tree no longer has those __get/put_user_size() things, > because "unsafe_get/put_user()" is the only thing that remains with my > conversion to asm goto. > > And we're actively trying to get rid of the whole __get_user()

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