[PATCH] linux-headers: update again to 5.8-rc

Paolo Bonzini posted 1 patch 3 years, 8 months ago
Test checkpatch passed
Test docker-mingw@fedora passed
Test FreeBSD passed
Test docker-quick@centos7 passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20200709182849.10309-1-pbonzini@redhat.com
Maintainers: Cornelia Huck <cohuck@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>
linux-headers/asm-arm/unistd-common.h | 1 +
linux-headers/asm-x86/kvm.h           | 5 +++--
2 files changed, 4 insertions(+), 2 deletions(-)
[PATCH] linux-headers: update again to 5.8-rc
Posted by Paolo Bonzini 3 years, 8 months ago
5.8-rc1 inadvertently broke userspace ABI compatibility.  Merge
again with latest kvm/master to undo that.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
	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(-)

diff --git a/linux-headers/asm-arm/unistd-common.h b/linux-headers/asm-arm/unistd-common.h
index 23de64e44c..57cd1f21db 100644
--- a/linux-headers/asm-arm/unistd-common.h
+++ b/linux-headers/asm-arm/unistd-common.h
@@ -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 */
diff --git a/linux-headers/asm-x86/kvm.h b/linux-headers/asm-x86/kvm.h
index 17c5a038f4..0780f97c18 100644
--- a/linux-headers/asm-x86/kvm.h
+++ b/linux-headers/asm-x86/kvm.h
@@ -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 {
-- 
2.26.2


Re: [PATCH] linux-headers: update again to 5.8-rc
Posted by Cornelia Huck 3 years, 8 months ago
On Thu,  9 Jul 2020 14:28:49 -0400
Paolo Bonzini <pbonzini@redhat.com> wrote:

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

Ouch.

> 
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> 	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.

Acked-by: Cornelia Huck <cohuck@redhat.com>

> 
>  linux-headers/asm-arm/unistd-common.h | 1 +
>  linux-headers/asm-x86/kvm.h           | 5 +++--
>  2 files changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/linux-headers/asm-arm/unistd-common.h b/linux-headers/asm-arm/unistd-common.h
> index 23de64e44c..57cd1f21db 100644
> --- a/linux-headers/asm-arm/unistd-common.h
> +++ b/linux-headers/asm-arm/unistd-common.h
> @@ -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 */
> diff --git a/linux-headers/asm-x86/kvm.h b/linux-headers/asm-x86/kvm.h
> index 17c5a038f4..0780f97c18 100644
> --- a/linux-headers/asm-x86/kvm.h
> +++ b/linux-headers/asm-x86/kvm.h
> @@ -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 {