[git pull] Please pull mpe/linux.git powerpc-4.1-2 tag

2015-04-24 Thread Michael Ellerman
Hi Linus, Please pull powerpc fixes for 4.1: The following changes since commit d19d5efd8c8840aa4f38a6dfbfe500d8cc27de46: Merge tag 'powerpc-4.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mpe/linux (2015-04-16 13:53:32 -0500) are available in the git repository at: git://git.ker

Re: [PATCH 2/2] pci: Use Qemu created PCI device nodes

2015-04-24 Thread Thomas Huth
Hi Nikunj, On Wed, 22 Apr 2015 16:27:20 +0530 Nikunj A Dadhania wrote: > PCI Enumeration has been part of SLOF. Now with hotplug code addition > in Qemu, it makes more sense to have this code a one place, i.e. Qemu. s/Qemu/QEMU/ and s/code a one place/code in one place/ ? > Adding routines t

[PATCH v2 0/2] powerpc/kvm: Enable running guests on RT Linux

2015-04-24 Thread Bogdan Purcareata
This patchset enables running KVM SMP guests with external interrupts on an underlying RT-enabled Linux. Previous to this patch, a guest with in-kernel MPIC emulation could easily panic the kernel due to preemption when delivering IPIs and external interrupts, because of the openpic spinlock becomi

[PATCH v2 2/2] powerpc/kvm: Disable in-kernel MPIC emulation for PREEMPT_RT_FULL

2015-04-24 Thread Bogdan Purcareata
While converting the openpic emulation code to use a raw_spinlock_t enables guests to run on RT, there's still a performance issue. For interrupts sent in directed delivery mode with a multiple CPU mask, the emulated openpic will loop through all of the VCPUs, and for each VCPUs, it call IRQ_check,

[PATCH v2 1/2] powerpc/kvm: Convert openpic lock to raw_spinlock

2015-04-24 Thread Bogdan Purcareata
The lock in the KVM openpic emulation on PPC is a spinlock_t, meaning it becomes a sleeping mutex under PREEMPT_RT_FULL. This yields to a situation where this non-raw lock is grabbed with interrupts already disabled by hard_irq_disable(): kvmppc_prepare_to_enter() hard_irq_disable() kvmppc_cor

Re: [PATCH v2] powerpc/ftrace: add powerpc timebase as a trace clock source

2015-04-24 Thread Steven Rostedt
On Fri, 24 Apr 2015 14:24:44 +0530 "Naveen N. Rao" wrote: > Add a new powerpc-specific trace clock using the timebase register, > similar to x86-tsc. This gives us > - a fast, monotonic, hardware clock source for trace entries, and > - a clock that can be used to correlate events across cpus as w

Re: [PATCH] spi: fsl-spi: fix devm_ioremap_resource() error case

2015-04-24 Thread Mark Brown
On Thu, Apr 23, 2015 at 02:11:47PM +0200, Christophe Leroy wrote: > devm_ioremap_resource() doesn't return NULL but an ERR_PTR on error. Applied, thanks. signature.asc Description: Digital signature ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozla

Re: [PATCH 1/2] pci-phb: check for the 32-bit overflow

2015-04-24 Thread Thomas Huth
On Fri, 24 Apr 2015 12:56:57 +0200 Thomas Huth wrote: > On Fri, 24 Apr 2015 09:22:33 +0530 > Nikunj A Dadhania wrote: > > > > > Hi Thomas, > > > > Thomas Huth writes: > > > Am Wed, 22 Apr 2015 16:27:19 +0530 > > > schrieb Nikunj A Dadhania : > > > > > >> With the addition of 64-bit BARS and

Re: [PATCH 1/2] pci-phb: check for the 32-bit overflow

2015-04-24 Thread Thomas Huth
On Fri, 24 Apr 2015 09:22:33 +0530 Nikunj A Dadhania wrote: > > Hi Thomas, > > Thomas Huth writes: > > Am Wed, 22 Apr 2015 16:27:19 +0530 > > schrieb Nikunj A Dadhania : > > > >> With the addition of 64-bit BARS and increase in the mmio address > >> space, the code was hitting this limit. The

Re: [PATCH v2 2/2] leds/powernv: Add driver for PowerNV platform

2015-04-24 Thread Jacek Anaszewski
On Fri, 24 Apr 2015 14:18:30 +1000 Stewart Smith wrote: > Jacek Anaszewski writes: > >> These device tree comes from out firmware ... which is immutable . > > > > How the firmware is related to kernel? These bindings are for > > kernel, not for the firmware. > > > > DT bindings are compiled to *

Re: [PATCH v2 2/2] leds/powernv: Add driver for PowerNV platform

2015-04-24 Thread Jacek Anaszewski
On Fri, 24 Apr 2015 11:00:41 +0530 Hi Vasant, Vasant Hegde wrote: > On 04/23/2015 07:43 PM, Jacek Anaszewski wrote: > > On Thu, 23 Apr 2015 10:55:40 +0530 > > Vasant Hegde wrote: > > > > Hi Jacek, > > .../... > > >> > >> These device tree comes from out firmware ... which is immutable . > >

[PATCH v2] powerpc/ftrace: add powerpc timebase as a trace clock source

2015-04-24 Thread Naveen N. Rao
Add a new powerpc-specific trace clock using the timebase register, similar to x86-tsc. This gives us - a fast, monotonic, hardware clock source for trace entries, and - a clock that can be used to correlate events across cpus as well as across hypervisor and guests. Signed-off-by: Naveen N. Rao

Re: [PATCH] powerpc/ftrace: add powerpc timebase as a trace clock source

2015-04-24 Thread Naveen N. Rao
On 2015/04/23 09:10AM, Steven Rostedt wrote: > On Thu, 23 Apr 2015 12:15:04 +0530 > "Naveen N. Rao" wrote: > > > diff --git a/arch/powerpc/include/asm/trace_clock.h > > b/arch/powerpc/include/asm/trace_clock.h > > new file mode 100644 > > index 000..0b0d094 > > --- /dev/null > > +++ b/arch/p