FreeBSD Bugzilla – Attachment 188836 Details for
Bug 224344
[PATCH] powerpc64: Add POWER9 revision
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch with the fix
0001-powerpc64-Add-POWER9-as-a-valid-CPU-model.patch (text/plain), 1.52 KB, created by
Breno Leitao
on 2017-12-14 17:50:06 UTC
(
hide
)
Description:
Patch with the fix
Filename:
MIME Type:
Creator:
Breno Leitao
Created:
2017-12-14 17:50:06 UTC
Size:
1.52 KB
patch
obsolete
>From 8c83db090984ca03f505c3671ad8bb54d838d31b Mon Sep 17 00:00:00 2001 >From: Breno Leitao <breno.leitao@gmail.com> >Date: Thu, 14 Dec 2017 18:29:01 +0100 >Subject: [PATCH] powerpc64: Add POWER9 as a valid CPU model > >I currently booted FreeBSD on a POWER9 machine (on top of KVM), and I >got the following message: > >cpu0: Unknown PowerPC CPU revision 0x1201, 2550.00 MHz > >This is because of POWER9 is not listed as a valid CPU model on FreeBSD >code. This patch simply adds it with the same feature set as POWER8 for >now, so, new features could be added as they are implemented. >--- > sys/powerpc/powerpc/cpu.c | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/sys/powerpc/powerpc/cpu.c b/sys/powerpc/powerpc/cpu.c >index 81a2716a0f1..aeff983ac1b 100644 >--- a/sys/powerpc/powerpc/cpu.c >+++ b/sys/powerpc/powerpc/cpu.c >@@ -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, >-- >2.13.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 224344
: 188836