Attention is currently required from: Felix Held.
Martin Roth has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/74616 )
Change subject: cpu/amd/pi/00730F01/fixme: use coreboot's PCI access functions
......................................................................
Patch Set 1: -Code-Review
(1 comment)
File src/cpu/amd/pi/00730F01/fixme.c:
https://review.coreboot.org/c/coreboot/+/74616/comment/e71c9630_4b15f9db
PS1, Line 19: 0x00fedf00
Should this be changed to 0xfedf0000 for our functions? It looks like it gets fixed in the next patch.
--
To view, visit https://review.coreboot.org/c/coreboot/+/74616
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ieecc0e5f6576a838d79220b061de81e21b5d976c
Gerrit-Change-Number: 74616
Gerrit-PatchSet: 1
Gerrit-Owner: 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: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Comment-Date: Fri, 21 Apr 2023 15:24:36 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/74221 )
Change subject: soc/intel/meteorlake: Add VPU into the DMAR SATC table
......................................................................
soc/intel/meteorlake: Add VPU into the DMAR SATC table
This change adds the VPU into the DMAR SATC table in order to support
the VPU IO virtualization.
BUG=None
TEST=Enabled the VPU, booted to kernel and verified that DMAR SATC table
includeded the VPU entry.
Change-Id: I6d4af7c9844e33483a1e616eaee061a90d0be6fc
Signed-off-by: John Zhao <john.zhao(a)intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/74221
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Kapil Porwal <kapilporwal(a)google.com>
---
M src/soc/intel/meteorlake/acpi.c
1 file changed, 22 insertions(+), 0 deletions(-)
Approvals:
build bot (Jenkins): Verified
Kapil Porwal: Looks good to me, approved
diff --git a/src/soc/intel/meteorlake/acpi.c b/src/soc/intel/meteorlake/acpi.c
index c679af3..c6e7cab 100644
--- a/src/soc/intel/meteorlake/acpi.c
+++ b/src/soc/intel/meteorlake/acpi.c
@@ -270,6 +270,8 @@
current += acpi_create_dmar_satc(current, ATC_REQUIRED, 0);
current += acpi_create_dmar_ds_pci(current, 0, PCI_DEV_SLOT_IGD, 0);
current += acpi_create_dmar_ds_pci(current, 0, PCI_DEV_SLOT_IPU, 0);
+ if (is_devfn_enabled(PCI_DEVFN_VPU))
+ current += acpi_create_dmar_ds_pci(current, 0, PCI_DEV_SLOT_VPU, 0);
acpi_dmar_satc_fixup(tmp, current);
return current;
--
To view, visit https://review.coreboot.org/c/coreboot/+/74221
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6d4af7c9844e33483a1e616eaee061a90d0be6fc
Gerrit-Change-Number: 74221
Gerrit-PatchSet: 3
Gerrit-Owner: John Zhao <john.zhao(a)intel.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Tarun Tuli <taruntuli(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: merged
Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/74556 )
Change subject: mb/google/volteer/var/delbin: Add new memory support
......................................................................
mb/google/volteer/var/delbin: Add new memory support
Add the new memory support:
Samsung K4UBE3D4AB-MGCL
BUG=b:274373361
BRANCH=firmware-volteer-13672.B
TEST=FW_NAME=delbin emerge-volteer coreboot
Signed-off-by: Frank Chu <Frank_Chu(a)pegatron.corp-partner.google.com>
Change-Id: Ie88c25b4b0f88ed299711f2b6b94006d5301554c
Reviewed-on: https://review.coreboot.org/c/coreboot/+/74556
Reviewed-by: Frank Chu <frank_chu(a)pegatron.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Eric Lai <eric_lai(a)quanta.corp-partner.google.com>
---
M src/mainboard/google/volteer/variants/delbin/memory/Makefile.inc
M src/mainboard/google/volteer/variants/delbin/memory/dram_id.generated.txt
M src/mainboard/google/volteer/variants/delbin/memory/mem_parts_used.txt
3 files changed, 26 insertions(+), 3 deletions(-)
Approvals:
build bot (Jenkins): Verified
Frank Chu: Looks good to me, but someone else must approve
Eric Lai: Looks good to me, approved
diff --git a/src/mainboard/google/volteer/variants/delbin/memory/Makefile.inc b/src/mainboard/google/volteer/variants/delbin/memory/Makefile.inc
index 625c149..1db15d4 100644
--- a/src/mainboard/google/volteer/variants/delbin/memory/Makefile.inc
+++ b/src/mainboard/google/volteer/variants/delbin/memory/Makefile.inc
@@ -1,9 +1,9 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# This is an auto-generated file. Do not edit!!
# Generated by:
-# util/spd_tools/bin/part_id_gen TGL lp4x src/mainboard/google/volteer/variants/delbin/memory src/mainboard/google/volteer/variants/delbin/memory/mem_parts_used.txt
+# /tmp/go-build024059340/b001/exe/part_id_gen TGL lp4x src/mainboard/google/volteer/variants/delbin/memory/ src/mainboard/google/volteer/variants/delbin/memory/mem_parts_used.txt
SPD_SOURCES =
SPD_SOURCES += spd/lp4x/set-0/spd-1.hex # ID = 0(0b0000) Parts = MT53E512M32D2NP-046 WT:E, H9HCNNNBKMMLXR-NEE
SPD_SOURCES += spd/lp4x/set-0/spd-4.hex # ID = 1(0b0001) Parts = MT53E1G32D2NP-046 WT:A
-SPD_SOURCES += spd/lp4x/set-0/spd-3.hex # ID = 2(0b0010) Parts = H9HCNNNCPMMLXR-NEE
+SPD_SOURCES += spd/lp4x/set-0/spd-3.hex # ID = 2(0b0010) Parts = H9HCNNNCPMMLXR-NEE, K4UBE3D4AB-MGCL
diff --git a/src/mainboard/google/volteer/variants/delbin/memory/dram_id.generated.txt b/src/mainboard/google/volteer/variants/delbin/memory/dram_id.generated.txt
index c3249fd..ce366e8 100644
--- a/src/mainboard/google/volteer/variants/delbin/memory/dram_id.generated.txt
+++ b/src/mainboard/google/volteer/variants/delbin/memory/dram_id.generated.txt
@@ -1,10 +1,11 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# This is an auto-generated file. Do not edit!!
# Generated by:
-# util/spd_tools/bin/part_id_gen TGL lp4x src/mainboard/google/volteer/variants/delbin/memory src/mainboard/google/volteer/variants/delbin/memory/mem_parts_used.txt
+# /tmp/go-build024059340/b001/exe/part_id_gen TGL lp4x src/mainboard/google/volteer/variants/delbin/memory/ src/mainboard/google/volteer/variants/delbin/memory/mem_parts_used.txt
DRAM Part Name ID to assign
MT53E512M32D2NP-046 WT:E 0 (0000)
MT53E1G32D2NP-046 WT:A 1 (0001)
H9HCNNNBKMMLXR-NEE 0 (0000)
H9HCNNNCPMMLXR-NEE 2 (0010)
+K4UBE3D4AB-MGCL 2 (0010)
diff --git a/src/mainboard/google/volteer/variants/delbin/memory/mem_parts_used.txt b/src/mainboard/google/volteer/variants/delbin/memory/mem_parts_used.txt
index b99b811..f621414 100644
--- a/src/mainboard/google/volteer/variants/delbin/memory/mem_parts_used.txt
+++ b/src/mainboard/google/volteer/variants/delbin/memory/mem_parts_used.txt
@@ -2,3 +2,4 @@
MT53E1G32D2NP-046 WT:A
H9HCNNNBKMMLXR-NEE
H9HCNNNCPMMLXR-NEE
+K4UBE3D4AB-MGCL
--
To view, visit https://review.coreboot.org/c/coreboot/+/74556
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie88c25b4b0f88ed299711f2b6b94006d5301554c
Gerrit-Change-Number: 74556
Gerrit-PatchSet: 4
Gerrit-Owner: Frank Chu <frank_chu(a)pegatron.corp-partner.google.com>
Gerrit-Reviewer: Eric Lai <eric_lai(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Frank Chu <frank_chu(a)pegatron.corp-partner.google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Ken Lu <ken_lu(a)pegatron.corp-partner.google.com>
Gerrit-MessageType: merged
Attention is currently required from: Felix Held.
Martin Roth has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/74616 )
Change subject: cpu/amd/pi/00730F01/fixme: use coreboot's PCI access functions
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/74616
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ieecc0e5f6576a838d79220b061de81e21b5d976c
Gerrit-Change-Number: 74616
Gerrit-PatchSet: 1
Gerrit-Owner: 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: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Comment-Date: Fri, 21 Apr 2023 15:16:32 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/74614 )
Change subject: soc/amd/stoneyridge/memmap: use get_top_of_mem_below_4gb
......................................................................
soc/amd/stoneyridge/memmap: use get_top_of_mem_below_4gb
Use get_top_of_mem_below_4gb instead of open-coding the functionality.
Signed-off-by: Felix Held <felix-coreboot(a)felixheld.de>
Change-Id: Ic673deb725a541c7535ae769f589cd82ea42a561
Reviewed-on: https://review.coreboot.org/c/coreboot/+/74614
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Martin Roth <martin.roth(a)amd.corp-partner.google.com>
---
M src/soc/amd/stoneyridge/memmap.c
1 file changed, 16 insertions(+), 3 deletions(-)
Approvals:
build bot (Jenkins): Verified
Martin Roth: Looks good to me, approved
diff --git a/src/soc/amd/stoneyridge/memmap.c b/src/soc/amd/stoneyridge/memmap.c
index 8f73a8c..32d6d96 100644
--- a/src/soc/amd/stoneyridge/memmap.c
+++ b/src/soc/amd/stoneyridge/memmap.c
@@ -13,9 +13,7 @@
uintptr_t cbmem_top_chipset(void)
{
- msr_t tom = rdmsr(TOP_MEM);
-
- if (!tom.lo)
+ if (!get_top_of_mem_below_4gb())
return 0;
/* 8MB alignment to keep MTRR usage low */
--
To view, visit https://review.coreboot.org/c/coreboot/+/74614
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic673deb725a541c7535ae769f589cd82ea42a561
Gerrit-Change-Number: 74614
Gerrit-PatchSet: 2
Gerrit-Owner: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Martin Roth <martin.roth(a)amd.corp-partner.google.com>
Gerrit-Reviewer: Matt DeVillier <matt.devillier(a)amd.corp-partner.google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: merged