summaryrefslogtreecommitdiff
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorBin Meng <[email protected]>2021-07-31 16:45:25 +0800
committerBin Meng <[email protected]>2021-08-02 15:11:40 +0800
commit3bcd6cf89efee5c8088dce2f770bdd5592186efb (patch)
tree39745f1012ba41a5a594d2995a6f826d77803882 /scripts/checkpatch.pl
parent596bd0589ad8ee1df78133af740f1d29b235fb66 (diff)
x86: mtrr: Skip MSRs that were already programmed in mtrr_commit()
At present mtrr_commit() programs the MTRR MSRs starting from index 0, which may overwrite MSRs that were already programmed by previous boot stage or FSP. Switch to call mtrr_set_next_var() instead. Signed-off-by: Bin Meng <[email protected]> Reviewed-by: Simon Glass <[email protected]> Tested on chromebook_coral, chromebook_samus, chromebook_link, minnowmax Tested-by: Simon Glass <[email protected]>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions