[PATCH 3/3] kgdb/kgdbts: support ppc64

2012-10-24 Thread Tiejun Chen
We can't look up the address of the entry point of the function simply via that function symbol for all architectures. For PPC64 ABI, actually there is a function descriptors structure. A function descriptor is a three doubleword data structure that contains the following values: * The fi

[PATCH 1/3] powerpc/book3e: load critical/machine/debug exception stack

2012-10-24 Thread Tiejun Chen
We always alloc critical/machine/debug check exceptions. This is different from the normal exception. So we should load these exception stack properly like we did for booke. Signed-off-by: Tiejun Chen --- arch/powerpc/kernel/exceptions-64e.S | 27 +++ 1 file changed, 27

[PATCH 2/3] powerpc/book3e: support kgdb for kernel space

2012-10-24 Thread Tiejun Chen
Currently we need to skip this for supporting KGDB. Signed-off-by: Tiejun Chen --- arch/powerpc/kernel/exceptions-64e.S |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/exceptions-64e.S b/arch/powerpc/kernel/exceptions-64e.S index 43b654a..c5564d4 1

iMac (PM61) quieter fan?

2012-10-24 Thread Jeremy Elgin
I'm running Ubuntu 12.04 on my iMac G4 1GHz (PowerMac6,1) and I've been looking for any installable option to quiet the fan, nothing I've found mentions PowerMac6,1 and the modules installed don't even mention different PM models, just therm_windtunnel.ko & windfarm_core.ko - this first module w

[PATCH] powerpc: Remove no longer used ppc_md.idle_loop()

2012-10-24 Thread Michael Ellerman
The last user of ppc_md.idle_loop() was removed when we dropped the legacy iSeries code, in commit 8ee3e0d. Signed-off-by: Michael Ellerman --- arch/powerpc/include/asm/machdep.h |3 --- arch/powerpc/kernel/idle.c |3 --- 2 files changed, 6 deletions(-) diff --git a/arch/powerpc

Re: [PATCH 1/1] usb: gadget: Don't attempt to dequeue requests for a disabled USB endpoint on Freescale hardware

2012-10-24 Thread Laurent Pinchart
Hi Felipe, On Monday 22 October 2012 13:56:01 Felipe Balbi wrote: > On Mon, Oct 22, 2012 at 12:47:21PM +0200, Laurent Pinchart wrote: > > On Monday 22 October 2012 03:33:19 Li Yang-R58472 wrote: > > > On Saturday, October 20, 2012 1:37 AM Felipe Balbi wrote: > > > > On Fri, Oct 19, 2012 at 06:19:2

Re: [PATCH 1/1] usb: gadget: Don't attempt to dequeue requests for a disabled USB endpoint on Freescale hardware

2012-10-24 Thread Laurent Pinchart
Hi Simon, On Monday 22 October 2012 12:49:51 Simon Haggett wrote: > On 22/10/12 11:47, Laurent Pinchart wrote: > > On Monday 22 October 2012 03:33:19 Li Yang-R58472 wrote: > >> On Saturday, October 20, 2012 1:37 AM Felipe Balbi wrote: > >>> On Fri, Oct 19, 2012 at 06:19:26PM +0100, Simon Haggett w

Re: [PATCH] powerpc/usb: fix build warning

2012-10-24 Thread Sebastian Andrzej Siewior
> index 9bfde82..968f751 100644 > --- a/drivers/usb/host/ehci-fsl.c > +++ b/drivers/usb/host/ehci-fsl.c > @@ -222,7 +222,7 @@ static int ehci_fsl_setup_phy(struct usb_hcd *hcd, > > if (pdata->controller_ver < 0) { > dev_warn(hcd->self.controller, "Could not get controller > v

Re: [RFC][PATCH] perf: Add a few generic stalled-cycles events

2012-10-24 Thread Peter Zijlstra
On Tue, 2012-10-16 at 11:31 -0700, Sukadev Bhattiprolu wrote: > On a side note, how does the kernel on x86 use the 'config' information in > say /sys/bus/event_source/devices/cpu/format/cccr ? On Power7, the raw > code encodes the information such as the PMC to use for the event. Is that > how the