
4 May
2023
4 May
'23
4:22 p.m.
Hi Simon,
On Tue, Apr 18, 2023 at 11:31 PM Simon Glass sjg@chromium.org wrote:
This function used to be for adding a list of requests to be actioned on relocation. Revert it back to this purpose, to avoid problems with boards which need control of their MTRRs (i.e. those which don't use FSP).
The mtrr_set_next_var() function is available when the next free variable-MTRR must be set, so this can be used instead.
Signed-off-by: Simon Glass sjg@chromium.org Fixes: 3a5823978ff ("x86: mtrr: Skip MSRs that were already programmed..") Fixes: 44aed2f0322 ("x86: mtrr: Do not clear the unused ones..")
The above 2 commit ids are invalid ...
(no changes since v1)
arch/x86/cpu/mtrr.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
Regards, Bin