[PATCH] ehea: Fix memory hook reference counting crashes

2015-04-23 Thread Michael Ellerman
The recent commit to only register the EHEA memory hotplug hooks on adapter probe has a few problems. Firstly the reference counting is wrong for multiple adapters, in that the hooks are registered multiple times. Secondly the check in the tear down path is backward. Finally the error path doesn't

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

2015-04-23 Thread Vasant Hegde
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 . > > How the firmware is related to kernel? These bindings are for kernel, > not for the firmw

Re: [RFC] powerpc, tm: Drop tm_orig_msr from thread_struct

2015-04-23 Thread Anshuman Khandual
On 04/20/2015 01:45 PM, Anshuman Khandual wrote: > Currently tm_orig_msr is getting used during process context switch only. > Then there is ckpt_regs which saves the checkpointed userspace context > The MSR slot contained in ckpt_regs structure can be used during process > context switch instead o

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

2015-04-23 Thread Stewart Smith
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 *.dtb file which is concatenated with > zImage. During system boot device

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

2015-04-23 Thread Nikunj A Dadhania
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 memory of pci devices >> across the bridges were not accessible due to which the

Re: [PATCH] cxl: Export AFU error buffer via sysfs

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

linux-next: manual merge of the kvm tree with the powerpc-merge-mpe tree

2015-04-23 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvm tree got a conflict in arch/powerpc/kvm/book3s_hv_rm_mmu.c between commit dac565706791 ("KVM: PPC: Remove page table walk helpers") from the powerpc-merge-mpe tree and commit a4bd6eb07ca7 ("KVM: PPC: Book3S HV: Add helpers for lock/unlock hpte") from the

Re: [PATCHv2] ibmveth: Fix off-by-one error in ibmveth_change_mtu()

2015-04-23 Thread Tyrel Datwyler
On 04/22/2015 02:42 PM, Thomas Falcon wrote: > On 04/20/2015 08:07 PM, David Gibson wrote: >> AFAIK the PAPR document which defines the virtual device interface used by >> the ibmveth driver doesn't specify a specific maximum MTU. So, in the PAPR itself doesn't, but the max-frame-size property, w

Re: [opensuse-ppc] HELP: test kernel patches on the real thing

2015-04-23 Thread Luigi Burdo
Jo guys i can try if you need to help. I have a Quad G5 with RadeonHd on it ... Opensuse 13.2 is running on it on Qemu 64 Kvm machine hosted by Lubuntu 14.04 On 23/04/15 17:37, Wolfram Sang wrote: > On Mon, Apr 20, 2015 at 08:43:24PM -0400, larrystot...@netscape.net wrote: >> -Original Message

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

2015-04-23 Thread Scott Wood
On Thu, 2015-04-23 at 15:31 +0300, Purcareata Bogdan wrote: > On 23.04.2015 03:30, Scott Wood wrote: > > On Wed, 2015-04-22 at 15:06 +0300, Purcareata Bogdan wrote: > >> On 21.04.2015 03:52, Scott Wood wrote: > >>> On Mon, 2015-04-20 at 13:53 +0300, Purcareata Bogdan wrote: > There was a weird

[added to the 3.18 stable tree] timers/tick/broadcast-hrtimer: Fix suspicious RCU usage in idle loop

2015-04-23 Thread Sasha Levin
From: Preeti U Murthy This patch has been added to the 3.18 stable tree. If you have any objections, please let us know. === [ Upstream commit a127d2bcf1fbc8c8e0b5cf0dab54f7d3ff50ce47 ] The hrtimer mode of broadcast queues hrtimers in the idle entry path so as to wakeup cpus in dee

Re: [PATCHv2] ibmveth: Fix off-by-one error in ibmveth_change_mtu()

2015-04-23 Thread David Miller
From: David Gibson Date: Thu, 23 Apr 2015 14:43:05 +1000 > AFAIK the PAPR document which defines the virtual device interface used by > the ibmveth driver doesn't specify a specific maximum MTU. So, in the > ibmveth driver, the maximum allowed MTU is determined by the maximum > allocated buffer

Re: [opensuse-ppc] HELP: test kernel patches on the real thing

2015-04-23 Thread Wolfram Sang
On Mon, Apr 20, 2015 at 08:43:24PM -0400, larrystot...@netscape.net wrote: > -Original Message- > From: Wolfram Sang > > Quoted from the opensuse-ppc mailing list > > >I'm Wolfram Sang, maintainer of the I2C subsystem of the Linux Kernel. I > >want to get rid of an ancient mechanism in

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

2015-04-23 Thread Jacek Anaszewski
On Thu, 23 Apr 2015 10:55:40 +0530 Vasant Hegde wrote: > On 04/23/2015 03:15 AM, Jacek Anaszewski wrote: > > Hi Vasant, > > > > Hi Jacek, > > > .../... > > >> > >>> > >>> From what I can see from the driver code the LEDs are set with: > >>> > >>> opal_leds_set_ind(token, loc_code, led_mask,

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

2015-04-23 Thread Thomas Huth
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 memory of pci devices > across the bridges were not accessible due to which the drivers > failed. > > Signed-off-by: Nik

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

2015-04-23 Thread Steven Rostedt
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/powerpc/include/asm/trace_clock.h > @@ -0,0 +1,27 @@ > +/* > + *

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

2015-04-23 Thread Purcareata Bogdan
On 23.04.2015 03:30, Scott Wood wrote: On Wed, 2015-04-22 at 15:06 +0300, Purcareata Bogdan wrote: On 21.04.2015 03:52, Scott Wood wrote: On Mon, 2015-04-20 at 13:53 +0300, Purcareata Bogdan wrote: There was a weird situation for .kvmppc_mpic_set_epr - its corresponding inner function is kvmpp

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

2015-04-23 Thread Christophe Leroy
devm_ioremap_resource() doesn't return NULL but an ERR_PTR on error. Reported-by: Jonas Gorsky Signed-off-by: Christophe Leroy --- drivers/spi/spi-fsl-cpm.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/spi/spi-fsl-cpm.c b/drivers/spi/spi-fsl-cpm.c index 4e5

Re: [PATCH 2/2] cpufreq: powernv: Register for OCC related opal_message notification

2015-04-23 Thread Preeti U Murthy
Hi Shilpa, On 04/22/2015 10:34 PM, Shilpasri G Bhat wrote: > OCC is an On-Chip-Controller which takes care of power and thermal > safety of the chip. During runtime due to power failure or > overtemperature the OCC may throttle the frequencies of the CPUs to > remain within the power budget. > >

Re: [PATCH 1/2] powerpc/powernv: Add definition of OPAL_MSG_OCC message type

2015-04-23 Thread Preeti U Murthy
Hi Shilpa, On 04/22/2015 10:34 PM, Shilpasri G Bhat wrote: > Add OPAL_MSG_OCC message definition to opal_message_type to notify OCC s/notify OCC events/receive OCC events ? > events like reset, load and throttled. Host performance can be > affected when OCC is reset or OCC throttles the max Psta

[PATCH] powerpc: Reject binutils 2.24 when building little endian

2015-04-23 Thread Michael Ellerman
There is a bug in binutils 2.24 which causes miscompilation if we're building little endian and using weak symbols (which the kernel does). It is fixed in binutils commit 57fa7b8c7e59 "Correct elf_merge_st_other arguments for weak symbols", which is in binutils 2.25 and has been backported to the

Re: [PATCH] kvm: powerpc: Fix ppc64_defconfig + PPC_POWERNV=n build error

2015-04-23 Thread Michael Ellerman
On Thu, 2015-04-23 at 10:11 +0530, Shreyas B Prabhu wrote: > Any suggestions on this? It's in: https://git.kernel.org/cgit/linux/kernel/git/mpe/linux.git/log/?h=fixes cheers ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.oz