Merge branch 'for-next/sme' into for-next/sysreg-gen
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 16 May 2022 18:49:58 +0000 (19:49 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 16 May 2022 18:49:58 +0000 (19:49 +0100)
* for-next/sme: (29 commits)
  : Scalable Matrix Extensions support.
  arm64/sve: Make kernel FPU protection RT friendly
  arm64/sve: Delay freeing memory in fpsimd_flush_thread()
  arm64/sme: More sensibly define the size for the ZA register set
  arm64/sme: Fix NULL check after kzalloc
  arm64/sme: Add ID_AA64SMFR0_EL1 to __read_sysreg_by_encoding()
  arm64/sme: Provide Kconfig for SME
  KVM: arm64: Handle SME host state when running guests
  KVM: arm64: Trap SME usage in guest
  KVM: arm64: Hide SME system registers from guests
  arm64/sme: Save and restore streaming mode over EFI runtime calls
  arm64/sme: Disable streaming mode and ZA when flushing CPU state
  arm64/sme: Add ptrace support for ZA
  arm64/sme: Implement ptrace support for streaming mode SVE registers
  arm64/sme: Implement ZA signal handling
  arm64/sme: Implement streaming SVE signal handling
  arm64/sme: Disable ZA and streaming mode when handling signals
  arm64/sme: Implement traps and syscall handling for SME
  arm64/sme: Implement ZA context switching
  arm64/sme: Implement streaming SVE context switching
  arm64/sme: Implement SVCR context switching
  ...

1  2 
arch/arm64/include/asm/sysreg.h
arch/arm64/kernel/cpufeature.c

  
  #define SYS_ZCR_EL1                   sys_reg(3, 0, 1, 2, 0)
  #define SYS_TRFCR_EL1                 sys_reg(3, 0, 1, 2, 1)
+ #define SYS_SMPRI_EL1                 sys_reg(3, 0, 1, 2, 4)
+ #define SYS_SMCR_EL1                  sys_reg(3, 0, 1, 2, 6)
  
 -#define SYS_TTBR0_EL1                 sys_reg(3, 0, 2, 0, 0)
 -#define SYS_TTBR1_EL1                 sys_reg(3, 0, 2, 0, 1)
  #define SYS_TCR_EL1                   sys_reg(3, 0, 2, 0, 2)
  
  #define SYS_APIAKEYLO_EL1             sys_reg(3, 0, 2, 1, 0)
Simple merge