Kyösti Mälkki has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/48698 )
Change subject: arch/x86: Pass GNVS as parameter to SMM module
......................................................................
Patch Set 4:
(1 comment)
https://review.coreboot.org/c/coreboot/+/48698/4/src/cpu/x86/smm/smm_module_...
File src/cpu/x86/smm/smm_module_handler.c:
https://review.coreboot.org/c/coreboot/+/48698/4/src/cpu/x86/smm/smm_module_...
PS4, Line 139: gnvs = (void *)(uintptr_t)smm_runtime->gnvs_ptr;
Hmmm, platforms had a call to `smm_points_to_smram` here, but I'm not sure if implementing this chec […]
The test was there to validate a user-supplied pointer in SMI handler. Given that coreboot was already supposed to raise APM_CNT_GNVS_UPDATE and set smm_initialized=1, can you determine if the test was ever actually reached (with user-supplied pointer).
This is no longer a user-supplied pointer and the SMI handler in question is removed.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/48698
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I9d7417462830443f9c96273d2cc326cbcc3b17dd
Gerrit-Change-Number: 48698
Gerrit-PatchSet: 4
Gerrit-Owner: Kyösti Mälkki
kyosti.malkki@gmail.com
Gerrit-Reviewer: Aaron Durbin
adurbin@chromium.org
Gerrit-Reviewer: Angel Pons
th3fanbus@gmail.com
Gerrit-Reviewer: Arthur Heymans
arthur@aheymans.xyz
Gerrit-Reviewer: Furquan Shaikh
furquan@google.com
Gerrit-Reviewer: Mariusz Szafrański
mariuszx.szafranski@intel.com
Gerrit-Reviewer: Michal Motyl
michalx.motyl@intel.com
Gerrit-Reviewer: Patrick Rudolph
siro@das-labor.org
Gerrit-Reviewer: Suresh Bellampalli
suresh.bellampalli@intel.com
Gerrit-Reviewer: Vanessa Eusebio
vanessa.f.eusebio@intel.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Comment-Date: Sun, 03 Jan 2021 12:35:44 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Angel Pons
th3fanbus@gmail.com
Gerrit-MessageType: comment