Thread (63 messages) 63 messages, 8 authors, 2012-08-09

Re: [PATCH 09/22] ARM: LPAE: use 64-bit pgd physical address in switch_mm()

From: Cyril Chemparathy <hidden>
Date: 2012-08-05 14:30:11
Also in: linux-arm-kernel

On 8/4/2012 3:04 AM, Nicolas Pitre wrote:
On Tue, 31 Jul 2012, Cyril Chemparathy wrote:
quoted
This patch modifies the switch_mm() processor functions to use 64-bit
addresses.  We use u64 instead of phys_addr_t, in order to avoid having config
dependent register usage when calling into switch_mm assembly code.

The changes in this patch are primarily adjustments for registers used for
arguments to switch_mm.  The few processor definitions that did use the second
argument have been modified accordingly.

Arguments and calling conventions aside, this patch should be a no-op on v6
and non-LPAE v7 processors.
NAK.

You just broke all big endian targets, LPAE or not.
Indeed.  Thanks.

Would C-land word swappery on BE do?  Any other ideas on the best 
approach to this?
Nicolas
-- 
Thanks
- Cyril
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help