[PATCH] powerpc/85xx: Add lbc suspend support for PM

2011-11-20 Thread Jia Hongtao
Power supply for LBC registers is off when system go to deep-sleep state. We save the values of registers before suspend and restore to registers after resume. We removed the last two reservation arrays from struct fsl_lbc_regs for allocating less memory and minimizing the memcpy size. Signed-off

Re: [PATCH v3 2/3] hvc_init(): Enforce one-time initialization.

2011-11-20 Thread Rusty Russell
On Thu, 17 Nov 2011 10:57:37 -0800, Miche Baker-Harvey wrote: > Rusty, Michael, Stephen, et al, > > Thanks for your comments on these patches. > > For what I'm trying to do, all three patches are necessary, but maybe > I'm going about it the wrong way. Your input would be appreciated. > I'm in n

Re: 3.2.0-rc1 panic on PowerPC

2011-11-20 Thread Christian Kujau
On Mon, 21 Nov 2011 at 12:51, Benjamin Herrenschmidt wrote: > BTW. SLUB or SLAB ? Mine was SLUB with SLUB_DEBUG enabled (tho the debug > didn't seem to catch anything). SLUB, and SLUB_DEBUG=y (but w/o SLUB_DEBUG_ON and SLUB_STATS). Full config here: http://nerdbynature.de/bits/3.2.0-rc1/oops/conf

Re: 3.2.0-rc1 panic on PowerPC

2011-11-20 Thread Benjamin Herrenschmidt
On Mon, 2011-11-21 at 12:25 +1100, Benjamin Herrenschmidt wrote: > On Sun, 2011-11-20 at 17:17 -0800, Christian Kujau wrote: > > On Mon, 21 Nov 2011 at 11:58, Benjamin Herrenschmidt wrote: > > > I've seen something similar with 3.2-rc2 at cfcfc9ec, unfortunately I > > > couldn't capture the oops lo

Re: 3.2.0-rc1 panic on PowerPC

2011-11-20 Thread Benjamin Herrenschmidt
On Sun, 2011-11-20 at 17:17 -0800, Christian Kujau wrote: > On Mon, 21 Nov 2011 at 11:58, Benjamin Herrenschmidt wrote: > > I've seen something similar with 3.2-rc2 at cfcfc9ec, unfortunately I > > couldn't capture the oops log at the time. > > It just happened again today, after heavy CPU & IO lo

Re: 3.2.0-rc1 panic on PowerPC

2011-11-20 Thread Christian Kujau
On Mon, 21 Nov 2011 at 11:58, Benjamin Herrenschmidt wrote: > I've seen something similar with 3.2-rc2 at cfcfc9ec, unfortunately I > couldn't capture the oops log at the time. It just happened again today, after heavy CPU & IO load (rsyncing from/to external disks on dm-crypt). This time the oop

Re: 3.2.0-rc1 panic on PowerPC

2011-11-20 Thread Benjamin Herrenschmidt
On Sun, 2011-11-20 at 15:31 -0800, Christian Kujau wrote: > On Tue, 15 Nov 2011 at 00:44, Christian Kujau wrote: > > I noticed a few crashes on this PowerBook G4 lately, starting somewhere in > > 3.2.0-rc1. The crashes are really rare and as I'm not on the system all > > the time I did not notice

Re: 3.2.0-rc1 panic on PowerPC

2011-11-20 Thread Christian Kujau
On Tue, 15 Nov 2011 at 00:44, Christian Kujau wrote: > I noticed a few crashes on this PowerBook G4 lately, starting somewhere in > 3.2.0-rc1. The crashes are really rare and as I'm not on the system all > the time I did not notice most of them. By the time I did, the screen was > blank already

Re: [PATCH v2 1/7] powerpc/85xx: re-enable timebase sync disabled by KEXEC patch

2011-11-20 Thread Kumar Gala
On Nov 18, 2011, at 12:01 PM, Scott Wood wrote: > On Fri, Nov 18, 2011 at 08:35:02AM -0600, Kumar Gala wrote: >> >> On Nov 16, 2011, at 12:42 PM, Scott Wood wrote: >> >>> On 11/16/2011 03:55 AM, Zhao Chenhui wrote: From: Li Yang The timebase sync is not only necessary when usin

Re: [PATCH] powerpc/85xx: Fix compile error on p3060_qds.c

2011-11-20 Thread Kumar Gala
On Nov 20, 2011, at 9:59 AM, Kumar Gala wrote: > arch/powerpc/platforms/85xx/p3060_qds.c: In function > '__machine_initcall_p3060_qds_declare_of_platform_devices': > arch/powerpc/platforms/85xx/p3060_qds.c:73:1: error: implicit declaration of > function 'declare_of_platform_devices' > > declar

Re: [PATCH 01/29] powerpc/85xx: Simplify P1020RDB CAMP dts using includes

2011-11-20 Thread Kumar Gala
On Nov 17, 2011, at 1:15 AM, Kumar Gala wrote: > If we include the p1020rdb.dts instead of p1020si.dts we greatly reduce > duplication and maintenance. We can just list which devices are > disabled for the given core and mpic protected sources. > > Signed-off-by: Kumar Gala > --- > arch/powerp

[PATCH] powerpc/85xx: Fix compile error on p3060_qds.c

2011-11-20 Thread Kumar Gala
arch/powerpc/platforms/85xx/p3060_qds.c: In function '__machine_initcall_p3060_qds_declare_of_platform_devices': arch/powerpc/platforms/85xx/p3060_qds.c:73:1: error: implicit declaration of function 'declare_of_platform_devices' declare_of_platform_devices should have been corenet_ds_publish_dev

Re: [PATCH] powerpc/p3060qds: Fix select of 'MPC8xxx_GPIO'

2011-11-20 Thread Kumar Gala
On Nov 12, 2011, at 5:50 PM, Paul Bolle wrote: > The driver for the Freescale P3060 QDS got added by commit 96cc017c5b > ("[...] Add support for P3060QDS board"). Its Kconfig entry selects > MPC8xxx_GPIO. But at the time that driver got added MPC8xxx_GPIO was > already renamed to GPIO_MPC8XXX, by

Re: [PATCH][v2] powerpc/p1023: set IRQ[4:6, 11] to active-high level sensitive for PCIe

2011-11-20 Thread Kumar Gala
On Nov 16, 2011, at 11:09 PM, Kumar Gala wrote: > From: Roy Zang > > P1023 external IRQ[4:6, 11] are not pin out, but the interrupts are > utilized by the PCIe controllers. As they are not exposed as pins we > need to set them as active-high (internal to the SoC these interrupts > are pulled d

Re: [RFC PATCH 10/11] KVM: PPC: Implement MMU notifiers

2011-11-20 Thread Avi Kivity
On 11/17/2011 01:52 AM, Paul Mackerras wrote: > This implements the low-level functions called by the MMU notifiers in > the generic KVM code, and defines KVM_ARCH_WANT_MMU_NOTIFIER if > CONFIG_KVM_BOOK3S_64_HV so that the generic KVM MMU notifiers get > included. > > That means we also have to tak

Re: [PATCH 01/11] KVM: PPC: Add memory-mapping support for PCI passthrough and emulation

2011-11-20 Thread Avi Kivity
On 11/17/2011 12:52 AM, Paul Mackerras wrote: > From: Benjamin Herrenschmidt > > This adds support for adding PCI device I/O regions to the guest memory > map, and for trapping guest accesses to emulated MMIO regions and > delivering them to qemu for MMIO emulation. To trap guest accesses to > em