]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
hyperv: Add two new hypercall numbers to guest ABI public header
authorMukesh Rathor <mrathor@linux.microsoft.com>
Mon, 6 Oct 2025 22:42:04 +0000 (15:42 -0700)
committerWei Liu <wei.liu@kernel.org>
Sat, 15 Nov 2025 06:18:16 +0000 (06:18 +0000)
In preparation for the subsequent crashdump patches, copy two hypercall
numbers to the guest ABI header published by Hyper-V. One to notify
hypervisor of an event that occurs in the root partition, other to ask
hypervisor to disable the hypervisor.

Signed-off-by: Mukesh Rathor <mrathor@linux.microsoft.com>
Signed-off-by: Wei Liu <wei.liu@kernel.org>
include/hyperv/hvgdk_mini.h

index f6e31d1c3267f46f67c533e0e56ed2dead3e47b3..7499a679e60ac2a967bb0a60979cd12e2ff0a04b 100644 (file)
@@ -470,6 +470,7 @@ union hv_vp_assist_msr_contents {    /* HV_REGISTER_VP_ASSIST_PAGE */
 #define HVCALL_MAP_DEVICE_INTERRUPT                    0x007c
 #define HVCALL_UNMAP_DEVICE_INTERRUPT                  0x007d
 #define HVCALL_RETARGET_INTERRUPT                      0x007e
+#define HVCALL_NOTIFY_PARTITION_EVENT                   0x0087
 #define HVCALL_NOTIFY_PORT_RING_EMPTY                  0x008b
 #define HVCALL_REGISTER_INTERCEPT_RESULT               0x0091
 #define HVCALL_ASSERT_VIRTUAL_INTERRUPT                        0x0094
@@ -494,6 +495,7 @@ union hv_vp_assist_msr_contents {    /* HV_REGISTER_VP_ASSIST_PAGE */
 #define HVCALL_GET_PARTITION_PROPERTY_EX               0x0101
 #define HVCALL_MMIO_READ                               0x0106
 #define HVCALL_MMIO_WRITE                              0x0107
+#define HVCALL_DISABLE_HYP_EX                           0x010f
 #define HVCALL_MAP_STATS_PAGE2                         0x0131
 
 /* HV_HYPERCALL_INPUT */