Wonkyu Kim has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/84228?usp=email )
Change subject: src/device: Add more condition to check valid PCI device id
......................................................................
src/device: Add more condition to check valid PCI device id
Checking more conditions to check valid PCI device id to avoid
device stuck issue.
Below are invalid PCI device id cases
VID: 0x0 or 0xffff
DID: 0x0 or 0xffff
Signed-off-by: Wonkyu Kim <wonkyu.kim(a)intel.com>
Change-Id: Iffabc9037a8af1b2a4ffebdf30199c4f6eae9540
---
M src/device/pci_device.c
1 file changed, 18 insertions(+), 17 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/28/84228/1
diff --git a/src/device/pci_device.c b/src/device/pci_device.c
index a2ad2b3..1b76b2f 100644
--- a/src/device/pci_device.c
+++ b/src/device/pci_device.c
@@ -1220,20 +1220,20 @@
dummy.path.pci.devfn = devfn;
id = pci_read_config32(&dummy, PCI_VENDOR_ID);
- /*
- * Have we found something? Some broken boards return 0 if a
- * slot is empty, but the expected answer is 0xffffffff.
- */
- if (id == 0xffffffff)
- return NULL;
- if ((id == 0x00000000) || (id == 0x0000ffff) ||
- (id == 0xffff0000)) {
- printk(BIOS_SPEW, "%s, bad id 0x%x\n",
- dev_path(&dummy), id);
+ /* Checking bad VID and DID */
+ dummy.vendor = id & 0xffff;
+ dummy.device = (id >> 16) & 0xffff;
+ if ((dummy.vendor == 0x0000) || (dummy.vendor == 0xffff) ||
+ (dummy.device == 0xffff) || (dummy.device == 0x0000)) {
+ printk(BIOS_SPEW, "device %s [0x%04x/0x%04x] is not found.\n",
+ dev_path(&dummy), dummy.vendor, dummy.device);
return NULL;
}
+
dev = alloc_dev(bus, &dummy.path);
+ dev->vendor = dummy.vendor;
+ dev->device = dummy.device;
} else {
/*
* Enable/disable the device. Once we have found the device-
@@ -1259,13 +1259,16 @@
* this also handles optional devices that may not always
* show up.
*/
- /* If the chain is fully enumerated quit */
- if ((id == 0xffffffff) || (id == 0x00000000) ||
- (id == 0x0000ffff) || (id == 0xffff0000)) {
+
+ /* Checking bad VID and DID */
+ dev->vendor = id & 0xffff;
+ dev->device = (id >> 16) & 0xffff;
+ if ((dev->vendor == 0x0000) || (dev->vendor == 0xffff) ||
+ (dev->device == 0xffff) || (dev->device == 0x0000)) {
if (dev->enabled) {
printk(BIOS_INFO,
- "PCI: Static device %s not found, disabling it.\n",
- dev_path(dev));
+ "PCI: Static device %s [0x%04x/0x%04x] not found, disabling it.\n",
+ dev_path(dev), dev->vendor, dev->device);
dev->enabled = 0;
}
return dev;
@@ -1277,8 +1280,6 @@
class = pci_read_config32(dev, PCI_CLASS_REVISION);
/* Store the interesting information in the device structure. */
- dev->vendor = id & 0xffff;
- dev->device = (id >> 16) & 0xffff;
dev->hdr_type = hdr_type;
/* Class code, the upper 3 bytes of PCI_CLASS_REVISION. */
--
To view, visit https://review.coreboot.org/c/coreboot/+/84228?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Iffabc9037a8af1b2a4ffebdf30199c4f6eae9540
Gerrit-Change-Number: 84228
Gerrit-PatchSet: 1
Gerrit-Owner: Wonkyu Kim <wonkyu.kim(a)intel.com>
Anil Kumar K has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/84227?usp=email )
Change subject: [Debug] Set MAX cpu to 1
......................................................................
[Debug] Set MAX cpu to 1
Change-Id: Ib9c0e7ea671a18e2f8027baf5beb810e030732c1
---
M src/soc/intel/meteorlake/Kconfig
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/27/84227/1
diff --git a/src/soc/intel/meteorlake/Kconfig b/src/soc/intel/meteorlake/Kconfig
index ec8c318..36c384b 100644
--- a/src/soc/intel/meteorlake/Kconfig
+++ b/src/soc/intel/meteorlake/Kconfig
@@ -158,7 +158,7 @@
config MAX_CPUS
int
- default 22
+ default 1
config DCACHE_RAM_BASE
default 0xfef00000
--
To view, visit https://review.coreboot.org/c/coreboot/+/84227?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Ib9c0e7ea671a18e2f8027baf5beb810e030732c1
Gerrit-Change-Number: 84227
Gerrit-PatchSet: 1
Gerrit-Owner: Anil Kumar K <anil.kumar.k(a)intel.com>
Attention is currently required from: Matt DeVillier.
Angel Pons has posted comments on this change by Matt DeVillier. ( https://review.coreboot.org/c/coreboot/+/84225?usp=email )
Change subject: nb/intel/sandybridge: Add Kconfig to set default IGD allocation
......................................................................
Patch Set 3: Code-Review+1
(2 comments)
File src/northbridge/intel/sandybridge/Kconfig:
https://review.coreboot.org/c/coreboot/+/84225/comment/2a0497e1_cc64e152?us… :
PS3, Line 188: (CMOS-backed)
The fallback value is used whenever the option backend cannot retrieve the stored value in the backend; the "null" backend always fails (and returns the fallback value). It's not specific to CMOS
https://review.coreboot.org/c/coreboot/+/84225/comment/8200356a_759e2303?us… :
PS3, Line 204: IGD_DEFAULT_INT_VALUE
I feel this name is too confusing, but I am currently too tired to come up with a better name.
--
To view, visit https://review.coreboot.org/c/coreboot/+/84225?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: I83d57cf4657cfccbb21416c5da05eeff9e95a44f
Gerrit-Change-Number: 84225
Gerrit-PatchSet: 3
Gerrit-Owner: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-Comment-Date: Thu, 05 Sep 2024 21:43:46 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Attention is currently required from: Anil Kumar K, Bora Guvendik, Jamie Ryu, Jeremy Compostella.
Hello Anil Kumar K, Bora Guvendik, Jamie Ryu, Jeremy Compostella, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/84210?usp=email
to look at the new patch set (#2).
Change subject: src/intel/cmm/block: Update sa_get_tseg_size function
......................................................................
src/intel/cmm/block: Update sa_get_tseg_size function
When gsm base is not configured due to internal graphic IP is disabled,
the api can return nagative value for TSEG size.
For avoiding this case, use CONFIG_SMM_TSEG_SIZE rather than calculating.
Note that CONFIG_SMM_TSEG_SIZE is passed to FSP as tseg size.
Signed-off-by: Wonkyu Kim <wonkyu.kim(a)intel.com>
Change-Id: Ic3d5175add1f7dc6e2c9f1c38133b36ffc59e789
---
M src/soc/intel/common/block/systemagent/systemagent_early.c
1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/10/84210/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/84210?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: Ic3d5175add1f7dc6e2c9f1c38133b36ffc59e789
Gerrit-Change-Number: 84210
Gerrit-PatchSet: 2
Gerrit-Owner: Wonkyu Kim <wonkyu.kim(a)intel.com>
Gerrit-Reviewer: Anil Kumar K <anil.kumar.k(a)intel.com>
Gerrit-Reviewer: Bora Guvendik <bora.guvendik(a)intel.com>
Gerrit-Reviewer: Jamie Ryu <jamie.m.ryu(a)intel.com>
Gerrit-Reviewer: Jeremy Compostella <jeremy.compostella(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Bora Guvendik <bora.guvendik(a)intel.com>
Gerrit-Attention: Anil Kumar K <anil.kumar.k(a)intel.com>
Gerrit-Attention: Jamie Ryu <jamie.m.ryu(a)intel.com>
Gerrit-Attention: Jeremy Compostella <jeremy.compostella(a)gmail.com>
Attention is currently required from: Shuo Liu, yuchi.chen(a)intel.com.
Wonkyu Kim has posted comments on this change by yuchi.chen(a)intel.com. ( https://review.coreboot.org/c/coreboot/+/84200?usp=email )
Change subject: soc/intel/common/systemagent: Add Kconfig item HAVE_TSEG_LIMIT_REGISTER
......................................................................
Patch Set 3:
(1 comment)
Patchset:
PS3:
TSEG size can be defined by existing config value : CONFIG_SMM_TSEG_SIZE
And it can be updated like https://review.coreboot.org/c/coreboot/+/84210
--
To view, visit https://review.coreboot.org/c/coreboot/+/84200?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: I6cb4fbecc1dbafc770d3809a75d05917a141a9af
Gerrit-Change-Number: 84200
Gerrit-PatchSet: 3
Gerrit-Owner: yuchi.chen(a)intel.com
Gerrit-Reviewer: Shuo Liu <shuo.liu(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Wonkyu Kim <wonkyu.kim(a)intel.com>
Gerrit-Attention: yuchi.chen(a)intel.com
Gerrit-Attention: Shuo Liu <shuo.liu(a)intel.com>
Gerrit-Comment-Date: Thu, 05 Sep 2024 21:29:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Attention is currently required from: Felix Singer, Nicholas Chin, Nico Huber, Paul Menzel.
Riku Viitanen has posted comments on this change by Riku Viitanen. ( https://review.coreboot.org/c/coreboot/+/79745?usp=email )
Change subject: mb/hp: Add Compaq Elite 8300 CMT port
......................................................................
Patch Set 17:
(1 comment)
Patchset:
PS17:
> Hi @riku.viitanen@protonmail. […]
Yeah, I want to convert it to a variant as well, and get it merged. I've found a willing tester as well.
--
To view, visit https://review.coreboot.org/c/coreboot/+/79745?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: Ie6ec60d2f4ee50d5e3fa2847c19fa4cf0ab73363
Gerrit-Change-Number: 79745
Gerrit-PatchSet: 17
Gerrit-Owner: Riku Viitanen <riku.viitanen(a)protonmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-CC: Nicholas Chin <nic.c3.14(a)gmail.com>
Gerrit-CC: Nico Huber <nico.h(a)gmx.de>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Attention: Nico Huber <nico.h(a)gmx.de>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Nicholas Chin <nic.c3.14(a)gmail.com>
Gerrit-Comment-Date: Thu, 05 Sep 2024 21:14:52 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Attention is currently required from: Anil Kumar K, Bora Guvendik, Cliff Huang, Hannah Williams, Jamie Ryu, Jérémy Compostella, Kapil Porwal, Paul Menzel, Pranava Y N, Ravishankar Sarawadi, Saurabh Mishra, Wonkyu Kim.
Cliff Huang has uploaded a new patch set (#97) to the change originally created by Ravishankar Sarawadi. ( https://review.coreboot.org/c/coreboot/+/83772?usp=email )
The following approvals got outdated and were removed:
Verified+1 by build bot (Jenkins)
Change subject: soc/intel/ptl: Add SoC ACPI directory for Panther Lake
......................................................................
soc/intel/ptl: Add SoC ACPI directory for Panther Lake
List of changes:
1. Select common ACPI Kconfig to include common ACPI code block
from IA-common code
2. Select ACPI Kconfig support for wake-up from sleep states.
3. Add SoC ASL code for SoC IPs like IPU, HDA etc.
4. PTL replaces DMI3 with SAF to ensure
common/block/acpi/acpi/northbridge.asl binding with PTL change,
#if DMI_BASE_SIZE guard check is added in northbridge.asl
5. include GPIO ASL that supports new pinctrl schema.
BUG=b:348678529
TEST=Verified on Intel® Simics® Pre Silicon Simulation platform
for PTL using google/fatcat mainboard.
Change-Id: Ia5cf899b049cb8eb27b4ea30c7f3ce7a14884f15
Signed-off-by: Ravi Sarawadi <ravishankar.sarawadi(a)intel.com>
---
M src/soc/intel/common/block/acpi/acpi/northbridge.asl
M src/soc/intel/pantherlake/Kconfig
A src/soc/intel/pantherlake/acpi/camera_clock_ctl.asl
A src/soc/intel/pantherlake/acpi/gpio.asl
A src/soc/intel/pantherlake/acpi/hda.asl
A src/soc/intel/pantherlake/acpi/pcie.asl
A src/soc/intel/pantherlake/acpi/serialio.asl
A src/soc/intel/pantherlake/acpi/southbridge.asl
A src/soc/intel/pantherlake/acpi/tcss.asl
A src/soc/intel/pantherlake/acpi/tcss_dma.asl
A src/soc/intel/pantherlake/acpi/tcss_pcierp.asl
A src/soc/intel/pantherlake/acpi/tcss_xhci.asl
A src/soc/intel/pantherlake/acpi/xhci.asl
13 files changed, 2,922 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/72/83772/97
--
To view, visit https://review.coreboot.org/c/coreboot/+/83772?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: Ia5cf899b049cb8eb27b4ea30c7f3ce7a14884f15
Gerrit-Change-Number: 83772
Gerrit-PatchSet: 97
Gerrit-Owner: Ravishankar Sarawadi <ravishankar.sarawadi(a)intel.com>
Gerrit-Reviewer: Anil Kumar K <anil.kumar.k(a)intel.com>
Gerrit-Reviewer: Bora Guvendik <bora.guvendik(a)intel.com>
Gerrit-Reviewer: Cliff Huang <cliff.huang(a)intel.com>
Gerrit-Reviewer: Hannah Williams <hannah.williams(a)intel.com>
Gerrit-Reviewer: Jamie Ryu <jamie.m.ryu(a)intel.com>
Gerrit-Reviewer: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Pranava Y N <pranavayn(a)google.com>
Gerrit-Reviewer: Saurabh Mishra <mishra.saurabh(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Wonkyu Kim <wonkyu.kim(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Appukuttan V K <appukuttan.vk(a)intel.com>
Gerrit-CC: Ashish Kumar Mishra <ashish.k.mishra(a)intel.com>
Gerrit-CC: Balaji Manigandan <balaji.manigandan(a)intel.com>
Gerrit-CC: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-CC: Ronak Kanabar <ronak.kanabar(a)intel.com>
Gerrit-CC: Sanju Jose Thottan <sanjujose.thottan(a)intel.com>
Gerrit-CC: Saurabh Mishra <mishra.saurabh(a)intel.corp-partner.google.com>
Gerrit-CC: Vikrant L Jadeja <vikrant.l.jadeja(a)intel.com>
Gerrit-Attention: Bora Guvendik <bora.guvendik(a)intel.com>
Gerrit-Attention: Anil Kumar K <anil.kumar.k(a)intel.com>
Gerrit-Attention: Hannah Williams <hannah.williams(a)intel.com>
Gerrit-Attention: Saurabh Mishra <mishra.saurabh(a)intel.com>
Gerrit-Attention: Cliff Huang <cliff.huang(a)intel.com>
Gerrit-Attention: Jamie Ryu <jamie.m.ryu(a)intel.com>
Gerrit-Attention: Wonkyu Kim <wonkyu.kim(a)intel.com>
Gerrit-Attention: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-Attention: Ravishankar Sarawadi <ravishankar.sarawadi(a)intel.com>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Attention: Pranava Y N <pranavayn(a)google.com>