soc/intel/xeon_sp/uncore.c: mark TSEG/SMM region as reserved
Change-Id: I5f534a898de4ba58ac7d65c5bd6ee10eafa648e4 Signed-off-by: Jonathan Zhang <jonzhang@meta.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/72614 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jonathan Zhang <jonzhang@fb.com> Reviewed-by: David Hendricks <david.hendricks@gmail.com>
This commit is contained in:
parent
23ef60de98
commit
2e495b09d5
|
@ -196,6 +196,11 @@ static void mc_add_dram_resources(struct device *dev, int *res_count)
|
|||
res = ram_from_to(dev, index++, top_of_ram, (uintptr_t)cbmem_top());
|
||||
LOG_RESOURCE("cbmem_ram", dev, res);
|
||||
|
||||
/* Mark TSEG/SMM region as reserved */
|
||||
res = reserved_ram_from_to(dev, index++, mc_values[TSEG_BASE_REG],
|
||||
mc_values[TSEG_LIMIT_REG] + 1);
|
||||
LOG_RESOURCE("mmio_tseg", dev, res);
|
||||
|
||||
/* Reserve DPR region */
|
||||
union dpr_register dpr = { .raw = pci_read_config32(dev, VTD_LTDPR) };
|
||||
if (dpr.size) {
|
||||
|
|
Loading…
Reference in New Issue