Angel Pons has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/43226 )
Change subject: [TESTME] nb/intel/i945/early_init.c: Detect DMI link width ......................................................................
[TESTME] nb/intel/i945/early_init.c: Detect DMI link width
UNTESTED.
Change-Id: I79829fa8fc9b26abca9983b1e3dc3a137a0ba49b Signed-off-by: Angel Pons th3fanbus@gmail.com --- M src/northbridge/intel/i945/early_init.c 1 file changed, 6 insertions(+), 5 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/26/43226/1
diff --git a/src/northbridge/intel/i945/early_init.c b/src/northbridge/intel/i945/early_init.c index f388330..cb5b520 100644 --- a/src/northbridge/intel/i945/early_init.c +++ b/src/northbridge/intel/i945/early_init.c @@ -399,11 +399,12 @@
reg32 = DMIBAR32(0x204); reg32 &= ~0x3ff; -#if 1 - reg32 |= 0x13f; /* for x4 DMI only */ -#else - reg32 |= 0x1e4; /* for x2 DMI only */ -#endif + + if (((DMIBAR16(DMILSTS) >> 4) & 0xf) == 2) + reg32 |= 0x1e4; /* for x2 DMI only */ + else + reg32 |= 0x13f; /* for x4 DMI only */ + DMIBAR32(0x204) = reg32;
if (pci_read_config8(PCI_DEV(0, 0x0, 0), DEVEN) & (DEVEN_D2F0 | DEVEN_D2F1)) {
HAOUAS Elyes has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43226 )
Change subject: [TESTME] nb/intel/i945/early_init.c: Detect DMI link width ......................................................................
Patch Set 2:
there is no document ... however.. maybe this?
if (MSHBAR32(DFT_STRAP1) & (1 << 5) reg32 = 0xB13f; else reg32 = 0xB1e4;
(not tested and not documented)
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43226 )
Change subject: [TESTME] nb/intel/i945/early_init.c: Detect DMI link width ......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/c/coreboot/+/43226/2/src/northbridge/intel/i945/... File src/northbridge/intel/i945/early_init.c:
https://review.coreboot.org/c/coreboot/+/43226/2/src/northbridge/intel/i945/... PS2, Line 402: DMILSTS This needs to be DMILCAP instead, reg is 32-bit but the info is on the same bits
Hello build bot (Jenkins), Stefan Reinauer, Maciej Matuszczyk, Arthur Heymans, Patrick Rudolph, HAOUAS Elyes,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/43226
to look at the new patch set (#3).
Change subject: [TESTME] nb/intel/i945/early_init.c: Detect DMI link width ......................................................................
[TESTME] nb/intel/i945/early_init.c: Detect DMI link width
UNTESTED.
Change-Id: I79829fa8fc9b26abca9983b1e3dc3a137a0ba49b Signed-off-by: Angel Pons th3fanbus@gmail.com --- M src/northbridge/intel/i945/early_init.c 1 file changed, 6 insertions(+), 5 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/26/43226/3
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43226 )
Change subject: [TESTME] nb/intel/i945/early_init.c: Detect DMI link width ......................................................................
Patch Set 3:
(1 comment)
https://review.coreboot.org/c/coreboot/+/43226/2/src/northbridge/intel/i945/... File src/northbridge/intel/i945/early_init.c:
https://review.coreboot.org/c/coreboot/+/43226/2/src/northbridge/intel/i945/... PS2, Line 402: DMILSTS
This needs to be DMILCAP instead, reg is 32-bit but the info is on the same bits
Done
HAOUAS Elyes has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43226 )
Change subject: [TESTME] nb/intel/i945/early_init.c: Detect DMI link width ......................................................................
Patch Set 3:
Maybe you can test on dell/gx520 ( https://review.coreboot.org/c/coreboot/+/29109 )?
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43226 )
Change subject: [TESTME] nb/intel/i945/early_init.c: Detect DMI link width ......................................................................
Patch Set 3:
Patch Set 3:
Maybe you can test on dell/gx520 ( https://review.coreboot.org/c/coreboot/+/29109 )?
I don't have it with me.
Maciej Matuszczyk has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43226 )
Change subject: [TESTME] nb/intel/i945/early_init.c: Detect DMI link width ......................................................................
Patch Set 3: Code-Review+1
Tested on D945GCLF2 and it still boots, no change in DMIBAR+0x204
HAOUAS Elyes has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43226 )
Change subject: [TESTME] nb/intel/i945/early_init.c: Detect DMI link width ......................................................................
Patch Set 3: Code-Review+1
tested on 945g-m4: using bios by NEC and by intel : DMIBAR(0x204) = 0x0000b13f
using coreboot: DMIBAR(0x204) = 0x0000d13f (same value with or without current patch).
I think it needs test for x2 DMI only
HAOUAS Elyes has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43226 )
Change subject: [TESTME] nb/intel/i945/early_init.c: Detect DMI link width ......................................................................
Patch Set 3:
Patch Set 3: Code-Review+1
Tested on D945GCLF2 and it still boots, no change in DMIBAR+0x204
do you have the value using vendor bios ?
Maciej Matuszczyk has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43226 )
Change subject: [TESTME] nb/intel/i945/early_init.c: Detect DMI link width ......................................................................
Patch Set 3:
Patch Set 3:
Patch Set 3: Code-Review+1
Tested on D945GCLF2 and it still boots, no change in DMIBAR+0x204
do you have the value using vendor bios ?
No, I couldn't get D945GCLF2's vendor bios to boot from hdd, or any pendrive i tried. Value was taken from coreboot 4.11 or 4.12
Hello build bot (Jenkins), Stefan Reinauer, Maciej Matuszczyk, Arthur Heymans, Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/43226
to look at the new patch set (#5).
Change subject: [TESTME?] nb/intel/i945/early_init.c: Detect DMI link width ......................................................................
[TESTME?] nb/intel/i945/early_init.c: Detect DMI link width
Tested for the x4 case on intel/d945gclf and NEC 945G-M4.
Change-Id: I79829fa8fc9b26abca9983b1e3dc3a137a0ba49b Signed-off-by: Angel Pons th3fanbus@gmail.com --- M src/northbridge/intel/i945/early_init.c 1 file changed, 6 insertions(+), 5 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/26/43226/5
Martin L Roth has abandoned this change. ( https://review.coreboot.org/c/coreboot/+/43226?usp=email )
Change subject: [TESTME?] nb/intel/i945/early_init.c: Detect DMI link width ......................................................................
Abandoned
This patch has not been touched in over 12 months. Anyone who wants to take over work on this patch, please feel free to restore it and do any work needed to get it merged. If you create a new patch based on this work, please credit the original author.