git: b49a75c3932a - stable/13 - Add missing arm64 ID registers

Andrew Turner andrew at FreeBSD.org
Mon Aug 30 12:43:17 UTC 2021


The branch stable/13 has been updated by andrew:

URL: https://cgit.FreeBSD.org/src/commit/?id=b49a75c3932a8f6d5b77ae8619d4587a82541623

commit b49a75c3932a8f6d5b77ae8619d4587a82541623
Author:     Andrew Turner <andrew at FreeBSD.org>
AuthorDate: 2021-07-28 19:00:36 +0000
Commit:     Andrew Turner <andrew at FreeBSD.org>
CommitDate: 2021-08-30 11:22:22 +0000

    Add missing arm64 ID registers
    
    These may contain values we export to userpsace.
    
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit 2d6d5f88d16fc43b6e7ce2b71136ec6b04d10e6e)
---
 sys/arm64/arm64/identcpu.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys/arm64/arm64/identcpu.c b/sys/arm64/arm64/identcpu.c
index 0220e47e8d7e..40f56017b9fd 100644
--- a/sys/arm64/arm64/identcpu.c
+++ b/sys/arm64/arm64/identcpu.c
@@ -1186,8 +1186,11 @@ static struct mrs_user_reg user_regs[] = {
 	USER_REG(ID_AA64ISAR1_EL1, id_aa64isar1),
 
 	USER_REG(ID_AA64MMFR0_EL1, id_aa64mmfr0),
+	USER_REG(ID_AA64MMFR1_EL1, id_aa64mmfr1),
+	USER_REG(ID_AA64MMFR2_EL1, id_aa64mmfr2),
 
 	USER_REG(ID_AA64PFR0_EL1, id_aa64pfr0),
+	USER_REG(ID_AA64PFR1_EL1, id_aa64pfr1),
 
 #ifdef COMPAT_FREEBSD32
 	USER_REG(ID_ISAR5_EL1, id_isar5),


More information about the dev-commits-src-branches mailing list