aboutsummaryrefslogtreecommitdiff
path: root/modules/devices/arm/processor.c
diff options
context:
space:
mode:
authorBurt P <pburt0@gmail.com>2017-05-24 09:24:17 -0500
committerLeandro A. F. Pereira <leandro@hardinfo.org>2017-06-02 12:50:14 -0700
commitb7be9c2136b988cccf76054c35f754dc9552f810 (patch)
tree9e3910acea835b331d4a23241290f7bce964039a /modules/devices/arm/processor.c
parent7bfca6eb05ad726768daa78188067c31fea044eb (diff)
arm: a few more cpu flags
A few more flags for ARM. No new defitions. Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'modules/devices/arm/processor.c')
-rw-r--r--modules/devices/arm/processor.c17
1 files changed, 14 insertions, 3 deletions
diff --git a/modules/devices/arm/processor.c b/modules/devices/arm/processor.c
index 890de28a..7caa2ba7 100644
--- a/modules/devices/arm/processor.c
+++ b/modules/devices/arm/processor.c
@@ -22,11 +22,12 @@
/* sources:
* https://unix.stackexchange.com/a/43563
* git:linux/arch/arm/kernel/setup.c
+ * git:linux/arch/arm64/kernel/cpuinfo.c
*/
static struct {
char *name, *meaning;
} flag_meaning[] = {
- /* hw_cap */
+ /* arm/hw_cap */
{ "swp", "SWP instruction (atomic read-modify-write)" },
{ "half", "Half-word loads and stores" },
{ "thumb", "Thumb (16-bit instruction set)" },
@@ -49,14 +50,24 @@ static struct {
{ "idiva", "SDIV and UDIV hardware division in ARM mode" },
{ "idivt", "SDIV and UDIV hardware division in Thumb mode" },
{ "lpae", "40-bit Large Physical Address Extension" },
- /* hw_cap2 */
+ /* arm/hw_cap2 */
{ "pmull", "64x64->128-bit F2m multiplication (arch>8)" },
{ "aes", "Crypto:AES (arch>8)" },
{ "sha1", "Crypto:SHA1 (arch>8)" },
{ "sha2", "Crypto:SHA2 (arch>8)" },
{ "crc32", "CRC32 checksum instructions (arch>8)" },
- /* ?? */
+ /* arm64/hw_cap */
+ { "fp", "" },
{ "asimd", "Advanced SIMD/NEON on AArch64 (arch>8)" },
+ { "atomics", "" },
+ { "fphp", "" },
+ { "asimdhp", "" },
+ { "cpuid", "" },
+ { "asimdrdm", "" },
+ { "jscvt", "" },
+ { "fcma", "" },
+ { "lrcpc", "" },
+
{ NULL, NULL},
};