Created attachment 188836 [details] Patch with the fix 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.
Committed as r326859. Thanks!
A commit references this bug: Author: jhibbits Date: Thu Dec 14 20:01:04 UTC 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> Changes: head/sys/powerpc/powerpc/cpu.c
A commit references this bug: Author: eadler Date: Mon Mar 19 06:49:49 UTC 2018 New revision: 331184 URL: https://svnweb.freebsd.org/changeset/base/331184 Log: MFC r326859: 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 Changes: _U stable/11/ stable/11/sys/powerpc/powerpc/cpu.c
A commit references this bug: Author: ian Date: Sat Mar 24 18:06:35 UTC 2018 New revision: 331492 URL: https://svnweb.freebsd.org/changeset/base/331492 Log: To fix the powerpc build, back out r331184, which was this mfc: MFC r326859: 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 Changes: _U stable/11/ stable/11/sys/powerpc/powerpc/cpu.c