~hectorcao/+git/linux-tdx:noble-6.7

Last commit made on 2024-01-25
Get this branch:
git clone -b noble-6.7 https://git.launchpad.net/~hectorcao/+git/linux-tdx
Only Hector CAO can upload to this branch. If you are Hector CAO please log in for upload directions.

Branch merges

Branch information

Name:
noble-6.7
Repository:
lp:~hectorcao/+git/linux-tdx

Recent commits

7807bba... by Hector CAO

Enable config TDX guest driver

CONFIG_TDX_GUEST_DRIVER should be set to y to enable the tdx-guest and
/dev/tdx-guest char device

f0c26d7... by Hector CAO

Config annotations file for TDX

fb3f29a... by Isaku Yamahata

KVM: selftests: TDX: Use KVM_TDX_RELEASE_VM

Reduce TD destruction time to call KVM_TDX_RELEASE_VM.

Signed-off-by: Isaku Yamahata <email address hidden>

8402da4... by Isaku Yamahata

KVM: selftests: Add memory fault and tdx to KVM exit string

Update exit_reasons_known[] to add new KVM_EXIT_MEMORY_fault and
KVM_EXIT_TDX.

Signed-off-by: Isaku Yamahata <email address hidden>

e940125... by Isaku Yamahata

KVM: selftests: TDX UPM: punch hole when converting to shared

Signed-off-by: Isaku Yamahata <email address hidden>

9b9ab05... by Isaku Yamahata

KVM: selftests: TDX UPM: Handle report fatal error

tdx_upm_tests report guest assert as TDG_VP_VMCALL_REPORT_FATAL_ERROR.
Handle it to catch it instead of ignoring it.

Signed-off-by: Isaku Yamahata <email address hidden>

f8879be... by Zhu Lingshan

**[FIXUP]**: KVM: selftests, TDX: Use TEST_ASSERT_EQ instead of ASSERT_EQ to compile

Make tdx_util.c and tdx_upm_test.c compile by catching up the upstream
change.
- Use TEST_ASSERT_EQ instead of ASSERT_EQ to compile because ASSERT_EQ was
  replaced.
- Add KVM_EXIT_MEMORY_FAULT for tooling and struct kvm_run.

Signed-off-by: Isaku Yamahata <email address hidden>

5255c98... by Isaku Yamahata

**[FIXUP]**: KVM: selftests: TDX: Use KVM_X86_TDX_VM instead of KVM_X86_SW_PROTECTED_VM

Now KVM_X86_TDX_VM is defined for TDX.

Signed-off-by: Isaku Yamahata <email address hidden>

9fd9cd7... by Isaku Yamahata

**[FIXUP]**: KVM: selftests: TDX: catch up kernel changes

Rename to compile.
ASSERT_EQ => TEST_ASSERT_EQ
GUEST_ASSERT_1 => deleted. use GUEST_ASSERT_EQ
KVM_X86_PROTECTED_VM => KVM_X86_SW_PROTECTED_VM

Signed-off-by: Isaku Yamahata <email address hidden>

9238468... by Isaku Yamahata

**[FIXUP]**: KVM: selftests: TDX: tdcall.S

Define tdcall for binutils older than 2.36.

Signed-off-by: Isaku Yamahata <email address hidden>