[RFC PATCH 05/10] arm64: mm: avoid __pa translations in early_fixmap_init
Ard Biesheuvel
ard.biesheuvel at linaro.org
Tue Feb 23 09:16:50 PST 2016
On 23 February 2016 at 18:12, Catalin Marinas <catalin.marinas at arm.com> wrote:
> On Mon, Feb 22, 2016 at 09:54:27PM +0100, Ard Biesheuvel wrote:
>> --- a/arch/arm64/mm/mmu.c
>> +++ b/arch/arm64/mm/mmu.c
>> @@ -679,7 +679,7 @@ void __init early_fixmap_init(void)
>>
>> pgd = pgd_offset_k(addr);
>> if (CONFIG_PGTABLE_LEVELS > 3 &&
>> - !(pgd_none(*pgd) || pgd_page_paddr(*pgd) == __pa(bm_pud))) {
>> + !(pgd_none(*pgd) || pgd_page_paddr(*pgd) == __pa_symbol(bm_pud))) {
>> /*
>> * We only end up here if the kernel mapping and the fixmap
>> * share the top level pgd entry, which should only happen on
>
> Do I miss any patches? The for-next/core branch has a pgd_none(*pgd)
> check here, so this patch does not apply.
>
This is actually based on the kaslr branch, not for-next/core
I'm happy to rebase and resend. I have added some patches for kasan,
kvm and smp as well.
More information about the linux-arm-kernel
mailing list