Re: [PATCH v2 07/10] ARM: p2v: use relative references in patch site arrays

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 22 Sep 2020 at 11:05, Linus Walleij <linus.walleij@xxxxxxxxxx> wrote:
>
> On Mon, Sep 21, 2020 at 5:41 PM Ard Biesheuvel <ardb@xxxxxxxxxx> wrote:
>
> > 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@xxxxxxxxxx>
>
> Neat!
> Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
>

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@xxxxxxxxxx/

If nobody minds, I will just fold it into the PR, as it has been
reviewed and discussed already between Russel, Nico and myself.



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux