Re: [PATCH 9/9] powerpc/pm: support deep sleep feature on T1040

2014-03-15 Thread Kevin Hao
On Fri, Mar 14, 2014 at 05:26:27PM -0500, Scott Wood wrote: > On Thu, 2014-03-13 at 15:46 +0800, Kevin Hao wrote: > > On Wed, Mar 12, 2014 at 12:43:05PM -0500, Scott Wood wrote: > > > > Shouldn't we use "readback, sync" here? The following is quoted form > > > > t4240RM: > > > > To guarantee tha

kvmppc_wait_for_nap warnings and KVM host+guest hang on 3.14-rc6*

2014-03-15 Thread Anton Blanchard
Hi, I was testing KVM on an upstream kernel (3.14.0-rc6-00145-ga4ecdf8) with Gregory's emulated MMIO fixes. I ran with 16 cores and 4 threads (matches the host): qemu-system-ppc64 -enable-kvm -smp cores=16,threads=4 -m 32G -M pseries -cpu POWER7 -nographic -nodefaults -monitor stdio -serial pt

[PATCH] powerpc: Use default set of netfilter modules (CONFIG_NETFILTER_ADVANCED=n)

2014-03-15 Thread Anton Blanchard
Our netfilter options are stale and important things like masquerading are no longer enabled. Instead of trying to keep up with any updates, set CONFIG_NETFILTER_ADVANCED=n on ppc64* and pseries* defconfigs. This enables the most common netfilter modules for us. While here, enable the network bri

Re: [PATCH 10/10] Revert "powerpc/watchdog: Don't enable interrupt on PPC64 BookE"

2014-03-15 Thread Wim Van Sebroeck
Hi Scott, > This reverts commit 3978bdb4ed653342b0be66c031bf61b72cc55d60, now that > critical interrupts are properly supported on ppc64 booke. > > Signed-off-by: Scott Wood > Cc: Laurentiu Tudor > Cc: Wim Van Sebroeck > --- > drivers/watchdog/booke_wdt.c | 8 > 1 file changed, 8 del

Re: [PATCH] powerpc/mm: Make sure a local_irq_disable prevent a parallel THP split

2014-03-15 Thread Rik van Riel
On 03/15/2014 06:47 AM, Aneesh Kumar K.V wrote: > From: "Aneesh Kumar K.V" > > We have generic code like the one in get_futex_key that assume that > a local_irq_disable prevents a parallel THP split. Support that by > adding a dummy smp call function after setting _PAGE_SPLITTING. Code > paths li

[PATCH] powerpc/defconfigs: Enable THP in pseries defconfig

2014-03-15 Thread Aneesh Kumar K.V
From: "Aneesh Kumar K.V" We also set it to be enabled always. This helps in wider testing Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/configs/pseries_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/powerpc/configs/pseries_defconfig b/arch/powerpc/configs/pseries_defc

[PATCH] powerpc/mm: Make sure a local_irq_disable prevent a parallel THP split

2014-03-15 Thread Aneesh Kumar K.V
From: "Aneesh Kumar K.V" We have generic code like the one in get_futex_key that assume that a local_irq_disable prevents a parallel THP split. Support that by adding a dummy smp call function after setting _PAGE_SPLITTING. Code paths like get_user_pages_fast still need to check for _PAGE_SPLITTI

[PATCH 1/2] lib/scatterlist: Make ARCH_HAS_SG_CHAIN an actual Kconfig

2014-03-15 Thread Laura Abbott
Rather than have architectures #define ARCH_HAS_SG_CHAIN in an architecture specific scatterlist.h, make it a proper Kconfig option and use that instead. At same time, remove the header files are are now mostly useless and just include asm-generic/scatterlist.h. Cc: Russell King Cc: Tony Luck Cc