Re: [PATCH v2 11/18] arm64: mm: Map entry trampoline into trampoline and kernel page tables

2017-11-30 Thread Mark Rutland
Hi Will, On Thu, Nov 30, 2017 at 04:39:39PM +, Will Deacon wrote: > diff --git a/arch/arm64/include/asm/fixmap.h b/arch/arm64/include/asm/fixmap.h > index 4052ec39e8db..8119b49be98d 100644 > --- a/arch/arm64/include/asm/fixmap.h > +++ b/arch/arm64/include/asm/fixmap.h > @@ -58,6 +58,10 @@ enum

[PATCH v2 11/18] arm64: mm: Map entry trampoline into trampoline and kernel page tables

2017-11-30 Thread Will Deacon
The exception entry trampoline needs to be mapped at the same virtual address in both the trampoline page table (which maps nothing else) and also the kernel page table, so that we can swizzle TTBR1_EL1 on exceptions from and return to EL0. This patch maps the trampoline at a fixed virtual address