coreboot-kgpe-d16/src/soc/intel
Tim Wawrzynczak 6d20d0c140 soc/intel/tigerlake: Move PMC PCI resources under PMC device
Historically in coreboot, the PMC's fixed PCI resources were described
by the System Agent (the MMIO resource), and eSPI/LPC (the I/O
resource). This patch moves both of those to a new Intel SoC-specific
function, soc_pmc_read_resources(). On TGL, this new function takes care
of providing the MMIO and I/O resources for the PMC.

BUG=b:156388055
TEST=verified on volteer that the resource allocator is aware of and
does not touch these two resources:
("PCI: 00:1f.2 resource base fe000000 size 10000 align 0 gran 0 limit 0
	flags f0000200 index 0
  PCI: 00:1f.2 resource base 1800 size 100 align 0 gran 0 limit 18ff
	flags c0000100 index 1")

Also verify that the MEM resource is described in the coreboot table:
("BIOS-e820: [mem 0x00000000fe000000-0x00000000fe00ffff] reserved")

Verified the memory range is also untouchable from Linux:
("system 00:00: [mem 0xfe000000-0xffffffff] could not be reserved")

Change-Id: Ia7c6ae849aefaf549fb682416a87320907fb3fe3
Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41385
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-05-20 09:49:00 +00:00
..
apollolake soc/intel: Drop ABOVE_4GB_MEM_BASE_SIZE and use cpu_phys_address_size() 2020-05-14 15:06:39 +00:00
baytrail src: Remove unused '#include <stdint.h>' 2020-05-13 08:48:17 +00:00
braswell src: Remove unused '#include <stdint.h>' 2020-05-13 08:48:17 +00:00
broadwell soc/intel/broadwell: Mask lower 20 bits of TOLUD and TOLM in systemagent.asl 2020-05-20 00:35:25 +00:00
cannonlake src: Remove unused 'include <string.h>' 2020-05-18 07:41:24 +00:00
common soc/intel/common/acpi: Remove gpio community range 2020-05-20 09:11:40 +00:00
denverton_ns src: Remove unused 'include <lib.h>' 2020-05-18 07:39:17 +00:00
icelake icelake: remove unused processor power limits configuration 2020-05-20 09:13:55 +00:00
jasperlake soc/intel/jasperlake: Add ACPI method to get GPIO PCR PID 2020-05-20 09:11:51 +00:00
quark src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
skylake soc/intel/skylake: Mask lower 20 bits of TOLUD and TOLM in systemagent.asl 2020-05-20 00:35:10 +00:00
tigerlake soc/intel/tigerlake: Move PMC PCI resources under PMC device 2020-05-20 09:49:00 +00:00
xeon_sp src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
Kconfig fsp2_0: Gather Kconfig declarations 2020-04-05 23:26:24 +00:00