Re: [PATCH] cxl: Test the correct mmio space before unmapping

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

[PATCH] cxl: Test the correct mmio space before unmapping

2015-07-01 Thread Daniel Axtens
Before freeing p2n, test p2n, not p1n. Signed-off-by: Daniel Axtens --- While a potentially nasty bug, this is only hit (at the moment) in cxl_remove, so it's probably not a candidate for stable. --- drivers/misc/cxl/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dri

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

2015-07-01 Thread Nikunj A Dadhania
Hi Segher, Segher Boessenkool writes: > On Tue, Jun 30, 2015 at 04:31:19PM +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

[PATCH RESEND] powerpc/numa: initialize distance lookup table from drconf path

2015-07-01 Thread Nikunj A Dadhania
In some situations, a NUMA guest that supports ibm,dynamic-memory-reconfiguration node will end up having flat NUMA distances between nodes. This is because of two problems in the current code. 1) Different representations of associativity lists. There is an assumption about the associativity

[PATCH] powerpc: Add plain English description for alignment exception oopses

2015-07-01 Thread Anton Blanchard
If we take an alignment exception which we cannot fix, the oops currently prints: Unable to handle kernel paging request for unknown fault Lets print something more useful: Unable to handle kernel paging request for unaligned access at address 0xc000f77bba8f Signed-off-by: Anton Blanchard

Re: [RFC PATCH] powerpc/numa: initialize distance lookup table from drconf path

2015-07-01 Thread Michael Ellerman
On Thu, 2015-07-02 at 08:31 +1000, Anton Blanchard wrote: > Hi Nikunj, > > > > Thanks for the patch. Have we tested that this doesn't regress the > > > non dynamic representation? > > > > Yes, that is tested. And works as expected. > > Great, you can add: > > Acked-by: Anton Blanchard Hi Niku

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

2015-07-01 Thread Finn Thain
On Mon, 29 Jun 2015, Geert Uytterhoeven wrote: > On Sun, Jun 28, 2015 at 3:42 AM, Finn Thain > wrote: > > --- linux.orig/arch/m68k/kernel/setup_mm.c 2015-06-28 > > 11:41:27.0 +1000 > > +++ linux/arch/m68k/kernel/setup_mm.c 2015-06-28 11:41:56.0 +1000 > > > @@ -568,3 +56

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

2015-07-01 Thread Finn Thain
On Mon, 29 Jun 2015, Geert Uytterhoeven wrote: > 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. If y

Re: [RFC PATCH] powerpc/numa: initialize distance lookup table from drconf path

2015-07-01 Thread Anton Blanchard
Hi Nikunj, > > Thanks for the patch. Have we tested that this doesn't regress the > > non dynamic representation? > > Yes, that is tested. And works as expected. Great, you can add: Acked-by: Anton Blanchard Anton ___ Linuxppc-dev mailing list Linux

[PATCH v5 3/3] leds/powernv: Add driver for PowerNV platform

2015-07-01 Thread Vasant Hegde
This patch implements LED driver for PowerNV platform using the existing generic LED class framework. PowerNV platform has below type of LEDs: - System attention Indicates there is a problem with the system that needs attention. - Identify Helps the user locate/identify a particula

[PATCH v5 0/3] LED driver for PowerNV platform

2015-07-01 Thread Vasant Hegde
The following series implements LED driver for PowerNV platform. PowerNV platform has below type of LEDs: - System attention Indicates there is a problem with the system that needs attention. - Identify Helps the user locate/identify a particular FRU or resource in the system

[PATCH v5 1/3] powerpc/powernv: Add OPAL interfaces for accessing and modifying system LED states

2015-07-01 Thread Vasant Hegde
From: Anshuman Khandual This patch registers the following two new OPAL interfaces calls for the platform LED subsystem. With the help of these new OPAL calls, the kernel will be able to get or set the state of various individual LEDs on the system at any given location code which is passed throu

[PATCH v5 2/3] powerpc/powernv: Create LED platform device

2015-07-01 Thread Vasant Hegde
This patch adds platform devices for leds. Also export LED related OPAL API's so that led driver can use these APIs. Signed-off-by: Vasant Hegde Acked-by: Benjamin Herrenschmidt --- arch/powerpc/platforms/powernv/opal.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --

Re: [HELP/RFC] Moving ppc8xx microcode patch from micropatch.c to firmware

2015-07-01 Thread leroy christophe
Le 30/06/2015 22:38, christophe leroy a écrit : I'm trying to move the 3 microcode patches included in arch/powerpc/sysdev/micropatch.c into the firmware directory in order to use request_firmware() and then be able to add additional micropatch that I need to relocate SMC2 on my MPC885. I've n

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

2015-07-01 Thread Geert Uytterhoeven
On Wed, Jul 1, 2015 at 12:18 AM, Michael Ellerman wrote: > On Tue, 2015-06-30 at 10:48 +, Joseph Myers wrote: >> On Tue, 30 Jun 2015, Michael Ellerman wrote: >> >> > Is there some way you can imagine of splitting this up into smaller >> > chunks, so >> > that different arches can merge the pi

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

2015-07-01 Thread Segher Boessenkool
On Tue, Jun 30, 2015 at 04:31:19PM +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-s