Re: [PATCH 0/2] arm64: Add some missing userspace ABI documentation

From: Joey Gouly
Date: Thu Sep 14 2023 - 06:17:14 EST


On Thu, Sep 14, 2023 at 11:09:28AM +0100, Mark Brown wrote:
> I noticed that we've added HWCAP2_HBC without updating the
> documentation, and in the process also noticed that some user visible
> fields in ID_AA64ISAR2_EL1 are not documented. Fix these issues.
>
> Given the lack of any automatic generation or auditing there's almost
> certainly more fields that are broken in cpu-feature-registers.rst, I
> didn't check any other registers.
>
> Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
> ---
> Mark Brown (2):
> arm64/hbc: Document HWCAP2_HBC
> arm64: Document missing userspace visible fields in ID_AA64ISAR2_EL1
>
> Documentation/arch/arm64/cpu-feature-registers.rst | 10 ++++++++++
> Documentation/arch/arm64/elf_hwcaps.rst | 3 +++
> 2 files changed, 13 insertions(+)
> ---
> base-commit: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d
> change-id: 20230913-arm64-feat-hbc-doc-08e3d1741fdb
>
> Best regards,
> --
> Mark Brown <broonie@xxxxxxxxxx>
>

I sent out a fix for this yesterday:
https://lore.kernel.org/linux-arm-kernel/6162249d-dc0f-8755-9439-3ada8a88f424@xxxxxxx/T/#t

Kristina also noticed cpu-feature-registers.rst hadn't been updated either, so I was just about to
send out a v2 that matches your patches. I won't do that since you've just done it!

Reviewed-by: Joey Gouly <joey.gouly@xxxxxxx>

Thanks,
Joey