the following patch was just integrated into master:
commit 42d55e0caf9999be461ef5c5029d11fb8f4c5593
Author: Vladimir Serbinenko <phcoder(a)gmail.com>
Date: Sat Jan 2 01:47:26 2016 +0100
sb/intel/bd82x6x: Add missing PCIIDs for variants .
Change-Id: I917b8167a028aa9412b0cc6dedf8f09a1d1fae7f
Signed-off-by: Vladimir Serbinenko <phcoder(a)gmail.com>
Reviewed-on: https://review.coreboot.org/12820
Tested-by: build bot (Jenkins)
Reviewed-by: Nico Huber <nico.h(a)gmx.de>
See https://review.coreboot.org/12820 for details.
-gerrit
Timothy Pearson (tpearson(a)raptorengineeringinc.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/12821
-gerrit
commit 81433cab0478963f355dbf6e9b6b108c7388d6be
Author: Timothy Pearson <tpearson(a)raptorengineeringinc.com>
Date: Fri Jan 1 23:30:42 2016 -0600
sb/amd/sr5650: Correctly locate CPU MMCONFIG resource
The code committed in GIT hash
* 1eaaa0 southbridge/amd/sr5650:Add MCFG ACPI table support
did not correctly locate the CPU MMCONFIG resource, leading to failures
with operating systems and firmware (e.g. SeaBIOS) when the PCI
extended configuration space option was activated.
Due to the southbridge routing not being set up, MMCONFIG accesses were
targetting DRAM and therefore the PCI devices were not being configured.
The failure normally manifests as a system hang immediately after PCI
configuration starts.
Search for the CPU MMCONFIG resource on all domains below the root
device.
Change-Id: I0df2f825fef2de46563db87af78d0609ab3d8c5a
Signed-off-by: Timothy Pearson <tpearson(a)raptorengineeringinc.com>
---
src/southbridge/amd/sr5650/sr5650.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/southbridge/amd/sr5650/sr5650.c b/src/southbridge/amd/sr5650/sr5650.c
index d4355d6..818b0e6 100644
--- a/src/southbridge/amd/sr5650/sr5650.c
+++ b/src/southbridge/amd/sr5650/sr5650.c
@@ -35,13 +35,13 @@ extern void set_pcie_dereset(void);
extern void set_pcie_reset(void);
struct resource * sr5650_retrieve_cpu_mmio_resource() {
- device_t cpu;
+ device_t domain;
struct resource *res;
- for (cpu = all_devices; cpu; cpu = cpu->next) {
- if (cpu->bus->dev->path.type != DEVICE_PATH_CPU_CLUSTER)
+ for (domain = all_devices; domain; domain = domain->next) {
+ if (domain->bus->dev->path.type != DEVICE_PATH_DOMAIN)
continue;
- res = probe_resource(cpu->bus->dev, 0xc0010058);
+ res = probe_resource(domain->bus->dev, 0xc0010058);
if (res)
return res;
}
Timothy Pearson (tpearson(a)raptorengineeringinc.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/12821
-gerrit
commit 19f97ae44a002b19a9fceab1159f4b8e7cad0bef
Author: Timothy Pearson <tpearson(a)raptorengineeringinc.com>
Date: Fri Jan 1 23:30:42 2016 -0600
sb/amd/sr5650: Correctly locate CPU MMCONFIG resource
The code committed in GIT hash
* 1eaaa0 southbridge/amd/sr5650:Add MCFG ACPI table support
did not correctly locate the CPU MMIO resource, leading to failures
with operating systems and firmware (e.g. SeaBIOS) when the PCI
extended configuration space option was activated.
Due to the southbridge routing not being set up, MMCONFIG accesses were
targetting DRAM and therefore the PCI devices were not being configured.
The failure normally manifests as a system hang immediately after PCI
configuration starts.
Search for the CPU MMCONFIG resource on all domains below the root
device.
Change-Id: I0df2f825fef2de46563db87af78d0609ab3d8c5a
Signed-off-by: Timothy Pearson <tpearson(a)raptorengineeringinc.com>
---
src/southbridge/amd/sr5650/sr5650.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/southbridge/amd/sr5650/sr5650.c b/src/southbridge/amd/sr5650/sr5650.c
index d4355d6..818b0e6 100644
--- a/src/southbridge/amd/sr5650/sr5650.c
+++ b/src/southbridge/amd/sr5650/sr5650.c
@@ -35,13 +35,13 @@ extern void set_pcie_dereset(void);
extern void set_pcie_reset(void);
struct resource * sr5650_retrieve_cpu_mmio_resource() {
- device_t cpu;
+ device_t domain;
struct resource *res;
- for (cpu = all_devices; cpu; cpu = cpu->next) {
- if (cpu->bus->dev->path.type != DEVICE_PATH_CPU_CLUSTER)
+ for (domain = all_devices; domain; domain = domain->next) {
+ if (domain->bus->dev->path.type != DEVICE_PATH_DOMAIN)
continue;
- res = probe_resource(cpu->bus->dev, 0xc0010058);
+ res = probe_resource(domain->bus->dev, 0xc0010058);
if (res)
return res;
}
Timothy Pearson (tpearson(a)raptorengineeringinc.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/12821
-gerrit
commit c372c765ea2452fa5993efd453978a5a573393c8
Author: Timothy Pearson <tpearson(a)raptorengineeringinc.com>
Date: Fri Jan 1 23:30:42 2016 -0600
sb/amd/sr5650: Correctly locate CPU MMIO resource
The code committed in GIT hash 1eaaa0 [southbridge/amd/sr5650:
Add MCFG ACPI table support] did not correctly locate the CPU MMIO
resource, leading to failures with operating systems and firmware
when the PCI extended configuration space option was activated.
Search for the CPU MMIO resource on all domains below the root device.
Change-Id: I0df2f825fef2de46563db87af78d0609ab3d8c5a
Signed-off-by: Timothy Pearson <tpearson(a)raptorengineeringinc.com>
---
src/southbridge/amd/sr5650/sr5650.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/southbridge/amd/sr5650/sr5650.c b/src/southbridge/amd/sr5650/sr5650.c
index d4355d6..818b0e6 100644
--- a/src/southbridge/amd/sr5650/sr5650.c
+++ b/src/southbridge/amd/sr5650/sr5650.c
@@ -35,13 +35,13 @@ extern void set_pcie_dereset(void);
extern void set_pcie_reset(void);
struct resource * sr5650_retrieve_cpu_mmio_resource() {
- device_t cpu;
+ device_t domain;
struct resource *res;
- for (cpu = all_devices; cpu; cpu = cpu->next) {
- if (cpu->bus->dev->path.type != DEVICE_PATH_CPU_CLUSTER)
+ for (domain = all_devices; domain; domain = domain->next) {
+ if (domain->bus->dev->path.type != DEVICE_PATH_DOMAIN)
continue;
- res = probe_resource(cpu->bus->dev, 0xc0010058);
+ res = probe_resource(domain->bus->dev, 0xc0010058);
if (res)
return res;
}
Timothy Pearson (tpearson(a)raptorengineeringinc.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/12821
-gerrit
commit 32684e32f8f61cd06d3a51a56ef076fe5ba9d7ae
Author: Timothy Pearson <tpearson(a)raptorengineeringinc.com>
Date: Fri Jan 1 23:30:42 2016 -0600
sb/amd/sr5650: Correctly locate CPU MMIO resource
The code committed in GIT hash 1eaaa0 [southbridge/amd/sr5650:
Add MCFG ACPI table support] did not correctly locate the CPU MMIO
resource, leading to failures with operating systems and firmware
when the PCI extended configuration space option was activated.
Search for the CPU MMIO resource on all domains below the root device.
Change-Id: I0df2f825fef2de46563db87af78d0609ab3d8c5a
Signed-off-by: Timothy Pearson <tpearson(a)raptorengineeringinc.com>
---
src/southbridge/amd/sr5650/sr5650.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/southbridge/amd/sr5650/sr5650.c b/src/southbridge/amd/sr5650/sr5650.c
index d4355d6..5fd5e2f 100644
--- a/src/southbridge/amd/sr5650/sr5650.c
+++ b/src/southbridge/amd/sr5650/sr5650.c
@@ -35,13 +35,15 @@ extern void set_pcie_dereset(void);
extern void set_pcie_reset(void);
struct resource * sr5650_retrieve_cpu_mmio_resource() {
- device_t cpu;
+ device_t domain;
+ struct device *sibling;
+ struct bus *link;
struct resource *res;
- for (cpu = all_devices; cpu; cpu = cpu->next) {
- if (cpu->bus->dev->path.type != DEVICE_PATH_CPU_CLUSTER)
+ for (domain = all_devices; domain; domain = domain->next) {
+ if (domain->bus->dev->path.type != DEVICE_PATH_DOMAIN)
continue;
- res = probe_resource(cpu->bus->dev, 0xc0010058);
+ res = probe_resource(domain->bus->dev, 0xc0010058);
if (res)
return res;
}
Timothy Pearson (tpearson(a)raptorengineeringinc.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/12821
-gerrit
commit d4d107dacbe50e1c97f1ee614837a3b9875c0747
Author: Timothy Pearson <tpearson(a)raptorengineeringinc.com>
Date: Fri Jan 1 23:30:42 2016 -0600
sb/amd/sr5650: Correctly locate CPU MMIO resource
The code committed in GIT hash 1eaaa0 did not correctly
locate the CPU MMIO resource, leading to failures with
operating systems and firmware when the PCI extended
configuration space option was activated.
Search for the CPU MMIO resource on all domains below
the root device.
Change-Id: I0df2f825fef2de46563db87af78d0609ab3d8c5a
Signed-off-by: Timothy Pearson <tpearson(a)raptorengineeringinc.com>
---
src/southbridge/amd/sr5650/sr5650.c | 20 +++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)
diff --git a/src/southbridge/amd/sr5650/sr5650.c b/src/southbridge/amd/sr5650/sr5650.c
index d4355d6..c4336a6 100644
--- a/src/southbridge/amd/sr5650/sr5650.c
+++ b/src/southbridge/amd/sr5650/sr5650.c
@@ -35,15 +35,21 @@ extern void set_pcie_dereset(void);
extern void set_pcie_reset(void);
struct resource * sr5650_retrieve_cpu_mmio_resource() {
- device_t cpu;
+ device_t domain;
+ struct device *sibling;
+ struct bus *link;
struct resource *res;
- for (cpu = all_devices; cpu; cpu = cpu->next) {
- if (cpu->bus->dev->path.type != DEVICE_PATH_CPU_CLUSTER)
- continue;
- res = probe_resource(cpu->bus->dev, 0xc0010058);
- if (res)
- return res;
+ for (link = all_devices->link_list; link; link = link->next) {
+ for (sibling = link->children; sibling; sibling = sibling->sibling) {
+ for (domain = sibling; domain; domain = domain->next) {
+ if (domain->bus->dev->path.type != DEVICE_PATH_DOMAIN)
+ continue;
+ res = probe_resource(domain->bus->dev, 0xc0010058);
+ if (res)
+ return res;
+ }
+ }
}
return NULL;
Timothy Pearson (tpearson(a)raptorengineeringinc.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/12821
-gerrit
commit 2806b466c2f83f0d38482be9e71751b4b01e04f5
Author: Timothy Pearson <tpearson(a)raptorengineeringinc.com>
Date: Fri Jan 1 23:30:42 2016 -0600
sb/amd/sr5650: Correctly locate CPU MMIO resource
The code committed in GIT hash 1eaaa0 did not correctly
locate the CPU MMIO resource, leading to failures with
operating systems and firmware when the PCI extended
configuration space option was activated.
Search for the CPU MMIO resource on all domains below
the root device.
Change-Id: I0df2f825fef2de46563db87af78d0609ab3d8c5a
Signed-off-by: Timothy Pearson <tpearson(a)raptorengineeringinc.com>
---
src/southbridge/amd/sr5650/sr5650.c | 20 +++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)
diff --git a/src/southbridge/amd/sr5650/sr5650.c b/src/southbridge/amd/sr5650/sr5650.c
index d4355d6..c4336a6 100644
--- a/src/southbridge/amd/sr5650/sr5650.c
+++ b/src/southbridge/amd/sr5650/sr5650.c
@@ -35,15 +35,21 @@ extern void set_pcie_dereset(void);
extern void set_pcie_reset(void);
struct resource * sr5650_retrieve_cpu_mmio_resource() {
- device_t cpu;
+ device_t domain;
+ struct device *sibling;
+ struct bus *link;
struct resource *res;
- for (cpu = all_devices; cpu; cpu = cpu->next) {
- if (cpu->bus->dev->path.type != DEVICE_PATH_CPU_CLUSTER)
- continue;
- res = probe_resource(cpu->bus->dev, 0xc0010058);
- if (res)
- return res;
+ for (link = all_devices->link_list; link; link = link->next) {
+ for (sibling = link->children; sibling; sibling = sibling->sibling) {
+ for (domain = sibling; domain; domain = domain->next) {
+ if (domain->bus->dev->path.type != DEVICE_PATH_DOMAIN)
+ continue;
+ res = probe_resource(domain->bus->dev, 0xc0010058);
+ if (res)
+ return res;
+ }
+ }
}
return NULL;
Timothy Pearson (tpearson(a)raptorengineeringinc.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/12821
-gerrit
commit 24ebeac5f5ffd4b3d292690243511b0886b1c903
Author: Timothy Pearson <tpearson(a)raptorengineeringinc.com>
Date: Fri Jan 1 23:30:42 2016 -0600
sb/amd/sr5650: Correctly locate CPU MMIO resource
The code committed in GIT hash 1eaaa0 did not correctly
locate the CPU MMIO resource, leading to failures with
operating systems and firmware when the PCI extended
configuration space option was activated.
Search for the CPU MMIO resource on all domains below
the root device.
Change-Id: I0df2f825fef2de46563db87af78d0609ab3d8c5a
Signed-off-by: Timothy Pearson <tpearson(a)raptorengineeringinc.com>
---
src/southbridge/amd/sr5650/sr5650.c | 20 +++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)
diff --git a/src/southbridge/amd/sr5650/sr5650.c b/src/southbridge/amd/sr5650/sr5650.c
index d4355d6..c4336a6 100644
--- a/src/southbridge/amd/sr5650/sr5650.c
+++ b/src/southbridge/amd/sr5650/sr5650.c
@@ -35,15 +35,21 @@ extern void set_pcie_dereset(void);
extern void set_pcie_reset(void);
struct resource * sr5650_retrieve_cpu_mmio_resource() {
- device_t cpu;
+ device_t domain;
+ struct device *sibling;
+ struct bus *link;
struct resource *res;
- for (cpu = all_devices; cpu; cpu = cpu->next) {
- if (cpu->bus->dev->path.type != DEVICE_PATH_CPU_CLUSTER)
- continue;
- res = probe_resource(cpu->bus->dev, 0xc0010058);
- if (res)
- return res;
+ for (link = all_devices->link_list; link; link = link->next) {
+ for (sibling = link->children; sibling; sibling = sibling->sibling) {
+ for (domain = sibling; domain; domain = domain->next) {
+ if (domain->bus->dev->path.type != DEVICE_PATH_DOMAIN)
+ continue;
+ res = probe_resource(domain->bus->dev, 0xc0010058);
+ if (res)
+ return res;
+ }
+ }
}
return NULL;