Skip to contentSkip to conversation

linux-headers: update again to 5.8-rc

PATCH In review Paolo Bonzini 2 participants 2 messages Jul 9, 2020 – Jul 10, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-headers: update again to 5.8-rc

5.8-rc1 inadvertently broke userspace ABI compatibility. Merge again with latest kvm/master to undo that.

---
The patch should get to Linus tomorrow. Posting here to ensure it is on people's radar for hard freeze, because I probably won't be around.

 linux-headers/asm-arm/unistd-common.h | 1 +
 linux-headers/asm-x86/kvm.h           | 5 +++--
 2 files changed, 4 insertions(+), 2 deletions(-)
linux-headers/asm-arm/unistd-common.h +1 -0
index 23de64e44c..57cd1f21db 100644
@@ -392,5 +392,6 @@
 #define __NR_clone3 (__NR_SYSCALL_BASE + 435)
 #define __NR_openat2 (__NR_SYSCALL_BASE + 437)
 #define __NR_pidfd_getfd (__NR_SYSCALL_BASE + 438)
+#define __NR_faccessat2 (__NR_SYSCALL_BASE + 439)
 
 #endif /* _ASM_ARM_UNISTD_COMMON_H */
linux-headers/asm-x86/kvm.h +3 -2
index 17c5a038f4..0780f97c18 100644
@@ -408,14 +408,15 @@ struct kvm_vmx_nested_state_data {
 };
 
 struct kvm_vmx_nested_state_hdr {
-	__u32 flags;
 	__u64 vmxon_pa;
 	__u64 vmcs12_pa;
-	__u64 preemption_timer_deadline;
 
 	struct {
 		__u16 flags;
 	} smm;
+
+	__u32 flags;
+	__u64 preemption_timer_deadline;
 };
 
 struct kvm_svm_nested_state_data {
Signature · 1 line
2.26.2
Acked-by on v1 1/1
#1 lore raw
Quoted 2 lines · On Thu, 9 Jul 2020 14:28:49 -0400 Paolo Bonzini <[email protected]> wrote:

5.8-rc1 inadvertently broke userspace ABI compatibility. Merge again with latest kvm/master to undo that.

Ouch.

Quoted 6 lines

---
The patch should get to Linus tomorrow. Posting here to ensure it is on people's radar for hard freeze, because I probably won't be around.

Looks good to me. We will probably be able to fill in the proper hash/rc-reference after the weekend and get this merged. This looks entirely appropriate even for freeze.

Quoted 38 lines
 linux-headers/asm-arm/unistd-common.h | 1 +
 linux-headers/asm-x86/kvm.h           | 5 +++--
 2 files changed, 4 insertions(+), 2 deletions(-)
linux-headers/asm-arm/unistd-common.h +1 -0
index 23de64e44c..57cd1f21db 100644
@@ -392,5 +392,6 @@
 #define __NR_clone3 (__NR_SYSCALL_BASE + 435)
 #define __NR_openat2 (__NR_SYSCALL_BASE + 437)
 #define __NR_pidfd_getfd (__NR_SYSCALL_BASE + 438)
+#define __NR_faccessat2 (__NR_SYSCALL_BASE + 439)
 
 #endif /* _ASM_ARM_UNISTD_COMMON_H */
linux-headers/asm-x86/kvm.h +3 -2
index 17c5a038f4..0780f97c18 100644
@@ -408,14 +408,15 @@ struct kvm_vmx_nested_state_data {
 };
 
 struct kvm_vmx_nested_state_hdr {
-	__u32 flags;
 	__u64 vmxon_pa;
 	__u64 vmcs12_pa;
-	__u64 preemption_timer_deadline;
 
 	struct {
 		__u16 flags;
 	} smm;
+
+	__u32 flags;
+	__u64 preemption_timer_deadline;
 };
 
 struct kvm_svm_nested_state_data {