soc/intel/fsp_broadwell_de: Add fixed VT-d MMIO range to the resources
commit1a22d3bc7e56e25ef2674bfdfbe6910a9e8a9372
authorWerner Zeh <werner.zeh@siemens.com>
Wed, 19 Sep 2018 06:35:50 +0000 (19 08:35 +0200)
committerPhilipp Deppenwiese <zaolin.daisuki@gmail.com>
Thu, 20 Sep 2018 12:38:49 +0000 (20 12:38 +0000)
tree645381a14ab498d523b755133b1d36f32bddd578
parentca0c8e75f9106ecd436db87424b6d836a465c0a2
soc/intel/fsp_broadwell_de: Add fixed VT-d MMIO range to the resources

FSP initializes the VT-d feature on Broadwell-DE and assigns an address
space to the MMIO range. coreboot's resource allocator needs to be aware
of this fixed resource as otherwise the address can be assigned to a
different PCI device. In this case addresses are overlapped and the VT-d
range is not accessible any more.

To deal with it the right way add a fixed MMIO resource to the resources
list if VT-d BAR is enabled.

TEST=Booted into Linux and checked coreboot log for resource assignment.

Change-Id: I626ac17420eadc0b49031e850f0f40b3b221a098
Signed-off-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-on: https://review.coreboot.org/28672
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
src/soc/intel/fsp_broadwell_de/include/soc/broadwell_de.h
src/soc/intel/fsp_broadwell_de/vtd.c