diff options
author | Michał Żygowski <michal.zygowski@3mdeb.com> | 2020-04-02 19:51:37 +0200 |
---|---|---|
committer | Michał Żygowski <michal.zygowski@3mdeb.com> | 2020-04-07 08:15:05 +0000 |
commit | 2f399b7d5bcfc28a808e61cf203900cfbdacf2b5 (patch) | |
tree | dec666e0397455acf6310079dc05269bf065934b /util/x86 | |
parent | 540af0960217a1d25600d6ef5f0048f4a9b391fd (diff) | |
download | coreboot-2f399b7d5bcfc28a808e61cf203900cfbdacf2b5.tar.xz |
nb/amd/pi/00730F01/northbridge.c: refactor IVRS generation
Use defined structures to assemble IVRS and IVHD entries. Additionally
assemble IVHD type 11h which supersedes IVHD type 10h. In order to
utilize all IOMMU features firmware should also expose IVHD type 11h.
The new type is already supported and parsed since Xen 1.13. IVHD
type 10h should still be present for backwards compatibility.
TEST=boot PC Engines apu2 and disassemble IVRS using newest IASL,
boot Xen 1.13 or newer with debug enabled and see IVRS IVHD 11h parsed
in xl dmesg
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Change-Id: I9a2c24b67adfa8ebd718caeb5eec88687dcbcc9d
Reviewed-on: https://review.coreboot.org/c/coreboot/+/40042
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'util/x86')
0 files changed, 0 insertions, 0 deletions