Re: [PATCH v2 7/7] ARM: mxc: remove esdhc.h and use the public one

2011-05-09 Thread Shawn Guo
Hi Uwe, On Fri, May 06, 2011 at 10:39:59AM +0200, Uwe Kleine-König wrote: Hello Shawn, On Thu, May 05, 2011 at 09:22:58PM +0800, Shawn Guo wrote: Signed-off-by: Shawn Guo shawn@linaro.org --- .../plat-mxc/devices/platform-sdhci-esdhc-imx.c|1 -

[PATCH] powerpc: Simplify 4k/64k copy_page logic

2011-05-09 Thread Anton Blanchard
To make it easier to add optimised versions of copy_page, remove the 4kB loop for 64kB pages and just do all the work in copy_page. Signed-off-by: Anton Blanchard an...@samba.org --- Index: linux-powerpc/arch/powerpc/include/asm/page_64.h

[PATCH] powerpc: Remove static branch hint in giveup_altivec

2011-05-09 Thread Anton Blanchard
A static branch hint will override dynamic branch prediction on recent POWER CPUs. Since we are about to use more altivec in the kernel remove the static hint in giveup_altivec that assumes a userspace task is using altivec. Signed-off-by: Anton Blanchard an...@samba.org --- Index:

[PATCH] powerpc: Improve scheduling of system call entry instructions

2011-05-09 Thread Anton Blanchard
After looking at our system call path, Mary Brown suggested that we should put all mfspr SRR* instructions before any mtspr SRR*. To test this I used a very simple null syscall (actually getppid) testcase at http://ozlabs.org/~anton/junkcode/null_syscall.c I tested with the following changes

[PATCH 1/2] powerpc: Add ioremap_wc

2011-05-09 Thread Anton Blanchard
Add ioremap_wc so drivers can request write combining on kernel mappings. Signed-off-by: Anton Blanchard an...@samba.org --- Index: linux-powerpc/arch/powerpc/include/asm/io.h === ---

[PATCH 2/2] powerpc: Remove ioremap_flags

2011-05-09 Thread Anton Blanchard
We have a confusing number of ioremap functions. Make things just a bit simpler by merging ioremap_flags and ioremap_prot. Signed-off-by: Anton Blanchard an...@samba.org --- Index: linux-powerpc/arch/powerpc/include/asm/io.h ===

Re: [PATCH 0/1] ppc4xx: Fix PCIe scanning for the 460SX

2011-05-09 Thread Ayman El-Khashab
On Thu, May 05, 2011 at 09:44:27AM -0700, Tirumala Marri wrote: Also, the patch removes the code for waiting for the link to be up with a comment What DCR has the link status on the 460SX?. Please fix that (Tirumala, can you provide the missing information ?) It is not one register.

Re: [PATCH] powerpc/mpc8610_hpcd: Do not use / in interrupt names

2011-05-09 Thread Tabi Timur-B04825
On Wed, May 4, 2011 at 9:29 AM, Geert Uytterhoeven ge...@linux-m68k.org wrote: It may trigger a warning in fs/proc/generic.c:__xlate_proc_name() when trying to add an entry for the interrupt handler to sysfs. Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org Acked-by: Timur Tabi

[PATCH] powerpc/86xx: don't pretend that we support 8-bit pixels on the MPC8610 HPCD

2011-05-09 Thread Timur Tabi
If the video mode is set to 16-, 24-, or 32-bit pixels, then the pixel data contains actual levels of red, blue, and green. However, if the video mode is set to 8-bit pixels, then the 8-bit value represents an index into color table. This is called palette mode on the Freescale DIU video

Re: Regarding P2020 in AMP mode

2011-05-09 Thread Hollis Blanchard
On 05/07/2011 05:20 AM, Prasanna Khanapur wrote: Hi, I'm running P2020 in AMP mode, each core running its linux os. Ethernet 1(@25000) and Ethernet 2(@26000) assigned to Core0 are working fine. I'm facing problems with Ethernet interface(@24000) assigned to Core1, its not working. I'm using dts

[PATCH] powerpc/e5500: set non-base IVORs

2011-05-09 Thread Scott Wood
Without this, we attempt to use doorbells for IPIs, and end up branching to some bad address. Plus, even for the exceptions we don't implement, it's good to handle it and get a message out. Signed-off-by: Scott Wood scottw...@freescale.com --- arch/powerpc/include/asm/reg_booke.h |4 ++

Re: [BUG] rebuild_sched_domains considered dangerous

2011-05-09 Thread Jesse Larrew
On 04/20/2011 05:01 PM, Benjamin Herrenschmidt wrote: On Wed, 2011-04-20 at 12:07 +0200, Peter Zijlstra wrote: On Thu, 2011-03-10 at 15:10 +0100, Peter Zijlstra wrote: Also, still waiting to hear from the Power7 folks on how often they think to rebuild the topology and how they think that

[PATCH] pseries/iommu: restore iommu table pointer when restoring iommu ops

2011-05-09 Thread Nishanth Aravamudan
When we swtich to direct dma ops, we set the dma data union to have the dma offset. When we switch back to iommu table ops because of a later dma_set_mask, we need to restore the iommu table pointer. Without this change, crashes have been observed on kexec where (for reasons still being

Re: [stable] Patch Upstream: hw_breakpoints, powerpc: Fix CONFIG_HAVE_HW_BREAKPOINT off-case in ptrace_set_debugreg()

2011-05-09 Thread Greg KH
On Sat, May 07, 2011 at 09:20:02PM +, James Bottomley wrote: commit: 925f83c085e1bb08435556c5b4844a60de002e31 From: Frederic Weisbecker fweis...@gmail.com Date: Fri, 6 May 2011 01:53:18 +0200 Subject: [PATCH] hw_breakpoints, powerpc: Fix CONFIG_HAVE_HW_BREAKPOINT off-case in

Patch hw_breakpoints, powerpc: Fix CONFIG_HAVE_HW_BREAKPOINT off-case in ptrace_set_debugreg() has been added to the 2.6.38-stable tree

2011-05-09 Thread gregkh
This is a note to let you know that I've just added the patch titled hw_breakpoints, powerpc: Fix CONFIG_HAVE_HW_BREAKPOINT off-case in ptrace_set_debugreg() to the 2.6.38-stable tree which can be found at: