From 498b466c442549c0bd261ebd149dc7b610fbf2f1 Mon Sep 17 00:00:00 2001 From: Bill Hoffa Date: Fri, 10 Aug 2018 12:39:34 -0500 Subject: Base Core/Kernel Changes to Support the Axone Processor Chip - Add the new cpu type, update the pvr checks and other miscellaneous changes to support a new Axone proc chip type Change-Id: Ie2541bf826bdff65f6f11b0f16839855d69eb4d6 RTC: 173001 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64260 Reviewed-by: Matt Derksen Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell --- src/lib/syscall_misc.C | 1 + src/lib/syscall_mmio.C | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/syscall_misc.C b/src/lib/syscall_misc.C index e15007f3b..ad6b204a6 100644 --- a/src/lib/syscall_misc.C +++ b/src/lib/syscall_misc.C @@ -71,6 +71,7 @@ size_t cpu_thread_count() break; case CORE_POWER9_NIMBUS: case CORE_POWER9_CUMULUS: + case CORE_POWER9_AXONE: threads = 4; break; diff --git a/src/lib/syscall_mmio.C b/src/lib/syscall_mmio.C index f7bce955b..8cc8ac65f 100644 --- a/src/lib/syscall_mmio.C +++ b/src/lib/syscall_mmio.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2010,2016 */ +/* Contributors Listed Below - COPYRIGHT 2010,2018 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -75,6 +75,7 @@ static uint64_t mmio_scratch_base() return 0x40; case CORE_POWER9_NIMBUS: case CORE_POWER9_CUMULUS: + case CORE_POWER9_AXONE: case CORE_UNKNOWN: default: // See misc.C - updateScratchReg() for more info on this -- cgit v1.2.1