[PATCH v4 0/5] Support Armv8.9/v9.4 FEAT_HAFT

Catalin Marinas catalin.marinas at arm.com
Tue Nov 5 05:51:19 PST 2024


On Sat, 02 Nov 2024 18:42:30 +0800, Yicong Yang wrote:
> This series adds basic support for FEAT_HAFT introduced in Armv8.9/v9.4
> and enable ARCH_HAS_NONLEAF_PMD_YOUNG. The latter will be used in
> lru-gen aging. Tested with lru-gen in below steps:
> 1. Generate a 1GiB workingset by `stress-ng --vm 1`. Then hang the task to
>    stop accessing the memory. (AF bit won't be updated)
> 2. try to age the memory by /sys/kernel/debug/lru_gen
> 
> [...]

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

I added back the ID check as in v3 following Marc pointing out the
Ampere erratum. Who knows, we may get similar bugs for FEAT_HAFT in the
future, so better have it covered.

[1/5] arm64/sysreg: Update ID_AA64MMFR1_EL1 register
      https://git.kernel.org/arm64/c/aa47dcda2708
[2/5] arm64: setup: name 'tcr2' register
      https://git.kernel.org/arm64/c/926b66e2ebc8
[3/5] arm64: Add support for FEAT_HAFT
      https://git.kernel.org/arm64/c/efe72541355d
[4/5] arm64: Enable ARCH_HAS_NONLEAF_PMD_YOUNG
      https://git.kernel.org/arm64/c/62df5870ebf7
[5/5] arm64: pgtable: Warn unexpected pmdp_test_and_clear_young()
      https://git.kernel.org/arm64/c/b349a5a2b6e2

-- 
Catalin




More information about the linux-arm-kernel mailing list