Re: powerpc/perf: hw breakpoints return ENOSPC

2012-08-17 Thread Michael Neuling
Frederic Weisbecker wrote: > On Thu, Aug 16, 2012 at 02:23:54PM +1000, Michael Neuling wrote: > > Hi, > > > > I've been trying to get hardware breakpoints with perf to work on POWER7 > > but I'm getting the following: > > > > % perf record -e mem:0x1000 true > > > > Error: sys_perf_e

Re: PPC64 & DMA zone

2012-08-17 Thread Benjamin Herrenschmidt
On Sat, 2012-08-18 at 00:01 +0300, Aaro Koskinen wrote: > b43-pci-bridge 0001:01:01.0: Warning: IOMMU window too big for device > mask > b43-pci-bridge 0001:01:01.0: mask: 0x3fff, table end: 0x8000 > b43-phy0 ERROR: The machine/kernel does not support the required > 30-bit DMA mask Hrm, od

Re: PPC64 & DMA zone

2012-08-17 Thread Aaro Koskinen
Hi, On Sat, Aug 18, 2012 at 06:40:56AM +1000, Benjamin Herrenschmidt wrote: > > The problem I have is that b43 driver (wireless chip) insists a 30-bit > > DMA mask, but I have 1.5 GB physical memory. So the only way I can get > > the wireless connection to work is to boot with "mem=1024MB". And as

Re: PPC64 & DMA zone

2012-08-17 Thread Benjamin Herrenschmidt
On Fri, 2012-08-17 at 23:04 +0300, Aaro Koskinen wrote: > Hi, > > Is there a way to reduce/limit DMA zone with PPC64 kernel (3.6-rcX) > on G5 Mac? I have tried to search Kconfig or command line options, > but can't find anything. No. > The problem I have is that b43 driver (wireless chip) insist

Re: therm_pm72 units, interface

2012-08-17 Thread Benjamin Herrenschmidt
On Fri, 2012-08-17 at 15:51 +0200, Jan Engelhardt wrote: > > I can just exploit the fact that the machine will run for about an > hour when it has had a cooldown night. > > Except that 3.5, as I already expected by scary mails read on > linux-kernel, looked dangerous to use. Here is a boot-time >

PPC64 & DMA zone

2012-08-17 Thread Aaro Koskinen
Hi, Is there a way to reduce/limit DMA zone with PPC64 kernel (3.6-rcX) on G5 Mac? I have tried to search Kconfig or command line options, but can't find anything. The problem I have is that b43 driver (wireless chip) insists a 30-bit DMA mask, but I have 1.5 GB physical memory. So the only way I

Re: [git pull] Please pull powerpc.git merge branch (updated)

2012-08-17 Thread Kumar Gala
Ben, Added a watchdog fix. - k The following changes since commit 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee: Linux 3.6-rc1 (2012-08-02 16:38:10 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/galak/powerpc.git merge for you to fetch changes up

Re: powerpc/perf: hw breakpoints return ENOSPC

2012-08-17 Thread Frederic Weisbecker
On Thu, Aug 16, 2012 at 02:23:54PM +1000, Michael Neuling wrote: > Hi, > > I've been trying to get hardware breakpoints with perf to work on POWER7 > but I'm getting the following: > > % perf record -e mem:0x1000 true > > Error: sys_perf_event_open() syscall returned with 28 (No space

Re: [PATCH v3 2/2] powerpc: Uprobes port to powerpc

2012-08-17 Thread Oleg Nesterov
On 08/17, Ananth N Mavinakayanahalli wrote: > > On Thu, Aug 16, 2012 at 05:21:12PM +0200, Oleg Nesterov wrote: > > > Hmm, I am not sure. is_swbp_insn(insn), as it is used in the arch agnostic > > code, should only return true if insn == UPROBE_SWBP_INSN (just in case, > > this logic needs more fixe

Re: [v2 PATCH 1/1] booke/wdt: some ioctls do not return values properly

2012-08-17 Thread Kumar Gala
On Aug 6, 2012, at 8:59 PM, Tiejun Chen wrote: > Fix some booke wdt ioctls return value error. > > Signed-off-by: Tiejun Chen > --- > drivers/watchdog/booke_wdt.c |7 +++ > 1 files changed, 3 insertions(+), 4 deletions(-) applied to merge - k ___

Re: [PATCH] powerpc/mpc85xx:Add new ext fields to Integrated FLash Controller

2012-08-17 Thread Kumar Gala
On Aug 15, 2012, at 10:58 PM, Prabhakar Kushwaha wrote: > Freescale's Integrated Flash controller(IFC) v1.1.0 supports 40 bit > address bus width. > In case more than 32 bit address is used, the EXT registers should be set. > > Add support of ext registers. > > Signed-off-by: Kumar Gala > Sig

Re: [PATCH] powerpc:Update Integrated Flash controller device tree bindings

2012-08-17 Thread Kumar Gala
On Aug 15, 2012, at 10:13 AM, Prabhakar Kushwaha wrote: > Freescale's Integrated Flash controller (IFC) may have one or two > interrupts. In case of single interrupt line, it will cover all IFC > interrupts. > > Update this information in IFC device tree bindings > > Signed-off-by: Prabhakar Ku

Re: therm_pm72 units, interface

2012-08-17 Thread Jan Engelhardt
On Thursday 2012-08-16 22:51, Benjamin Herrenschmidt wrote: > >You can try netbooting... OF netboot is limited to 4M sized zImages >which can be a bit tough nowadays, but modern yaboot can netboot larger >files. Another option is USB sticks. I can just exploit the fact that the machine will run f

Re: [PATCH v3 0/7] mv643xx.c: Add basic device tree support.

2012-08-17 Thread Arnd Bergmann
On Monday 13 August 2012, Ian Molton wrote: > On 10/08/12 11:49, Arnd Bergmann wrote: > > On Thursday 09 August 2012, Ian Molton wrote: > >>> The driver > >>> already knows all those offsets and they are always the same > >>> for all variants of mv643xx, right? > >> Yes, but its not clean. And no

RE: [PATCH v2 1/2] powerpc/mpic: Add Open-PIC global timer document

2012-08-17 Thread Wang Dongsheng-B40534
> -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, August 15, 2012 5:19 AM > To: Wang Dongsheng-B40534 > Cc: Wood Scott-B07421; b...@kernel.crashing.org; pau...@samba.org; > linuxppc-dev@lists.ozlabs.org; devicetree-disc...@lists.ozlabs.org; Gala > Kumar-B11780; Li Yang-R58