RE: [PATCH] powerpc/44x: Support OCM(On Chip Memory) for APM821xx SoC and Bluestone board

2012-06-12 Thread Vinh Huu Tuong Nguyen
-Original Message- From: Vinh Nguyen Huu Tuong [mailto:vhtngu...@apm.com] Sent: Monday, May 07, 2012 10:53 AM To: Benjamin Herrenschmidt; Paul Mackerras; Josh Boyer; Matt Porter; Grant Likely; Rob Herring; Duc Dang; David S. Miller; Kumar Gala; Li Yang; Ashish Kalra; Anatolij

RE: reserving memory using OF rsvmap feature?

2012-06-12 Thread Jenkins, Clive
Is it possible to reserve some memory using OF rsvmap such that Linux will not touch this area at all? Think of is as warm start stash area were one could store data which should survive a reboot. Yes, I guess it should be possible, but you need to take care where you place this block so it

Re: [PATCH v2 1/2] uprobes: Pass probed vaddr to arch_uprobe_analyze_insn()

2012-06-12 Thread Srikar Dronamraju
Well, IMHO, this is confusing. First of all, why do we have this addr or even vaddr? It should not exists. We pass it to copy_insn(), but for what?? copy_insn() should simply use uprobe-offset, the virtual address for this particular mapping does not matter at all. I am going to send the

RE: reserving memory using OF rsvmap feature?

2012-06-12 Thread Joakim Tjernlund
Jenkins, Clive clive.jenk...@xerox.com wrote on 2012/06/12 17:48:15: Is it possible to reserve some memory using OF rsvmap such that Linux will not touch this area at all? Think of is as warm start stash area were one could store data which should survive a reboot. Yes, I guess it should

Re: [PATCH v2 1/2] uprobes: Pass probed vaddr to arch_uprobe_analyze_insn()

2012-06-12 Thread Oleg Nesterov
On 06/12, Srikar Dronamraju wrote: Note also that we should move this !UPROBE_COPY_INSN from install_breakpoint() to somewhere near alloc_uprobe(). This code is called only once, it looks a bit strange to use the random mm (the first mm vma_prio_tree_foreach() finds) and its mapping to

Re: [PATCH v2] usb: fsl_udc: errata - postpone freeing current dTD

2012-06-12 Thread Christoph Fritz
Hi Fabio On Sun, 2012-06-10 at 15:41 -0300, Fabio Estevam wrote: Hi Christoph, On Mon, Jun 4, 2012 at 8:37 AM, Christoph Fritz chf.fr...@googlemail.com wrote: After that, I stumbled upon this dmesg: Freescale High-Speed USB SOC Device Controller driver (Apr 20, 2007) fsl-usb2-udc

QUICC Engine USB Host controller

2012-06-12 Thread Guilherme Maciel Ferreira
Hi guys, I'm struggling to make the QUICC engine USB host controller to work. Thus, I came here in the hope to get some light =) I am working on MPC8321 processor and kernel 2.6.32. Comparing against the mainstream version, I applied some patches to fix some pŕoblems in the FHCI driver, then it

[PATCH] powerpc/booke-64: fix tlbsrx. path in bolted tlb handler

2012-06-12 Thread Scott Wood
It was branching to the cleanup part of the non-bolted handler, which would have been bad if there were any chips with tlbsrx. that use the bolted handler. Signed-off-by: Scott Wood sc...@tyr.buserror.net --- arch/powerpc/mm/tlb_low_64e.S |3 ++- 1 files changed, 2 insertions(+), 1

RE: [PATCH] powerpc/44x: Support OCM(On Chip Memory) for APM821xx SoC and Bluestone board

2012-06-12 Thread Benjamin Herrenschmidt
On Tue, 2012-06-12 at 17:26 +0700, Vinh Huu Tuong Nguyen wrote: -Original Message- From: Vinh Nguyen Huu Tuong [mailto:vhtngu...@apm.com] Sent: Monday, May 07, 2012 10:53 AM To: Benjamin Herrenschmidt; Paul Mackerras; Josh Boyer; Matt Porter; Grant Likely; Rob Herring; Duc Dang;

Re: [PATCH v2] usb: fsl_udc: errata - postpone freeing current dTD

2012-06-12 Thread Fabio Estevam
On Tue, Jun 12, 2012 at 4:40 PM, Christoph Fritz chf.fr...@googlemail.com wrote: Thanks for your patch. It does indeed load Freescale High-Speed USB SOC Device Controller driver (Apr 20, 2007) fine - but now when I want to use it: modprobe g_ether [   17.099363] g_ether gadget: using random

Re: [PATCH] powerpc/44x: Support OCM(On Chip Memory) for APM821xx SoC and Bluestone board

2012-06-12 Thread Josh Boyer
On Tue, Jun 12, 2012 at 8:40 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Tue, 2012-06-12 at 17:26 +0700, Vinh Huu Tuong Nguyen wrote: -Original Message- From: Vinh Nguyen Huu Tuong [mailto:vhtngu...@apm.com] Sent: Monday, May 07, 2012 10:53 AM To: Benjamin

Re: [Cbe-oss-dev] [PATCH 05/10] powerpc/ps3: Use highmem region from repository

2012-06-12 Thread Michael Ellerman
On Wed, 2012-04-25 at 19:19 +, Andre Heider wrote: Use any preallocated highmem region setup by the bootloader. This implementation only checks for the existance of a single region at region_index=0. This feature allows the bootloader to preallocate highmem regions and pass the region

Re: PowerMac PMU programming

2012-06-12 Thread Justin Hibbits
On Tue, 12 Jun 2012 07:24:22 +1000 Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Sun, 2012-06-10 at 23:31 -0400, Justin Hibbits wrote: I'll settle on just getting the CPU speed change working, losing 333MHz on my TiBook is a few too many MHz for the poor thing to lose :) I

Re: [PATCH] powerpc: pseries: Round up MSI-X requests

2012-06-12 Thread Michael Ellerman
On Tue, 2012-06-05 at 12:47 +1000, Anton Blanchard wrote: Hi, On Mon, 2012-06-04 at 16:43 +1000, Michael Ellerman wrote: There is some chance this will result in breakage because the driver asks for N - and assumes that is what was allocated - and the device is configured for N.

Re: [PATCH] powerpc: pseries: Round up MSI-X requests

2012-06-12 Thread Benjamin Herrenschmidt
On Wed, 2012-06-13 at 15:18 +1000, Michael Ellerman wrote: On Tue, 2012-06-05 at 12:47 +1000, Anton Blanchard wrote: Hi, On Mon, 2012-06-04 at 16:43 +1000, Michael Ellerman wrote: There is some chance this will result in breakage because the driver asks for N - and assumes that is