[PATCH] powerpc: do not call prink when CONFIG_PRINTK is not defined

2010-03-07 Thread Németh Márton
From: Márton Németh nm...@freemail.hu When printk() is disabled (CONFIG_PRINTK) at menu item General setup - Configure standard kernel features (for small systems) - Enable support for printk then there should be no printk() calls at all. Signed-off-by: Márton Németh nm...@freemail.hu ---

Re: Linux on Freescale e200

2010-03-07 Thread Németh Márton
Hi Per-Erik, I found your message at http://lists.ozlabs.org/pipermail/linuxppc-dev/2007-December/048539.html back from Dec 2007. Have you managed to run Linux on phyCORE-MPC5554 since then? Regards, Márton Németh Hi I'm wondering if someone has ever tried to get Linux running on a

[RFC PATCH v3 00/11] wii: add usb 2.0 support

2010-03-07 Thread Albert Herranz
The following patch series adds USB 2.0 support for the Wii PowerPC platform via the EHCI controller present in the Hollywood chipset of the video game console. v2 - v3 - use per-device dma coherent support to allocate coherent MEM2 memory - add support for SWIOTLB on NOT_COHERENT_CACHE PowerPC

[RFC PATCH v3 01/11] powerpc: add per-device dma coherent support

2010-03-07 Thread Albert Herranz
Use the generic per-device dma coherent allocator on powerpc. This allows a driver to declare coherent memory area from where a device can allocate coherent memory chunks. Signed-off-by: Albert Herranz albert_herr...@yahoo.es --- arch/powerpc/include/asm/dma-mapping.h |1 +

[RFC PATCH v3 03/11] swiotbl: add back swiotlb_alloc_boot()

2010-03-07 Thread Albert Herranz
This patch makes swiotlb_alloc_boot() available again. This weak function can be overloaded to modify slightly how the SWIOTLB and the overflow areas are allocated during boot. This will be used later to support the Nintendo Wii video game console, which requires placing the SWIOTLB area above

[RFC PATCH v3 04/11] swiotlb: support NOT_COHERENT_CACHE PowerPC platforms

2010-03-07 Thread Albert Herranz
The current SWIOTLB code does not support NOT_COHERENT_CACHE platforms. This patch adds support for NOT_COHERENT_CACHE platforms to SWIOTLB by adding two platform specific functions swiotlb_dma_sync_page() and swiotlb_dma_sync() which can be used to explicitly manage cache coherency. On PowerPC

[RFC PATCH v3 05/11] swiotlb: add swiotlb_set_default_size()

2010-03-07 Thread Albert Herranz
The current SWIOTLB code uses a default of 64MB for the IO TLB area. This size can be influenced using a kernel command line parameter swiotlb. Unfortunately, the parsing of the kernel command line is done _after_ the swiotlb is initialized on some architectures. This patch adds a new function

[RFC PATCH v3 06/11] USB: refactor unmap_urb_for_dma/map_urb_for_dma

2010-03-07 Thread Albert Herranz
Split unmap_urb_for_dma() and map_urb_for_dma() into smaller pieces to make the code easier to read and maintain. This patch adds four new URB flags which are used by map_urb_for_dma() to mark URBs with the exact method used to map the setup packet and/or the transfer buffer. These flags are

[RFC PATCH v3 09/11] wii: add mem2 dma mapping ops

2010-03-07 Thread Albert Herranz
Some of the devices in the Hollywood chipset of the Nintendo Wii video game console have restrictions performing DMA transfers to the first contiguous RAM region (known as MEM1). For example, up to 3 bytes of the last word of a DMA transfer of a non-32 bit aligned length to MEM1 may be lost. Such

[RFC PATCH v3 10/11] wii: enable swiotlb

2010-03-07 Thread Albert Herranz
Enable the use of a software IO TLB on the Nintendo Wii video game console. This is used by the platform DMA support code to overcome the limitations found in some of the devices within the Hollywood chipset. Signed-off-by: Albert Herranz albert_herr...@yahoo.es ---

[RFC PATCH v3 07/11] USB: add HCD_NO_COHERENT_MEM host controller driver flag

2010-03-07 Thread Albert Herranz
The HCD_NO_COHERENT_MEM USB host controller driver flag can be enabled to instruct the USB stack to avoid allocating coherent memory for USB buffers. This flag is useful to overcome some esoteric memory access restrictions found in some platforms. For example, the Nintendo Wii video game console

[RFC PATCH v3 08/11] wii: have generic dma coherent

2010-03-07 Thread Albert Herranz
Let the Nintendo Wii gaming console use per-device dma coherent allocations. This will be used later by some of its drivers. Signed-off-by: Albert Herranz albert_herr...@yahoo.es --- arch/powerpc/platforms/embedded6xx/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

[RFC PATCH v3 11/11] wii: hollywood ehci controller support

2010-03-07 Thread Albert Herranz
Add support for the USB Enhanced Host Controller Interface included in the Hollywood chipset of the Nintendo Wii video game console. Signed-off-by: Albert Herranz albert_herr...@yahoo.es --- arch/powerpc/platforms/embedded6xx/Kconfig |1 + drivers/usb/host/Kconfig |8 +

Re: [PATCH 0/4] 8xx: Optimize TLB Miss code.

2010-03-07 Thread Joakim Tjernlund
Heiko Schocher h...@denx.de wrote on 2010/03/04 17:30:07: From: Heiko Schocher h...@denx.de To: Joakim Tjernlund joakim.tjernl...@transmode.se Cc: Wolfgang Denk w...@denx.de, Klaus-Jürgen heyd...@kieback-peter.de, linuxppc-...@ozlabs.org, Scott Wood scottw...@freescale.com Date: 2010/03/04

mpc512x uart: testers wanted

2010-03-07 Thread Albrecht Dreß
Hi all, I recently posted a patch which improves the baud rate calculation on the mpc5200b. Following requests by Grant and Wolfram, I added changes which do also affect the mpc512x. Unfortunately, I don't have access to such a system, but IMHO the code (both the old implementation and my

Re: [PATCH 05/13] powerpc/476: Add isync after loading mmu and debug spr's

2010-03-07 Thread Hollis Blanchard
On Fri, Mar 5, 2010 at 12:43 PM, Dave Kleikamp sha...@linux.vnet.ibm.com wrote: powerpc/476: Add isync after loading mmu and debug spr's From: Dave Kleikamp sha...@linux.vnet.ibm.com 476 requires an isync after loading MMU and debug related SPR's.  Some of these are in performance-critical

Re: mpc512x uart: testers wanted

2010-03-07 Thread Grant Likely
Anatolij, could you please look into this? Thanks, g. On Sun, Mar 7, 2010 at 9:15 AM, Albrecht Dreß albrecht.dr...@arcor.de wrote: Hi all, I recently posted a patch which improves the baud rate calculation on the mpc5200b.  Following requests by Grant and Wolfram, I added changes which do

Re: [RFC] powerpc: add support for new hcall H_BEST_ENERGY

2010-03-07 Thread Vaidyanathan Srinivasan
* Dipankar Sarma dipan...@in.ibm.com [2010-03-06 00:48:11]: On Wed, Mar 03, 2010 at 11:48:22PM +0530, Vaidyanathan Srinivasan wrote: static void __init cpu_init_thread_core_maps(int tpc) diff --git a/arch/powerpc/platforms/pseries/Kconfig b/arch/powerpc/platforms/pseries/Kconfig index

Re: [PATCH 0/4] 8xx: Optimize TLB Miss code.

2010-03-07 Thread Heiko Schocher
Hello Joakim, Joakim Tjernlund wrote: [...] What would be interesting is to skip patch 3 and turn off MODULES add PIN_TLB and compare that against your unpatched .33 but with MODULES off and PIN_TLB on run version 1-4 Linux2.6.33-rc without module support and PIN_TLB=on 5-8