mirror of
https://github.com/torvalds/linux.git
synced 2026-11-30 18:42:21 +00:00
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 <[email protected]> Signed-off-by: Dave Hansen <[email protected]> Reviewed-by: Dave Hansen <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
4 lines
75 B
ArmAsm
4 lines
75 B
ArmAsm
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#include "../../coco/tdx/tdcall.S"
|