On Tue, 22 Sep 2020 at 11:05, Linus Walleij [off-list ref] wrote:
On Mon, Sep 21, 2020 at 5:41 PM Ard Biesheuvel [off-list ref] wrote:
quoted
Free up a register in the p2v patching code by switching to relative
references, which don't require keeping the phys-to-virt displacement
live in a register.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Neat!
Reviewed-by: Linus Walleij <redacted>
Thanks.
I just realized, though, that this patch requires the R_ARM_REL32 from
[0] as well, as there are a few rare occurrences of phys_to_virt() in
module code (musb_hdrc and vivid)
[0] https://lore.kernel.org/linux-arm-kernel/20200914095706.3985-4-ardb@kernel.org/ (local)
If nobody minds, I will just fold it into the PR, as it has been
reviewed and discussed already between Russel, Nico and myself.
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel