Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Documentation] LsiRec works with the IOMMU in passthrough mode #13

Open
baconwaifu opened this issue Mar 23, 2022 · 2 comments
Open

[Documentation] LsiRec works with the IOMMU in passthrough mode #13

baconwaifu opened this issue Mar 23, 2022 · 2 comments

Comments

@baconwaifu
Copy link

adding the iommu=pt kernel parameter puts the IOMMU into "enabled but only used for virtualization" mode, where the device's view of ram is mapped 1:1 with actual physical RAM.

This tends to be seen on sandy-bridge-era platforms due to some IOTLB errata (that I can't actually find) that drags system performance down to that of a pentium 2, but can also be used on platforms that cannot disable the iommu for whatever reason.

@Fohdeesha
Copy link

Fohdeesha commented Apr 8, 2022

on systems that can't disable IOMMU in BIOS, I'd imagine iommu=off would work just as well? Of course, then you don't get IOMMU available for virt as you do with pt, but I'm thinking just for systems that will only be used temporarily for flashing

@Fohdeesha
Copy link

Fohdeesha commented Apr 8, 2022

as a followup, turns out the global iommu=off also partly disables SWIOMMU, which is kernel panic city. on modern x86 systems the correct options would be intel_iommu=off & amd_iommu=off. The customer kernel procline options for my LSI flashing live ISOs are the following now, which seems to have gotten the best compatibility across systems used by my guide users:

iomem=relaxed intel_iommu=off amd_iommu=off

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants