Skip to content

Commit 5d8e3d2

Browse files
philipandamiczyg1
andcommitted
soc/intel/meteorlake: Hook the VT-d DMA protection option
Co-authored-by: Michał Żygowski <[email protected]> Signed-off-by: Filip Gołaś <[email protected]>
1 parent 20c4a95 commit 5d8e3d2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/soc/intel/meteorlake/romstage/romstage.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,4 +156,7 @@ void mainboard_romstage_entry(void)
156156
pmc_set_disb();
157157
if (!s3wake)
158158
save_dimm_info();
159+
160+
if (CONFIG(ENABLE_EARLY_DMA_PROTECTION))
161+
vtd_enable_dma_protection();`
159162
}

0 commit comments

Comments
 (0)