From 33b8a032509d4d70d3c16e2493bd694841d0d99b Mon Sep 17 00:00:00 2001 From: Thomas Clarke Date: Wed, 6 Jan 2021 11:03:53 +0000 Subject: [PATCH] Add `CONFIG_CPU_MICROCODE_CBFS_NONE=y` to KGPE-D16 Coreboot configs. This disables microcode being included and loaded by Coreboot because of a current issue in which newer kernels panic when doing so. Added note to KGPE-D16 configs about the current microcode bug, why microcode is not included and encouraging AMD Opteron 6300 series users to make sure their operating system loads microcode. --- .../kgpe-d16_server-whiptail/kgpe-d16_server-whiptail.config | 4 ++++ boards/kgpe-d16_server/kgpe-d16_server.config | 4 ++++ .../kgpe-d16_workstation-usb_keyboard.config | 4 ++++ boards/kgpe-d16_workstation/kgpe-d16_workstation.config | 4 ++++ config/coreboot-kgpe-d16_server-whiptail.config | 1 + config/coreboot-kgpe-d16_server.config | 1 + config/coreboot-kgpe-d16_workstation-usb_keyboard.config | 1 + config/coreboot-kgpe-d16_workstation.config | 1 + 8 files changed, 20 insertions(+) diff --git a/boards/kgpe-d16_server-whiptail/kgpe-d16_server-whiptail.config b/boards/kgpe-d16_server-whiptail/kgpe-d16_server-whiptail.config index 53067de84..5c28ea7f7 100644 --- a/boards/kgpe-d16_server-whiptail/kgpe-d16_server-whiptail.config +++ b/boards/kgpe-d16_server-whiptail/kgpe-d16_server-whiptail.config @@ -12,6 +12,10 @@ # - Please contribute documentation on heads-wiki # - Please support https://github.com/osresearch/heads/issues/719 # - Disk Unlock Key released by TPM since not deactivated +# - Currently, no microcode is included with coreboot. This is due to to a bug +# in which newer Linux releases panics when the newest microcode is loaded by +# coreboot. AMD Opteron 6300 series users are STRONGLY encouraged to make +# sure their operating system loads microcode updates. export CONFIG_COREBOOT=y export CONFIG_COREBOOT_VERSION=4.11 diff --git a/boards/kgpe-d16_server/kgpe-d16_server.config b/boards/kgpe-d16_server/kgpe-d16_server.config index 0521db3bd..a5574f428 100644 --- a/boards/kgpe-d16_server/kgpe-d16_server.config +++ b/boards/kgpe-d16_server/kgpe-d16_server.config @@ -7,6 +7,10 @@ # - ASpeed text output given on VGA # - All console output rerirected to sttyS0 # - TPM support in romstage (not bootblock) with TPM SLB9635 TT 1.2 by Infineon +# - Currently, no microcode is included with coreboot. This is due to to a bug +# in which newer Linux releases panics when the newest microcode is loaded by +# coreboot. AMD Opteron 6300 series users are STRONGLY encouraged to make +# sure their operating system loads microcode updates. # # - To connect to BMC: https://github.com/osresearch/heads/issues/134#issuecomment-368922440 # - Please contribute documentation on heads-wiki diff --git a/boards/kgpe-d16_workstation-usb_keyboard/kgpe-d16_workstation-usb_keyboard.config b/boards/kgpe-d16_workstation-usb_keyboard/kgpe-d16_workstation-usb_keyboard.config index 1cfdfb5ab..284594b64 100644 --- a/boards/kgpe-d16_workstation-usb_keyboard/kgpe-d16_workstation-usb_keyboard.config +++ b/boards/kgpe-d16_workstation-usb_keyboard/kgpe-d16_workstation-usb_keyboard.config @@ -6,6 +6,10 @@ # - TPM support in romstage (not bootblock) with TPM SLB9635 TT 1.2 by Infineon # - USB ealy support activated for USB keyboard # - Disk Unlock Key released by TPM since not deactivated +# - Currently, no microcode is included with coreboot. This is due to to a bug +# in which newer Linux releases panics when the newest microcode is loaded by +# coreboot. AMD Opteron 6300 series users are STRONGLY encouraged to make +# sure their operating system loads microcode updates. export CONFIG_COREBOOT=y export CONFIG_COREBOOT_VERSION=4.11 diff --git a/boards/kgpe-d16_workstation/kgpe-d16_workstation.config b/boards/kgpe-d16_workstation/kgpe-d16_workstation.config index 181186e76..696bcbe2d 100644 --- a/boards/kgpe-d16_workstation/kgpe-d16_workstation.config +++ b/boards/kgpe-d16_workstation/kgpe-d16_workstation.config @@ -9,6 +9,10 @@ # - Please contribute documentation on heads-wiki # - Please support https://github.com/osresearch/heads/issues/719 # - Disk Unlock Key released by TPM since not deactivated +# - Currently, no microcode is included with coreboot. This is due to to a bug +# in which newer Linux releases panics when the newest microcode is loaded by +# coreboot. AMD Opteron 6300 series users are STRONGLY encouraged to make +# sure their operating system loads microcode updates. export CONFIG_COREBOOT=y diff --git a/config/coreboot-kgpe-d16_server-whiptail.config b/config/coreboot-kgpe-d16_server-whiptail.config index c22a8cf47..f3bfa2ae2 100644 --- a/config/coreboot-kgpe-d16_server-whiptail.config +++ b/config/coreboot-kgpe-d16_server-whiptail.config @@ -15,3 +15,4 @@ CONFIG_PAYLOAD_LINUX=y CONFIG_PAYLOAD_FILE="../../build/kgpe-d16_server-whiptail/bzImage" CONFIG_LINUX_COMMAND_LINE="nohz=on console=tty0 earlyprintk=tty0" CONFIG_LINUX_INITRD="../../build/kgpe-d16_server-whiptail/initrd.cpio.xz" +CONFIG_CPU_MICROCODE_CBFS_NONE=y diff --git a/config/coreboot-kgpe-d16_server.config b/config/coreboot-kgpe-d16_server.config index 24283ee26..1a18ded63 100644 --- a/config/coreboot-kgpe-d16_server.config +++ b/config/coreboot-kgpe-d16_server.config @@ -15,3 +15,4 @@ CONFIG_PAYLOAD_LINUX=y CONFIG_LINUX_COMMAND_LINE="nohz=on console=ttyS1,115200n8 earlyprintk=ttyS1,115200" CONFIG_PAYLOAD_FILE="../../build/kgpe-d16_server/bzImage" CONFIG_LINUX_INITRD="../../build/kgpe-d16_server/initrd.cpio.xz" +CONFIG_CPU_MICROCODE_CBFS_NONE=y diff --git a/config/coreboot-kgpe-d16_workstation-usb_keyboard.config b/config/coreboot-kgpe-d16_workstation-usb_keyboard.config index fd62c27fd..00ccf3842 100644 --- a/config/coreboot-kgpe-d16_workstation-usb_keyboard.config +++ b/config/coreboot-kgpe-d16_workstation-usb_keyboard.config @@ -15,3 +15,4 @@ CONFIG_PAYLOAD_LINUX=y CONFIG_PAYLOAD_FILE="../../build/kgpe-d16_workstation-usb_keyboard/bzImage" CONFIG_LINUX_COMMAND_LINE="nohz=on console=tty0 earlyprintk=tty0" CONFIG_LINUX_INITRD="../../build/kgpe-d16_workstation-usb_keyboard/initrd.cpio.xz" +CONFIG_CPU_MICROCODE_CBFS_NONE=y diff --git a/config/coreboot-kgpe-d16_workstation.config b/config/coreboot-kgpe-d16_workstation.config index 5fec274f4..0fb623273 100644 --- a/config/coreboot-kgpe-d16_workstation.config +++ b/config/coreboot-kgpe-d16_workstation.config @@ -15,3 +15,4 @@ CONFIG_PAYLOAD_LINUX=y CONFIG_PAYLOAD_FILE="../../build/kgpe-d16_workstation/bzImage" CONFIG_LINUX_COMMAND_LINE="nohz=on console=tty0 earlyprintk=tty0" CONFIG_LINUX_INITRD="../../build/kgpe-d16_workstation/initrd.cpio.xz" +CONFIG_CPU_MICROCODE_CBFS_NONE=y