Home
last modified time | relevance | path

Searched hist:d7bea550279db28cd154fd54843ebc858ffdf0b7 (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/arm64/kernel/
H A Dvmlinux.lds.Sdiff d7bea550279db28cd154fd54843ebc858ffdf0b7 Fri Jun 24 10:06:43 CDT 2022 Ard Biesheuvel <ardb@kernel.org> arm64: head: use relative references to the RELA and RELR tables

Formerly, we had to access the RELA and RELR tables via the kernel
mapping that was being relocated, and so deriving the start and end
addresses using ADRP/ADD references was not possible, as the relocation
code runs from the ID map.

Now that we map the entire kernel image via the ID map, we can simplify
this, and just load the entries via the ID map as well.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20220624150651.1358849-14-ardb@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
H A Dhead.Sdiff d7bea550279db28cd154fd54843ebc858ffdf0b7 Fri Jun 24 10:06:43 CDT 2022 Ard Biesheuvel <ardb@kernel.org> arm64: head: use relative references to the RELA and RELR tables

Formerly, we had to access the RELA and RELR tables via the kernel
mapping that was being relocated, and so deriving the start and end
addresses using ADRP/ADD references was not possible, as the relocation
code runs from the ID map.

Now that we map the entire kernel image via the ID map, we can simplify
this, and just load the entries via the ID map as well.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20220624150651.1358849-14-ardb@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>