Re: [PATCH v2 1/3] dt-bindings: power: Add ZynqMP power domain bindings

2018-08-20 Thread Rob Herring
On Thu, Aug 16, 2018 at 12:21:42PM -0700, Jolly Shah wrote: > From: Rajan Vaja > > Add documentation to describe ZynqMP power domain bindings. > > Signed-off-by: Rajan Vaja > Signed-off-by: Jolly Shah > --- > .../firmware/xilinx/xlnx,zynqmp-firmware.txt | 47 > ++

Re: [PATCH v2 1/3] dt-bindings: power: Add ZynqMP power domain bindings

2018-08-20 Thread Rob Herring
On Thu, Aug 16, 2018 at 12:21:42PM -0700, Jolly Shah wrote: > From: Rajan Vaja > > Add documentation to describe ZynqMP power domain bindings. > > Signed-off-by: Rajan Vaja > Signed-off-by: Jolly Shah > --- > .../firmware/xilinx/xlnx,zynqmp-firmware.txt | 47 > ++

Re: [PATCH v2 1/3] dt-bindings: soc: Add ZynqMP PM bindings

2018-08-20 Thread Rob Herring
On Thu, Aug 16, 2018 at 12:08:01PM -0700, Jolly Shah wrote: > From: Rajan Vaja > > Add documentation to describe Xilinx ZynqMP power management > bindings. > > Signed-off-by: Rajan Vaja > Signed-off-by: Jolly Shah > --- > .../bindings/firmware/xilinx/xlnx,zynqmp-firmware.txt| 16 >

Re: [PATCH v2 1/3] dt-bindings: soc: Add ZynqMP PM bindings

2018-08-20 Thread Rob Herring
On Thu, Aug 16, 2018 at 12:08:01PM -0700, Jolly Shah wrote: > From: Rajan Vaja > > Add documentation to describe Xilinx ZynqMP power management > bindings. > > Signed-off-by: Rajan Vaja > Signed-off-by: Jolly Shah > --- > .../bindings/firmware/xilinx/xlnx,zynqmp-firmware.txt| 16 >

Re: [PATCH v2 2/3] dt-bindings: spi: Add Spreadtrum SPI controller documentation

2018-08-20 Thread Rob Herring
On Thu, 16 Aug 2018 20:54:50 +0800, Baolin Wang wrote: > From: Lanqing Liu > > This patch adds the binding documentation for Spreadtrum SPI > controller device. > > Signed-off-by: Lanqing Liu > Signed-off-by: Baolin Wang > --- > Changes from v1: > - Remove the sprd,spi-interval property. >

Re: [PATCH v2 2/3] dt-bindings: spi: Add Spreadtrum SPI controller documentation

2018-08-20 Thread Rob Herring
On Thu, 16 Aug 2018 20:54:50 +0800, Baolin Wang wrote: > From: Lanqing Liu > > This patch adds the binding documentation for Spreadtrum SPI > controller device. > > Signed-off-by: Lanqing Liu > Signed-off-by: Baolin Wang > --- > Changes from v1: > - Remove the sprd,spi-interval property. >

Re: [PATCH V3 2/3] dt-bindings: input: Add document bindings for DA7280

2018-08-20 Thread Rob Herring
On Mon, Aug 20, 2018 at 02:36:20PM +0900, Roy Im wrote: > > from: Roy Im Looks like this needs to be removed. You should only have 'From' line show up when the sender and author emails are different. > > Add device tree binding information for DA7280 haptic driver. > Example bindings for

Re: [PATCH V3 2/3] dt-bindings: input: Add document bindings for DA7280

2018-08-20 Thread Rob Herring
On Mon, Aug 20, 2018 at 02:36:20PM +0900, Roy Im wrote: > > from: Roy Im Looks like this needs to be removed. You should only have 'From' line show up when the sender and author emails are different. > > Add device tree binding information for DA7280 haptic driver. > Example bindings for

Re: [PATCH v4 4/7] i2c: designware: document MSCC Ocelot bindings

2018-08-20 Thread Alexandre Belloni
On 20/08/2018 13:13:41-0500, Rob Herring wrote: > On Thu, Aug 16, 2018 at 10:45:18AM +0200, Alexandre Belloni wrote: > > Document bindings for the Microsemi Ocelot integration of the Designware > > I2C controller. > > > > Cc: Rob Herring > > Signed-off-by: Alexandre Belloni > > --- > >

Re: [PATCH v4 4/7] i2c: designware: document MSCC Ocelot bindings

2018-08-20 Thread Alexandre Belloni
On 20/08/2018 13:13:41-0500, Rob Herring wrote: > On Thu, Aug 16, 2018 at 10:45:18AM +0200, Alexandre Belloni wrote: > > Document bindings for the Microsemi Ocelot integration of the Designware > > I2C controller. > > > > Cc: Rob Herring > > Signed-off-by: Alexandre Belloni > > --- > >

Re: [PATCH] kobject: Access kobject name with caution if state is not initialized

2018-08-20 Thread Dmitry Torokhov
On Mon, Aug 20, 2018 at 12:22 PM Greg Kroah-Hartman wrote: > > On Mon, Aug 20, 2018 at 10:39:47PM +0530, Srikar Dronamraju wrote: > > If kobject state is not initialized, then its not even certain that > > kobject'name is initialized. Hence when accessing the kobject's name > > tread carefully. >

Re: [PATCH] kobject: Access kobject name with caution if state is not initialized

2018-08-20 Thread Dmitry Torokhov
On Mon, Aug 20, 2018 at 12:22 PM Greg Kroah-Hartman wrote: > > On Mon, Aug 20, 2018 at 10:39:47PM +0530, Srikar Dronamraju wrote: > > If kobject state is not initialized, then its not even certain that > > kobject'name is initialized. Hence when accessing the kobject's name > > tread carefully. >

[PATCH] watchdog: hpwdt: Update Driver Documentation.

2018-08-20 Thread Jerry Hoemann
Remove references to deprecated features like NMI sourcing and obsoleted module parameters. Add details concerning new module parameter pretimeout and tips to programming it. Signed-off-by: Jerry Hoemann --- Documentation/watchdog/hpwdt.txt | 93 ++-- 1 file

[PATCH] watchdog: hpwdt: Update Driver Documentation.

2018-08-20 Thread Jerry Hoemann
Remove references to deprecated features like NMI sourcing and obsoleted module parameters. Add details concerning new module parameter pretimeout and tips to programming it. Signed-off-by: Jerry Hoemann --- Documentation/watchdog/hpwdt.txt | 93 ++-- 1 file

Re: [PATCH] signal: Don't send signals to tasks that don't exist

2018-08-20 Thread J. Bruce Fields
On Sat, Aug 18, 2018 at 12:51:14AM -0500, Eric W. Biederman wrote: > I was dismayed when I saw the syzbot report triggered someone to remove > themselves from MAINTAINERS. You're talking about my patch? I think you misread it, I'm not removing myself from MAINTAINERS. --b.

Re: [PATCH] signal: Don't send signals to tasks that don't exist

2018-08-20 Thread J. Bruce Fields
On Sat, Aug 18, 2018 at 12:51:14AM -0500, Eric W. Biederman wrote: > I was dismayed when I saw the syzbot report triggered someone to remove > themselves from MAINTAINERS. You're talking about my patch? I think you misread it, I'm not removing myself from MAINTAINERS. --b.

Re: [PATCH] ia64: Fix kernel BUG at lib/ioremap.c:72!

2018-08-20 Thread Linus Torvalds
On Mon, Aug 20, 2018 at 9:31 AM Tony Luck wrote: > I'd suggested an #if !CONFIG_IA64 in the functon, but Arnd > suggested keeping the fix inside the arch/ia64 tree. > > Fixes: 0bbf47eab469 ("ia64: use asm-generic/io.h") Applied. Linus

Re: [PATCH] ia64: Fix kernel BUG at lib/ioremap.c:72!

2018-08-20 Thread Linus Torvalds
On Mon, Aug 20, 2018 at 9:31 AM Tony Luck wrote: > I'd suggested an #if !CONFIG_IA64 in the functon, but Arnd > suggested keeping the fix inside the arch/ia64 tree. > > Fixes: 0bbf47eab469 ("ia64: use asm-generic/io.h") Applied. Linus

Re: [PATCH] kobject: Access kobject name with caution if state is not initialized

2018-08-20 Thread Greg Kroah-Hartman
On Mon, Aug 20, 2018 at 10:39:47PM +0530, Srikar Dronamraju wrote: > If kobject state is not initialized, then its not even certain that > kobject'name is initialized. Hence when accessing the kobject's name > tread carefully. > > A stupid module test like >

Re: [PATCH] kobject: Access kobject name with caution if state is not initialized

2018-08-20 Thread Greg Kroah-Hartman
On Mon, Aug 20, 2018 at 10:39:47PM +0530, Srikar Dronamraju wrote: > If kobject state is not initialized, then its not even certain that > kobject'name is initialized. Hence when accessing the kobject's name > tread carefully. > > A stupid module test like >

Re: [PATCH] rtc: jz4740: Drop dependency on MACH_INGENIC

2018-08-20 Thread Paul Cercueil
Hi, Le lun. 20 août 2018 à 21:12, Alexandre Belloni a écrit : On 20/08/2018 20:07:16+0200, Paul Cercueil wrote: Depending on MACH_INGENIC prevent us from creating a generic kernel that works on more than one MIPS board. Instead, we just depend on MIPS being set. Maybe you could

Re: [PATCH] rtc: jz4740: Drop dependency on MACH_INGENIC

2018-08-20 Thread Paul Cercueil
Hi, Le lun. 20 août 2018 à 21:12, Alexandre Belloni a écrit : On 20/08/2018 20:07:16+0200, Paul Cercueil wrote: Depending on MACH_INGENIC prevent us from creating a generic kernel that works on more than one MIPS board. Instead, we just depend on MIPS being set. Maybe you could

Re: [PATCH] mm: introduce kvvirt_to_page() helper

2018-08-20 Thread Michal Hocko
On Mon 20-08-18 10:07:44, Matthew Wilcox wrote: > On Mon, Aug 20, 2018 at 06:24:06PM +0200, Michal Hocko wrote: > > On Mon 20-08-18 07:49:23, Matthew Wilcox wrote: > > > On Mon, Aug 20, 2018 at 04:41:16PM +0200, Michal Hocko wrote: > > > > On Sat 18-08-18 20:49:01, Li RongQing wrote: > > > > > The

Re: [PATCH] mm: introduce kvvirt_to_page() helper

2018-08-20 Thread Michal Hocko
On Mon 20-08-18 10:07:44, Matthew Wilcox wrote: > On Mon, Aug 20, 2018 at 06:24:06PM +0200, Michal Hocko wrote: > > On Mon 20-08-18 07:49:23, Matthew Wilcox wrote: > > > On Mon, Aug 20, 2018 at 04:41:16PM +0200, Michal Hocko wrote: > > > > On Sat 18-08-18 20:49:01, Li RongQing wrote: > > > > > The

Re: Crash in MM code in v4.4.y, v4.9.y with TRANSPARENT_HUGEPAGE enabled

2018-08-20 Thread Michal Hocko
On Mon 20-08-18 11:03:53, Andi Kleen wrote: > On Mon, Aug 20, 2018 at 06:29:38PM +0200, Michal Hocko wrote: > > On Fri 17-08-18 15:27:33, Guenter Roeck wrote: > > > Hi, > > > > > > the following crash is seen in v4.4.148, v4.4.149, v4.9.120, and v4.9.121 > > > with CONFIG_TRANSPARENT_HUGEPAGE=y,

Re: Crash in MM code in v4.4.y, v4.9.y with TRANSPARENT_HUGEPAGE enabled

2018-08-20 Thread Michal Hocko
On Mon 20-08-18 11:03:53, Andi Kleen wrote: > On Mon, Aug 20, 2018 at 06:29:38PM +0200, Michal Hocko wrote: > > On Fri 17-08-18 15:27:33, Guenter Roeck wrote: > > > Hi, > > > > > > the following crash is seen in v4.4.148, v4.4.149, v4.9.120, and v4.9.121 > > > with CONFIG_TRANSPARENT_HUGEPAGE=y,

Re: [PATCH] rtc: jz4740: Drop dependency on MACH_INGENIC

2018-08-20 Thread Alexandre Belloni
On 20/08/2018 20:07:16+0200, Paul Cercueil wrote: > Depending on MACH_INGENIC prevent us from creating a generic kernel that > works on more than one MIPS board. Instead, we just depend on MIPS being > set. Maybe you could consider dropping the whole dependency as we already know it will build on

Re: [PATCH] rtc: jz4740: Drop dependency on MACH_INGENIC

2018-08-20 Thread Alexandre Belloni
On 20/08/2018 20:07:16+0200, Paul Cercueil wrote: > Depending on MACH_INGENIC prevent us from creating a generic kernel that > works on more than one MIPS board. Instead, we just depend on MIPS being > set. Maybe you could consider dropping the whole dependency as we already know it will build on

Re: cgroup aware oom killer (was Re: [PATCH 0/3] introduce memory.oom.group)

2018-08-20 Thread Roman Gushchin
On Sun, Aug 19, 2018 at 04:26:50PM -0700, David Rientjes wrote: > Roman, have you had time to go through this? Hm, I thought we've finished this part of discussion, no? Anyway, let me repeat my position: I don't like the interface you've proposed in that follow-up patchset, and I explained why.

Re: cgroup aware oom killer (was Re: [PATCH 0/3] introduce memory.oom.group)

2018-08-20 Thread Roman Gushchin
On Sun, Aug 19, 2018 at 04:26:50PM -0700, David Rientjes wrote: > Roman, have you had time to go through this? Hm, I thought we've finished this part of discussion, no? Anyway, let me repeat my position: I don't like the interface you've proposed in that follow-up patchset, and I explained why.

Re: [PATCH] scripts/dtc: consolidate include path options in Makefile

2018-08-20 Thread Frank Rowand
On 07/03/18 18:59, Masahiro Yamada wrote: > It is tedious to specify extra compiler options for every file. > HOST_EXTRACFLAGS is useful to add options to all files in a > directory. > > -I$(src)/libfdt is needed for all the files in this directory > to include libfdt_env.h etc. from

Re: [PATCH] scripts/dtc: consolidate include path options in Makefile

2018-08-20 Thread Frank Rowand
On 07/03/18 18:59, Masahiro Yamada wrote: > It is tedious to specify extra compiler options for every file. > HOST_EXTRACFLAGS is useful to add options to all files in a > directory. > > -I$(src)/libfdt is needed for all the files in this directory > to include libfdt_env.h etc. from

Re: [PATCH] thermal: armada: fix incorrect check for drvdata allocation failure

2018-08-20 Thread Eduardo Valentin
hello Colin, On Mon, Jul 30, 2018 at 01:27:16PM +0100, Colin King wrote: > From: Colin Ian King > > Currently the drvdata allocation failure is being incorrectly checked by > checking priv and not drvdata. Fix this and also free priv to fix a > memory leak. > > Detected by Coverity Scan,

Re: [PATCH] thermal: armada: fix incorrect check for drvdata allocation failure

2018-08-20 Thread Eduardo Valentin
hello Colin, On Mon, Jul 30, 2018 at 01:27:16PM +0100, Colin King wrote: > From: Colin Ian King > > Currently the drvdata allocation failure is being incorrectly checked by > checking priv and not drvdata. Fix this and also free priv to fix a > memory leak. > > Detected by Coverity Scan,

Re: [PATCH 1/7] dt-bindings: Add DT bindings documentation for Allwinner Thermal Sensor Controller

2018-08-20 Thread Rob Herring
On Mon, Aug 20, 2018 at 9:07 AM Maxime Ripard wrote: > > On Mon, Aug 20, 2018 at 07:41:22AM -0600, Rob Herring wrote: > > On Mon, Aug 20, 2018 at 5:17 AM Maxime Ripard > > wrote: > > > > > > On Sat, Aug 04, 2018 at 09:03:49AM +0200, Emmanuel Vadot wrote: > > > > This patch adds documentation

Re: [PATCH 1/7] dt-bindings: Add DT bindings documentation for Allwinner Thermal Sensor Controller

2018-08-20 Thread Rob Herring
On Mon, Aug 20, 2018 at 9:07 AM Maxime Ripard wrote: > > On Mon, Aug 20, 2018 at 07:41:22AM -0600, Rob Herring wrote: > > On Mon, Aug 20, 2018 at 5:17 AM Maxime Ripard > > wrote: > > > > > > On Sat, Aug 04, 2018 at 09:03:49AM +0200, Emmanuel Vadot wrote: > > > > This patch adds documentation

[no subject]

2018-08-20 Thread Alex Feinman
Good morning. I have a custom PCI device that needs to fill memory buffers of up to 16MB in size. For various reasons I would like to avoid implementing scatter-gather support in the device and would much rather prefer a contiguous buffer view instead. The buffers are allocated using

[no subject]

2018-08-20 Thread Alex Feinman
Good morning. I have a custom PCI device that needs to fill memory buffers of up to 16MB in size. For various reasons I would like to avoid implementing scatter-gather support in the device and would much rather prefer a contiguous buffer view instead. The buffers are allocated using

Re: Build failures with gcc 4.5 and older

2018-08-20 Thread Linus Torvalds
On Mon, Aug 20, 2018 at 10:46 AM Nick Desaulniers wrote: > > I think we should take Joe's patch. I'll happily take Joe's patch and get the whole "ancient gcc versions" issue behind us. We'll come back to it in a few years when 4.6 is ancient too, but for now we have no pressing need not to

Re: Build failures with gcc 4.5 and older

2018-08-20 Thread Linus Torvalds
On Mon, Aug 20, 2018 at 10:46 AM Nick Desaulniers wrote: > > I think we should take Joe's patch. I'll happily take Joe's patch and get the whole "ancient gcc versions" issue behind us. We'll come back to it in a few years when 4.6 is ancient too, but for now we have no pressing need not to

Re: [PATCH v8 1/2] kbuild: Allow asm-specific compiler_types.h

2018-08-20 Thread Paul Burton
Hi Masahiro, On Mon, Aug 20, 2018 at 02:04:24PM +0900, Masahiro Yamada wrote: > 2018-08-19 3:10 GMT+09:00 Paul Burton : > > We have a need to override the definition of > > barrier_before_unreachable() for MIPS, which means we either need to add > > architecture-specific code into

Re: [PATCH v8 1/2] kbuild: Allow asm-specific compiler_types.h

2018-08-20 Thread Paul Burton
Hi Masahiro, On Mon, Aug 20, 2018 at 02:04:24PM +0900, Masahiro Yamada wrote: > 2018-08-19 3:10 GMT+09:00 Paul Burton : > > We have a need to override the definition of > > barrier_before_unreachable() for MIPS, which means we either need to add > > architecture-specific code into

Re: [PATCH 5/5] iio: multiplexer: switch to SPDX license identifier

2018-08-20 Thread Jonathan Cameron
On Mon, 20 Aug 2018 12:01:14 +0200 Peter Rosin wrote: > Drop the boilerplate license text. > > Signed-off-by: Peter Rosin Applied. Thanks, Jonathan > --- > drivers/iio/multiplexer/iio-mux.c | 5 + > 1 file changed, 1 insertion(+), 4 deletions(-) > > diff --git

Re: [PATCH 5/5] iio: multiplexer: switch to SPDX license identifier

2018-08-20 Thread Jonathan Cameron
On Mon, 20 Aug 2018 12:01:14 +0200 Peter Rosin wrote: > Drop the boilerplate license text. > > Signed-off-by: Peter Rosin Applied. Thanks, Jonathan > --- > drivers/iio/multiplexer/iio-mux.c | 5 + > 1 file changed, 1 insertion(+), 4 deletions(-) > > diff --git

Re: [PATCH 4/5] iio: dpot-dac: switch to SPDX license identifier

2018-08-20 Thread Jonathan Cameron
On Mon, 20 Aug 2018 12:01:13 +0200 Peter Rosin wrote: > Drop the boilerplate license text. > > Signed-off-by: Peter Rosin Applied. Thanks > --- > drivers/iio/dac/dpot-dac.c | 5 + > 1 file changed, 1 insertion(+), 4 deletions(-) > > diff --git a/drivers/iio/dac/dpot-dac.c

Re: [PATCH 4/5] iio: dpot-dac: switch to SPDX license identifier

2018-08-20 Thread Jonathan Cameron
On Mon, 20 Aug 2018 12:01:13 +0200 Peter Rosin wrote: > Drop the boilerplate license text. > > Signed-off-by: Peter Rosin Applied. Thanks > --- > drivers/iio/dac/dpot-dac.c | 5 + > 1 file changed, 1 insertion(+), 4 deletions(-) > > diff --git a/drivers/iio/dac/dpot-dac.c

Re: [PATCH 3/5] iio: envelope-detector: switch to SPDX license identifier

2018-08-20 Thread Jonathan Cameron
On Mon, 20 Aug 2018 12:01:12 +0200 Peter Rosin wrote: > Drop the boilerplate license text. > > Signed-off-by: Peter Rosin Applied, thanks. > --- > drivers/iio/adc/envelope-detector.c | 5 + > 1 file changed, 1 insertion(+), 4 deletions(-) > > diff --git

Re: [PATCH 3/5] iio: envelope-detector: switch to SPDX license identifier

2018-08-20 Thread Jonathan Cameron
On Mon, 20 Aug 2018 12:01:12 +0200 Peter Rosin wrote: > Drop the boilerplate license text. > > Signed-off-by: Peter Rosin Applied, thanks. > --- > drivers/iio/adc/envelope-detector.c | 5 + > 1 file changed, 1 insertion(+), 4 deletions(-) > > diff --git

Re: [PATCH 2/5] iio: potentiometer: mcp4531: switch to SPDX license identifier

2018-08-20 Thread Jonathan Cameron
On Mon, 20 Aug 2018 12:01:11 +0200 Peter Rosin wrote: > Drop the boilerplate license text and use the correct MODULE_LICENSE. > > Signed-off-by: Peter Rosin Applied. thanks, Jonathan > --- > drivers/iio/potentiometer/mcp4531.c | 7 ++- > 1 file changed, 2 insertions(+), 5 deletions(-) >

Re: [PATCH 2/5] iio: potentiometer: mcp4531: switch to SPDX license identifier

2018-08-20 Thread Jonathan Cameron
On Mon, 20 Aug 2018 12:01:11 +0200 Peter Rosin wrote: > Drop the boilerplate license text and use the correct MODULE_LICENSE. > > Signed-off-by: Peter Rosin Applied. thanks, Jonathan > --- > drivers/iio/potentiometer/mcp4531.c | 7 ++- > 1 file changed, 2 insertions(+), 5 deletions(-) >

Re: [PATCH 1/5] iio: potentiometer: mcp4018: use the correct MODULE_LICENSE

2018-08-20 Thread Jonathan Cameron
On Mon, 20 Aug 2018 12:01:10 +0200 Peter Rosin wrote: > The file is GPL v2 only. > > Signed-off-by: Peter Rosin Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it. thanks, Jonathan > --- > drivers/iio/potentiometer/mcp4018.c | 2 +- > 1

Re: [PATCH 1/5] iio: potentiometer: mcp4018: use the correct MODULE_LICENSE

2018-08-20 Thread Jonathan Cameron
On Mon, 20 Aug 2018 12:01:10 +0200 Peter Rosin wrote: > The file is GPL v2 only. > > Signed-off-by: Peter Rosin Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it. thanks, Jonathan > --- > drivers/iio/potentiometer/mcp4018.c | 2 +- > 1

Re: [PATCH 2/3] arm64: dts: qcom: sdm845-mtp: Add RPMh VRM/XOB regulators

2018-08-20 Thread Stephen Boyd
Quoting Douglas Anderson (2018-08-10 14:51:49) > @@ -20,6 +21,450 @@ > chosen { > stdout-path = "serial0:115200n8"; > }; > + > + vph_pwr: vph-pwr-regulator { > + compatible = "regulator-fixed"; > + regulator-name = "vph_pwr"; > +

Re: [PATCH 2/3] arm64: dts: qcom: sdm845-mtp: Add RPMh VRM/XOB regulators

2018-08-20 Thread Stephen Boyd
Quoting Douglas Anderson (2018-08-10 14:51:49) > @@ -20,6 +21,450 @@ > chosen { > stdout-path = "serial0:115200n8"; > }; > + > + vph_pwr: vph-pwr-regulator { > + compatible = "regulator-fixed"; > + regulator-name = "vph_pwr"; > +

Re: [PATCH 1/3] arm64: dts: qcom: sdm845: Add USB-related nodes

2018-08-20 Thread Stephen Boyd
Quoting Douglas Anderson (2018-08-10 14:51:48) > From: Manu Gautam > > This adds nodes for USB and related PHYs. > > Signed-off-by: Manu Gautam > [dianders: reworked quite a bit] > Signed-off-by: Douglas Anderson > --- One question below, otherwise Reviewed-by: Stephen Boyd > > Changes

Re: [PATCH 1/3] arm64: dts: qcom: sdm845: Add USB-related nodes

2018-08-20 Thread Stephen Boyd
Quoting Douglas Anderson (2018-08-10 14:51:48) > From: Manu Gautam > > This adds nodes for USB and related PHYs. > > Signed-off-by: Manu Gautam > [dianders: reworked quite a bit] > Signed-off-by: Douglas Anderson > --- One question below, otherwise Reviewed-by: Stephen Boyd > > Changes

[RFC PATCH tip] x86/platform/uv/BAU: uv_bau_crash_shutdown() can be static

2018-08-20 Thread kbuild test robot
Fixes: 99f396587875 ("x86/platform/uv/BAU: Gracefully disable BAU during panic") Signed-off-by: kbuild test robot --- tlb_uv.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/platform/uv/tlb_uv.c b/arch/x86/platform/uv/tlb_uv.c index 4c1e119..bce4d14 100644 ---

[tip:x86/urgent 6/6] arch/x86/platform/uv/tlb_uv.c:2209:6: sparse: symbol 'uv_bau_crash_shutdown' was not declared. Should it be static?

2018-08-20 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/urgent head: 99f3965878759d36baac944df004b4dafcc272b4 commit: 99f3965878759d36baac944df004b4dafcc272b4 [6/6] x86/platform/uv/BAU: Gracefully disable BAU during panic reproduce: # apt-get install sparse git

[RFC PATCH tip] x86/platform/uv/BAU: uv_bau_crash_shutdown() can be static

2018-08-20 Thread kbuild test robot
Fixes: 99f396587875 ("x86/platform/uv/BAU: Gracefully disable BAU during panic") Signed-off-by: kbuild test robot --- tlb_uv.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/platform/uv/tlb_uv.c b/arch/x86/platform/uv/tlb_uv.c index 4c1e119..bce4d14 100644 ---

[tip:x86/urgent 6/6] arch/x86/platform/uv/tlb_uv.c:2209:6: sparse: symbol 'uv_bau_crash_shutdown' was not declared. Should it be static?

2018-08-20 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/urgent head: 99f3965878759d36baac944df004b4dafcc272b4 commit: 99f3965878759d36baac944df004b4dafcc272b4 [6/6] x86/platform/uv/BAU: Gracefully disable BAU during panic reproduce: # apt-get install sparse git

Re: [PATCH v4 4/7] i2c: designware: document MSCC Ocelot bindings

2018-08-20 Thread Rob Herring
On Thu, Aug 16, 2018 at 10:45:18AM +0200, Alexandre Belloni wrote: > Document bindings for the Microsemi Ocelot integration of the Designware > I2C controller. > > Cc: Rob Herring > Signed-off-by: Alexandre Belloni > --- > Documentation/devicetree/bindings/i2c/i2c-designware.txt | 7 ++- >

Re: [PATCH v4 4/7] i2c: designware: document MSCC Ocelot bindings

2018-08-20 Thread Rob Herring
On Thu, Aug 16, 2018 at 10:45:18AM +0200, Alexandre Belloni wrote: > Document bindings for the Microsemi Ocelot integration of the Designware > I2C controller. > > Cc: Rob Herring > Signed-off-by: Alexandre Belloni > --- > Documentation/devicetree/bindings/i2c/i2c-designware.txt | 7 ++- >

[PATCH 1/3] ARM: OMAP1: ams-delta: assign MODEM IRQ from GPIO descriptor

2018-08-20 Thread Janusz Krzysztofik
Don't request MODEM IRQ GPIO by its global number in ams_delta_modem_init(). Instead, obtain its GPIO descriptor and assign related IRQ to the MODEM. Do that from omap_gpio_deps_init(), where the chip is already looked up. Then, in ams_delta_modem_init(), just check for the IRQ number having

[PATCH 1/3] ARM: OMAP1: ams-delta: assign MODEM IRQ from GPIO descriptor

2018-08-20 Thread Janusz Krzysztofik
Don't request MODEM IRQ GPIO by its global number in ams_delta_modem_init(). Instead, obtain its GPIO descriptor and assign related IRQ to the MODEM. Do that from omap_gpio_deps_init(), where the chip is already looked up. Then, in ams_delta_modem_init(), just check for the IRQ number having

[PATCH 0/3] ARM: OMAP1: ams-delta: Clean up GPIO setup for MODEM

2018-08-20 Thread Janusz Krzysztofik
Convert modem related GPIO setup from integer space to GPIO descriptors. Also, restore original initialization order of the MODEM device and its related GPIO pins. Cleanup of MODEM relaated regulator setup is postponed while waiting for upcoming conversion of fixed regulator API to GPIO

[PATCH 3/3] ARM: OMAP1: ams-delta: register MODEM device earlier

2018-08-20 Thread Janusz Krzysztofik
Amstrad Delta MODEM device used to be initialized at arch_initcall before it was once moved to late_initcall by commit f7519d8c8290 ("ARM: OMAP1: ams-delta: register latch dependent devices later"). The purpose of that change was to postpone initialization of devices which depended on latch2 pins

[PATCH 2/3] ARM: OMAP1: ams-delta: initialize latch2 pins to safe values

2018-08-20 Thread Janusz Krzysztofik
Latch2 pins control a number of on-board devices, namely LCD, NAND, MODEM and CODEC. Those pins used to be initialized with safe values from init_machine before that operation was: 1) moved to late_initcall in preparation for conversion of latch2 to GPIO device - see commit f7519d8c8290 ("ARM:

[PATCH 3/3] ARM: OMAP1: ams-delta: register MODEM device earlier

2018-08-20 Thread Janusz Krzysztofik
Amstrad Delta MODEM device used to be initialized at arch_initcall before it was once moved to late_initcall by commit f7519d8c8290 ("ARM: OMAP1: ams-delta: register latch dependent devices later"). The purpose of that change was to postpone initialization of devices which depended on latch2 pins

[PATCH 2/3] ARM: OMAP1: ams-delta: initialize latch2 pins to safe values

2018-08-20 Thread Janusz Krzysztofik
Latch2 pins control a number of on-board devices, namely LCD, NAND, MODEM and CODEC. Those pins used to be initialized with safe values from init_machine before that operation was: 1) moved to late_initcall in preparation for conversion of latch2 to GPIO device - see commit f7519d8c8290 ("ARM:

[PATCH 0/3] ARM: OMAP1: ams-delta: Clean up GPIO setup for MODEM

2018-08-20 Thread Janusz Krzysztofik
Convert modem related GPIO setup from integer space to GPIO descriptors. Also, restore original initialization order of the MODEM device and its related GPIO pins. Cleanup of MODEM relaated regulator setup is postponed while waiting for upcoming conversion of fixed regulator API to GPIO

[PATCH] rtc: jz4740: Drop dependency on MACH_INGENIC

2018-08-20 Thread Paul Cercueil
Depending on MACH_INGENIC prevent us from creating a generic kernel that works on more than one MIPS board. Instead, we just depend on MIPS being set. Signed-off-by: Paul Cercueil --- drivers/rtc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/Kconfig

[PATCH] rtc: jz4740: Drop dependency on MACH_INGENIC

2018-08-20 Thread Paul Cercueil
Depending on MACH_INGENIC prevent us from creating a generic kernel that works on more than one MIPS board. Instead, we just depend on MIPS being set. Signed-off-by: Paul Cercueil --- drivers/rtc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/Kconfig

Re: [PATCH v2] fpga: dfl: region: Restory symmetry in probe()/remove()

2018-08-20 Thread Alan Tull
On Mon, Aug 20, 2018 at 12:54 PM, Moritz Fischer wrote: > Hi Alan, > > On Mon, Aug 20, 2018 at 12:46:32PM -0500, Alan Tull wrote: >> On Mon, Aug 20, 2018 at 12:18 PM, Moritz Fischer wrote: >> >> Hi Moritz, >> >> > Replace dev_get_drvdata() with platform_get_drvdata() to >> > match the

Re: [PATCH v2] fpga: dfl: region: Restory symmetry in probe()/remove()

2018-08-20 Thread Alan Tull
On Mon, Aug 20, 2018 at 12:54 PM, Moritz Fischer wrote: > Hi Alan, > > On Mon, Aug 20, 2018 at 12:46:32PM -0500, Alan Tull wrote: >> On Mon, Aug 20, 2018 at 12:18 PM, Moritz Fischer wrote: >> >> Hi Moritz, >> >> > Replace dev_get_drvdata() with platform_get_drvdata() to >> > match the

Re: [PATCH v7 2/2] powerpc: Use cpu_smallcore_sibling_mask at SMT level on bigcores

2018-08-20 Thread Srikar Dronamraju
* Gautham R. Shenoy [2018-08-20 11:11:44]: > From: "Gautham R. Shenoy" > > Each of the SMT4 cores forming a big-core are more or less independent > units. Thus when multiple tasks are scheduled to run on the fused > core, we get the best performance when the tasks are spread across the > pair

Re: [PATCH v7 2/2] powerpc: Use cpu_smallcore_sibling_mask at SMT level on bigcores

2018-08-20 Thread Srikar Dronamraju
* Gautham R. Shenoy [2018-08-20 11:11:44]: > From: "Gautham R. Shenoy" > > Each of the SMT4 cores forming a big-core are more or less independent > units. Thus when multiple tasks are scheduled to run on the fused > core, we get the best performance when the tasks are spread across the > pair

Re: Crash in MM code in v4.4.y, v4.9.y with TRANSPARENT_HUGEPAGE enabled

2018-08-20 Thread Andi Kleen
On Mon, Aug 20, 2018 at 06:29:38PM +0200, Michal Hocko wrote: > On Fri 17-08-18 15:27:33, Guenter Roeck wrote: > > Hi, > > > > the following crash is seen in v4.4.148, v4.4.149, v4.9.120, and v4.9.121 > > with CONFIG_TRANSPARENT_HUGEPAGE=y, CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y. > > Could you

Re: Crash in MM code in v4.4.y, v4.9.y with TRANSPARENT_HUGEPAGE enabled

2018-08-20 Thread Andi Kleen
On Mon, Aug 20, 2018 at 06:29:38PM +0200, Michal Hocko wrote: > On Fri 17-08-18 15:27:33, Guenter Roeck wrote: > > Hi, > > > > the following crash is seen in v4.4.148, v4.4.149, v4.9.120, and v4.9.121 > > with CONFIG_TRANSPARENT_HUGEPAGE=y, CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y. > > Could you

Re: [PATCH v3] staging: mt7621-mmc: Fix debug macros and their usages

2018-08-20 Thread Joe Perches
On Sun, 2018-08-19 at 13:34 +0200, Greg Kroah-Hartman wrote: > On Sun, Aug 19, 2018 at 03:35:02PM +0530, Nishad Kamdar wrote: > > Fixed four debug macros and their usages. Replaced printk with > > dev_ without __func__ or __LINE__ or current->comm and > > current->pid. Further removed the do {}

Re: [PATCH v3] staging: mt7621-mmc: Fix debug macros and their usages

2018-08-20 Thread Joe Perches
On Sun, 2018-08-19 at 13:34 +0200, Greg Kroah-Hartman wrote: > On Sun, Aug 19, 2018 at 03:35:02PM +0530, Nishad Kamdar wrote: > > Fixed four debug macros and their usages. Replaced printk with > > dev_ without __func__ or __LINE__ or current->comm and > > current->pid. Further removed the do {}

Re: [PATCH v5 1/2] dt-bindings: leds: Add bindings for lm3697 driver

2018-08-20 Thread Rob Herring
On Fri, 17 Aug 2018 10:15:27 -0500, Dan Murphy wrote: > Add the device tree bindings for the lm3697 > LED driver for backlighting and display. > > Signed-off-by: Dan Murphy > --- > > v5 - Fix the comment for the example - > https://lore.kernel.org/patchwork/patch/975060/ > > v4 - Removed

Re: [PATCH v5 1/2] dt-bindings: leds: Add bindings for lm3697 driver

2018-08-20 Thread Rob Herring
On Fri, 17 Aug 2018 10:15:27 -0500, Dan Murphy wrote: > Add the device tree bindings for the lm3697 > LED driver for backlighting and display. > > Signed-off-by: Dan Murphy > --- > > v5 - Fix the comment for the example - > https://lore.kernel.org/patchwork/patch/975060/ > > v4 - Removed

Re: [PATCH v2] fpga: dfl: region: Restory symmetry in probe()/remove()

2018-08-20 Thread Moritz Fischer
Hi Alan, On Mon, Aug 20, 2018 at 12:46:32PM -0500, Alan Tull wrote: > On Mon, Aug 20, 2018 at 12:18 PM, Moritz Fischer wrote: > > Hi Moritz, > > > Replace dev_get_drvdata() with platform_get_drvdata() to > > match the platform_set_drvdata() in the probe function of > > the platform driver. > >

Re: [PATCH v2] fpga: dfl: region: Restory symmetry in probe()/remove()

2018-08-20 Thread Moritz Fischer
Hi Alan, On Mon, Aug 20, 2018 at 12:46:32PM -0500, Alan Tull wrote: > On Mon, Aug 20, 2018 at 12:18 PM, Moritz Fischer wrote: > > Hi Moritz, > > > Replace dev_get_drvdata() with platform_get_drvdata() to > > match the platform_set_drvdata() in the probe function of > > the platform driver. > >

Re: linux-next: build warnings from Linus' tree

2018-08-20 Thread Miguel Ojeda
Hi Ted, On Mon, Aug 20, 2018 at 2:02 AM, Theodore Y. Ts'o wrote: > P.S. It's really, really too bad there isn't a simpler way to shut up > gcc. You need the #ifdef __GNUC_PREREQ nonsense because otherwise > older versions of gcc that don't understand the particular warning > you're trying to

Re: [PATCH v2] fpga: dfl: region: Restory symmetry in probe()/remove()

2018-08-20 Thread Alan Tull
On Mon, Aug 20, 2018 at 12:18 PM, Moritz Fischer wrote: Hi Moritz, > Replace dev_get_drvdata() with platform_get_drvdata() to > match the platform_set_drvdata() in the probe function of > the platform driver. > > Fixes commit bb61b9be3e6b ("fpga: dfl: add fpga region platform driver for >

Re: linux-next: build warnings from Linus' tree

2018-08-20 Thread Miguel Ojeda
Hi Ted, On Mon, Aug 20, 2018 at 2:02 AM, Theodore Y. Ts'o wrote: > P.S. It's really, really too bad there isn't a simpler way to shut up > gcc. You need the #ifdef __GNUC_PREREQ nonsense because otherwise > older versions of gcc that don't understand the particular warning > you're trying to

Re: [PATCH v2] fpga: dfl: region: Restory symmetry in probe()/remove()

2018-08-20 Thread Alan Tull
On Mon, Aug 20, 2018 at 12:18 PM, Moritz Fischer wrote: Hi Moritz, > Replace dev_get_drvdata() with platform_get_drvdata() to > match the platform_set_drvdata() in the probe function of > the platform driver. > > Fixes commit bb61b9be3e6b ("fpga: dfl: add fpga region platform driver for >

Re: Build failures with gcc 4.5 and older

2018-08-20 Thread Nick Desaulniers
I think we should take Joe's patch. Reviewed-by: Nick Desaulniers (sorry for the lack of context, trying out the reply instructions from: https://lore.kernel.org/lkml/4cdd4ab9ddd16f1fb168266643264595782fd890.ca...@perches.com/)

Re: Build failures with gcc 4.5 and older

2018-08-20 Thread Nick Desaulniers
I think we should take Joe's patch. Reviewed-by: Nick Desaulniers (sorry for the lack of context, trying out the reply instructions from: https://lore.kernel.org/lkml/4cdd4ab9ddd16f1fb168266643264595782fd890.ca...@perches.com/)

Re: [PATCH v8 2/2] PCI: pciehp: Mask AER surprise link down error if hotplug is enabled

2018-08-20 Thread Sinan Kaya
On 8/20/2018 4:21 AM, Lukas Wunner wrote: On Fri, Aug 17, 2018 at 11:51:10PM -0700, Sinan Kaya wrote: +static int pciehp_control_surprise_error(struct controller *ctrl, bool enable) The return value isn't checked, so this could return void. Sure, I can do that. @@ -280,6 +303,9 @@

Re: [PATCH v8 2/2] PCI: pciehp: Mask AER surprise link down error if hotplug is enabled

2018-08-20 Thread Sinan Kaya
On 8/20/2018 4:21 AM, Lukas Wunner wrote: On Fri, Aug 17, 2018 at 11:51:10PM -0700, Sinan Kaya wrote: +static int pciehp_control_surprise_error(struct controller *ctrl, bool enable) The return value isn't checked, so this could return void. Sure, I can do that. @@ -280,6 +303,9 @@

Re: [PATCH v9 12/22] s390: vfio-ap: sysfs interfaces to configure control domains

2018-08-20 Thread Tony Krowiak
On 08/20/2018 10:23 AM, Cornelia Huck wrote: On Mon, 13 Aug 2018 17:48:09 -0400 Tony Krowiak wrote: From: Tony Krowiak Provides the sysfs interfaces for: 1. Assigning AP control domains to the mediated matrix device 2. Unassigning AP control domains from a mediated matrix device 3.

Re: [PATCH v9 12/22] s390: vfio-ap: sysfs interfaces to configure control domains

2018-08-20 Thread Tony Krowiak
On 08/20/2018 10:23 AM, Cornelia Huck wrote: On Mon, 13 Aug 2018 17:48:09 -0400 Tony Krowiak wrote: From: Tony Krowiak Provides the sysfs interfaces for: 1. Assigning AP control domains to the mediated matrix device 2. Unassigning AP control domains from a mediated matrix device 3.

Re: [PATCH v9 0/4] Uprobes: Support SDT markers having reference count (semaphore)

2018-08-20 Thread Song Liu
I am testing the patch set with the following code: #include #include volatile short semaphore = 0; int for_uprobe(int c) { printf("%d\n", c + 10); return c + 1; } int main(int argc, char *argv[]) { for_uprobe(argc); while (1) { sleep(1);

Re: [PATCH] mm: introduce kvvirt_to_page() helper

2018-08-20 Thread Matthew Wilcox
On Mon, Aug 20, 2018 at 04:41:16PM +0200, Michal Hocko wrote: > > +++ b/fs/xfs/xfs_buf.c > > for (i = 0; i < bp->b_page_count; i++) { > > - bp->b_pages[i] = mem_to_page((void *)pageaddr); > > + bp->b_pages[i] = kvvirt_to_page((void *)pageaddr); > > pageaddr +=

Re: [PATCH v9 0/4] Uprobes: Support SDT markers having reference count (semaphore)

2018-08-20 Thread Song Liu
I am testing the patch set with the following code: #include #include volatile short semaphore = 0; int for_uprobe(int c) { printf("%d\n", c + 10); return c + 1; } int main(int argc, char *argv[]) { for_uprobe(argc); while (1) { sleep(1);

Re: [PATCH] mm: introduce kvvirt_to_page() helper

2018-08-20 Thread Matthew Wilcox
On Mon, Aug 20, 2018 at 04:41:16PM +0200, Michal Hocko wrote: > > +++ b/fs/xfs/xfs_buf.c > > for (i = 0; i < bp->b_page_count; i++) { > > - bp->b_pages[i] = mem_to_page((void *)pageaddr); > > + bp->b_pages[i] = kvvirt_to_page((void *)pageaddr); > > pageaddr +=

Re: [PATCH v8 1/2] PCI: pciehp: Ignore link events when there is a fatal error pending

2018-08-20 Thread Lukas Wunner
On Mon, Aug 20, 2018 at 12:59:05PM -0400, Sinan Kaya wrote: > On 8/20/2018 5:22 AM, Lukas Wunner wrote: > > > + > > This differs from v7 of the patch in that*any* fatal error, not just > > a Surprise Link Down, results in pciehp waiting for the error to clear. > > > > I'm wondering if that's

Re: [PATCH v8 1/2] PCI: pciehp: Ignore link events when there is a fatal error pending

2018-08-20 Thread Lukas Wunner
On Mon, Aug 20, 2018 at 12:59:05PM -0400, Sinan Kaya wrote: > On 8/20/2018 5:22 AM, Lukas Wunner wrote: > > > + > > This differs from v7 of the patch in that*any* fatal error, not just > > a Surprise Link Down, results in pciehp waiting for the error to clear. > > > > I'm wondering if that's

<    1   2   3   4   5   6   7   8   9   >