Skip to contentSkip to conversation

arm64: docs: cpu-feature-registers: Document ID_AA64PFR1_EL1

PATCH Applied Mark Brown 3 participants 4 messages Oct 23, 2019 – Oct 25, 2019 Documentation

lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 arm64: docs: cpu-feature-registers: Document ID_AA64PFR1_EL1

From: Dave Martin <[email protected]>

Commit d71be2b6c0e1 ("arm64: cpufeature: Detect SSBS and advertise to userspace") exposes ID_AA64PFR1_EL1 to userspace, but didn't update the documentation to match.

Add it.

---

This was posted by Dave as part of the BTI series as it's a dependency for that but it's a standalone fix so reposting it separately so it doesn't get tied up with the review of the wider series - AIUI there are be some other versions of this in flight but whatever gets merged it seems useful for other work so it'd be good to do so.

 Documentation/arm64/cpu-feature-registers.rst | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)
Documentation/arm64/cpu-feature-registers.rst +11 -4
index ffcf4e2c71ef..d6d1efe07d49 100644
@@ -168,8 +168,15 @@ infrastructure:
      +------------------------------+---------+---------+
 
 
-  3) MIDR_EL1 - Main ID Register
+  3) ID_AA64PFR1_EL1 - Processor Feature Register 1
+     +------------------------------+---------+---------+
+     | Name                         |  bits   | visible |
+     +------------------------------+---------+---------+
+     | SSBS                         | [7-4]   |    y    |
+     +------------------------------+---------+---------+
+
 
+  4) MIDR_EL1 - Main ID Register
      +------------------------------+---------+---------+
      | Name                         |  bits   | visible |
      +------------------------------+---------+---------+
@@ -188,7 +195,7 @@ infrastructure:
    as available on the CPU where it is fetched and is not a system
    wide safe value.
 
-  4) ID_AA64ISAR1_EL1 - Instruction set attribute register 1
+  5) ID_AA64ISAR1_EL1 - Instruction set attribute register 1
 
      +------------------------------+---------+---------+
      | Name                         |  bits   | visible |
@@ -214,7 +221,7 @@ infrastructure:
      | DPB                          | [3-0]   |    y    |
      +------------------------------+---------+---------+
 
-  5) ID_AA64MMFR2_EL1 - Memory model feature register 2
+  6) ID_AA64MMFR2_EL1 - Memory model feature register 2
 
      +------------------------------+---------+---------+
      | Name                         |  bits   | visible |
@@ -222,7 +229,7 @@ infrastructure:
      | AT                           | [35-32] |    y    |
      +------------------------------+---------+---------+
 
-  6) ID_AA64ZFR0_EL1 - SVE feature ID register 0
+  7) ID_AA64ZFR0_EL1 - SVE feature ID register 0
 
      +------------------------------+---------+---------+
      | Name                         |  bits   | visible |
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines · Mark Brown

From: Dave Martin <[email protected]>

Commit d71be2b6c0e1 ("arm64: cpufeature: Detect SSBS and advertise to userspace") exposes ID_AA64PFR1_EL1 to userspace, but didn't update the documentation to match.

Add it.

Quoted 7 lines

---

This was posted by Dave as part of the BTI series as it's a dependency for that but it's a standalone fix so reposting it separately so it doesn't get tied up with the review of the wider series - AIUI there are be some other versions of this in flight but whatever gets merged it seems useful for other work so it'd be good to do so.

Do you know what the other versions of this are? I couldn't figure it out from Dave's original posting. Either way:

Will

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

author
#2 lore raw
Quoted 8 lines · Will Deacon
Quoted 5 lines

This was posted by Dave as part of the BTI series as it's a dependency for that but it's a standalone fix so reposting it separately so it doesn't get tied up with the review of the wider series - AIUI there are be some other versions of this in flight but whatever gets merged it seems useful for other work so it'd be good to do so.

Do you know what the other versions of this are? I couldn't figure it out from Dave's original posting. Either way:

No, I didn't manage to figure it out either.

Quoted 1 line

Thanks.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#3 lore raw
In reply to Mark Brown
Quoted 10 lines · Mark Brown

From: Dave Martin <[email protected]>

Commit d71be2b6c0e1 ("arm64: cpufeature: Detect SSBS and advertise to userspace") exposes ID_AA64PFR1_EL1 to userspace, but didn't update the documentation to match.

Add it.

Queued for 5.5. Thanks.

Signature · 6 lines
Catalin

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel