On Tue, Jan 08, 2013 at 01:38:48PM -0500, Christoffer Dall wrote:
Add a method (hyp_idmap_setup) to populate a hyp pgd with an
identity mapping of the code contained in the .hyp.idmap.text
section.
Offer a method to drop this identity mapping through
hyp_idmap_teardown.
Make all the
On Mon, Jan 14, 2013 at 10:27:21AM +, Gleb Natapov wrote:
On Tue, Jan 08, 2013 at 01:38:48PM -0500, Christoffer Dall wrote:
Add a method (hyp_idmap_setup) to populate a hyp pgd with an
identity mapping of the code contained in the .hyp.idmap.text
section.
Offer a method to drop
On Mon, Jan 14, 2013 at 10:49:53AM +, Will Deacon wrote:
On Mon, Jan 14, 2013 at 10:27:21AM +, Gleb Natapov wrote:
On Tue, Jan 08, 2013 at 01:38:48PM -0500, Christoffer Dall wrote:
Add a method (hyp_idmap_setup) to populate a hyp pgd with an
identity mapping of the code contained
On Mon, Jan 14, 2013 at 01:07:56PM +0200, Gleb Natapov wrote:
Ah, of course. This is ident map so by definition it cannot map phys
addresses above 4G. And since __virt_to_phys() suppose to work only on
ident map it's OK to returns unsigned long.
Let's get this right... the lack of correct
On Tue, Jan 08, 2013 at 01:38:48PM -0500, Christoffer Dall wrote:
+ pr_info(Setting up static %sidentity map for 0x%llx - 0x%llx\n,
+ prot ? HYP : ,
+ (long long)addr, (long long)end);
There's no point using 0x%llx and casting to 64-bit longs if the arguments
are
On Mon, Jan 14, 2013 at 11:13 AM, Russell King - ARM Linux
li...@arm.linux.org.uk wrote:
On Tue, Jan 08, 2013 at 01:38:48PM -0500, Christoffer Dall wrote:
+ pr_info(Setting up static %sidentity map for 0x%llx - 0x%llx\n,
+ prot ? HYP : ,
+ (long long)addr, (long
Add a method (hyp_idmap_setup) to populate a hyp pgd with an
identity mapping of the code contained in the .hyp.idmap.text
section.
Offer a method to drop this identity mapping through
hyp_idmap_teardown.
Make all the above depend on CONFIG_ARM_VIRT_EXT and CONFIG_ARM_LPAE.
Cc: Will Deacon