Re: [PATCH v2 1/6] x86: Change tesing logic of mtrr commit

2023-07-31 Thread Bin Meng
On Mon, Jul 31, 2023 at 2:01 PM Bin Meng wrote: > > From: Bin Meng > > On Coral U-Boot SPL programs some MTRRs and FSPv2 in U-Boot proper > needs to program MTRRs too. With current testing logic of mtrr > commit in init_cache_f_r(), the mtrr commit is skipped which won't > work as the queued mtrr

[PATCH v2 1/6] x86: Change tesing logic of mtrr commit

2023-07-30 Thread Bin Meng
From: Bin Meng On Coral U-Boot SPL programs some MTRRs and FSPv2 in U-Boot proper needs to program MTRRs too. With current testing logic of mtrr commit in init_cache_f_r(), the mtrr commit is skipped which won't work as the queued mtrr requests include setup for DRAM regions. Change the logic to