Re: [RFC PATCH 2/3] crypto: nx - don't abuse shash MAY_SLEEP flag

2019-04-14 Thread Michael Ellerman
Eric Biggers writes: > From: Eric Biggers > > The nx driver uses the MAY_SLEEP flag in shash_desc::flags as an > indicator to not retry sending the operation to the hardware as many > times before returning -EBUSY. This is bogus because (1) that's not > what the MAY_SLEEP flag is for, and (2) th

[PATCH] powerpc/powernv: Remove ifdef

2019-04-14 Thread Oliver O'Halloran
The PowerNV platform depends on CONFIG_PPC64 so this #ifdef in the middle of platforms/powernv/pci.c really doesn't need to be there. Signed-off-by: Oliver O'Halloran --- arch/powerpc/platforms/powernv/pci.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/powerpc/platforms/powernv/pci.

Re: [PATCH 0/8]

2019-04-14 Thread Sam Bobroff
On Thu, Apr 11, 2019 at 05:55:33PM -0700, Tyrel Datwyler wrote: > On 03/19/2019 07:58 PM, Sam Bobroff wrote: > > Hi all, > > > > This patch set adds support for EEH recovery of hot plugged devices on > > pSeries > > machines. Specifically, devices discovered by PCI rescanning using > > /sys/bus/p

Re: [PATCH v3] powerpc/xmon: add read-only mode

2019-04-14 Thread Oliver
On Mon, Apr 15, 2019 at 10:17 AM Christopher M. Riedl wrote: > > Operations which write to memory and special purpose registers should be > restricted on systems with integrity guarantees (such as Secure Boot) > and, optionally, to avoid self-destructive behaviors. > > Add a config option, XMON_DE

Re: [PATCH 3/3] mm: introduce ARCH_HAS_PTE_DEVMAP

2019-04-14 Thread Oliver
On Sat, Apr 13, 2019 at 4:57 AM Robin Murphy wrote: > > ARCH_HAS_ZONE_DEVICE is somewhat meaningless in itself, and combined > with the long-out-of-date comment can lead to the impression than an > architecture may just enable it (since __add_pages() now "comprehends > device memory" for itself) a

[RFC PATCH 2/3] crypto: nx - don't abuse shash MAY_SLEEP flag

2019-04-14 Thread Eric Biggers
From: Eric Biggers The nx driver uses the MAY_SLEEP flag in shash_desc::flags as an indicator to not retry sending the operation to the hardware as many times before returning -EBUSY. This is bogus because (1) that's not what the MAY_SLEEP flag is for, and (2) the shash API doesn't allow failing

[PATCH v3] powerpc/xmon: add read-only mode

2019-04-14 Thread Christopher M. Riedl
Operations which write to memory and special purpose registers should be restricted on systems with integrity guarantees (such as Secure Boot) and, optionally, to avoid self-destructive behaviors. Add a config option, XMON_DEFAULT_RO_MODE, to set default xmon behavior. The kernel cmdline options x

Re: [PATCH 1/2] ASoC: mpc5200_dma: Fix invalid license ID

2019-04-14 Thread Fabio Estevam
On Sun, Apr 14, 2019 at 4:15 PM Andra Danciu wrote: > > As the file had no other license notice/reference, it falls under the > project license and therefore the proper SPDX id is: GPL-2.0-only > > Cc: Daniel Baluta > Fixes: 1edfc2485d8dc ("ASoC: mpc5200_dma: Switch to SPDX identifier") > Reporte

Re: [PATCH v2 1/2] cpuidle : auto-promotion for cpuidle states

2019-04-14 Thread Abhishek
Hi Rafael, Thanks for the Review. Few inline replies below. On 04/09/2019 03:31 PM, Rafael J. Wysocki wrote: On Fri, Apr 5, 2019 at 11:17 AM Abhishek Goel wrote: Currently, the cpuidle governors (menu /ladder) determine what idle state There are three governors in 5.1-rc. an idling CPU sh

[PATCH 2/2] ASoC: mpc5200_psc_i2s: Fix invalid license ID

2019-04-14 Thread Andra Danciu
As the file had no other license notice/reference, it falls under the project license and therefore the proper SPDX id is: GPL-2.0-only Cc: Daniel Baluta Fixes: 864a8472c4412 ("ASoC: mpc5200_psc_i2s: Switch to SPDX identifier") Reported-by: Thomas Gleixner Signed-off-by: Andra Danciu --- sound

[PATCH 1/2] ASoC: mpc5200_dma: Fix invalid license ID

2019-04-14 Thread Andra Danciu
As the file had no other license notice/reference, it falls under the project license and therefore the proper SPDX id is: GPL-2.0-only Cc: Daniel Baluta Fixes: 1edfc2485d8dc ("ASoC: mpc5200_dma: Switch to SPDX identifier") Reported-by: Thomas Gleixner Signed-off-by: Andra Danciu --- sound/soc

[PATCH 0/2] Fix invalid license IDS

2019-04-14 Thread Andra Danciu
This series of patches solves two issues reported by Thomas Gleixner Andra Danciu (2): ASoC: mpc5200_dma: Fix invalid license ID ASoC: mpc5200_psc_i2s: Fix invalid license ID sound/soc/fsl/mpc5200_dma.c | 2 +- sound/soc/fsl/mpc5200_psc_i2s.c | 2 +- 2 files changed, 2 insertions(+), 2 d

Re: [PATCH 03/12] PowerPC-83xx: add missing of_node_put after of_device_is_available

2019-04-14 Thread Markus Elfring
> @@ -221,8 +221,10 @@ int mpc837x_usb_cfg(void) > int ret = 0; > > np = of_find_compatible_node(NULL, NULL, "fsl-usb2-dr"); > - if (!np || !of_device_is_available(np)) > + if (!np || !of_device_is_available(np)) { > + of_node_put(np); > return -ENODEV;