Kernel build fail with "Circular xxxx <- xxxx dependency dropped"

2014-06-10 Thread Mike Qiu
Hi all, I recently build linux next kernel in IBM Power7 platform, use default config file copy from /boot/config-3.6.10-4.fc18.ppc64p7 [root@cena01 linux-next]# uname -a Linux cena01.austin.ibm.com 3.15.0-rc1+ #47 SMP Thu Apr 24 20:59:46 CDT 2014 ppc64 ppc64 ppc64 GNU/Linux [root@cena01 li

[PATCH 2/2] powerpc/powernv: Enable POWER8 doorbell IPIs

2014-06-10 Thread Michael Neuling
This patch enables POWER8 doorbell IPIs on powernv. Since doorbells can only IPI within a core, we test to see when we can use doorbells and if not we fall back to XICS. This also enables hypervisor doorbells to wakeup us up from nap/sleep via the LPCR PECEDH bit. Based on tests by Anton, the be

[PATCH 1/2] powerpc/cpuidle: Only clear LPCR decrementer wakeup bit on fast sleep entry

2014-06-10 Thread Michael Neuling
Currently when entering fastsleep we clear all LPCR PECE bits. This patch changes it to only clear the decrementer bit (ie. PECE1), which is the only bit we really need to clear here. This is needed if we want to set other wakeup causes like the PECEDH bit so we can use hypervisor doorbells on po

[PATCH 0/2] powerpc/powernv: Enable POWER8 doorbells

2014-06-10 Thread Michael Neuling
This enables POWER8 doorbells on powernv. v2 changes: Only clear LPCR_PECE1 in fastsleep_loop() leave all other bits untouched. Add "select PPC_DOORBELL" for CONFIG PPC_POWERNV/PSERIES Michael Neuling (2): powerpc/cpuidle: Only clear LPCR decrementer wakeup bit on fast sleep entry powerpc

[PATCH 2/2] powerpc/powernv: Enable POWER8 doorbell IPIs

2014-06-10 Thread Michael Neuling
This patch enables POWER8 doorbell IPIs on powernv. Since doorbells can only IPI within a core, we test to see when we can use doorbells and if not we fall back to XICS. This also enables hypervisor doorbells to wakeup us up from nap/sleep via the LPCR PECEDH bit. Based on tests by Anton, the be

[PATCH 1/2] powerpc/cpuidle: Only clear LPCR decrementer wakeup bit on fast sleep entry

2014-06-10 Thread Michael Neuling
Currently when entering fastsleep we clear all LPCR PECE bits. This patch changes it to only clear the decrementer bit (ie. PECE1), which is the only bit we really need to clear here. This is needed if we want to set other wakeup causes like the PECEDH bit so we can use hypervisor doorbells on po

[PATCH 0/2] powerpc/powernv: Enable POWER8 doorbells

2014-06-10 Thread Michael Neuling
This enables POWER8 doorbells on powernv. v2 changes: Only clear LPCR_PECE1 in fastsleep_loop() leave all other bits untouched. Add "select PPC_DOORBELL" for CONFIG PPC_POWERNV/PSERIES Michael Neuling (2): powerpc/cpuidle: Only clear LPCR decrementer wakeup bit on fast sleep entry powerpc

Re: Node 0 not necessary for powerpc?

2014-06-10 Thread Nishanth Aravamudan
On 09.06.2014 [14:47:57 -0700], David Rientjes wrote: > On Wed, 21 May 2014, Nishanth Aravamudan wrote: > > > For context: I was looking at why N_ONLINE was statically setting Node 0 > > to be online, whether or not the topology is that way -- I've been > > getting several bugs lately where Node 0

Re: NUMA topology question wrt. d4edc5b6

2014-06-10 Thread Nishanth Aravamudan
On 09.06.2014 [14:38:26 -0700], David Rientjes wrote: > On Fri, 23 May 2014, Srivatsa S. Bhat wrote: > > > diff --git a/arch/powerpc/include/asm/topology.h > > b/arch/powerpc/include/asm/topology.h > > index c920215..58e6469 100644 > > --- a/arch/powerpc/include/asm/topology.h > > +++ b/arch/powe

[PATCH] powerpc/xmon: avoid format string leaking to printk

2014-06-10 Thread Kees Cook
This makes sure format strings cannot leak into printk (the string has already been correctly processed for format arguments). Signed-off-by: Kees Cook --- arch/powerpc/xmon/nonstdio.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/xmon/nonstdio.c b/arch/powe

Re: in dts file

2014-06-10 Thread Emil Medve
Hello Tony, On 06/09/2014 10:28 AM, Tony wrote: > Thank Emil. > > Where can i find the details about a 'diff' of qman revisions ? Let me look if someody bothered to write an AN about this > The code > i ported doesnt support latest qman revision (REV3). Ported from what (I suspect) SDK releas

Kernel 3.15: Boot problems with a PA6T board

2014-06-10 Thread Christian Zigotzky
Hi All, Could you help me to remove the changes of the PCI code, please? Or which patches shall I remove to get the old PCI code? Cheers, Christian Am 10.06.14 12:58, schrieb Christian Zigotzky: Hi Michael, I have two times bisected with git. It seems the commit "PCI: Remove pci_find_pare

[PATCH 1/3] PCI/MSI: Add pci_enable_msi_partial()

2014-06-10 Thread Alexander Gordeev
There are PCI devices that require a particular value written to the Multiple Message Enable (MME) register while aligned on power of 2 boundary value of actually used MSI vectors 'nvec' is a lesser of that MME value: roundup_pow_of_two(nvec) < 'Multiple Message Enable' However the existi

[PATCH 0/3] Add pci_enable_msi_partial() to conserve MSI-related resources

2014-06-10 Thread Alexander Gordeev
Add new pci_enable_msi_partial() interface and use it to conserve on othewise wasted interrupt resources. AHCI driver is the first user which would conserve on 10 out of 16 unused MSI vectors on some Intel chipsets. Cc: linux-...@vger.kernel.org Cc: linux-m...@linux-mips.org Cc: linuxppc-dev@list

[PATCH 3/4] selftests/powerpc: Add support for skipping tests

2014-06-10 Thread Michael Ellerman
Signed-off-by: Michael Ellerman --- tools/testing/selftests/powerpc/harness.c | 5 - tools/testing/selftests/powerpc/subunit.h | 5 + tools/testing/selftests/powerpc/utils.h | 12 3 files changed, 21 insertions(+), 1 deletion(-) diff --git a/tools/testing/selftests/power

[PATCH 2/4] selftests/powerpc: Put the test in a separate process group

2014-06-10 Thread Michael Ellerman
Allows us to kill the test and any children it has spawned. Signed-off-by: Michael Ellerman --- tools/testing/selftests/powerpc/harness.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/powerpc/harness.c b/tools/testing/selftests/powerpc/ha

[PATCH 1/4] selftests/powerpc: Fix instruction loop for ABIv2 (LE)

2014-06-10 Thread Michael Ellerman
Signed-off-by: Michael Ellerman --- tools/testing/selftests/powerpc/pmu/loop.S | 73 ++ 1 file changed, 35 insertions(+), 38 deletions(-) diff --git a/tools/testing/selftests/powerpc/pmu/loop.S b/tools/testing/selftests/powerpc/pmu/loop.S index 8820e3d..20c1f08 10064

Kernel 3.15: Boot problems with a PA6T board

2014-06-10 Thread Christian Zigotzky
Hi Michael, I have two times bisected with git. It seems the commit "PCI: Remove pci_find_parent_resource() use for allocation" is the problem. I have removed this patch from the kernel source code but unfortunately the kernel doesn't boot. Have you another tip for me, please? Cheers, Chris

Re: [patch] powerpc/spufs: remove duplicate SPUFS_CNTL_MAP_SIZE define

2014-06-10 Thread Arnd Bergmann
On Monday 09 June 2014 18:19:17 Dan Carpenter wrote: > The SPUFS_CNTL_MAP_SIZE define is cut and pasted twice so we can delete > the second instance. > > Signed-off-by: Dan Carpenter Acked-by: Arnd Bergmann ___ Linuxppc-dev mailing list Linuxppc-dev@l

[PATCH 1/1] powerpc/iommu: Handling null return of kzalloc_node

2014-06-10 Thread Zhouyi Zhou
NULL return of kzalloc_node should be handled Signed-off-by: Zhouyi Zhou --- arch/powerpc/platforms/pseries/iommu.c | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/platforms/pseries/iommu.c b/arch/powerpc/platforms/pseries/iommu.c inde