Thread (37 messages) 37 messages, 6 authors, 2021-07-06

Re: [PATCH 06/19] drivers/hv: create, initialize, finalize, delete partition hypercalls

From: Wei Liu <wei.liu@kernel.org>
Date: 2021-06-01 07:59:57
Also in: lkml

On Fri, May 28, 2021 at 03:43:26PM -0700, Nuno Das Neves wrote:
[...]
quoted hunk ↗ jump to hunk
diff --git a/arch/x86/include/uapi/asm/hyperv-tlfs.h b/arch/x86/include/uapi/asm/hyperv-tlfs.h
index 72150c25ffe6..8a5fc59bb33a 100644
--- a/arch/x86/include/uapi/asm/hyperv-tlfs.h
+++ b/arch/x86/include/uapi/asm/hyperv-tlfs.h
@@ -101,7 +101,7 @@ union hv_partition_processor_features {
 		__u64 fsrep_stosb:1;
 		__u64 fsrep_cmpsb:1;
 		__u64 reserved_bank1:42;
-	};
+	} __packed;
 	__u64 as_uint64[HV_PARTITION_PROCESSOR_FEATURE_BANKS];
 };
 
@@ -111,7 +111,7 @@ union hv_partition_processor_xsave_features {
 		__u64 xsaveopt_support : 1;
 		__u64 avx_support : 1;
 		__u64 reserved1 : 61;
-	};
+	} __packed;
 	__u64 as_uint64;
 };
 
@@ -119,6 +119,6 @@ struct hv_partition_creation_properties {
 	union hv_partition_processor_features disabled_processor_features;
 	union hv_partition_processor_xsave_features
 		disabled_processor_xsave_features;
-};
+} __packed;
These hunks should have been squashed to the previous patch. They don't
belong here.

Wei.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help