[PATCH v2 13/18] x86: Return mtrr_add_request() to its old purpose

Bin Meng bmeng.cn at gmail.com
Thu May 4 16:22:28 CEST 2023

Hi Simon,

On Tue, Apr 18, 2023 at 11:31 PM Simon Glass <sjg at 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 at 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(-)


More information about the U-Boot mailing list