Re: [PATCH 1/2] Move the pt_regs_offset struct definition from arch to common include file

2015-06-29 Thread Michael Ellerman
On Wed, 2015-06-17 at 14:30 -0400, David Long wrote: > On 06/16/15 09:17, Rob Herring wrote: > > On Mon, Jun 15, 2015 at 11:42 AM, David Long wrote: > >> > >> #define REG_OFFSET_NAME(r) \ > >> {.name = #r, .offset = offsetof(struct pt_regs, ARM_##r)} > >> #define REG_OFFSET_END {.name

Re: [PATCH RESEND] Update kernel math-emu code from current glibc soft-fp

2015-06-29 Thread Michael Ellerman
On Mon, 2015-06-22 at 13:26 +, Joseph Myers wrote: > From: Joseph Myers > > The include/math-emu code (used for alpha powerpc sh sparc, and to a > very limited extent for s390) was taken from an old version of glibc's > soft-fp code around 15 years ago (in the pre-git era, anyway, and some .

Re: [PATCH 1/1] cxl/vphb.c: Use phb pointer after NULL check

2015-06-29 Thread Ian Munsie
Acked-by: Ian Munsie ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH] Fix pSeries boot failure, by returning interrupt controller node when an interrupt-map property doesn't exist

2015-06-29 Thread Benjamin Herrenschmidt
On Mon, 2015-06-29 at 18:50 -0500, Jeremy Linton wrote: > This is a reformat of the patch attached to "pSeries boot failure due > to wrong interrupt controller". > > It allows of_irq_parse_raw() to return the node pointer of the > interrupt controller, rather than the parent bus. This allows > ics

[PATCH] Fix pSeries boot failure, by returning interrupt controller node when an interrupt-map property doesn't exist

2015-06-29 Thread Jeremy Linton
This is a reformat of the patch attached to "pSeries boot failure due to wrong interrupt controller". It allows of_irq_parse_raw() to return the node pointer of the interrupt controller, rather than the parent bus. This allows ics_rtas_host_match() to detect that the controller is a legacy 8259 an

[PATCH 1/1] cxl/vphb.c: Use phb pointer after NULL check

2015-06-29 Thread Maninder Singh
static Anlaysis detected below error:- (error) Possible null pointer dereference: phb So, Use phb after NULL check. Signed-off-by: Maninder Singh --- drivers/misc/cxl/vphb.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/misc/cxl/vphb.c b/drivers/misc/cxl/vphb.

[PATCH] powerpc: Remove redundant breaks

2015-06-29 Thread Joe Perches
break; break; isn't useful. Remove one. Signed-off-by: Joe Perches --- arch/powerpc/kernel/kvm.c | 1 - arch/powerpc/xmon/xmon.c | 1 - 2 files changed, 2 deletions(-) diff --git a/arch/powerpc/kernel/kvm.c b/arch/powerpc/kernel/kvm.c index 33aa4dd..9ad37f8 100644 --- a/arch/powerpc/kernel/kv

Re: powerpc/iommu: Support "hybrid" iommu/direct DMA ops for coherent_mask < dma_mask

2015-06-29 Thread Brian King
On 06/19/2015 06:01 PM, Benjamin Herrenschmidt wrote: > On Fri, 2015-06-19 at 16:19 -0500, Brian King wrote: >> On 05/18/2015 01:40 AM, Michael Ellerman wrote: >>> On Mon, 2015-18-05 at 03:56:51 UTC, Benjamin Herrenschmidt wrote: This patch adds the ability to the DMA direct ops to fallback to

Ping Re: [PATCH RESEND] Update kernel math-emu code from current glibc soft-fp

2015-06-29 Thread Joseph Myers
Ping. This patch is pending review. -- Joseph S. Myers jos...@codesourcery.com ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH SLOF v2 5/5] disk-label: add support for booting from GPT FAT partition

2015-06-29 Thread Nikunj A Dadhania
Thomas Huth writes: > On Thu, 25 Jun 2015 12:15:29 +0530 > Nikunj A Dadhania wrote: > >> For a GPT+LVM combination disk, older bootloader that does not support >> LVM, cannot load kernel from LVM. >> >> The patch adds support to read from BASIC_DATA UUID partitions for the >> case that the OS i

Re: [PATCH 1/1] cxl/vphb.c: Use phb pointer after NULL check

2015-06-29 Thread Michael Neuling
On Mon, 2015-06-29 at 16:05 +0530, Maninder Singh wrote: > static Anlaysis detected below error:- > (error) Possible null pointer dereference: phb > > So, Use phb after NULL check. > > Signed-off-by: Maninder Singh Thanks, looks good. Acked-By: Michael Neuling > --- > drivers/misc/cxl/vphb.

Re: [PATCH SLOF v2 5/5] disk-label: add support for booting from GPT FAT partition

2015-06-29 Thread Thomas Huth
On Thu, 25 Jun 2015 12:15:29 +0530 Nikunj A Dadhania wrote: > For a GPT+LVM combination disk, older bootloader that does not support > LVM, cannot load kernel from LVM. > > The patch adds support to read from BASIC_DATA UUID partitions for the > case that the OS installer has installed the CHRP-

Re: [PATCH SLOF v2 4/5] disk-label: introduce helper to check fat filesystem

2015-06-29 Thread Thomas Huth
On Thu, 25 Jun 2015 12:15:28 +0530 Nikunj A Dadhania wrote: > Signed-off-by: Nikunj A Dadhania > --- > slof/fs/packages/disk-label.fs | 17 + > 1 file changed, 9 insertions(+), 8 deletions(-) > > diff --git a/slof/fs/packages/disk-label.fs b/slof/fs/packages/disk-label.fs > ind

Re: [PATCH SLOF v2 3/5] disk-label: rename confusing "block" word

2015-06-29 Thread Thomas Huth
On Thu, 25 Jun 2015 12:15:27 +0530 Nikunj A Dadhania wrote: > "block" word is not a block number, actually its an allocated host > address. Rename it to disk-buf along with a associated > size(disk-buf-size=4096) for using during allocation/free. > > Also renaming the helper routine read-sector

Re: [RFC v3 02/24] m68k/atari: Move Atari-specific code out of drivers/char/nvram.c

2015-06-29 Thread Geert Uytterhoeven
Hi Finn, On Sun, Jun 28, 2015 at 3:42 AM, Finn Thain wrote: > Change the vmode calculation from logical OR to bitwise OR, since it is > obviously wrong. Ideally, that should be a separate patch we can put on the fast track. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeve

Re: [RFC v3 24/24] m68k: Dispatch nvram_ops calls to Atari or Mac functions

2015-06-29 Thread Geert Uytterhoeven
Hi Finn, > A multi-platform kernel binary needs to decide at run-time how to dispatch > the arch_nvram_ops calls. Add platform-independent arch_nvram_ops, for use > when multiple platform-specific NVRAM ops implementations are needed. > > Enable CONFIG_HAVE_ARCH_NVRAM_OPS for Macs. Thanks for you