[PATCH v2 0/3] arm64: relax Image placement requirement

Ard Biesheuvel ard.biesheuvel at linaro.org
Mon Mar 23 03:59:31 PDT 2015


On 23 March 2015 at 11:45, Lorenzo Pieralisi <lorenzo.pieralisi at arm.com> wrote:
> On Mon, Mar 23, 2015 at 09:07:23AM +0000, Ard Biesheuvel wrote:
>> So as it turns out, the 512 MB alignment boundary restriction appears
>> to have been introduced by accident when increasing the ID map to cover
>> the entire kernel Image.
>>
>> So this reverts that change, by reducing the ID map to something that
>> can never cross a 512 MB boundary by construction.
>>
>> Patch #1 removes some functions that are unused, so that I don't have
>> to worry about them in patch #2
>>
>> Patch #2 introduces the reduced ID map, using a separate linker section
>> that contains code the manipulates the state of the MMU.
>>
>> Patch #3 removes the sleep_idmap_phys global which always points to
>> the ID map anyway
>
> Patch 1 and 2 do not apply for me, what tree/commit are they based against ?
>
> Please let me know so that I can give patch 3 a go.
>

They should apply onto for-next/core, but I pushed them to a public branch here:
https://git.linaro.org/people/ard.biesheuvel/linux-arm.git/shortlog/refs/heads/arm64-idmap

Regards,
Ard.


>> Ard Biesheuvel (3):
>>   arm64: remove soft_restart() and friends
>>   arm64: reduce ID map to a single page
>>   arm64: drop sleep_idmap_phys
>>
>>  arch/arm64/include/asm/mmu.h         |  1 -
>>  arch/arm64/include/asm/proc-fns.h    |  3 ---
>>  arch/arm64/include/asm/system_misc.h |  1 -
>>  arch/arm64/kernel/head.S             | 13 +++++++------
>>  arch/arm64/kernel/process.c          | 12 +-----------
>>  arch/arm64/kernel/sleep.S            |  9 ++++-----
>>  arch/arm64/kernel/suspend.c          |  3 ---
>>  arch/arm64/kernel/vmlinux.lds.S      | 11 ++++++++++-
>>  arch/arm64/mm/mmu.c                  | 11 -----------
>>  arch/arm64/mm/proc.S                 | 33 ---------------------------------
>>  10 files changed, 22 insertions(+), 75 deletions(-)
>>
>> --
>> 1.8.3.2
>>
>>
>> _______________________________________________
>> linux-arm-kernel mailing list
>> linux-arm-kernel at lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>>



More information about the linux-arm-kernel mailing list