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 w...@the-dreams.de 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

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

2015-04-23 Thread David Miller
From: David Gibson da...@gibson.dropbear.id.au 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

[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 pre...@linux.vnet.ibm.com 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

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 situation for

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

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

2015-04-23 Thread Nikunj A Dadhania
Hi Thomas, Thomas Huth th...@redhat.com writes: Am Wed, 22 Apr 2015 16:27:19 +0530 schrieb Nikunj A Dadhania nik...@linux.vnet.ibm.com: 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

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

2015-04-23 Thread Stewart Smith
Jacek Anaszewski j.anaszewsk...@gmail.com 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

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, which

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 hegdevas...@linux.vnet.ibm.com 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,

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

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

2015-04-23 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.

[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] 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 naveen.n@linux.vnet.ibm.com 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 @@

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

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 nik...@linux.vnet.ibm.com: 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.

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

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. We

[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 j...@openwrt.org Signed-off-by: Christophe Leroy christophe.le...@c-s.fr --- drivers/spi/spi-fsl-cpm.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git

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 hegdevas...@linux.vnet.ibm.com wrote: Hi Jacek, .../... These device tree comes from out firmware ... which is immutable . How the firmware is related to kernel? These bindings are for

[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

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 of

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: [PATCH] cxl: Export AFU error buffer via sysfs

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