Attention is currently required from: Arthur Heymans.
Hello Marc Jones, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/68572
to look at the new patch set (#3).
Change subject: include/cpu/msr.h: transform into an union
......................................................................
include/cpu/msr.h: transform into an union
This makes it easier to get the content of an msr into a full 64bit
variable.
Change-Id: I1b026cd3807fd68d805051a74b3d31fcde1c5626
Signed-off-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
M src/cpu/x86/mtrr/earlymtrr.c
M src/include/cpu/x86/msr.h
M src/include/cpu/x86/msr_access.h
M src/soc/intel/common/block/sgx/sgx.c
4 files changed, 39 insertions(+), 36 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/72/68572/3
--
To view, visit https://review.coreboot.org/c/coreboot/+/68572
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I1b026cd3807fd68d805051a74b3d31fcde1c5626
Gerrit-Change-Number: 68572
Gerrit-PatchSet: 3
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Marc Jones <marc(a)marcjonesconsulting.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-MessageType: newpatchset
Fred Reitberger has submitted this change. ( https://review.coreboot.org/c/coreboot/+/68928 )
Change subject: configs: Build test STB features on google skyrim
......................................................................
configs: Build test STB features on google skyrim
- Update the google_skyrim.with_binaries to test printing the STB
entries.
- Add a new saved config to test building without video, building
using an x86 verstage, and STB_SPILL_TO_DRAM
Signed-off-by: Martin Roth <gaumless(a)gmail.com>
Change-Id: Idddcf2441b91b79575e5dfed1cc56d207234205b
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68928
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Fred Reitberger <reitbergerfred(a)gmail.com>
Reviewed-by: Jon Murphy <jpmurphy(a)google.com>
---
A configs/config.google_skyrim.no_video
M configs/config.google_skyrim.with_binaries
2 files changed, 46 insertions(+), 0 deletions(-)
Approvals:
build bot (Jenkins): Verified
Jon Murphy: Looks good to me, approved
Fred Reitberger: Looks good to me, but someone else must approve
diff --git a/configs/config.google_skyrim.no_video b/configs/config.google_skyrim.no_video
new file mode 100644
index 0000000..f36a3ff
--- /dev/null
+++ b/configs/config.google_skyrim.no_video
@@ -0,0 +1,25 @@
+CONFIG_USE_AMD_BLOBS=y
+CONFIG_VENDOR_GOOGLE=y
+# CONFIG_CONSOLE_SERIAL is not set
+CONFIG_AMD_FWM_POSITION_INDEX=4
+CONFIG_VBOOT=y
+CONFIG_VBOOT_SLOTS_RW_A=y
+# CONFIG_DRIVERS_INTEL_WIFI is not set
+CONFIG_BOARD_GOOGLE_SKYRIM=y
+CONFIG_VBOOT_FWID_MODEL="Google_$(CONFIG_MAINBOARD_PART_NUMBER)"
+CONFIG_POWER_STATE_PREVIOUS_AFTER_FAILURE=y
+CONFIG_ASYNC_FILE_LOADING=y
+# CONFIG_ACPI_BERT is not set
+# CONFIG_ACPI_SSDT_PSD_INDEPENDENT is not set
+CONFIG_ENABLE_STB_SPILL_TO_DRAM=y
+CONFIG_AMD_STB_SIZE_IN_MB=3
+CONFIG_NO_GFX_INIT=y
+CONFIG_VPD=y
+CONFIG_CBFS_MCACHE_RW_PERCENTAGE=50
+CONFIG_GBB_FLAG_DEV_SCREEN_SHORT_DELAY=y
+CONFIG_GBB_FLAG_FORCE_DEV_SWITCH_ON=y
+CONFIG_VBOOT_KEYBLOCK_VERSION=1
+CONFIG_VBOOT_KEYBLOCK_PREAMBLE_FLAGS=0x0
+CONFIG_SECURITY_CLEAR_DRAM_ON_REGULAR_BOOT=y
+CONFIG_POST_IO_PORT=0x80
+# CONFIG VBOOT_STARTS_BEFORE_BOOTBLOCK is not set
diff --git a/configs/config.google_skyrim.with_binaries b/configs/config.google_skyrim.with_binaries
index d0227af..530ace4 100644
--- a/configs/config.google_skyrim.with_binaries
+++ b/configs/config.google_skyrim.with_binaries
@@ -27,3 +27,5 @@
CONFIG_DISPLAY_FSP_HEADER=y
CONFIG_FATAL_ASSERTS=y
CONFIG_DEBUG_SMI=y
+CONFIG_WRITE_STB_BUFFER_TO_CONSOLE=y
+CONFIG_ADD_POSTCODES_TO_STB=y
--
To view, visit https://review.coreboot.org/c/coreboot/+/68928
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Idddcf2441b91b79575e5dfed1cc56d207234205b
Gerrit-Change-Number: 68928
Gerrit-PatchSet: 2
Gerrit-Owner: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Reviewer: Fred Reitberger <fred.reitberger(a)amd.corp-partner.google.com>
Gerrit-Reviewer: Fred Reitberger <reitbergerfred(a)gmail.com>
Gerrit-Reviewer: Jon Murphy <jpmurphy(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: merged
Attention is currently required from: Arthur Heymans, Martin Roth, Karthik Ramasubramanian, Felix Held.
Elyes Haouas has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/69439 )
Change subject: util/amdfwtool: Remove duplicate ALIGN and ARRAY_SIZE definition
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/69439
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iabff06fa47a1badb0ce9815261117916664f3e03
Gerrit-Change-Number: 69439
Gerrit-PatchSet: 1
Gerrit-Owner: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Elyes Haouas <ehaouas(a)noos.fr>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Martin Roth <martin.roth(a)amd.corp-partner.google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Attention: Martin Roth <martin.roth(a)amd.corp-partner.google.com>
Gerrit-Attention: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Comment-Date: Thu, 10 Nov 2022 12:47:46 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Raul Rangel.
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/69435 )
Change subject: cpu/x86: Set thread local storage in C code
......................................................................
Patch Set 2:
(1 comment)
File src/cpu/x86/mp_init.c:
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-163197):
https://review.coreboot.org/c/coreboot/+/69435/comment/b48458f9_3f256b7b
PS2, Line 179: static void asmlinkage ap_init(unsigned int index)
storage class 'asmlinkage' should be located before type 'void'
--
To view, visit https://review.coreboot.org/c/coreboot/+/69435
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I19d3285daf97798a2d28408b5601ad991e29e718
Gerrit-Change-Number: 69435
Gerrit-PatchSet: 2
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Raul Rangel <rrangel(a)chromium.org>
Gerrit-CC: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Comment-Date: Thu, 10 Nov 2022 12:42:33 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Raul Rangel.
Hello Raul Rangel,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/69435
to look at the new patch set (#2).
Change subject: cpu/x86: Set thread local storage in C code
......................................................................
cpu/x86: Set thread local storage in C code
Doing this in C code is way easier to understand. Also the thread local
storage is now in .bss instead of the AP stack. This makes it more
robust against stack overflows, as APs stacks overflow in each other.
TESTED: work on qemu.
Change-Id: I19d3285daf97798a2d28408b5601ad991e29e718
Signed-off-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
M src/arch/x86/c_start.S
M src/arch/x86/cpu.c
M src/arch/x86/include/arch/cpu.h
D src/cpu/x86/cpu_info.S.inc
M src/cpu/x86/mp_init.c
M src/cpu/x86/sipi_vector.S
6 files changed, 71 insertions(+), 109 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/35/69435/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/69435
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I19d3285daf97798a2d28408b5601ad991e29e718
Gerrit-Change-Number: 69435
Gerrit-PatchSet: 2
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Raul Rangel <rrangel(a)chromium.org>
Gerrit-CC: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Raul Rangel <rrangel(a)chromium.org>
Gerrit-MessageType: newpatchset
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/69435 )
Change subject: cpu/x86: Set thread local storage in C code
......................................................................
Patch Set 1:
(1 comment)
File src/cpu/x86/mp_init.c:
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-163196):
https://review.coreboot.org/c/coreboot/+/69435/comment/517f05f1_a5413a29
PS1, Line 179: static void asmlinkage ap_init(unsigned int index)
storage class 'asmlinkage' should be located before type 'void'
--
To view, visit https://review.coreboot.org/c/coreboot/+/69435
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I19d3285daf97798a2d28408b5601ad991e29e718
Gerrit-Change-Number: 69435
Gerrit-PatchSet: 1
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-CC: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 10 Nov 2022 12:39:43 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment