Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/19879
to look at the new patch set (#4).
Change subject: nb/intel/x4x/raminit: Implement read and write DQ DQS training
......................................................................
nb/intel/x4x/raminit: Implement read and write DQ DQS training
Positions the DQS in the eye of the DQ signal on both read and writes
by taking a centered DLL value between two failing edges.
This is not DDR3 specific and write training should also run on DDR2
at 400MHz and read training can run on all configurations.
Change-Id: I806840445b5e768d079910fb9870a2cee7b9f1ca
Signed-off-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
M src/northbridge/intel/x4x/dq_dqs_dll.c
M src/northbridge/intel/x4x/raminit_ddr23.c
M src/northbridge/intel/x4x/x4x.h
3 files changed, 484 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/79/19879/4
--
To view, visit https://review.coreboot.org/19879
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I806840445b5e768d079910fb9870a2cee7b9f1ca
Gerrit-PatchSet: 4
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/19878
to look at the new patch set (#4).
Change subject: nb/intel/x4x/raminit: Add write leveling
......................................................................
nb/intel/x4x/raminit: Add write leveling
DDR3 adapter a fly-by topology which allows for better signal
integrity but at the same time requires additional calibration.
This is done by settings the targeted rank in write leveling mode
while disabling output buffer on the other ranks.
DQS DLL settings are sampled until an edge is found over the DQ
probe. The results are stored in the sysinfo struct for later S3
support.
Change-Id: Ibfbaa235bc4eb08e9345321b851e880390a624e8
Signed-off-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
M src/northbridge/intel/x4x/Makefile.inc
A src/northbridge/intel/x4x/dq_dqs_dll.c
M src/northbridge/intel/x4x/raminit_ddr23.c
M src/northbridge/intel/x4x/raminit_tables.c
M src/northbridge/intel/x4x/x4x.h
5 files changed, 472 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/78/19878/4
--
To view, visit https://review.coreboot.org/19878
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ibfbaa235bc4eb08e9345321b851e880390a624e8
Gerrit-PatchSet: 4
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/19872
to look at the new patch set (#3).
Change subject: nb/intel/x4x/raminit: Make programming launch ddr3 specific
......................................................................
nb/intel/x4x/raminit: Make programming launch ddr3 specific
Change-Id: Ia2ca4a200a1c813b2133eb1004fbe248fa3de9ce
Signed-off-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
M src/northbridge/intel/x4x/raminit_ddr23.c
M src/northbridge/intel/x4x/x4x.h
2 files changed, 76 insertions(+), 6 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/72/19872/3
--
To view, visit https://review.coreboot.org/19872
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ia2ca4a200a1c813b2133eb1004fbe248fa3de9ce
Gerrit-PatchSet: 3
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/19870
to look at the new patch set (#3).
Change subject: nb/intel/x4x: Rename a things that are not ddr2 specific
......................................................................
nb/intel/x4x: Rename a things that are not ddr2 specific
Change-Id: Ib3d10014f530905155e56fc52706edb4ab9f5630
Signed-off-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
M src/northbridge/intel/x4x/Makefile.inc
M src/northbridge/intel/x4x/raminit.c
R src/northbridge/intel/x4x/raminit_ddr23.c
M src/northbridge/intel/x4x/x4x.h
4 files changed, 20 insertions(+), 31 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/70/19870/3
--
To view, visit https://review.coreboot.org/19870
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ib3d10014f530905155e56fc52706edb4ab9f5630
Gerrit-PatchSet: 3
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Youness Alaoui has posted comments on this change. ( https://review.coreboot.org/19556 )
Change subject: pciexp_device: Prevent race condition with retrain link
......................................................................
Patch Set 1:
(3 comments)
https://review.coreboot.org/#/c/19556/1//COMMIT_MSG
Commit Message:
PS1, Line 9: The PCIe specification[1] describes a race condition that
: can occur when using the Retrain Link bit in the Link
: Control Register.
: The race condition is avoided by checking the retrain link
: bit in the link status register and waiting until it is
: set to 0, before initiating a new link retraining.
> Please add blank lines between paragraphs.
Done
https://review.coreboot.org/#/c/19556/1/src/device/pciexp_device.c
File src/device/pciexp_device.c:
Line 56: /* Implementation note (page 633) in PCIe Specification 3.0 suggests
> Nit: Since try needs to be initialised at the same value twice would for lo
Done
PS1, Line 56: /* Implementation note (page 633) in PCIe Specification 3.0 suggests
: * polling the Link Training bit in the Link Status register until the
: * value returned is 0 before setting the Retrain Link bit to 1.
: * This is meant to avoid a race condition when using the
: * Retrain Link mechanism.
: */
> Please use the style below.
Done
--
To view, visit https://review.coreboot.org/19556
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I9d5840fb9a6e63838b5a4084d3bbe483f1d870ed
Gerrit-PatchSet: 1
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Youness Alaoui <snifikino(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Youness Alaoui <snifikino(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-HasComments: Yes
Marc Jones has posted comments on this change. ( https://review.coreboot.org/19723 )
Change subject: soc/amd/stoneyridge: Add CPU files
......................................................................
Patch Set 3:
(2 comments)
https://review.coreboot.org/#/c/19723/3/src/northbridge/amd/pi/Kconfig
File src/northbridge/amd/pi/Kconfig:
Line 19: default y if SOC_AMD_PI
> Agreed - If we're moving things to SOC, why would we still need pieces in s
yes, the northbridge is the next patch and this was needed to check the build and code worked moving the CPU code.
https://review.coreboot.org/#/c/19723/3/src/soc/amd/common/Kconfig
File src/soc/amd/common/Kconfig:
Line 13
> But that doesn't really fix the problem entirely. Someone still has to incl
So is there a solution already figured out or we should be doing something completely different here?
--
To view, visit https://review.coreboot.org/19723
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I8b6b1991372c2c6a02709777a73615a86e78ac26
Gerrit-PatchSet: 3
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Marc Jones <marc(a)marcjonesconsulting.com>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Reviewer: Marc Jones <marc(a)marcjonesconsulting.com>
Gerrit-Reviewer: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-HasComments: Yes
Marc Jones has posted comments on this change. ( https://review.coreboot.org/19724 )
Change subject: soc/amd/stoneyridge: Add northbridge support
......................................................................
Patch Set 3:
(5 comments)
Tried to answer some questions. lots of cleanup in follow-on patches. Maybe we will squash it all down.
https://review.coreboot.org/#/c/19724/3/src/soc/amd/common/amd_late_init.c
File src/soc/amd/common/amd_late_init.c:
PS3, Line 23: #include <agesawrapper.h>
: #include <agesawrapper_call.h>
> These includes should use "" if you are wanting to pick up the files in the
common/ is in the include path, so I left it <>. I don't understand what you mean by why they are directly under common. Do you think common/agesa/ or common/include/ or somewhere else?
https://review.coreboot.org/#/c/19724/3/src/soc/amd/common/def_callouts.c
File src/soc/amd/common/def_callouts.c:
PS3, Line 20: #include <AGESA.h>
: #include <amdlib.h>
: #include <Ids.h>
: #include <agesawrapper.h>
: #include <BiosCallOuts.h>
> All these headers should be namespaced in some matter. Why are these bare a
They are in src/vendorcode/amd/pi/00670F00 and added by the vendorcode makefile.
Line 84: LibAmdIoWrite (AccessWidth8, 0xCf9, &Value, StdHeader);
> Is this really necessary? We can't use io_write8() ?
Yes, we need to clean out the AMD functions and use coreboot functions. This is the reason some functions live in fixme.c and need to get fixed and moved.
https://review.coreboot.org/#/c/19724/3/src/soc/amd/common/dimmSpd.h
File src/soc/amd/common/dimmSpd.h:
Line 20: AmdMemoryReadSPD (IN UINT32 Func, IN UINT32 Data, IN OUT AGESA_READ_SPD_PARAMS *SpdData);
> IN and OUT ?
agesa defines.
https://review.coreboot.org/#/c/19724/3/src/soc/amd/stoneyridge/northbridge…
File src/soc/amd/stoneyridge/northbridge.c:
Line 731:
> I have no words for this file.
There is a lot of legacy here and still requires a lot more cleanup. The multinode HT init is overly complicated and didn't/doesn't fit well in coreboot. The PI removes the need for a lot of that logic in coreboot, but I still think there are a lot of problems putting the CPUs in PCI space and IO and MEMORY bus routing when there is more than a subtractive PCI bus on CPU bus.
--
To view, visit https://review.coreboot.org/19724
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie86b4d744900f23502068517ece5bcea6c128993
Gerrit-PatchSet: 3
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Marc Jones <marc(a)marcjonesconsulting.com>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Reviewer: Marc Jones <marc(a)marcjonesconsulting.com>
Gerrit-Reviewer: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-HasComments: Yes