Loading
arm64: align kernel text and rodata
kunpeng inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IBOJU2 ------------------------------------------------- In order to comply with AArch64 page table entries type - table and block descriptor format, we need to use correct alignment for replicated memory areas. Physical blocks allocated for replicated areas must have the same offset for all replicas and same relative offset to the virtual address. For simplicity, we just use an explicit alignment for kernel sections. If 4K pages are used, 2MB alignment should be applied. Otherwise CONT_PTE_SIZE alignment is used. Acked-by:Artem Kuzin <artem.kuzin@huawei.com> Acked-by:
Alexander Grubnikov <alexander.grubnikov@huawei.com> Acked-by:
Ilya Hanov <ilya.hanov@huawei-partners.com> Acked-by:
Denis Darvish <darvish.denis@huawei.com> Signed-off-by:
Nikita Panov <panov.nikita@huawei.com>