Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] st64bv0 support in iommu-sva
@ 2026-11-26 15:53 Arnd Bergmann
  2026-11-26 15:53 ` [PATCH v2 1/3] arm64: dynamically enable st64bv0 for SVA Arnd Bergmann
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Arnd Bergmann @ 2026-11-26 15:53 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Arnd Bergmann, apais, Catalin Marinas, Christian Borntraeger,
	Fuad Tabba, hargar, Joey Gouly, Marc Zyngier, Mark Rutland,
	Navneet Singh, Oliver Upton, rlmenge, Siddharth Chintamaneni,
	Steffen Eiden, Suzuki K Poulose, Sven Schnelle, Will Deacon,
	Yicong Yang, Zenghui Yu, Zhou Wang, kvmarm, kvm, linux-kernel

From: Arnd Bergmann <arnd@arndb.de>

This is an updated set of patches to enable ls64_accdata with the
st64bv0 instruction in Linux.

I have included feeback from Siddharth and Sven here, in
particular:

 - fix SCTLR_USER_MASK and reset feature on fork/exec
 - add a testcase for the HWCAP
 - fix compilation with old assembler version
 - enable HCRX_EL2_EnAS0 when booting in EL2
 - restore ACCDATA_EL1 in cpu_resume
 - context-switch host ACCDATA when entering KVM guest

     Arnd

Arnd Bergmann (3):
  arm64: dynamically enable st64bv0 for SVA
  arm64: add HWCAP3_LS64_ACCDATA
  kselftest/arm64: Add HWCAP test for FEAT_LS64_ACCDATA

 Documentation/arch/arm64/elf_hwcaps.rst    |  7 +++
 arch/arm64/include/asm/cpufeature.h        |  6 +++
 arch/arm64/include/asm/el2_setup.h         |  3 ++
 arch/arm64/include/asm/exception.h         |  1 +
 arch/arm64/include/asm/mmu_context.h       | 17 +++++++
 arch/arm64/include/asm/processor.h         |  2 +-
 arch/arm64/include/uapi/asm/hwcap.h        |  1 +
 arch/arm64/kernel/cpufeature.c             |  1 +
 arch/arm64/kernel/cpuinfo.c                |  1 +
 arch/arm64/kernel/entry-common.c           | 11 ++++
 arch/arm64/kernel/process.c                | 25 +++++++++
 arch/arm64/kernel/suspend.c                | 17 +++++++
 arch/arm64/kernel/traps.c                  | 59 ++++++++++++++++++++++
 arch/arm64/kvm/hyp/include/hyp/sysreg-sr.h |  8 ++-
 arch/arm64/tools/sysreg                    |  5 ++
 tools/testing/selftests/arm64/abi/hwcap.c  | 50 ++++++++++++++++++
 16 files changed, 211 insertions(+), 3 deletions(-)

-- 
2.53.0
Cc: apais@microsoft.com
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Christian Borntraeger <borntraeger@linux.ibm.com>
Cc: Fuad Tabba <fuad.tabba@linux.dev>
Cc: hargar@linux.microsoft.com
Cc: Joey Gouly <joey.gouly@arm.com>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Navneet Singh <navneetsingh@microsoft.com>
Cc: Oliver Upton <oupton@kernel.org>
Cc: rlmenge@gmail.com
Cc: Siddharth Chintamaneni <sidchintamaneni@gmail.com>
Cc: Steffen Eiden <seiden@linux.ibm.com>
Cc: Suzuki K Poulose <suzuki.poulose@arm.com>
Cc: Sven Schnelle <sven@linux.ibm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Yicong Yang <yangyicong@hisilicon.com>
Cc: Zenghui Yu <yuzenghui@huawei.com>
Cc: Zhou Wang <wangzhou1@hisilicon.com>
Cc: kvmarm@lists.linux.dev
Cc: kvm@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-26 15:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-26 15:53 [PATCH v2 0/3] st64bv0 support in iommu-sva Arnd Bergmann
2026-11-26 15:53 ` [PATCH v2 1/3] arm64: dynamically enable st64bv0 for SVA Arnd Bergmann
2026-11-26 15:53 ` [PATCH v2 2/3] arm64: add HWCAP3_LS64_ACCDATA Arnd Bergmann
2026-11-26 15:53 ` [PATCH v2 3/3] kselftest/arm64: Add HWCAP test for FEAT_LS64_ACCDATA Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox