diff options
| author | 2022-04-06 02:29:25 +0300 | |
|---|---|---|
| committer | 2022-04-07 08:27:52 -0700 | |
| commit | 4c5b9aac6cade51aef64cc6ed67f2ad5acda9aed (patch) | |
| tree | 6bef19d8aa11b9470c4ce4b5b9c05418ac4429e8 /include/uapi/git:/ssh:/git@git.zx2c4.com | |
| parent | x86/boot: Port I/O: Allow to hook up alternative helpers (diff) | |
| download | linux-dev-4c5b9aac6cade51aef64cc6ed67f2ad5acda9aed.tar.xz linux-dev-4c5b9aac6cade51aef64cc6ed67f2ad5acda9aed.zip | |
x86/boot: Port I/O: Add decompression-time support for TDX
Port I/O instructions trigger #VE in the TDX environment. In response to
the exception, kernel emulates these instructions using hypercalls.
But during early boot, on the decompression stage, it is cumbersome to
deal with #VE. It is cleaner to go to hypercalls directly, bypassing #VE
handling.
Hook up TDX-specific port I/O helpers if booting in TDX environment.
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: Dave Hansen <dave.hansen@linux.intel.com>
Link: https://lkml.kernel.org/r/20220405232939.73860-17-kirill.shutemov@linux.intel.com
Diffstat (limited to 'include/uapi/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
