Skip to content

Commit 76e2319

Browse files
committed
tools headers: Sync arm64 kvm header with the kernel sources
To pick up the changes in this cset: 97413ce ("KVM: arm64: Add PSCI v1.3 SYSTEM_OFF2 function for hibernation") This addresses these perf build warnings: Warning: Kernel ABI header differences: diff -u tools/arch/arm64/include/uapi/asm/kvm.h arch/arm64/include/uapi/asm/kvm.h Please see tools/include/uapi/README for further details. Reviewed-by: James Clark <james.clark@linaro.org> Cc: Marc Zyngier <maz@kernel.org> Cc: Oliver Upton <oliver.upton@linux.dev> Cc: kvmarm@lists.linux.dev Link: https://lore.kernel.org/r/20241203035349.1901262-6-namhyung@kernel.org Signed-off-by: Namhyung Kim <namhyung@kernel.org>
1 parent e120829 commit 76e2319

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • tools/arch/arm64/include/uapi/asm

tools/arch/arm64/include/uapi/asm/kvm.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,12 @@ enum {
484484
*/
485485
#define KVM_SYSTEM_EVENT_RESET_FLAG_PSCI_RESET2 (1ULL << 0)
486486

487+
/*
488+
* Shutdown caused by a PSCI v1.3 SYSTEM_OFF2 call.
489+
* Valid only when the system event has a type of KVM_SYSTEM_EVENT_SHUTDOWN.
490+
*/
491+
#define KVM_SYSTEM_EVENT_SHUTDOWN_FLAG_PSCI_OFF2 (1ULL << 0)
492+
487493
/* run->fail_entry.hardware_entry_failure_reason codes. */
488494
#define KVM_EXIT_FAIL_ENTRY_CPU_UNSUPPORTED (1ULL << 0)
489495

0 commit comments

Comments
 (0)