Author: mw
Date: Sun Sep  3 08:32:33 2017
New Revision: 323138
URL: https://svnweb.freebsd.org/changeset/base/323138
Log:
  Add ARM Cortex A72 to CPU list
  
  This change is required to properly detect CPUs
  on Marvell Armada 80x0/70x0 SoC family.
  
  Submitted by: Rafal Kozik <r...@semihalf.com>
  Reviewed by: andrew, cognet (mentor)
  Approved by: cognet (mentor)
  Sponsored by: Semihalf
  Differential Revision: https://reviews.freebsd.org/D12184

Modified:
  head/sys/arm64/arm64/identcpu.c
  head/sys/arm64/include/cpu.h

Modified: head/sys/arm64/arm64/identcpu.c
==============================================================================
--- head/sys/arm64/arm64/identcpu.c     Sun Sep  3 06:43:08 2017        
(r323137)
+++ head/sys/arm64/arm64/identcpu.c     Sun Sep  3 08:32:33 2017        
(r323138)
@@ -122,6 +122,7 @@ static const struct cpu_parts cpu_parts_arm[] = {
        { CPU_PART_FOUNDATION, "Foundation-Model" },
        { CPU_PART_CORTEX_A53, "Cortex-A53" },
        { CPU_PART_CORTEX_A57, "Cortex-A57" },
+       { CPU_PART_CORTEX_A72, "Cortex-A72" },
        CPU_PART_NONE,
 };
 /* Cavium */

Modified: head/sys/arm64/include/cpu.h
==============================================================================
--- head/sys/arm64/include/cpu.h        Sun Sep  3 06:43:08 2017        
(r323137)
+++ head/sys/arm64/include/cpu.h        Sun Sep  3 08:32:33 2017        
(r323138)
@@ -82,6 +82,7 @@
 #define        CPU_PART_FOUNDATION     0xD00
 #define        CPU_PART_CORTEX_A53     0xD03
 #define        CPU_PART_CORTEX_A57     0xD07
+#define        CPU_PART_CORTEX_A72     0xD08
 
 #define        CPU_REV_THUNDER_1_0     0x00
 #define        CPU_REV_THUNDER_1_1     0x01
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to