aboutsummaryrefslogtreecommitdiff
path: root/linux-headers/include/linux/hyperv.h
diff options
context:
space:
mode:
authorChristoph Müllner <christoph.muellner@vrull.eu>2023-11-27 00:22:11 +0100
committerChristoph Müllner <christophm30@gmail.com>2023-11-27 12:08:13 +0100
commitb905f4be23124470520e30005b9d29a9f4219e5a (patch)
tree626f2856204cd277940f51f1b7706a957a0d0573 /linux-headers/include/linux/hyperv.h
parentc2b4923917aa334f83606d08e0eaf3dddc2c9589 (diff)
downloadriscv-gnu-toolchain-b905f4be23124470520e30005b9d29a9f4219e5a.zip
riscv-gnu-toolchain-b905f4be23124470520e30005b9d29a9f4219e5a.tar.gz
riscv-gnu-toolchain-b905f4be23124470520e30005b9d29a9f4219e5a.tar.bz2
Update Linux headers from v5.10.5 to v6.6
This patch imports the Linux kernel from v5.10.5 to v6.6. Important RISC-V specific changes are: * hwprobe support * V support (ptrace and prctl calls) * KVM support There are patches on the glibc list that introduce code which uses the hwprobe interface. Let's update the kernel headers to be ready for these changes. Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
Diffstat (limited to 'linux-headers/include/linux/hyperv.h')
-rw-r--r--linux-headers/include/linux/hyperv.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/linux-headers/include/linux/hyperv.h b/linux-headers/include/linux/hyperv.h
index af92307..d95359e 100644
--- a/linux-headers/include/linux/hyperv.h
+++ b/linux-headers/include/linux/hyperv.h
@@ -26,7 +26,7 @@
#ifndef _HYPERV_H
#define _HYPERV_H
-#include <linux/uuid.h>
+#include <linux/types.h>
/*
* Framework version for util services.
@@ -90,6 +90,17 @@ struct hv_vss_check_dm_info {
__u32 flags;
} __attribute__((packed));
+/*
+ * struct hv_vss_msg encodes the fields that the Linux VSS
+ * driver accesses. However, FREEZE messages from Hyper-V contain
+ * additional LUN information that Linux doesn't use and are not
+ * represented in struct hv_vss_msg. A received FREEZE message may
+ * be as large as 6,260 bytes, so the driver must allocate at least
+ * that much space, not sizeof(struct hv_vss_msg). Other messages
+ * such as AUTO_RECOVER may be as large as 12,500 bytes. However,
+ * because the Linux VSS driver responds that it doesn't support
+ * auto-recovery, it should not receive such messages.
+ */
struct hv_vss_msg {
union {
struct hv_vss_hdr vss_hdr;