Re: [PATCH 1/3] arm64: clean up trampoline vector loads

From: Catalin Marinas
Date: Tue Mar 24 2020 - 06:37:24 EST


On Mon, Mar 23, 2020 at 10:42:30PM +0200, Rémi Denis-Courmont wrote:
> Le maanantaina 23. maaliskuuta 2020, 21.04.09 EET Catalin Marinas a écrit :
> > Should we just use adrp on __entry_tramp_data_start? Anyway, the diff
> > below doesn't solve the issue I'm seeing (only reverting patch 3).
>
> AFAIU, the preexisting code uses the manual PAGE_SIZE offset because the offset
> in the main vmlinux does not match the architected offset inside the fixmap. If
> so, then using the symbol directly will not work at all.

You are right, it broke the defconfig as well.

--
Catalin