mbox series

[v2,0/2] arm64: entry: Simplify KPTI trampoline exit code

Message ID 20230418143604.1176437-1-ardb@kernel.org (mailing list archive)
Headers show
Series arm64: entry: Simplify KPTI trampoline exit code | expand

Message

Ard Biesheuvel April 18, 2023, 2:36 p.m. UTC
Changes since v1:
- add a separate patch that merges the native and compat code paths
- improve commit log on patch #2

Ard Biesheuvel (2):
  arm64: entry: Preserve/restore X29 even for compat tasks
  arm64: entry: Simplify tramp_alias macro and tramp_exit routine

 arch/arm64/kernel/entry.S | 57 +++++++-------------
 1 file changed, 20 insertions(+), 37 deletions(-)

Comments

Will Deacon May 16, 2023, 2:35 p.m. UTC | #1
On Tue, Apr 18, 2023 at 04:36:02PM +0200, Ard Biesheuvel wrote:
> Changes since v1:
> - add a separate patch that merges the native and compat code paths
> - improve commit log on patch #2
> 
> Ard Biesheuvel (2):
>   arm64: entry: Preserve/restore X29 even for compat tasks
>   arm64: entry: Simplify tramp_alias macro and tramp_exit routine
> 
>  arch/arm64/kernel/entry.S | 57 +++++++-------------
>  1 file changed, 20 insertions(+), 37 deletions(-)

For both patches:

Reviewed-by: Will Deacon <will@kernel.org>

Will
Catalin Marinas May 25, 2023, 6:23 p.m. UTC | #2
On Tue, 18 Apr 2023 16:36:02 +0200, Ard Biesheuvel wrote:
> Changes since v1:
> - add a separate patch that merges the native and compat code paths
> - improve commit log on patch #2
> 
> Ard Biesheuvel (2):
>   arm64: entry: Preserve/restore X29 even for compat tasks
>   arm64: entry: Simplify tramp_alias macro and tramp_exit routine
> 
> [...]

Applied to arm64 (for-next/kpti), thanks!

[1/2] arm64: entry: Preserve/restore X29 even for compat tasks
      https://git.kernel.org/arm64/c/0936243cabf0
[2/2] arm64: entry: Simplify tramp_alias macro and tramp_exit routine
      https://git.kernel.org/arm64/c/211ceca377f4