On Sun, Jul 16, 2023 at 11:39 AM Simon Glass <[email protected]> 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 <[email protected]> > Fixes: 3bcd6cf89ef ("x86: mtrr: Skip MSRs that were already programmed..") > Fixes: 596bd0589ad ("x86: mtrr: Do not clear the unused ones..") > --- > > (no changes since v3) > > Changes in v3: > - Fix invalid commit IDs obtained from another branch > > arch/x86/cpu/mtrr.c | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) >
Reviewed-by: Bin Meng <[email protected]> I will include this patch in my mtrr series. Regards, Bin

