Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x86/tdx: Enable direct iomap MMIO optimizations
Using the infrastructure added in a previous patch, enable direct TDCALLs for MMIO accesses through iomap. Add functions for each of the read and write operations and hook them in using the iomap_mmio call vector when TDX is active. This improves the TD virtio performance for disk workloads by about 4% Signed-off-by: Andi Kleen <ak@linux.intel.com>
- Loading branch information
Showing
2 changed files
with
100 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters