[coreboot-gerrit] Change in coreboot[master]: vendorcode/amd/pi/00670F00: Clarify CAR disable

Marshall Dawson (Code Review) gerrit at coreboot.org
Fri Mar 24 23:16:35 CET 2017


Marshall Dawson has posted comments on this change. ( https://review.coreboot.org/18492 )

Change subject: vendorcode/amd/pi/00670F00: Clarify CAR disable
......................................................................


Patch Set 5:

(1 comment)

> AGESATM--Arch2008 44065 Rev. 3.04 January 2017

I didn’t realize they finally released a new spec.  I would argue that the spec has been incorrect regarding the precise functionality of the “Entry Point Procedures” for a while.  I’ve inspected their effects on the system with HDT and I’m confident things are working as we expect.  The revision history for the 3.04 release doesn’t change my mind.

https://review.coreboot.org/#/c/18492/5/src/vendorcode/amd/pi/00670F00/binaryPI/gcccar.inc
File src/vendorcode/amd/pi/00670F00/binaryPI/gcccar.inc:

Line 1298: * AMD_DISABLE_STACK:  Copy CAR data to DRAM and destroy the stack inside the
> 'flush cachelines' or 'invalidate with write-back'
> 'flush cachelines' or 'invalidate with write-back'

Does that wording move this patch forward?

> Can you give me your impression of the actual address ranges that are flushed here? I will then give you mine.

It’s anything dirty (i.e. Modified to use proper terminology) and is subject to the “Determining The Access Destination…” list, including MTRR rules.  While this could potentially be any addressable non-MMIO and non-BIOS region that were inadverently touched, it seems it should be the stacks and coreboot global stuff from 30000-50000, as well as the non-cbmem heap at 10000000.  Also, once we have early cbmem, the heap will get allocated from there instead.


-- 
To view, visit https://review.coreboot.org/18492
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I77e53262212e00bce9145b0bc3909ad8651f2328
Gerrit-PatchSet: 5
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Marc Jones <marc at marcjonesconsulting.com>
Gerrit-Reviewer: Aaron Durbin <adurbin at chromium.org>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki at gmail.com>
Gerrit-Reviewer: Marc Jones <marc at marcjonesconsulting.com>
Gerrit-Reviewer: Marshall Dawson <marshalldawson3rd at gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth at google.com>
Gerrit-Reviewer: Paul Menzel <paulepanter at users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins)
Gerrit-HasComments: Yes



More information about the coreboot-gerrit mailing list