diff options
author | Jonathan Zhang <jonzhang@meta.com> | 2022-12-19 15:42:56 -0800 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2023-01-08 01:31:29 +0000 |
commit | 43b0ed708963110368d6cf1a048f79d3a09817ea (patch) | |
tree | 1162d6b9f5eec9cc503687195b06f9e331f41166 /src/soc/rockchip/rk3288/bootblock.c | |
parent | aa990125b8c8add886762013acb159571d34b3bf (diff) |
soc/intel/xeon_sp: Improve final MTRR solution
If cbmem_top is not 1M aligned there will be a hole between DPR base
and cbmem_top that the allocator will consider as unassigned memory.
Resources could incorrectly be assigned to that region and the final
MTRR solution will also try to skip that hole, therefore using a lot
more variable MTRRs than needed.
TESTED on Archer City 2S system: Uses 1 variable MTRR in the final
setup instead of 7.
Change-Id: I198f8d83bcfcdca3a770bd7f9a7060d5782a49fe
Signed-off-by: Arthur Heymans <arthur.heymans@9elements.com>
Signed-off-by: Jonathan Zhang <jonzhang@meta.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71142
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marc Jones <marc@marcjonesconsulting.com>
Diffstat (limited to 'src/soc/rockchip/rk3288/bootblock.c')
0 files changed, 0 insertions, 0 deletions