Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Sep 2017 08:32:33 +0000 (UTC)
From:      Marcin Wojtas <mw@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r323138 - in head/sys/arm64: arm64 include
Message-ID:  <201709030832.v838WXth080470@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709030832.v838WXth080470>