Patrick Rudolph has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/30501 )
Change subject: arch/x86/postcar: Configure MMU along with MTRRs ......................................................................
Patch Set 3:
(1 comment)
https://review.coreboot.org/#/c/30501/3/src/arch/x86/postcar_loader.c File src/arch/x86/postcar_loader.c:
https://review.coreboot.org/#/c/30501/3/src/arch/x86/postcar_loader.c@93 PS3, Line 93: */
Ok.. I get the connection of PTE and MTRR now. […]
The main problem I was seeing is that I don't know TOLM or TOM in a platform independent manner. It's possible to adjust the x86_64 pagetables at any time in ramstage and set different caching types.
I'm going to update the comment and explain that those settings are not final nor perfect, but enough to have a basic 64bit ramstage.