[PATCH 3.19 097/101] timers/tick/broadcast-hrtimer: Fix suspicious RCU usage in idle loop

2015-04-17 Thread Greg Kroah-Hartman
: linuxppc-...@ozlabs.org Cc: m...@ellerman.id.au Cc: t...@linutronix.de Link: http://lkml.kernel.org/r/20150318104705.17763.56668.st...@preeti.in.ibm.com Signed-off-by: Ingo Molnar Signed-off-by: Greg Kroah-Hartman --- kernel/time/tick-broadcast-hrtimer.c | 11 +-- 1 file changed, 9

[PATCH 4.0 145/220] powerpc, jump_label: Include linux/jump_label.h to get HAVE_JUMP_LABEL define

2015-05-02 Thread Greg Kroah-Hartman
-off-by: Ingo Molnar Signed-off-by: Greg Kroah-Hartman --- arch/powerpc/platforms/powernv/opal-wrappers.S |2 +- arch/powerpc/platforms/pseries/hvCall.S|2 +- arch/powerpc/platforms/pseries/lpar.c |2 +- 3 files changed, 3 insertions(+), 3 deletions(-) --- a/arch/power

[PATCH 3.19 118/177] powerpc, jump_label: Include linux/jump_label.h to get HAVE_JUMP_LABEL define

2015-05-02 Thread Greg Kroah-Hartman
-off-by: Ingo Molnar Signed-off-by: Greg Kroah-Hartman --- arch/powerpc/platforms/powernv/opal-wrappers.S |2 +- arch/powerpc/platforms/pseries/hvCall.S|2 +- arch/powerpc/platforms/pseries/lpar.c |2 +- 3 files changed, 3 insertions(+), 3 deletions(-) --- a/arch/power

Re: [PATCH] drivers/tty/hvc/hvc_tile.c: properly return -EAGAIN

2015-05-10 Thread Greg Kroah-Hartman
w. Sounds good to me, feel free to add: Acked-by: Greg Kroah-Hartman if you want it :) ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH v4 04/11] drivers: base: support cpu cache information interface to userspace via sysfs

2014-09-17 Thread Greg Kroah-Hartman
On Wed, Sep 17, 2014 at 06:25:10PM +0100, Sudeep Holla wrote: > Hi Greg, > > On 03/09/14 18:00, Sudeep Holla wrote: > >From: Sudeep Holla > > > >This patch adds initial support for providing processor cache information > >to userspace through sysfs interface. This is based on already existing > >

Re: [PATCH v4 04/11] drivers: base: support cpu cache information interface to userspace via sysfs

2014-09-24 Thread Greg Kroah-Hartman
On Wed, Sep 17, 2014 at 12:00:48PM -0700, Greg Kroah-Hartman wrote: > On Wed, Sep 17, 2014 at 06:25:10PM +0100, Sudeep Holla wrote: > > Hi Greg, > > > > On 03/09/14 18:00, Sudeep Holla wrote: > > >From: Sudeep Holla > > > > > >This patch ad

Re: [PATCH 29/44] staging: nvec: Register with kernel poweroff handler

2014-10-07 Thread Greg Kroah-Hartman
trich > Cc: Greg Kroah-Hartman > Signed-off-by: Guenter Roeck > --- > drivers/staging/nvec/nvec.c | 24 +++- > drivers/staging/nvec/nvec.h | 2 ++ > 2 files changed, 17 insertions(+), 9 deletions(-) Acked-by: Greg Kroah-Hartman

Re: [PATCH] of/platform: Move platform devices under /sys/devices/platform

2014-11-04 Thread Greg Kroah-Hartman
back into the root. > > Signed-off-by: Grant Likely > Cc: Rob Herring > Cc: Arnd Bergmann > Cc: Greg Kroah-Hartman Acked-by: Greg Kroah-Hartman ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH 2/2] powerpc/512x: DMA via LocalPlus Bus testing driver

2013-05-16 Thread Greg Kroah-Hartman
On Thu, May 02, 2013 at 07:23:15PM +0400, Alexander Popov wrote: > This module tests Direct Memory Access to some device on LocalPlus Bus > for Freescale MPC512x. In other words it tests the bundle > of mpc512x_lpbfifo and mpc512x_dma drivers. > > This testing driver was multiply used with static

Re: [PATCH v2 1/2] serial/mpc52xx_uart: prepare for adding MPC5125 PSC UART support

2013-05-24 Thread Greg Kroah-Hartman
On Fri, May 24, 2013 at 07:49:12PM +0200, Anatolij Gustschin wrote: > On Wed, 17 Apr 2013 23:21:41 +0200 > Anatolij Gustschin wrote: > > > From: Matteo Facchinetti > > > > MPC5125 PSC controller has different register layout than MPC5121. > > To support MPC5125 PSC in this driver we have to pro

Re: [PATCH 25/45] staging/octeon: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Greg Kroah-Hartman
to prevent CPUs from going > offline, while invoking from atomic context. > > Cc: Greg Kroah-Hartman > Cc: de...@driverdev.osuosl.org > Signed-off-by: Srivatsa S. Bhat > --- > > drivers/staging/octeon/ethernet-rx.c |3 +++ > 1 file changed, 3 insertions(+) > &

Re: [PATCH v2 25/45] staging/octeon: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-25 Thread Greg Kroah-Hartman
to prevent CPUs from going > offline, while invoking from atomic context. > > Cc: Greg Kroah-Hartman > Cc: de...@driverdev.osuosl.org > Acked-by: David Daney > Signed-off-by: Srivatsa S. Bhat Acked-by: Greg Kroah-Hartman ___

Re: [PATCH v4 02/31] serial: mpc512x: cleanup clock API use

2013-08-12 Thread Greg Kroah-Hartman
ed on that platform) > - implementation note: the clock gets enabled upon allocation already > just in case the clock is not only required for bitrate generation but > for register access as well > > Signed-off-by: Gerhard Sittig Acked-by: Greg Kroah-Hartman _

Re: [PATCH v4 21/31] serial: mpc512x: switch to CCF names in clock lookup

2013-08-12 Thread Greg Kroah-Hartman
7;mclk' > > acquire and release the 'ipg' clock for register access as well > > Signed-off-by: Gerhard Sittig Acked-by: Greg Kroah-Hartman ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH v4 23/31] serial: mpc512x: setup the PSC FIFO clock as well

2013-08-12 Thread Greg Kroah-Hartman
igned-off-by: Gerhard Sittig Acked-by: Greg Kroah-Hartman ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH] tile: various console improvements

2013-08-12 Thread Greg Kroah-Hartman
hvc_tile driver. > This lets us support a "sim_console" boot argument to allow using > simulator hooks to send output to the "console" as a slightly > faster alternative to emulating the hardware more directly. &g

Re: [PATCH v4 06/19] driver/core: cpu: initialize of_node in cpu's device struture

2013-08-20 Thread Greg Kroah-Hartman
rary now provides of_get_cpu_node to retrieve a cpu > device node for a given logical index by abstracting the architecture > specific details. > > This patch uses of_get_cpu_node to assign of_node when registering the > cpu devices. > > Cc: Greg Kroah-Hartman > Acked-by: Rob Herr

Re: [PATCH 1/7] drivers: base: move mutex lock out of add_memory_section()

2013-08-21 Thread Greg Kroah-Hartman
On Tue, Aug 20, 2013 at 12:24:45PM -0500, Seth Jennings wrote: > Gah! Forgot the cover letter. No worries, I barely read them anyway :) > This patchset just seeks to clean up and refactor some things in > memory.c for better understanding and possibly better performance due do > a decrease in mut

Re: [PATCH] hvc_vio: Do not override preferred console set by kernel parameter

2013-09-26 Thread Greg Kroah-Hartman
On Mon, Sep 02, 2013 at 09:55:40AM +1000, Benjamin Herrenschmidt wrote: > On Sun, 2013-09-01 at 17:24 +0100, Ben Hutchings wrote: > > The original version of this was done by Bastian Blank, who wrote: > > > > > The problem is the following: > > > - Architecture specific code sets preferred console

Re: [PATCH] powerpc/qe_lib: Share the qe_lib for the others architecture

2013-10-14 Thread Greg Kroah-Hartman
On Mon, Oct 14, 2013 at 02:40:44PM -0500, Kumar Gala wrote: > > On Oct 14, 2013, at 2:26 PM, Kumar Gala wrote: > > > > > On Oct 14, 2013, at 6:37 AM, Xie Xiaobo wrote: > > > >> The QUICC Engine (QE) is a communications coprocessors on Freescale > >> embedded processors. The QE had been applied

[ 110/150] uprobes/powerpc: Add dependency on single step emulation

2013-02-26 Thread Greg Kroah-Hartman
ncy. On pseries HAVE_HW_BREAKPOINT protects us, but 44x has no such luxury. Consolidate other users that depend on sstep and create a new config option. Signed-off-by: Ananth N Mavinakayanahalli Signed-off-by: Suzuki K. Poulose Cc: linuxppc-...@ozlabs.org Signed-off-by: Benjamin Herrenschmidt Signed-off

Re: [PATCH] tty/hvc/hvc_console: Fix wakeup of HVC thread on hvc_kick()

2014-05-28 Thread Greg Kroah-Hartman
On Wed, May 28, 2014 at 10:01:30AM +1000, Benjamin Herrenschmidt wrote: > On Fri, 2014-05-23 at 19:41 +1000, Benjamin Herrenschmidt wrote: > > Some backends call hvc_kick() to wakeup the HVC thread from its > > slumber upon incoming characters. This however doesn't work > > properly because it uses

Re: [PATCH 2/9] drivers: base: support cpu cache information interface to userspace via sysfs

2014-07-09 Thread Greg Kroah-Hartman
On Wed, Jun 25, 2014 at 06:30:37PM +0100, Sudeep Holla wrote: > +static const struct device_attribute *cache_optional_attrs[] = { > + &dev_attr_coherency_line_size, > + &dev_attr_ways_of_associativity, > + &dev_attr_number_of_sets, > + &dev_attr_size, > + &dev_attr_attributes, >

Re: [PATCH tty-next 14/22] tty: Remove tty_wait_until_sent_from_close()

2014-07-10 Thread Greg Kroah-Hartman
On Mon, Jun 16, 2014 at 09:17:11AM -0400, Peter Hurley wrote: > tty_wait_until_sent_from_close() drops the tty lock while waiting > for the tty driver to finish sending previously accepted data (ie., > data remaining in its write buffer and transmit fifo). > > However, dropping the tty lock is a h

[PATCH 3.10 54/56] locking/mutex: Disable optimistic spinning on some architectures

2014-07-26 Thread Greg Kroah-Hartman
ux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org Cc: sparcli...@vger.kernel.org Link: http://lkml.kernel.org/r/20140606175316.gv13...@laptop.programming.kicks-ass.net Signed-off-by: Ingo Molnar Signed-off-by: Greg Kroah-Hartman --- arch/arm/Kconfig |

[PATCH 3.14 81/87] locking/mutex: Disable optimistic spinning on some architectures

2014-07-26 Thread Greg Kroah-Hartman
ux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org Cc: sparcli...@vger.kernel.org Link: http://lkml.kernel.org/r/20140606175316.gv13...@laptop.programming.kicks-ass.net Signed-off-by: Ingo Molnar Signed-off-by: Greg Kroah-Hartman --- arch/arm/Kconfig |

[PATCH 3.15 100/109] locking/mutex: Disable optimistic spinning on some architectures

2014-07-26 Thread Greg Kroah-Hartman
ux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org Cc: sparcli...@vger.kernel.org Link: http://lkml.kernel.org/r/20140606175316.gv13...@laptop.programming.kicks-ass.net Signed-off-by: Ingo Molnar Signed-off-by: Greg Kroah-Hartman --- arch/arm/Kconfig |

Re: [PATCH v6 10/17] serial: mpc512x: setup the PSC FIFO clock as well

2013-12-04 Thread Greg Kroah-Hartman
for the PSC FIFO fails, this allows for successful operation in > the presence of an outdated device tree which lacks clock specs > > Cc: Greg Kroah-Hartman > Cc: Jiri Slaby > Cc: linux-ser...@vger.kernel.org > Acked-by: Greg Kroah-Hartman # for v4 > Signed-off-by: Gerhard S

Re: [PATCH v6 11/17] USB: fsl-mph-dr-of: adjust for OF based clock lookup

2013-12-04 Thread Greg Kroah-Hartman
; instead > > Cc: Greg Kroah-Hartman > Cc: linux-...@vger.kernel.org > Signed-off-by: Gerhard Sittig > --- Acked-by: Greg Kroah-Hartman ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH v6 09/17] serial: mpc512x: adjust for OF based clock lookup

2013-12-04 Thread Greg Kroah-Hartman
7;mclk' > > acquire and release the "ipg" clock item for register access as well > > Cc: Greg Kroah-Hartman > Cc: Jiri Slaby > Cc: linux-ser...@vger.kernel.org > Acked-by: Greg Kroah-Hartman # for v4 > Signed-off-by: Gerhard Sittig > --- > Greg, the di

Re: [PATCH RFC 1/3] drivers: base: support cpu cache information interface to userspace via sysfs

2014-01-08 Thread Greg Kroah-Hartman
On Wed, Jan 08, 2014 at 07:26:06PM +, Sudeep Holla wrote: > From: Sudeep Holla > > This patch adds initial support for providing processor cache information > to userspace through sysfs interface. This is based on x86 implementation > and hence the interface is intended to be fully compatible

Re: [PATCH RFC 1/3] drivers: base: support cpu cache information interface to userspace via sysfs

2014-01-08 Thread Greg Kroah-Hartman
On Wed, Jan 08, 2014 at 07:26:06PM +, Sudeep Holla wrote: > From: Sudeep Holla > > This patch adds initial support for providing processor cache information > to userspace through sysfs interface. This is based on x86 implementation > and hence the interface is intended to be fully compatible

Re: [PATCH RFC 1/3] drivers: base: support cpu cache information interface to userspace via sysfs

2014-01-08 Thread Greg Kroah-Hartman
On Wed, Jan 08, 2014 at 07:26:06PM +, Sudeep Holla wrote: > From: Sudeep Holla > +#define define_one_ro(_name) \ > +static struct cache_attr _name = \ > + __ATTR(_name, 0444, show_##_name, NULL) In the future, we do have __ATTR_RO(), which should be used instead. You should never use __AT

Re: [PATCH RFC 1/3] drivers: base: support cpu cache information interface to userspace via sysfs

2014-01-09 Thread Greg Kroah-Hartman
On Thu, Jan 09, 2014 at 07:19:00PM +, Sudeep Holla wrote: > On 08/01/14 20:27, Greg Kroah-Hartman wrote: > > On Wed, Jan 08, 2014 at 07:26:06PM +, Sudeep Holla wrote: > >> From: Sudeep Holla > >> > >> This patch adds initial support for providing

Re: [PATCH RFC 1/3] drivers: base: support cpu cache information interface to userspace via sysfs

2014-01-09 Thread Greg Kroah-Hartman
On Thu, Jan 09, 2014 at 07:47:47PM +, Sudeep Holla wrote: > On 09/01/14 19:31, Greg Kroah-Hartman wrote: > > On Thu, Jan 09, 2014 at 07:19:00PM +, Sudeep Holla wrote: > >> On 08/01/14 20:27, Greg Kroah-Hartman wrote: > >>> On Wed, Jan 08, 2014 at 07:26:

Re: [PATCH v2 03/11] sysfs: create bin_attributes under the requested group

2014-02-15 Thread Greg Kroah-Hartman
On Fri, Feb 14, 2014 at 02:02:07PM -0800, Cody P Schafer wrote: > bin_attributes created/updated in create_files() (such as those listed > via (struct device).attribute_groups) were not placed under the > specified group, and instead appeared in the base kobj directory. > > Fix this by making bin_

[PATCH 3.18 028/150] powerpc/powernv: Switch off MMU before entering nap/sleep/rvwinkle mode

2015-01-13 Thread Greg Kroah-Hartman
eep/rvwinkle instruction. [ shre...@linux.vnet.ibm.com: Edited to handle LE ] Signed-off-by: Paul Mackerras Signed-off-by: Shreyas B. Prabhu Cc: Benjamin Herrenschmidt Cc: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Michael Ellerman Signed-off-by: Greg Kroah-Hart

[PATCH 3.14 20/77] powerpc/powernv: Switch off MMU before entering nap/sleep/rvwinkle mode

2015-01-13 Thread Greg Kroah-Hartman
eep/rvwinkle instruction. [ shre...@linux.vnet.ibm.com: Edited to handle LE ] Signed-off-by: Paul Mackerras Signed-off-by: Shreyas B. Prabhu Cc: Benjamin Herrenschmidt Cc: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Michael Ellerman Signed-off-by: Greg Kroah-Hart

Re: [PATCH] i2c: drop ancient protection against sysfs refcounting issues

2015-01-19 Thread Greg Kroah-Hartman
lso simply removed it later. > > Some more info from Greg Kroah-Hartman: > "Having that call "wait" for the other release call to happen is really > old, as Jean points out, from 2003. We have "fixed" sysfs since then to > detach the files from the devices

Re: [PATCH] i2c: drop ancient protection against sysfs refcounting issues

2015-01-19 Thread Greg Kroah-Hartman
On Mon, Jan 19, 2015 at 11:04:27PM +, Russell King - ARM Linux wrote: > On Tue, Jan 20, 2015 at 03:01:42AM +0800, Greg Kroah-Hartman wrote: > > On Mon, Jan 19, 2015 at 07:55:56PM +0100, Wolfram Sang wrote: > > > diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-

Re: [PATCH] i2c: drop ancient protection against sysfs refcounting issues

2015-01-19 Thread Greg Kroah-Hartman
On Tue, Jan 20, 2015 at 08:05:20AM +0100, Lars-Peter Clausen wrote: > On 01/20/2015 02:41 AM, Greg Kroah-Hartman wrote: > >On Mon, Jan 19, 2015 at 11:04:27PM +, Russell King - ARM Linux wrote: > >>On Tue, Jan 20, 2015 at 03:01:42AM +0800, Greg Kroah-Hartman wrote: > >&

Re: [PATCH v2 10/11] tty: kconfig: remove the superfluous dependency on PPC_OF

2015-03-07 Thread Greg Kroah-Hartman
rivers/tty/serial/Kconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Acked-by: Greg Kroah-Hartman ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH] add POWER Virtual Management Channel driver

2016-02-16 Thread Greg Kroah-Hartman
On Tue, Feb 16, 2016 at 02:43:13PM -0600, Steven Royer wrote: > From: Steven Royer > > The ibmvmc driver is a device driver for the POWER Virtual Management > Channel virtual adapter on the PowerVM platform. It is used to > communicate with the hypervisor for virtualization management. It > pro

Re: [PATCH] add POWER Virtual Management Channel driver

2016-02-17 Thread Greg Kroah-Hartman
On Wed, Feb 17, 2016 at 03:18:26PM -0600, Steven Royer wrote: > On 2016-02-16 16:18, Greg Kroah-Hartman wrote: > >On Tue, Feb 16, 2016 at 02:43:13PM -0600, Steven Royer wrote: > >>From: Steven Royer > >> > >>The ibmvmc driver is a device driver for the POWER Vi

Re: [PATCH v2 0/5] drivers/tty: make more bool drivers explicitly non-modular

2015-09-27 Thread Greg Kroah-Hartman
On Sat, Sep 26, 2015 at 06:53:47PM -0400, Paul Gortmaker wrote: > [[PATCH v2 0/5] drivers/tty: make more bool drivers explicitly non-modular] > On 19/08/2015 (Wed 17:48) Paul Gortmaker wrote: > > > [v2: drop dead module code removal from 8250_lpc18xx.c ; instead convert it > > from bool to trist

Re: Bisected Regression 4.3.5 => 4.4.1 booting HP ZBook in EFI mode

2016-02-05 Thread Greg Kroah-Hartman
On Fri, Feb 05, 2016 at 04:48:52PM -0500, Phil Turmel wrote: > Hello all, > > I tried to get off of v4.3.x today by moving to v4.4.1. > My laptop failed to boot -- stuck with the BIOS boot logo still > showing. I'm direct-booting a merged kernel & initramfs in > EFI mode. > > I bisected to badc6

Re: Bisected Regression 4.3.5 => 4.4.1 booting HP ZBook in EFI mode

2016-02-05 Thread Greg Kroah-Hartman
On Fri, Feb 05, 2016 at 06:41:56PM -0500, Phil Turmel wrote: > On 02/05/2016 05:29 PM, Greg Kroah-Hartman wrote: > > On Fri, Feb 05, 2016 at 04:48:52PM -0500, Phil Turmel wrote: > > >> I'm stumped as to how that powerpc patch can affect my x86 laptop, an > >> HP

[PATCH 4.4 079/117] sched: Fix crash in sched_init_numa()

2016-02-14 Thread Greg Kroah-Hartman
et.ibm.com Signed-off-by: Ingo Molnar Signed-off-by: Greg Kroah-Hartman --- kernel/sched/core.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -6738,7 +6738,7 @@ static void sched_init

[PATCH 4.3 156/200] sched: Fix crash in sched_init_numa()

2016-02-14 Thread Greg Kroah-Hartman
et.ibm.com Signed-off-by: Ingo Molnar Signed-off-by: Greg Kroah-Hartman --- kernel/sched/core.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -6678,7 +6678,7 @@ static void sched_init

[PATCH 4.20 040/183] soc/fsl/qe: fix err handling of ucc_of_parse_tdm

2019-02-25 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit 8d68100ab4ad92560a16a68b72e068613ac4d573 ] Currently there are some issues with the ucc_of_parse_tdm function: 1, a possible null pointer dereference in ucc_of_parse_tdm, detected by

[PATCH 4.9 44/91] SoC: imx-sgtl5000: add missing put_device()

2019-04-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit 8fa857da9744f513036df1c43ab57f338941ae7d ] The of_find_device_by_node() takes a reference to the underlying device structure, we should release that reference. Detected by coccinelle

[PATCH 4.9 66/91] ASoC: fsl-asoc-card: fix object reference leaks in fsl_asoc_card_probe

2019-04-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit 11907e9d3533648615db08140e3045b829d2c141 ] The of_find_device_by_node() takes a reference to the underlying device structure, we should release that reference. Signed-off-by: Wen Yan

[PATCH 4.14 058/121] SoC: imx-sgtl5000: add missing put_device()

2019-04-04 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit 8fa857da9744f513036df1c43ab57f338941ae7d ] The of_find_device_by_node() takes a reference to the underlying device structure, we should release that reference. Detected by coccinell

[PATCH 4.14 085/121] ASoC: fsl-asoc-card: fix object reference leaks in fsl_asoc_card_probe

2019-04-04 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit 11907e9d3533648615db08140e3045b829d2c141 ] The of_find_device_by_node() takes a reference to the underlying device structure, we should release that reference. Signed-off-by: Wen Ya

[PATCH 4.19 083/187] SoC: imx-sgtl5000: add missing put_device()

2019-04-04 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit 8fa857da9744f513036df1c43ab57f338941ae7d ] The of_find_device_by_node() takes a reference to the underlying device structure, we should release that reference. Detected by coccinell

[PATCH 4.19 131/187] ASoC: fsl-asoc-card: fix object reference leaks in fsl_asoc_card_probe

2019-04-04 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit 11907e9d3533648615db08140e3045b829d2c141 ] The of_find_device_by_node() takes a reference to the underlying device structure, we should release that reference. Signed-off-by: Wen Ya

[PATCH 5.0 057/246] mm/resource: Return real error codes from walk failures

2019-04-04 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit 5cd401ace914dc68556c6d2fcae0c349444d5f86 ] walk_system_ram_range() can return an error code either becuase *it* failed, or because the 'func' that it calls returned an error. The mem

[PATCH 5.0 111/246] SoC: imx-sgtl5000: add missing put_device()

2019-04-04 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit 8fa857da9744f513036df1c43ab57f338941ae7d ] The of_find_device_by_node() takes a reference to the underlying device structure, we should release that reference. Detected by coccinelle

[PATCH 5.0 173/246] ASoC: fsl-asoc-card: fix object reference leaks in fsl_asoc_card_probe

2019-04-04 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit 11907e9d3533648615db08140e3045b829d2c141 ] The of_find_device_by_node() takes a reference to the underlying device structure, we should release that reference. Signed-off-by: Wen Yan

Re: [PATCH v3 25/27] powerpc/powernv/pmem: Expose the serial number in sysfs

2020-02-27 Thread Greg Kroah-Hartman
On Fri, Feb 28, 2020 at 05:25:31PM +1100, Andrew Donnellan wrote: > On 21/2/20 2:27 pm, Alastair D'Silva wrote: > > +int ocxlpmem_sysfs_add(struct ocxlpmem *ocxlpmem) > > +{ > > + int i, rc; > > + > > + for (i = 0; i < ARRAY_SIZE(attrs); i++) { > > + rc = device_create_file(&ocxlpmem-

Re: [PATCH 2/6] powerpc: kvm: no need to check return value of debugfs_create functions

2020-03-03 Thread Greg Kroah-Hartman
On Tue, Mar 03, 2020 at 06:46:23PM +1100, Michael Ellerman wrote: > Greg Kroah-Hartman writes: > > When calling debugfs functions, there is no need to ever check the > > return value. The function can work or not, but the code logic should > > never do something di

Re: [PATCH 2/6] powerpc: kvm: no need to check return value of debugfs_create functions

2020-03-03 Thread Greg Kroah-Hartman
On Tue, Mar 03, 2020 at 08:45:23PM +1100, Michael Ellerman wrote: > Greg Kroah-Hartman writes: > > On Tue, Mar 03, 2020 at 06:46:23PM +1100, Michael Ellerman wrote: > >> Greg Kroah-Hartman writes: > >> > When calling debugfs functions, there is no need to ever check

Re: [patch V2 04/15] orinoco_usb: Use the regular completion interfaces

2020-03-19 Thread Greg Kroah-Hartman
t *ezusb_all > return ctx; > } > > - > -/* Hopefully the real complete_all will soon be exported, in the mean > - * while this should work. */ > -static inline void ezusb_complete_all(struct completion *comp) > -{ > - complete(comp); > - complete(comp); > - complete(comp); > - complete(comp); > -} That's so funny... :( Reviewed-by: Greg Kroah-Hartman

Re: [patch V2 03/15] usb: gadget: Use completion interface instead of open coding it

2020-03-19 Thread Greg Kroah-Hartman
tional change. > > Reported-by: Sebastian Andrzej Siewior > Signed-off-by: Thomas Gleixner > Cc: Felipe Balbi > Cc: Greg Kroah-Hartman > Cc: linux-...@vger.kernel.org > --- > V2: New patch to avoid the conversion to swait interfaces later > --- Reviewed-by: Greg Kroah-Hartman

Re: [patch V2 11/15] completion: Use simple wait queues

2020-03-19 Thread Greg Kroah-Hartman
t; the other. > > Signed-off-by: Thomas Gleixner > Cc: Arnd Bergmann > --- > V2: Split out the orinoco and usb gadget parts and amended change log > --- > drivers/usb/gadget/function/f_fs.c |2 +- > include/linux/completion.h |8 > kernel/sched/

Re: [PATCH 1/2] dma-mapping: add a dma_ops_bypass flag to struct device

2020-03-20 Thread Greg Kroah-Hartman
(+), 21 deletions(-) Reviewed-by: Greg Kroah-Hartman

[PATCH 4.19 49/65] mm, slub: prevent kmalloc_node crashes and memory leaks

2020-03-24 Thread Greg Kroah-Hartman
vba...@suse.cz Debugged-by: Srikar Dronamraju Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- mm/slub.c | 26 +- 1 file changed, 17 insertions(+), 9 deletions(-) --- a/mm/slub.c +++ b/mm/slub.c @@ -1906,8 +1906,6 @@ static void *get_partial(struc

[PATCH 5.5 099/119] mm, slub: prevent kmalloc_node crashes and memory leaks

2020-03-24 Thread Greg Kroah-Hartman
vba...@suse.cz Debugged-by: Srikar Dronamraju Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- mm/slub.c | 26 +- 1 file changed, 17 insertions(+), 9 deletions(-) --- a/mm/slub.c +++ b/mm/slub.c @@ -1954,8 +1954,6 @@ static void *get_partial(struc

[PATCH 5.4 091/102] mm, slub: prevent kmalloc_node crashes and memory leaks

2020-03-24 Thread Greg Kroah-Hartman
vba...@suse.cz Debugged-by: Srikar Dronamraju Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- mm/slub.c | 26 +- 1 file changed, 17 insertions(+), 9 deletions(-) --- a/mm/slub.c +++ b/mm/slub.c @@ -1953,8 +1953,6 @@ static void *get_partial(struc

[PATCH 4.4 24/91] mm, slub: prevent kmalloc_node crashes and memory leaks

2020-04-01 Thread Greg Kroah-Hartman
vba...@suse.cz Debugged-by: Srikar Dronamraju Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- mm/slub.c | 26 +- 1 file changed, 17 insertions(+), 9 deletions(-) --- a/mm/slub.c +++ b/mm/slub.c @@ -1777,8 +1777,6 @@ static void *get_partial(struc

[PATCH 4.9 026/102] mm, slub: prevent kmalloc_node crashes and memory leaks

2020-04-01 Thread Greg Kroah-Hartman
vba...@suse.cz Debugged-by: Srikar Dronamraju Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- mm/slub.c | 26 +- 1 file changed, 17 insertions(+), 9 deletions(-) --- a/mm/slub.c +++ b/mm/slub.c @@ -1909,8 +1909,6 @@ static void *get_partial(struc

[PATCH 4.14 037/148] mm, slub: prevent kmalloc_node crashes and memory leaks

2020-04-01 Thread Greg Kroah-Hartman
vba...@suse.cz Debugged-by: Srikar Dronamraju Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- mm/slub.c | 26 +- 1 file changed, 17 insertions(+), 9 deletions(-) --- a/mm/slub.c +++ b/mm/slub.c @@ -1923,8 +1923,6 @@ static void *get_partial(struc

Re: [PATCH v7 2/4] powerpc: expose secure variables to userspace via sysfs

2019-11-06 Thread Greg Kroah-Hartman
deletion of the certificates. > > This patch adds the sysfs interface to expose secure variables for PowerNV > secureboot. The users shall use this interface for manipulating > the keys stored in the secure variables. > > Signed-off-by: Nayna Jain > Reviewed-by: Greg Kroah-Ha

Re: [PATCH 4/5] power: avs: smartreflex: Remove superfluous cast in debugfs_create_file() call

2019-11-08 Thread Greg Kroah-Hartman
On Fri, Nov 08, 2019 at 12:24:42PM +0100, Rafael J. Wysocki wrote: > On Monday, October 21, 2019 4:51:48 PM CET Geert Uytterhoeven wrote: > > There is no need to cast a typed pointer to a void pointer when calling > > a function that accepts the latter. Remove it, as the cast prevents > > further

[PATCH 4.14 62/62] selftests/powerpc: Fix compile error on tlbie_test due to newer gcc

2019-11-08 Thread Greg Kroah-Hartman
rnings being treated as errors Cc: sta...@vger.kernel.org # v4.14 Signed-off-by: Desnes A. Nunes do Rosario Signed-off-by: Michael Ellerman Link: https://lore.kernel.org/r/20191003211010.9711-1-desn...@linux.ibm.com [sandipan: Backported to v4.14] Signed-off-by: Sandipan Das Signed-off-by: Greg Kr

[PATCH 4.14 57/62] powerpc/mm: Fixup tlbie vs store ordering issue on POWER9

2019-11-08 Thread Greg Kroah-Hartman
ted to v4.14] Signed-off-by: Sandipan Das Signed-off-by: Greg Kroah-Hartman --- arch/powerpc/include/asm/cputable.h|4 ++- arch/powerpc/kernel/dt_cpu_ftrs.c |3 ++ arch/powerpc/kvm/book3s_64_mmu_radix.c |3 ++ arch/powerpc/kvm/book3s_hv_rm_mmu.c| 11 arch/powerpc

Re: [PATCH] sysfs: Fixes __BIN_ATTR_WO() macro

2019-11-14 Thread Greg Kroah-Hartman
On Thu, Nov 14, 2019 at 08:07:49PM +1100, Michael Ellerman wrote: > On Tue, 2019-10-01 at 23:37:18 UTC, Nayna Jain wrote: > > This patch fixes the size and write parameter for the macro > > __BIN_ATTR_WO(). > > > > Fixes: 7f905761e15a8 ("sysfs: add BIN_ATTR_WO() macro") > > Signed-off-by: Nayna Ja

Re: [PATCH v2 1/2] mm: remove the memory isolate notifier

2019-11-14 Thread Greg Kroah-Hartman
On Thu, Nov 14, 2019 at 02:19:10PM +0100, David Hildenbrand wrote: > Luckily, we have no users left, so we can get rid of it. Cleanup > set_migratetype_isolate() a little bit. > > Cc: Greg Kroah-Hartman > Cc: "Rafael J. Wysocki" > Cc: Andrew Morton > Cc: Pav

[PATCH 4.19 270/422] libfdt: Ensure INT_MAX is defined in libfdt_env.h

2019-11-18 Thread Greg Kroah-Hartman
From: Rob Herring [ Upstream commit 53dd9dce6979bc54d64a3a09a2fb20187a025be7 ] The next update of libfdt has a new dependency on INT_MAX. Update the instances of libfdt_env.h in the kernel to either include the necessary header with the definition or define it locally. Cc: Russell King Cc: Ben

[PATCH 4.14 145/239] libfdt: Ensure INT_MAX is defined in libfdt_env.h

2019-11-18 Thread Greg Kroah-Hartman
From: Rob Herring [ Upstream commit 53dd9dce6979bc54d64a3a09a2fb20187a025be7 ] The next update of libfdt has a new dependency on INT_MAX. Update the instances of libfdt_env.h in the kernel to either include the necessary header with the definition or define it locally. Cc: Russell King Cc: Ben

Re: [PATCH v2] tty: Fix Kconfig indentation

2019-11-21 Thread Greg Kroah-Hartman
On Thu, Nov 21, 2019 at 04:20:08AM +0100, Krzysztof Kozlowski wrote: > Adjust indentation from spaces to tab (+optional two spaces) as in > coding style with command like: > $ sed -e 's/^/\t/' -i */Kconfig > > Signed-off-by: Krzysztof Kozlowski > > --- > > Changes since v1: > 1. F

Re: [PATCH v2] tty: Fix Kconfig indentation

2019-11-21 Thread Greg Kroah-Hartman
On Thu, Nov 21, 2019 at 03:22:27PM +0800, Krzysztof Kozlowski wrote: > On Thu, 21 Nov 2019 at 15:21, Greg Kroah-Hartman > wrote: > > > > On Thu, Nov 21, 2019 at 04:20:08AM +0100, Krzysztof Kozlowski wrote: > > > Adjust indentation from spaces to tab (+optional two space

[PATCH 4.4 062/159] libfdt: Ensure INT_MAX is defined in libfdt_env.h

2019-11-22 Thread Greg Kroah-Hartman
From: Rob Herring [ Upstream commit 53dd9dce6979bc54d64a3a09a2fb20187a025be7 ] The next update of libfdt has a new dependency on INT_MAX. Update the instances of libfdt_env.h in the kernel to either include the necessary header with the definition or define it locally. Cc: Russell King Cc: Ben

[PATCH 4.9 087/222] libfdt: Ensure INT_MAX is defined in libfdt_env.h

2019-11-22 Thread Greg Kroah-Hartman
From: Rob Herring [ Upstream commit 53dd9dce6979bc54d64a3a09a2fb20187a025be7 ] The next update of libfdt has a new dependency on INT_MAX. Update the instances of libfdt_env.h in the kernel to either include the necessary header with the definition or define it locally. Cc: Russell King Cc: Ben

[PATCH 4.19 195/321] net/wan/fsl_ucc_hdlc: Avoid double free in ucc_hdlc_probe()

2019-12-03 Thread Greg Kroah-Hartman
From: Wen Yang [ Upstream commit 40752b3eae29f8ca2378e978a02bd6dbeeb06d16 ] This patch fixes potential double frees if register_hdlc_device() fails. Signed-off-by: Wen Yang Reviewed-by: Peng Hao CC: Zhao Qiang CC: "David S. Miller" CC: net...@vger.kernel.org CC: linuxppc-dev@lists.ozlabs.or

[PATCH 4.14 118/209] net/wan/fsl_ucc_hdlc: Avoid double free in ucc_hdlc_probe()

2019-12-04 Thread Greg Kroah-Hartman
From: Wen Yang [ Upstream commit 40752b3eae29f8ca2378e978a02bd6dbeeb06d16 ] This patch fixes potential double frees if register_hdlc_device() fails. Signed-off-by: Wen Yang Reviewed-by: Peng Hao CC: Zhao Qiang CC: "David S. Miller" CC: net...@vger.kernel.org CC: linuxppc-dev@lists.ozlabs.or

[PATCH 4.9 080/125] net/wan/fsl_ucc_hdlc: Avoid double free in ucc_hdlc_probe()

2019-12-04 Thread Greg Kroah-Hartman
From: Wen Yang [ Upstream commit 40752b3eae29f8ca2378e978a02bd6dbeeb06d16 ] This patch fixes potential double frees if register_hdlc_device() fails. Signed-off-by: Wen Yang Reviewed-by: Peng Hao CC: Zhao Qiang CC: "David S. Miller" CC: net...@vger.kernel.org CC: linuxppc-dev@lists.ozlabs.or

Re: [PATCH 3/4] dma-mapping: add a dma_ops_bypass flag to struct device

2020-04-14 Thread Greg Kroah-Hartman
mon solution. > > Signed-off-by: Christoph Hellwig > --- > include/linux/device.h | 6 > kernel/dma/mapping.c | 70 +- > 2 files changed, 55 insertions(+), 21 deletions(-) Reviewed-by: Greg Kroah-Hartman

Re: [PATCH 2/8] fs: extract simple_pin/release_fs to separate files

2020-04-14 Thread Greg Kroah-Hartman
On Tue, Apr 14, 2020 at 02:42:56PM +0200, Emanuele Giuseppe Esposito wrote: > We will augment this family of functions with inode management. To avoid > littering include/linux/fs.h and fs/libfs.c, move them to a separate header, > with a Kconfig symbol to enable them. > > Signed-off-by: Emanuele

Re: [PATCH 5/8] simplefs: add alloc_anon_inode wrapper

2020-04-14 Thread Greg Kroah-Hartman
On Tue, Apr 14, 2020 at 02:42:59PM +0200, Emanuele Giuseppe Esposito wrote: > Start adding file creation wrappers, the simplest returns an anonymous > inode. This changelog text does not make much sense on its own. Please say why you are doing something, not just what you are doing. thanks, gre

Re: [PATCH 6/8] simplefs: add file creation functions

2020-04-14 Thread Greg Kroah-Hartman
On Tue, Apr 14, 2020 at 02:43:00PM +0200, Emanuele Giuseppe Esposito wrote: > A bunch of code is duplicated between debugfs and tracefs, unify it to the > simplefs library. > > The code is very similar, except that dentry and inode creation are unified > into a single function (unlike start_creati

Re: [PATCH 4/8] fs: introduce simple_new_inode

2020-04-14 Thread Greg Kroah-Hartman
On Tue, Apr 14, 2020 at 02:42:58PM +0200, Emanuele Giuseppe Esposito wrote: > It is a common special case for new_inode to initialize the > time to the current time and the inode to get_next_ino(). > Introduce a core function that does it and use it throughout > Linux. Shouldn't this just be calle

Re: [PATCH 3/8] fs: wrap simple_pin_fs/simple_release_fs arguments in a struct

2020-04-14 Thread Greg Kroah-Hartman
On Tue, Apr 14, 2020 at 02:42:57PM +0200, Emanuele Giuseppe Esposito wrote: > @@ -676,9 +674,9 @@ static void __debugfs_file_removed(struct dentry *dentry) > > static void remove_one(struct dentry *victim) > { > -if (d_is_reg(victim)) > +if (d_is_reg(victim)) > __debug

Re: [PATCH 6/8] simplefs: add file creation functions

2020-04-20 Thread Greg Kroah-Hartman
On Mon, Apr 20, 2020 at 03:57:48PM +0200, Emanuele Giuseppe Esposito wrote: > > > On 4/14/20 2:56 PM, Greg Kroah-Hartman wrote: > > On Tue, Apr 14, 2020 at 02:43:00PM +0200, Emanuele Giuseppe Esposito wrote: > > > A bunch of code is duplicated between debugfs and

[PATCH 5.4 054/118] KVM: PPC: Book3S HV: Fix H_CEDE return code for nested guests

2020-04-22 Thread Greg Kroah-Hartman
From: Michael Roth [ Upstream commit 1f50cc1705350a4697923203fedd7d8fb1087fe2 ] The h_cede_tm kvm-unit-test currently fails when run inside an L1 guest via the guest/nested hypervisor. ./run-tests.sh -v ... TESTNAME=h_cede_tm TIMEOUT=90s ACCEL= ./powerpc/run powerpc/tm.elf -smp 2,threads

[PATCH 5.6 076/166] KVM: PPC: Book3S HV: Fix H_CEDE return code for nested guests

2020-04-22 Thread Greg Kroah-Hartman
From: Michael Roth [ Upstream commit 1f50cc1705350a4697923203fedd7d8fb1087fe2 ] The h_cede_tm kvm-unit-test currently fails when run inside an L1 guest via the guest/nested hypervisor. ./run-tests.sh -v ... TESTNAME=h_cede_tm TIMEOUT=90s ACCEL= ./powerpc/run powerpc/tm.elf -smp 2,threads

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

2020-05-06 Thread Greg Kroah-Hartman
On Thu, May 07, 2020 at 08:44:12AM +0200, Johan Hovold wrote: > On Thu, May 07, 2020 at 12:27:53AM +0530, Naresh Kamboju wrote: > > 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()

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

2020-05-07 Thread Greg Kroah-Hartman
On Thu, May 07, 2020 at 08:47:34AM +0200, Greg Kroah-Hartman wrote: > On Thu, May 07, 2020 at 08:44:12AM +0200, Johan Hovold wrote: > > On Thu, May 07, 2020 at 12:27:53AM +0530, Naresh Kamboju wrote: > > > On Tue, 29 Nov 2016 at 00:00, Johan Hovold wrote: > > > > &

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

2020-05-08 Thread Greg Kroah-Hartman
On Fri, May 08, 2020 at 08:21:19AM +0200, Johan Hovold wrote: > On Fri, May 08, 2020 at 03:35:02AM +0530, Naresh Kamboju wrote: > > On Thu, 7 May 2020 at 16:43, Greg Kroah-Hartman > > wrote: > > > > > > > > > > > > > > > Greg,

Re: [PATCH RFC 1/2] drivers/base: export lock_device_hotplug/unlock_device_hotplug

2018-08-17 Thread Greg Kroah-Hartman
On Fri, Aug 17, 2018 at 09:59:00AM +0200, David Hildenbrand wrote: > From: Vitaly Kuznetsov > > Well require to call add_memory()/add_memory_resource() with > device_hotplug_lock held, to avoid a lock inversion. Allow external modules > (e.g. hv_balloon) that make use of add_memory()/add_memory_r

  1   2   3   4   5   6   >