Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/83119?usp=email
to look at the new patch set (#2).
The following approvals got outdated and were removed:
Verified+1 by build bot (Jenkins)
Change subject: mb: source site-local mainboard Kconfig.name and Kconfig files
......................................................................
mb: source site-local mainboard Kconfig.name and Kconfig files
This allows mainboards in site-local which use the coreboot src/
directory structure to appear in the mainboard list along with the
normal mainboards without needing to be symbolically-linked into the
vendor's directory.
Signed-off-by: Martin Roth <gaumless(a)gmail.com>
Change-Id: I4106fea7197c979e6648ebbbbaa107070c916727
---
M src/mainboard/51nb/Kconfig
M src/mainboard/acer/Kconfig
M src/mainboard/amd/Kconfig
M src/mainboard/aoostar/Kconfig
M src/mainboard/aopen/Kconfig
M src/mainboard/apple/Kconfig
M src/mainboard/asrock/Kconfig
M src/mainboard/asus/Kconfig
M src/mainboard/biostar/Kconfig
M src/mainboard/bostentech/Kconfig
M src/mainboard/bytedance/Kconfig
M src/mainboard/cavium/Kconfig
M src/mainboard/clevo/Kconfig
M src/mainboard/compulab/Kconfig
M src/mainboard/cwwk/Kconfig
M src/mainboard/dell/Kconfig
M src/mainboard/emulation/Kconfig
M src/mainboard/example/Kconfig
M src/mainboard/facebook/Kconfig
M src/mainboard/foxconn/Kconfig
M src/mainboard/framework/Kconfig
M src/mainboard/getac/Kconfig
M src/mainboard/gigabyte/Kconfig
M src/mainboard/google/Kconfig
M src/mainboard/hp/Kconfig
M src/mainboard/ibase/Kconfig
M src/mainboard/ibm/Kconfig
M src/mainboard/intel/Kconfig
M src/mainboard/inventec/Kconfig
M src/mainboard/kontron/Kconfig
M src/mainboard/lenovo/Kconfig
M src/mainboard/libretrend/Kconfig
M src/mainboard/msi/Kconfig
M src/mainboard/ocp/Kconfig
M src/mainboard/opencellular/Kconfig
M src/mainboard/packardbell/Kconfig
M src/mainboard/pcengines/Kconfig
M src/mainboard/pine64/Kconfig
M src/mainboard/portwell/Kconfig
M src/mainboard/prodrive/Kconfig
M src/mainboard/protectli/Kconfig
M src/mainboard/purism/Kconfig
M src/mainboard/raptor-cs/Kconfig
M src/mainboard/razer/Kconfig
M src/mainboard/roda/Kconfig
M src/mainboard/samsung/Kconfig
M src/mainboard/sapphire/Kconfig
M src/mainboard/siemens/Kconfig
M src/mainboard/sifive/Kconfig
M src/mainboard/starlabs/Kconfig
M src/mainboard/supermicro/Kconfig
M src/mainboard/system76/Kconfig
M src/mainboard/ti/Kconfig
M src/mainboard/up/Kconfig
54 files changed, 108 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/19/83119/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/83119?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I4106fea7197c979e6648ebbbbaa107070c916727
Gerrit-Change-Number: 83119
Gerrit-PatchSet: 2
Gerrit-Owner: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Varshit Pandya <pandyavarshit(a)gmail.com>
Attention is currently required from: Bob Moragues, Karthik Ramasubramanian, Shelley Chen.
Bob Moragues has posted comments on this change by Bob Moragues. ( https://review.coreboot.org/c/coreboot/+/82630?usp=email )
Change subject: mainboard/google/brox: Add FW_CONFIG and SKU definitions to support lotso
......................................................................
Patch Set 3:
(2 comments)
File src/mainboard/google/brox/variants/brox/overridetree.cb:
https://review.coreboot.org/c/coreboot/+/82630/comment/e64e7a6e_d24a9864?us… :
PS3, Line 19: option AUDIO_REALTEK_ALC3287 2
> I don't think that you want this in brox. […]
I believe this was included to simply keep the the bit fields aligned between the brox reference design and lotso. I assume that this enumeration will not be used for brox. This can be removed at your discretion.
File src/mainboard/google/brox/variants/lotso/overridetree.cb:
https://review.coreboot.org/c/coreboot/+/82630/comment/55e55b9a_19dc6b30?us… :
PS1, Line 31: hip soc/intel/alderlake
:
: device domain 0 on
: end
:
: end
Should this be removed?
--
To view, visit https://review.coreboot.org/c/coreboot/+/82630?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I52cf42b79eff91ab2b4e98a7b5961310e60f2ea7
Gerrit-Change-Number: 82630
Gerrit-PatchSet: 3
Gerrit-Owner: Bob Moragues <moragues(a)chromium.org>
Gerrit-Reviewer: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Shelley Chen <shchen(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Bob Moragues <moragues(a)google.com>
Gerrit-Attention: Shelley Chen <shchen(a)google.com>
Gerrit-Attention: Bob Moragues <moragues(a)chromium.org>
Gerrit-Attention: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Comment-Date: Mon, 24 Jun 2024 17:40:35 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Shelley Chen <shchen(a)google.com>
Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/83116?usp=email )
(
3 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
)Change subject: acpi/acpi: Fix Qemu's XSDT patching code
......................................................................
acpi/acpi: Fix Qemu's XSDT patching code
Since Qemu doesn't provide an XSDT, coreboot adds one as separate ACPI
table. Qemu only provides the smaller ACPI 1.0 RSDP, but the XSDT can
only fit into the bigger ACPI 2.0 RSDP. Currently the exsting RSDP is
being reused, without a size check, which works fine on the first boot.
However after reboot the XSDT pointer seems to be valid, even though the
checksum isn't. Since the XSDT then isn't reserved again on reboot, the
memory it's pointing to is reused by other tables, causing the
payload/OS to see an invalid XSDT.
Instead of corrupting the smaller existing RSDP, allocate a new RSDP
structure and properly fill it with both, existing RSDT and XSDT.
In addition return the correct length of allocated ACPI tables to the
calling code. It was ommiting the size of the allocated XSDT and SSDT.
TEST: Run "qemu-system-x86_64 -M q35" and reboot the virtual machine.
With this patch applied XSDT is always valid from the OS
point of view.
Change-Id: Ie4972230c3654714f3dcbaab46a3f70152e75163
Signed-off-by: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83116
Reviewed-by: Angel Pons <th3fanbus(a)gmail.com>
Reviewed-by: Arthur Heymans <arthur(a)aheymans.xyz>
Reviewed-by: Paul Menzel <paulepanter(a)mailbox.org>
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
---
M src/acpi/acpi.c
1 file changed, 11 insertions(+), 2 deletions(-)
Approvals:
Angel Pons: Looks good to me, approved
Paul Menzel: Looks good to me, but someone else must approve
Arthur Heymans: Looks good to me, approved
build bot (Jenkins): Verified
diff --git a/src/acpi/acpi.c b/src/acpi/acpi.c
index 39eadc3..06aa038c 100644
--- a/src/acpi/acpi.c
+++ b/src/acpi/acpi.c
@@ -1489,6 +1489,16 @@
current = fw;
current = acpi_align_current(current);
if (rsdp->xsdt_address == 0) {
+ acpi_rsdt_t *existing_rsdt = (acpi_rsdt_t *)(uintptr_t)rsdp->rsdt_address;
+
+ /*
+ * Qemu only provides a smaller ACPI 1.0 RSDP, thus
+ * allocate a bigger ACPI 2.0 RSDP structure.
+ */
+ rsdp = (acpi_rsdp_t *)current;
+ current += sizeof(acpi_rsdp_t);
+ coreboot_rsdp = (uintptr_t)rsdp;
+
xsdt = (acpi_xsdt_t *)current;
current += sizeof(acpi_xsdt_t);
current = acpi_align_current(current);
@@ -1497,7 +1507,6 @@
* Qemu only creates an RSDT.
* Add an XSDT based on the existing RSDT entries.
*/
- acpi_rsdt_t *existing_rsdt = (acpi_rsdt_t *)(uintptr_t)rsdp->rsdt_address;
acpi_write_rsdp(rsdp, existing_rsdt, xsdt, oem_id);
acpi_write_xsdt(xsdt, oem_id, oem_table_id);
/*
@@ -1537,7 +1546,7 @@
acpi_add_table(rsdp, ssdt);
- return fw;
+ return current;
}
dsdt_file = cbfs_map(CONFIG_CBFS_PREFIX "/dsdt.aml", &dsdt_size);
--
To view, visit https://review.coreboot.org/c/coreboot/+/83116?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Ie4972230c3654714f3dcbaab46a3f70152e75163
Gerrit-Change-Number: 83116
Gerrit-PatchSet: 5
Gerrit-Owner: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Cliff Huang <cliff.huang(a)intel.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Lance Zhao <lance.zhao(a)gmail.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: Tim Wawrzynczak <inforichland(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>