Open johanes2115 opened 1 year ago
@johanes2115 What cbmem do we use here? Isn't the reason the same as we have discussed it was here: https://github.com/Dasharo/dasharo-issues/issues/473
Looks like FSP is not generating a VT-d PMR HOB. It's not configuring PMRs correctly, or just doesn't output the HOB for some reason.
Output from the newest cbmem looks as follows:
[ERROR] VT-d PMR HOB not found, not enabling DMA protection
@johanes2115 Does this still happen with the beta version?
@wessel-novacustom I doubt he will answer. He no longer works in 3mdeb.
@mkopec will confirm here.
Indeed, TGL FSP does not produce the required HOB. The HOB was introduced in AlderLake FSP, so any older microarchitecture will not work...
I guess we will have to find a different solution here.
I confirm the issue still happens on v1.5.2
Device
Novacustom nv41 TGL
Dasharo version
v1.5.0
Affected component(s) or functionality
After enabling early boot DMA protection in FW and booting into the OS (Ubuntu 22.04), cbmem gives following output:
whick suggests, that early boot DMA protection is disabled.
Brief summary
Early boot DMA protection
How reproducible
100%
How to reproduce
sudo ./cbmem -1 | grep -i protection
Expected behavior
Early boot DMA protection should be enabled
Actual behavior
Early boot DMA protection is disabled
Screenshots
No response
Additional context
No response
Solutions you've tried
No response