From 6f9bfb0e06f9ddea4a1a6182b230a8d5e9e90323 Mon Sep 17 00:00:00 2001 From: Emanuele Rocca Date: Mon, 6 Jul 2026 14:17:37 +0200 Subject: [PATCH] man: document arm64 CPUFeatures Signed-off-by: Emanuele Rocca --- man/systemd.unit.xml | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index 347fc816d09..b9a346897e1 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -1988,11 +1988,10 @@ ConditionCPUFeature= - Verify that a given CPU feature is available via the CPUID - instruction. This condition only does something on i386 and x86-64 processors. On other - processors it is assumed that the CPU does not support the given feature. It checks the leaves - 1, 7, 0x80000001, and - 0x80000007. Valid values are: + On i386 and x86-64, verify that a given CPU feature is available via the + CPUID instruction. It checks the leaves 1, + 7, 0x80000001, and 0x80000007. Valid + values are: fpu, vme, de, @@ -2045,6 +2044,27 @@ abm, constant_tsc. + On arm64, valid values are the corresponding arm64 feature names, + such as + asimd, + paca, + pacg, + bti, + mte, + among others. For the full list, see the documentation on + ARM64 ELF hwcaps. + + To avoid ambiguities in mixed-architecture fleets, the value can be prefixed + with the architecture name using the form ARCH.FEATURE. If the + architecture prefix does not match the running system, the condition evaluates + to false. For example, one can specify arm64.bti on arm64 + systems to check if bti is supported. In this example, + ConditionCPUFeature=arm64.bti and + ConditionCPUFeature=bti are functionally equivalent. + See ConditionArchitecture= for valid architecture names. + + On architectures other than x86 and arm64, it is assumed that the CPU does not support the given feature. + -- 2.47.3