ARM: 9269/1: vfp: Add hwcap for FEAT_DotProd
authorAmit Daniel Kachhap <amit.kachhap@arm.com>
Thu, 17 Nov 2022 05:32:56 +0000 (06:32 +0100)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Mon, 28 Nov 2022 11:57:32 +0000 (11:57 +0000)
commit62ea0d873af3ef0a7e8387b67241ad43e3d377e1
tree3cd591893eb1559452c8d2a72619434236b1268d
parentc00a19c8b143db31d660ee965e6a6f782ef090ff
ARM: 9269/1: vfp: Add hwcap for FEAT_DotProd

Advanced Dot product is a feature present in AArch32 state for Armv8 and
is represented by ISAR6 identification register.

This feature denotes the presence of UDOT and SDOT instructions and hence adding a hwcap will enable the userspace to check it before trying to use those instructions.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Amit Daniel Kachhap <amit.kachhap@arm.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
arch/arm/include/uapi/asm/hwcap.h
arch/arm/kernel/setup.c
arch/arm/vfp/vfpmodule.c