Re: [PATCH RFC v3 0/8] EEH Support for VFIO PCI device

2014-05-14 Thread Mike Qiu
Hi Gavin, Can error injection be done if EEH is not enbaled? Thanks Mike On 05/14/2014 12:11 PM, Gavin Shan wrote: The series of patches intends to support EEH for PCI devices, which are passed through to PowerKVM based guest via VFIO. The implementation is straightforward based on the issues

roundup_pow_of_two() may not handle 64-bit integers

2014-05-14 Thread Brian Norris
Hi, I'm looking to use roundup_pow_of_two() (actually, order_base_2()) from , but it seems that it only supports 64-bit integers if your toolchain uses a 64-bit 'unsigned long' type. This is strange, considering that ilog2() is explicitly designed for 32-bit or 64-bit compatibility. I also note t

[PATCH 20/27] powerpc: Use common bits from generic tlb.h

2014-05-14 Thread Richard Weinberger
It is no longer needed to define them on our own. Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Richard Weinberger Cc: linuxppc-dev@lists.ozlabs.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Richard Weinberger --- arch/powerpc/include/asm/tlb.h | 3 --- 1 file changed, 3 deletions(-

[PATCH 02/27] powerpc: Override defaults from generic/tlb.h

2014-05-14 Thread Richard Weinberger
Make sure to not conflict with the defaults provided by generic/tlb.h. Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Richard Weinberger Cc: linuxppc-dev@lists.ozlabs.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Richard Weinberger --- arch/powerpc/include/asm/pgalloc.h | 1 - arch/p

Re: [PATCH v2] powerpc: Add cpu family documentation

2014-05-14 Thread James Yang
On Wed, 30 Apr 2014, Scott Wood wrote: > On Wed, 2014-04-30 at 16:45 +1000, Michael Ellerman wrote: > > On Tue, 2014-02-04 at 16:43 -0600, Scott Wood wrote: > > > > +Motorola/Freescale 8xx > > > > +-- > > > > + > > > > + - Software loaded with hardware assist. > > > > + - All

Re: [PATCH] powerpc/powernv: hwmon driver for power values, fan rpm and temperature

2014-05-14 Thread Guenter Roeck
On Wed, May 14, 2014 at 11:31:53AM +0530, Neelesh Gupta wrote: > This patch adds basic kernel enablement for reading power values, fan > speed rpm and temperature values on powernv platforms which will > be exported to user space through sysfs interface. > > Test results: > - > [root@t

Re: powerpc/ppc64: Allow allmodconfig to build (finally !)

2014-05-14 Thread Guenter Roeck
On Wed, May 14, 2014 at 03:22:19PM +0930, Alan Modra wrote: > On Tue, May 13, 2014 at 10:16:51PM -0700, Guenter Roeck wrote: > > any idea what might cause this one, by any chance ? > > > > arch/powerpc/kernel/built-in.o: In function `exc_debug_crit_book3e': > > (.text+0x165ee): relocation truncate

Re: [PATCH V2 2/3] powerpc, ptrace: Enable support for transactional memory register sets

2014-05-14 Thread Michael Neuling
> s390 actually screwed that, though it got away because > there's a bit in HWCAP to signal transactions support. See: > > https://sourceware.org/ml/gdb-patches/2013-11/msg00080.html > > Are you adding something to HWCAP too? Yes but it's in HWCAP2 Mikey

Re: [PATCH V2 2/3] powerpc, ptrace: Enable support for transactional memory register sets

2014-05-14 Thread Pedro Alves
On 05/14/14 12:18, Michael Neuling wrote: > >> s390 actually screwed that, though it got away because >> there's a bit in HWCAP to signal transactions support. See: >> >> https://sourceware.org/ml/gdb-patches/2013-11/msg00080.html >> >> Are you adding something to HWCAP too? > > Yes but it's in

Re: [PATCH V2 2/3] powerpc, ptrace: Enable support for transactional memory register sets

2014-05-14 Thread Pedro Alves
On 05/14/14 06:46, Anshuman Khandual wrote: > On 05/13/2014 10:43 PM, Pedro Alves wrote: >> On 05/05/14 08:54, Anshuman Khandual wrote: >>> This patch enables get and set of transactional memory related register >>> sets through PTRACE_GETREGSET/PTRACE_SETREGSET interface by implementing >>> four n

Re: [PATCH] pci-scan: Fix setting the limit

2014-05-14 Thread Nikunj A Dadhania
Alexey Kardashevskiy writes: > PCI spec says that lower 20 bits are assumed 0xF. The existing code > seems to get it right in pci-bridge-set-mem-limit. > > However pci-bridge-set-mem-base does not account 0xF and poison > the limit. Since the limit is not stored anywhere in SLOF and only

Re: Re: [RFT PATCH -next ] [BUGFIX] kprobes: Fix "Failed to find blacklist" error on ia64 and ppc64

2014-05-14 Thread Masami Hiramatsu
(2014/05/07 20:59), Masami Hiramatsu wrote: > Hi Tony, Benjamin and Paul, > > I've tried to fix this bug, but since I don't have either ppc64 nor ia64, > this patch is not tested on those archs. Please review and test it on > those machines. Ping? I need your help since I don't have test environ