diff options
author | Joerg Roedel <[email protected]> | 2019-08-19 15:22:55 +0200 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2019-08-23 10:11:29 +0200 |
commit | 2cc13bb4f59fa7e66acf5b1b78bdf97d73d3416a (patch) | |
tree | 723ab02de268c93332c89ad7b3160c410dcb202e /tools/perf/scripts/python/Perf-Trace-Util/lib | |
parent | 22bb182c839d8ef6c08cf548feb0451c429216d8 (diff) |
iommu: Disable passthrough mode when SME is active
Using Passthrough mode when SME is active causes certain
devices to use the SWIOTLB bounce buffer. The bounce buffer
code has an upper limit of 256kb for the size of DMA
allocations, which is too small for certain devices and
causes them to fail.
With this patch we enable IOMMU by default when SME is
active in the system, making the default configuration work
for more systems than it does now.
Users that don't want IOMMUs to be enabled still can disable
them with kernel parameters.
Reviewed-by: Tom Lendacky <[email protected]>
Tested-by: Tom Lendacky <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions