svn commit: r323138 - in head/sys/arm64: arm64 include

Marcin Wojtas mw at FreeBSD.org
Sun Sep 3 08:32:34 UTC 2017


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 <rk at 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


More information about the svn-src-all mailing list