[PATCH] powerpc: Fix -mcpu= options for SPE-only compiler

2018-12-26 Thread Ben Hutchings
GCC for Debian's "powerpcspe" architecture only supports 32-bit SPE targets, and using -mcpu=powerpc or -mcpu=powerpc64 is a fatal error. * Change the test for a biarch compiler to pass both the -m32 and -m64 options, so that it doesn't catch 32-bit-only compilers * Add an ifdef CONFIG_PPC64

Re: [RFC PATCH] ASoC: fsl: Add Audio Mixer CPU DAI driver

2018-12-26 Thread Nicolin Chen
Hi Viorel, Sorry for the late response, having been on a long vacation. The code looks pretty clean. Just some small concerns/questions below. On Wed, Dec 19, 2018 at 12:30 AM Viorel Suman wrote: > > This patch implements Audio Mixer CPU DAI driver for NXP iMX8 SOCs. > The Audio Mixer is a

[PATCH AUTOSEL 4.9 02/35] powerpc: Fix COFF zImage booting on old powermacs

2018-12-26 Thread Sasha Levin
From: Paul Mackerras [ Upstream commit 5564597d51c8ff5b88d95c76255e18b13b760879 ] Commit 6975a783d7b4 ("powerpc/boot: Allow building the zImage wrapper as a relocatable ET_DYN", 2011-04-12) changed the procedure descriptor at the start of crt0.S to have a hard-coded start address of 0x50

Re: [PATCH] powerpc: Fix -mcpu= options for SPE-only compiler

2018-12-26 Thread Segher Boessenkool
Hi! On Wed, Dec 26, 2018 at 02:15:11PM +, Ben Hutchings wrote: > GCC for Debian's "powerpcspe" architecture only supports 32-bit > SPE targets, and using -mcpu=powerpc or -mcpu=powerpc64 is a fatal > error. I don't see where your patch touches -mcpu=powerpc, and I don't see how it would make

[PATCH AUTOSEL 4.19 05/97] powerpc/mm: Fix linux page tables build with some configs

2018-12-26 Thread Sasha Levin
From: Michael Ellerman [ Upstream commit 462951cd32e1496dc64b00051dfb777efc8ae5d8 ] For some configs the build fails with: arch/powerpc/mm/dump_linuxpagetables.c: In function 'populate_markers': arch/powerpc/mm/dump_linuxpagetables.c:306:39: error: 'PKMAP_BASE' undeclared (first use in

[PATCH AUTOSEL 4.19 26/97] ibmvnic: Convert reset work item mutex to spin lock

2018-12-26 Thread Sasha Levin
From: Thomas Falcon [ Upstream commit 6c5c7489089608d89b7ce310bca44812e2b0a4a5 ] ibmvnic_reset can create and schedule a reset work item from an IRQ context, so do not use a mutex, which can sleep. Convert the reset work item mutex to a spin lock. Locking debugger generated the trace output

[PATCH AUTOSEL 4.4 01/21] powerpc: Fix COFF zImage booting on old powermacs

2018-12-26 Thread Sasha Levin
From: Paul Mackerras [ Upstream commit 5564597d51c8ff5b88d95c76255e18b13b760879 ] Commit 6975a783d7b4 ("powerpc/boot: Allow building the zImage wrapper as a relocatable ET_DYN", 2011-04-12) changed the procedure descriptor at the start of crt0.S to have a hard-coded start address of 0x50

[PATCH v3] soc/fsl/qe: fix err handling of ucc_of_parse_tdm

2018-12-26 Thread Peng Hao
From: Wen Yang 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 the semantic patch deref_null.cocci, with the following warning: drivers/soc/fsl/qe/qe_tdm.c:177:21-24: ERROR: pdev is NULL but dereferenced.

[PATCH AUTOSEL 4.19 04/97] powerpc: Fix COFF zImage booting on old powermacs

2018-12-26 Thread Sasha Levin
From: Paul Mackerras [ Upstream commit 5564597d51c8ff5b88d95c76255e18b13b760879 ] Commit 6975a783d7b4 ("powerpc/boot: Allow building the zImage wrapper as a relocatable ET_DYN", 2011-04-12) changed the procedure descriptor at the start of crt0.S to have a hard-coded start address of 0x50

[PATCH AUTOSEL 4.14 03/59] powerpc/mm: Fix linux page tables build with some configs

2018-12-26 Thread Sasha Levin
From: Michael Ellerman [ Upstream commit 462951cd32e1496dc64b00051dfb777efc8ae5d8 ] For some configs the build fails with: arch/powerpc/mm/dump_linuxpagetables.c: In function 'populate_markers': arch/powerpc/mm/dump_linuxpagetables.c:306:39: error: 'PKMAP_BASE' undeclared (first use in

[PATCH AUTOSEL 4.19 27/97] ibmvnic: Fix non-atomic memory allocation in IRQ context

2018-12-26 Thread Sasha Levin
From: Thomas Falcon [ Upstream commit 1d1bbc37f89b0559c9e913682f2489d89cfde6b8 ] ibmvnic_reset allocated new reset work item objects in a non-atomic context. This can be called from a tasklet, generating the output below. Allocate work items with the GFP_ATOMIC flag instead. BUG: sleeping

[PATCH AUTOSEL 4.14 16/59] ibmvnic: Fix non-atomic memory allocation in IRQ context

2018-12-26 Thread Sasha Levin
From: Thomas Falcon [ Upstream commit 1d1bbc37f89b0559c9e913682f2489d89cfde6b8 ] ibmvnic_reset allocated new reset work item objects in a non-atomic context. This can be called from a tasklet, generating the output below. Allocate work items with the GFP_ATOMIC flag instead. BUG: sleeping

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

2018-12-26 Thread Peng Hao
From: Wen Yang 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.org CC: linux-ker...@vger.kernel.org ---

[PATCH AUTOSEL 4.19 12/97] powerpc/mm: Fallback to RAM if the altmap is unusable

2018-12-26 Thread Sasha Levin
From: Oliver O'Halloran [ Upstream commit 9ef34630a4614ee1cd478f9859ebea55d55f10ec ] The "altmap" is used to provide a pool of memory that is reserved for the vmemmap backing of hot-plugged memory. This is useful when adding large amount of ZONE_DEVICE memory to a system with a limited amount

[PATCH AUTOSEL 4.14 02/59] powerpc: Fix COFF zImage booting on old powermacs

2018-12-26 Thread Sasha Levin
From: Paul Mackerras [ Upstream commit 5564597d51c8ff5b88d95c76255e18b13b760879 ] Commit 6975a783d7b4 ("powerpc/boot: Allow building the zImage wrapper as a relocatable ET_DYN", 2011-04-12) changed the procedure descriptor at the start of crt0.S to have a hard-coded start address of 0x50

[PATCH AUTOSEL 3.18 01/12] powerpc: Fix COFF zImage booting on old powermacs

2018-12-26 Thread Sasha Levin
From: Paul Mackerras [ Upstream commit 5564597d51c8ff5b88d95c76255e18b13b760879 ] Commit 6975a783d7b4 ("powerpc/boot: Allow building the zImage wrapper as a relocatable ET_DYN", 2011-04-12) changed the procedure descriptor at the start of crt0.S to have a hard-coded start address of 0x50

Re: [PATCH] powerpc: Fix -mcpu= options for SPE-only compiler

2018-12-26 Thread Ben Hutchings
On Wed, 2018-12-26 at 17:45 -0600, Segher Boessenkool wrote: > Hi! > > On Wed, Dec 26, 2018 at 02:15:11PM +, Ben Hutchings wrote: > > GCC for Debian's "powerpcspe" architecture only supports 32-bit > > SPE targets, and using -mcpu=powerpc or -mcpu=powerpc64 is a fatal > > error. > > I don't

Re: Pull request v2: scottwood/linux.git next

2018-12-26 Thread Michael Ellerman
Scott Wood writes: > Highlights include elimination of legacy clock bindings use from dts > files, an 83xx watchdog handler, fixes to old dts interrupt errors, and > some minor cleanup. > > v2: Reverted the fsl_pci_dma_set_mask patch > > The following changes since commit

Re: [PATCH 2/8] powerpc: remove CONFIG_PCI_QSPAN

2018-12-26 Thread Benjamin Herrenschmidt
On Wed, 2018-10-17 at 10:01 +0200, Christoph Hellwig wrote: > This option isn't actually used anywhere. Oh my, that's ancient. Probably didn't make the cut from arch/ppc to arch/powerpc > Signed-off-by: Christoph Hellwig Acked-by: Benjamin Herrenschmidt > --- > arch/powerpc/Kconfig | 9