The branch main has been updated by andrew:

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

commit 2531f067ea0e9c77b081445800de8e9584d7d4ab
Author:     Andrew Turner <and...@freebsd.org>
AuthorDate: 2021-07-27 19:28:33 +0000
Commit:     Andrew Turner <and...@freebsd.org>
CommitDate: 2021-07-27 19:33:21 +0000

    Teach the arm64 kernel to identify the Arm AEM
    
    The Arm Architecture Envelope Model is a simulator that models the
    architecture rather than any specific implementation. Add its part ID
    macro and add it to the list of Arm CPUs we can decode.
    
    Sponsored by:   The FreeBSD Foundation
---
 sys/arm64/arm64/identcpu.c | 1 +
 sys/arm64/include/cpu.h    | 1 +
 2 files changed, 2 insertions(+)

diff --git a/sys/arm64/arm64/identcpu.c b/sys/arm64/arm64/identcpu.c
index 233b036f4499..794b097195ef 100644
--- a/sys/arm64/arm64/identcpu.c
+++ b/sys/arm64/arm64/identcpu.c
@@ -190,6 +190,7 @@ struct cpu_implementers {
  */
 /* ARM Ltd. */
 static const struct cpu_parts cpu_parts_arm[] = {
+       { CPU_PART_AEM_V8, "AEMv8" },
        { CPU_PART_FOUNDATION, "Foundation-Model" },
        { CPU_PART_CORTEX_A35, "Cortex-A35" },
        { CPU_PART_CORTEX_A53, "Cortex-A53" },
diff --git a/sys/arm64/include/cpu.h b/sys/arm64/include/cpu.h
index 529f156f2e96..d58cf6f113c6 100644
--- a/sys/arm64/include/cpu.h
+++ b/sys/arm64/include/cpu.h
@@ -93,6 +93,7 @@
 #define        CPU_PART_NEOVERSE_N1    0xD0C
 #define        CPU_PART_CORTEX_A77     0xD0D
 #define        CPU_PART_CORTEX_A76AE   0xD0E
+#define        CPU_PART_AEM_V8         0xD0F
 
 /* Cavium Part numbers */
 #define        CPU_PART_THUNDERX       0x0A1
_______________________________________________
dev-commits-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "dev-commits-src-all-unsubscr...@freebsd.org"

Reply via email to