Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Dec 2017 20:01:04 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r326859 - head/sys/powerpc/powerpc
Message-ID:  <201712142001.vBEK14VZ052238@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhibbits
Date: Thu Dec 14 20:01:04 2017
New Revision: 326859
URL: https://svnweb.freebsd.org/changeset/base/326859

Log:
  Add identifier for POWER9 CPU to CPU list
  
  Without the identifier in the list booting FreeBSD results in printing the
  following (from a PowerKVM boot):
  
  cpu0: Unknown PowerPC CPU revision 0x1201, 2550.00 MHz
  
  For now, add the same feature list as POWER8.  As new capabilities are added to
  support POWER9 specific features, they will be added to this.
  
  PR:		224344
  Submitted by:	Breno Leitao <breno_DOT_leitao_AT_gmail_DOT_com>

Modified:
  head/sys/powerpc/powerpc/cpu.c

Modified: head/sys/powerpc/powerpc/cpu.c
==============================================================================
--- head/sys/powerpc/powerpc/cpu.c	Thu Dec 14 18:57:17 2017	(r326858)
+++ head/sys/powerpc/powerpc/cpu.c	Thu Dec 14 20:01:04 2017	(r326859)
@@ -163,6 +163,12 @@ static const struct cputab models[] = {
 	   PPC_FEATURE_HAS_VSX,
 	   PPC_FEATURE2_ARCH_2_07 | PPC_FEATURE2_HAS_HTM | PPC_FEATURE2_ISEL |
 	   PPC_FEATURE2_HAS_VCRYPTO, NULL },
+        { "IBM POWER9",		IBMPOWER9,	REVFMT_MAJMIN,
+	   PPC_FEATURE_64 | PPC_FEATURE_HAS_ALTIVEC | PPC_FEATURE_HAS_FPU |
+	   PPC_FEATURE_SMT | PPC_FEATURE_ARCH_2_05 | PPC_FEATURE_ARCH_2_06 |
+	   PPC_FEATURE_HAS_VSX,
+	   PPC_FEATURE2_ARCH_2_07 | PPC_FEATURE2_HAS_HTM | PPC_FEATURE2_ISEL |
+	   PPC_FEATURE2_HAS_VCRYPTO, NULL },
         { "Motorola PowerPC 7400",	MPC7400,	REVFMT_MAJMIN,
 	   PPC_FEATURE_HAS_ALTIVEC | PPC_FEATURE_HAS_FPU, 0, cpu_6xx_setup },
         { "Motorola PowerPC 7410",	MPC7410,	REVFMT_MAJMIN,



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