Re: [PATCH] x86, efi: Calling __pa() with an ioremap'd address is invalid

From: hpanvin@xxxxxxxxx
Date: Tue Oct 11 2011 - 11:46:26 EST


I think ioremap_cache() should work for either.

Matt Fleming <matt@xxxxxxxxxxxxxxxxx> wrote:

>On Tue, 2011-10-11 at 14:03 +0100, Matthew Garrett wrote:
>> Is there any chance of unifying the 32 and 64-bit code here as well?
>
>I was under the impression that this wasn't possible for the cached
>case
>because the 32-bit code path uses ioremap_cache() whereas 64-bit uses
>init_memory_mapping() and __va().
>
>Unless I'm missing something?

--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/