Re: powerpc/powernv: Fallback to old HMI handling behavior for old firmware

2014-10-10 Thread Michael Ellerman
On Mon, 2014-06-10 at 09:34:19 UTC, Mahesh Salgaonkar wrote: From: Mahesh Salgaonkar mah...@linux.vnet.ibm.com Hi Mahesh, Recently we moved HMI handling into Linux kernel instead of taking HMI directly in OPAL. This new change is dependent on new OPAL call for HMI recovery which was

[PATCH 2/3] qe: run qe_init and qe_ic_init

2014-10-10 Thread Zhao Qiang
qe and qe_ic need to be initialized before the qe app drivers, using subsys_initcall to run qe_init and qe_ic_init Signed-off-by: Zhao Qiang b45...@freescale.com --- drivers/soc/qe/qe.c| 15 +++ drivers/soc/qe/qe_ic.c | 15 +++ 2 files changed, 30 insertions(+) diff

[PATCH 3/3] ls1021a-twr/qe: add qe node to ls1-twr

2014-10-10 Thread Zhao Qiang
add qe node to ls1021atwr fdt. Signed-off-by: Zhao Qiang b45...@freescale.com --- arch/arm/boot/dts/ls1021a-twr.dts | 24 +++ arch/arm/boot/dts/ls1021a.dtsi| 64 +++ 2 files changed, 88 insertions(+) diff --git

[PATCH 1/3] qe-uart: modify qe-uart to adapt both powerpc and arm

2014-10-10 Thread Zhao Qiang
qe has been supported by arm board ls1021, qe-uart need to be supported by ls1021. modify the code to make qe-uart can work on both powerpc and ls1021. Signed-off-by: Zhao Qiang b45...@freescale.com --- arch/arm/include/asm/delay.h | 16 arch/arm/include/asm/io.h | 28 +++

[PATCH 1/2] powerpc/msi: Fix the msi bitmap alignment tests

2014-10-10 Thread Michael Ellerman
When we added the alignment tests recently we failed to check they were actually passing - oops. They weren't passing, because the bitmap was full. We should also be a bit more careful when checking the return code, a negative error return could by divisible by our alignment value. Fixes:

[PATCH 2/2] powerpc/msi: Use WARN_ON() in msi bitmap selftests

2014-10-10 Thread Michael Ellerman
As demonstrated in the previous commit, the failure message from the msi bitmap selftests is a bit subtle, it's easy to miss a failure in a busy boot log. So drop our check() macro and use WARN_ON() instead. This necessitates inverting all the conditions as well. Signed-off-by: Michael Ellerman

Re: [v2] powerpc/vphn: fix endian issue in NUMA device node code

2014-10-10 Thread Greg Kurz
On Tue, 7 Oct 2014 20:28:23 +1100 (EST) Michael Ellerman m...@ellerman.id.au wrote: On Fri, 2014-03-10 at 09:13:17 UTC, Greg Kurz wrote: The associativity domain numbers are obtained from the hypervisor through registers and written into memory by the guest: the packed array passed to

Re: [PATCH 2/2] powerpc/msi: Use WARN_ON() in msi bitmap selftests

2014-10-10 Thread Laurentiu Tudor
Hi Michael, Comment inline. On 10/10/2014 11:04 AM, Michael Ellerman wrote: As demonstrated in the previous commit, the failure message from the msi bitmap selftests is a bit subtle, it's easy to miss a failure in a busy boot log. So drop our check() macro and use WARN_ON() instead. This

Re: [PATCH tty-next 14/22] tty: Remove tty_wait_until_sent_from_close()

2014-10-10 Thread One Thousand Gnomes
The point being that holding the tty lock across the _entire_ close is equivalent to the current outcome, regardless of O_NONBLOCK. I'm reluctant to start returning EGAIN for non-blocking tty opens because no tty driver does that now, and I don't think userspace will deal well with new

[PATCHv5] clk: ppc-corenet: rename to qoriq and add CLK_OF_DECLARE support

2014-10-10 Thread Jingchang Lu
The IP is shared by PPC and ARM, this renames it to qoriq for better represention, and this also adds the CLK_OF_DECLARE support for being initialized by of_clk_init() on ARM. Signed-off-by: Jingchang Lu jingchang...@freescale.com --- changes in v5: update drivers/cpufreq/Kconfig.powerpc to

[PATCH v2] powerpc/powernv: Fallback to old HMI handling behavior for old firmware

2014-10-10 Thread Mahesh J Salgaonkar
From: Mahesh Salgaonkar mah...@linux.vnet.ibm.com Recently we moved HMI handling into Linux kernel instead of taking HMI directly in OPAL. This new change is dependent on new OPAL call for HMI recovery which was introduced in newer firmware. While this new change works fine with latest OPAL

[PATCH v3] powerpc/numa: add ability to disable and debug topology updates

2014-10-10 Thread Nishanth Aravamudan
On 10.10.2014 [15:28:16 +1100], Michael Ellerman wrote: On Thu, 2014-09-10 at 23:42:15 UTC, Nishanth Aravamudan wrote: We have hit a few customer issues with the topology update code (VPHN and PRRN). It would be nice to be able to debug the notifications coming from the hypervisor in both

Re: [PATCH 2/3] qe: run qe_init and qe_ic_init

2014-10-10 Thread Scott Wood
On Fri, 2014-10-10 at 14:48 +0800, Zhao Qiang wrote: qe and qe_ic need to be initialized before the qe app drivers, using subsys_initcall to run qe_init and qe_ic_init Signed-off-by: Zhao Qiang b45...@freescale.com --- drivers/soc/qe/qe.c| 15 +++ drivers/soc/qe/qe_ic.c |

Re: [PATCH 1/3] qe-uart: modify qe-uart to adapt both powerpc and arm

2014-10-10 Thread Scott Wood
On Fri, 2014-10-10 at 14:47 +0800, Zhao Qiang wrote: qe has been supported by arm board ls1021, qe-uart need to be supported by ls1021. modify the code to make qe-uart can work on both powerpc and ls1021. Signed-off-by: Zhao Qiang b45...@freescale.com --- arch/arm/include/asm/delay.h |

Re: [PATCH 3/3] ls1021a-twr/qe: add qe node to ls1-twr

2014-10-10 Thread Scott Wood
On Fri, 2014-10-10 at 14:49 +0800, Zhao Qiang wrote: add qe node to ls1021atwr fdt. Signed-off-by: Zhao Qiang b45...@freescale.com --- arch/arm/boot/dts/ls1021a-twr.dts | 24 +++ arch/arm/boot/dts/ls1021a.dtsi| 64 +++ 2 files changed,

Re: [PATCH v2 13/13] vfio: powerpc/spapr: Enable Dynamic DMA windows

2014-10-10 Thread Alexey Kardashevskiy
On 09/23/2014 11:56 PM, Alex Williamson wrote: On Tue, 2014-09-23 at 13:01 +1000, Alexey Kardashevskiy wrote: This defines and implements VFIO IOMMU API which lets the userspace create and remove DMA windows. This updates VFIO_IOMMU_SPAPR_TCE_GET_INFO to return the number of available

Re: [PATCH 08/44] kernel: Move pm_power_off to common code

2014-10-10 Thread Guenter Roeck
On 10/09/2014 01:24 PM, Pavel Machek wrote: Hi! @@ -184,6 +179,8 @@ machine_halt(void) void machine_power_off(void) { + do_kernel_poweroff(); + poweroff - power_off for consistency. Dunno; matter of personal preference. I started with that, but ultimately went with poweroff to

[git pull] Please pull mpe.git for-linus branch (for powerpc)

2014-10-10 Thread Michael Ellerman
Hi Linus, Here's a first pull request for powerpc updates for 3.18. The bulk of the additions are for the cxl driver, for IBM's Coherent Accelerator Processor Interface (CAPI). Most of it's in drivers/misc, which Greg Arnd maintain, Greg said he was happy for us to take it through our tree.