Re: [PATCH 1/3] hvc_dcc: Fix bad code generation by marking assembly volatile

2011-01-04 Thread Tony Lindgren
* Nicolas Pitre n...@fluxnic.net [101220 13:38]: On Mon, 20 Dec 2010, Stephen Boyd wrote: Without marking the asm __dcc_getstatus() volatile my compiler decides it can cache the value of __ret in a register and then check the value of it continually in hvc_dcc_put_chars() (I had to

Re: [PATCH 3/3] hvc_dcc: Simplify assembly for v6 and v7 ARM

2011-01-04 Thread Tony Lindgren
* Nicolas Pitre n...@fluxnic.net [101220 13:44]: On Mon, 20 Dec 2010, Stephen Boyd wrote: The inline assembly differences for v6 vs. v7 in the hvc_dcc driver are purely optimizations. On a v7 processor, an mrc with the pc sets the condition codes to the 28-31 bits of the register being

[RFC 2/5] ARM: P2V: avoid initializers and assembly using PHYS_OFFSET

2011-01-04 Thread Russell King - ARM Linux
As PHYS_OFFSET will be becoming a variable, we can't have it used in initializers nor assembly code. Replace those in generic code with a run-time initialization. Replace those in platform code using the individual platform specific PLAT_PHYS_OFFSET. Signed-off-by: Russell King

Re: [RFC 2/5] ARM: P2V: avoid initializers and assembly using PHYS_OFFSET

2011-01-04 Thread Nicolas Pitre
On Tue, 4 Jan 2011, Russell King - ARM Linux wrote: As PHYS_OFFSET will be becoming a variable, we can't have it used in initializers nor assembly code. Replace those in generic code with a run-time initialization. Replace those in platform code using the individual platform specific

[PATCH 1/1] mtd: msm_nand: Add initial msm nand driver support.

2011-01-04 Thread Murali Nalajala
Add initial msm nand driver support for Qualcomm MSM and QSD platforms. This driver is currently capable of handling 2K page nand devices. This driver is originally developed by 'arve'. Its source is available at http://android.git.kernel.org/?p=kernel/experimental.git CC: Brian Swetland