Re: [PATCH 4/5] x86: Add support for more than 8 MTRRs

2020-09-22 Thread Bin Meng
On Sun, Sep 20, 2020 at 11:49 PM Simon Glass wrote: > > At present the mtrr command only support 8 MTRRs. Some SoCs have more than > that. Update the implementation to support up to 10. Read the number of > MTRRs dynamically instead. > > Signed-off-by: Simon Glass > --- > > arch/x86/cpu/mtrr.c

[PATCH 4/5] x86: Add support for more than 8 MTRRs

2020-09-20 Thread Simon Glass
At present the mtrr command only support 8 MTRRs. Some SoCs have more than that. Update the implementation to support up to 10. Read the number of MTRRs dynamically instead. Signed-off-by: Simon Glass --- arch/x86/cpu/mtrr.c | 12 +++- arch/x86/include/asm/mtrr.h | 15 ++