Skip to contentSkip to conversation

pvcalls: Reconciliate the spec and the

PATCH In review Julien Grall 6 participants 16 messages Jun 27, 2020 – Jul 10, 2020

lore
Share & tools
lore
#0 lore raw

v4 cover pvcalls: Reconciliate the spec and the

From: Julien Grall <[email protected]>

Hi all,

This is v4 to try to reconciliate the pvcalls spec and the header. The series gain an extra patch (#1) to make clear the header is just a reference.

This series is candidate for 4.14 to avoid continuing to ship wrong header even they are just a reference.

For all the changes see in each patch.

Best regards,

Julien Grall (2):
pvcalls: Clearly spell out that the header is just a reference
pvcalls: Document correctly and explicitely the padding for all arches

 docs/misc/pvcalls.pandoc        | 8 --------
 xen/include/public/io/pvcalls.h | 7 +++++++
 2 files changed, 7 insertions(+), 8 deletions(-)
Signature · 1 line
2.17.1
#1 lore raw

PATCH v4 1/2 pvcalls: Clearly spell out that the header is just a reference

From: Julien Grall <[email protected]>

A recent thread on xen-devel [1] pointed out that the header was provided as a reference for the specification.

Unfortunately, this was never written down in xen.git so for an external user (or a reviewer) it is not clear whether the spec or the header shoudl be followed when there is a conflict.

To avoid more confusion, a paragraph is added at the top of the header to clearly spell out it is only provided for reference.

[1] https://lore.kernel.org/xen-devel/alpine.DEB.2.21.2006151343430.9074@sstabellini-ThinkPad-T480s/

---
Changes in v4:
- New patch

---
 xen/include/public/io/pvcalls.h | 3 +++
 1 file changed, 3 insertions(+)
xen/include/public/io/pvcalls.h +3 -0
index cb8171275c13..905880735dda 100644
@@ -3,6 +3,9 @@
  *
  * Refer to docs/misc/pvcalls.markdown for the specification
  *
+ * The header is provided as a C reference for the specification. In
+ * case of conflict, the specification is authoritative.
+ *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to
  * deal in the Software without restriction, including without limitation the
Signature · 1 line
2.17.1
Reviewed-by on v4 1/2
#2 lore raw

Re: [PATCH v4 for-4.14 1/2] pvcalls: Clearly spell out that the header is just a reference

Quoted 8 lines · Julien Grall

From: Julien Grall <[email protected]>

A recent thread on xen-devel [1] pointed out that the header was provided as a reference for the specification.

Unfortunately, this was never written down in xen.git so for an external user (or a reviewer) it is not clear whether the spec or the header shoudl be followed when there is a conflict.

should

Quoted 7 lines

To avoid more confusion, a paragraph is added at the top of the header to clearly spell out it is only provided for reference.

[1] https://lore.kernel.org/xen-devel/alpine.DEB.2.21.2006151343430.9074@sstabellini-ThinkPad-T480s/

Juergen

#3 lore raw

RE: [PATCH v4 for-4.14 1/2] pvcalls: Clearly spell out that the header is just a reference

Quoted 20 lines

-----Original Message-----
From: Jürgen Groß <[email protected]>
Sent: 27 June 2020 12:55
To: Julien Grall <[email protected]>; [email protected]
Cc: [email protected]; Julien Grall <[email protected]>
Subject: Re: [PATCH v4 for-4.14 1/2] pvcalls: Clearly spell out that the header is just a reference

Quoted 8 lines · Julien Grall

From: Julien Grall <[email protected]>

A recent thread on xen-devel [1] pointed out that the header was provided as a reference for the specification.

Unfortunately, this was never written down in xen.git so for an external user (or a reviewer) it is not clear whether the spec or the header shoudl be followed when there is a conflict.

should

Quoted 1 line
Quoted 9 lines
Quoted 6 lines

To avoid more confusion, a paragraph is added at the top of the header to clearly spell out it is only provided for reference.

[1] https://lore.kernel.org/xen-devel/alpine.DEB.2.21.2006151343430.9074@sstabellini-ThinkPad-T480s/

Quoted 2 lines

Juergen

#4 lore raw

PATCH v4 2/2 pvcalls: Document correctly and explicitely the padding for all arches

In reply to Julien Grall

From: Julien Grall <[email protected]>

The specification of pvcalls suggests there is padding for 32-bit x86 at the end of most the structure. However, they are not described in in the public header.

Because of that all the structures would be 32-bit aligned and not 64-bit aligned for 32-bit x86.

For all the other architectures supported (Arm and 64-bit x86), the structure are aligned to 64-bit because they contain uint64_t field. Therefore all the structures contain implicit padding.

Given the specification is authoriitative, the padding will the same for the all architectures. The potential breakage of compatibility is ought to be fine as pvcalls is still a tech preview.

As an aside, the padding sadly cannot be mandated to be 0 as they are already present. So it is not going to be possible to use the padding for extending a command in the future.

---
This wants to be included in Xen 4.14 to avoid more users to rely on wrong public headers.

Changes in v4:
- Revert back to v1 for the patch and expand the commit message

Changes in v3:
- Use __i386__ rather than CONFIG_X86_32

Changes in v2:
- It is not possible to use the same padding for 32-bit x86 and all the other supported architectures.

---
 docs/misc/pvcalls.pandoc        | 8 --------
 xen/include/public/io/pvcalls.h | 4 ++++
 2 files changed, 4 insertions(+), 8 deletions(-)
docs/misc/pvcalls.pandoc +0 -8
index 665dad556c39..971cd8f4b122 100644
@@ -246,9 +246,7 @@ The format is defined as follows:
     			uint32_t domain;
     			uint32_t type;
     			uint32_t protocol;
-    			#ifdef CONFIG_X86_32
     			uint8_t pad[4];
-    			#endif
     		} socket;
     		struct xen_pvcalls_connect {
     			uint64_t id;
@@ -257,16 +255,12 @@ The format is defined as follows:
     			uint32_t flags;
     			grant_ref_t ref;
     			uint32_t evtchn;
-    			#ifdef CONFIG_X86_32
     			uint8_t pad[4];
-    			#endif
     		} connect;
     		struct xen_pvcalls_release {
     			uint64_t id;
     			uint8_t reuse;
-    			#ifdef CONFIG_X86_32
     			uint8_t pad[7];
-    			#endif
     		} release;
     		struct xen_pvcalls_bind {
     			uint64_t id;
@@ -276,9 +270,7 @@ The format is defined as follows:
     		struct xen_pvcalls_listen {
     			uint64_t id;
     			uint32_t backlog;
-    			#ifdef CONFIG_X86_32
     			uint8_t pad[4];
-    			#endif
     		} listen;
     		struct xen_pvcalls_accept {
     			uint64_t id;
xen/include/public/io/pvcalls.h +4 -0
index 905880735dda..6da6b5533a10 100644
@@ -68,6 +68,7 @@ struct xen_pvcalls_request {
             uint32_t domain;
             uint32_t type;
             uint32_t protocol;
+            uint8_t pad[4];
         } socket;
         struct xen_pvcalls_connect {
             uint64_t id;
@@ -76,10 +77,12 @@ struct xen_pvcalls_request {
             uint32_t flags;
             grant_ref_t ref;
             uint32_t evtchn;
+            uint8_t pad[4];
         } connect;
         struct xen_pvcalls_release {
             uint64_t id;
             uint8_t reuse;
+            uint8_t pad[7];
         } release;
         struct xen_pvcalls_bind {
             uint64_t id;
@@ -89,6 +92,7 @@ struct xen_pvcalls_request {
         struct xen_pvcalls_listen {
             uint64_t id;
             uint32_t backlog;
+            uint8_t pad[4];
         } listen;
         struct xen_pvcalls_accept {
             uint64_t id;
Signature · 1 line
2.17.1
Reviewed-by on v4 2/2
#5 lore raw

Re: [PATCH v4 for-4.14 2/2] pvcalls: Document correctly and explicitely the padding for all arches

Quoted 6 lines · Julien Grall

From: Julien Grall <[email protected]>

The specification of pvcalls suggests there is padding for 32-bit x86 at the end of most the structure. However, they are not described in in the public header.

Quoted 8 lines

Because of that all the structures would be 32-bit aligned and not 64-bit aligned for 32-bit x86.

For all the other architectures supported (Arm and 64-bit x86), the structure are aligned to 64-bit because they contain uint64_t field. Therefore all the structures contain implicit padding.

Given the specification is authoriitative, the padding will the same for

s/authoriitative/authoritative/

Quoted 1 line

the all architectures. The potential breakage of compatibility is ought

s/the//

Quoted 7 lines

to be fine as pvcalls is still a tech preview.

As an aside, the padding sadly cannot be mandated to be 0 as they are already present. So it is not going to be possible to use the padding for extending a command in the future.

With above fixed:

Juergen

#6 lore raw

RE: [PATCH v4 for-4.14 2/2] pvcalls: Document correctly and explicitely the padding for all arches

Quoted 38 lines

-----Original Message-----
From: Jürgen Groß <[email protected]>
Sent: 27 June 2020 12:54
To: Julien Grall <[email protected]>; [email protected]
Cc: [email protected]; Julien Grall <[email protected]>; Andrew Cooper <[email protected]>; George Dunlap <[email protected]>; Ian Jackson <[email protected]>; Jan Beulich <[email protected]>; Stefano Stabellini <[email protected]>; Wei Liu <[email protected]>
Subject: Re: [PATCH v4 for-4.14 2/2] pvcalls: Document correctly and explicitely the padding for all arches

Quoted 6 lines · Julien Grall

From: Julien Grall <[email protected]>

The specification of pvcalls suggests there is padding for 32-bit x86 at the end of most the structure. However, they are not described in in the public header.

Quoted 8 lines

Because of that all the structures would be 32-bit aligned and not 64-bit aligned for 32-bit x86.

For all the other architectures supported (Arm and 64-bit x86), the structure are aligned to 64-bit because they contain uint64_t field. Therefore all the structures contain implicit padding.

Given the specification is authoriitative, the padding will the same for

s/authoriitative/authoritative/

Quoted 1 line

the all architectures. The potential breakage of compatibility is ought

s/the//

Quoted 6 lines

to be fine as pvcalls is still a tech preview.

As an aside, the padding sadly cannot be mandated to be 0 as they are already present. So it is not going to be possible to use the padding for extending a command in the future.

Quoted 6 lines
Quoted 1 line

With above fixed:

Quoted 2 lines

Juergen

#7 lore raw

Re: [PATCH v4 for-4.14 2/2] pvcalls: Document correctly and explicitely the padding for all arches

In reply to Julien Grall
Quoted 8 lines · Julien Grall

From: Julien Grall <[email protected]>

The specification of pvcalls suggests there is padding for 32-bit x86 at the end of most the structure. However, they are not described in in the public header.

Because of that all the structures would be 32-bit aligned and not 64-bit aligned for 32-bit x86.

The added padding doesn't change the alignment. It's sizeof() which gets corrected this way.

Quoted 5 lines

For all the other architectures supported (Arm and 64-bit x86), the structure are aligned to 64-bit because they contain uint64_t field. Therefore all the structures contain implicit padding.

Given the specification is authoriitative, the padding will the same for

Nit: ... will be the same ...

Quoted 1 line

the all architectures. The potential breakage of compatibility is ought

Nit: Drop "is".

Quoted 5 lines

to be fine as pvcalls is still a tech preview.

As an aside, the padding sadly cannot be mandated to be 0 as they are already present. So it is not going to be possible to use the padding for extending a command in the future.

Why is the other adjustment fine to make due to still being tech preview, but this one wouldn't be for the same reason?

Jan

#8 lore raw

Re: [PATCH v4 for-4.14 2/2] pvcalls: Document correctly and explicitely the padding for all arches

Hi Jan,

Quoted 7 lines · Jan Beulich
Quoted 6 lines · Julien Grall

From: Julien Grall <[email protected]>

The specification of pvcalls suggests there is padding for 32-bit x86 at the end of most the structure. However, they are not described in in the public header.

Quoted 5 lines
Quoted 2 lines

Because of that all the structures would be 32-bit aligned and not 64-bit aligned for 32-bit x86.

The added padding doesn't change the alignment. It's sizeof() which gets corrected this way.

I will update the commit message.

Quoted 8 lines
Quoted 6 lines

For all the other architectures supported (Arm and 64-bit x86), the structure are aligned to 64-bit because they contain uint64_t field. Therefore all the structures contain implicit padding.

Given the specification is authoriitative, the padding will the same for

Nit: ... will be the same ...

Ok.

Quoted 4 lines
Quoted 2 lines

the all architectures. The potential breakage of compatibility is ought

Nit: Drop "is".

Ok.

Quoted 8 lines
Quoted 5 lines

to be fine as pvcalls is still a tech preview.

As an aside, the padding sadly cannot be mandated to be 0 as they are already present. So it is not going to be possible to use the padding for extending a command in the future.

Why is the other adjustment fine to make due to still being tech preview, but this one wouldn't be for the same reason?

This is mostly a left-over of the previous message. Although, I am not really inclined to address this myself any time soon.

Cheers,

Signature · 1 line
Julien Grall
#9 lore raw

Re: [PATCH v4 for-4.14 2/2] pvcalls: Document correctly and explicitely the padding for all arches

Quoted 11 lines · Julien Grall
Quoted 7 lines · Jan Beulich
Quoted 3 lines · Julien Grall

As an aside, the padding sadly cannot be mandated to be 0 as they are already present. So it is not going to be possible to use the padding for extending a command in the future.

Why is the other adjustment fine to make due to still being tech preview, but this one wouldn't be for the same reason?

This is mostly a left-over of the previous message. Although, I am not really inclined to address this myself any time soon.

Sure, I didn't mean to indicate I might expect you to. But perhaps here the wording could be slightly changed as well?

Jan

#10 lore raw

Re: [PATCH v4 for-4.14 2/2] pvcalls: Document correctly and explicitely the padding for all arches

Quoted 7 lines · Jan Beulich
Quoted 6 lines · Julien Grall
Quoted 5 lines · Jan Beulich
Quoted 3 lines · Julien Grall

As an aside, the padding sadly cannot be mandated to be 0 as they are already present. So it is not going to be possible to use the padding for extending a command in the future.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Why is the other adjustment fine to make due to still being tech preview, but this one wouldn't be for the same reason?

This is mostly a left-over of the previous message. Although, I am not really inclined to address this myself any time soon.

Sure, I didn't mean to indicate I might expect you to. But perhaps here the wording could be slightly changed as well?

I am planning to remove the paragraph completely.

Cheers,

Signature · 1 line
Julien Grall
Reviewed-by on v4 2/2
#11 lore raw

Re: [PATCH v4 for-4.14 2/2] pvcalls: Document correctly and explicitely the padding for all arches

In reply to Julien Grall
Quoted 17 lines · Julien Grall

From: Julien Grall <[email protected]>

The specification of pvcalls suggests there is padding for 32-bit x86 at the end of most the structure. However, they are not described in in the public header.

Because of that all the structures would be 32-bit aligned and not 64-bit aligned for 32-bit x86.

For all the other architectures supported (Arm and 64-bit x86), the structure are aligned to 64-bit because they contain uint64_t field. Therefore all the structures contain implicit padding.

Given the specification is authoriitative, the padding will the same for the all architectures. The potential breakage of compatibility is ought to be fine as pvcalls is still a tech preview.

Quoted 5 lines

As an aside, the padding sadly cannot be mandated to be 0 as they are already present. So it is not going to be possible to use the padding for extending a command in the future.

Aside from typos other mentioned:

Quoted 95 lines

---
This wants to be included in Xen 4.14 to avoid more users to rely on wrong public headers.

Changes in v4:
- Revert back to v1 for the patch and expand the commit message

Changes in v3:
- Use __i386__ rather than CONFIG_X86_32

Changes in v2:
- It is not possible to use the same padding for 32-bit x86 and all the other supported architectures.

---
 docs/misc/pvcalls.pandoc        | 8 --------
 xen/include/public/io/pvcalls.h | 4 ++++
 2 files changed, 4 insertions(+), 8 deletions(-)
docs/misc/pvcalls.pandoc +0 -8
index 665dad556c39..971cd8f4b122 100644
@@ -246,9 +246,7 @@ The format is defined as follows:
     			uint32_t domain;
     			uint32_t type;
     			uint32_t protocol;
-    			#ifdef CONFIG_X86_32
     			uint8_t pad[4];
-    			#endif
     		} socket;
     		struct xen_pvcalls_connect {
     			uint64_t id;
@@ -257,16 +255,12 @@ The format is defined as follows:
     			uint32_t flags;
     			grant_ref_t ref;
     			uint32_t evtchn;
-    			#ifdef CONFIG_X86_32
     			uint8_t pad[4];
-    			#endif
     		} connect;
     		struct xen_pvcalls_release {
     			uint64_t id;
     			uint8_t reuse;
-    			#ifdef CONFIG_X86_32
     			uint8_t pad[7];
-    			#endif
     		} release;
     		struct xen_pvcalls_bind {
     			uint64_t id;
@@ -276,9 +270,7 @@ The format is defined as follows:
     		struct xen_pvcalls_listen {
     			uint64_t id;
     			uint32_t backlog;
-    			#ifdef CONFIG_X86_32
     			uint8_t pad[4];
-    			#endif
     		} listen;
     		struct xen_pvcalls_accept {
     			uint64_t id;
xen/include/public/io/pvcalls.h +4 -0
index 905880735dda..6da6b5533a10 100644
@@ -68,6 +68,7 @@ struct xen_pvcalls_request {
             uint32_t domain;
             uint32_t type;
             uint32_t protocol;
+            uint8_t pad[4];
         } socket;
         struct xen_pvcalls_connect {
             uint64_t id;
@@ -76,10 +77,12 @@ struct xen_pvcalls_request {
             uint32_t flags;
             grant_ref_t ref;
             uint32_t evtchn;
+            uint8_t pad[4];
         } connect;
         struct xen_pvcalls_release {
             uint64_t id;
             uint8_t reuse;
+            uint8_t pad[7];
         } release;
         struct xen_pvcalls_bind {
             uint64_t id;
@@ -89,6 +92,7 @@ struct xen_pvcalls_request {
         struct xen_pvcalls_listen {
             uint64_t id;
             uint32_t backlog;
+            uint8_t pad[4];
         } listen;
         struct xen_pvcalls_accept {
             uint64_t id;
Signature · 1 line
2.17.1
#12 lore raw

Re: [PATCH v4 for-4.14 2/2] pvcalls: Document correctly and explicitely the padding for all arches

In reply to Julien Grall

Hi,

Quoted 17 lines · Julien Grall

From: Julien Grall <[email protected]>

The specification of pvcalls suggests there is padding for 32-bit x86 at the end of most the structure. However, they are not described in in the public header.

Because of that all the structures would be 32-bit aligned and not 64-bit aligned for 32-bit x86.

For all the other architectures supported (Arm and 64-bit x86), the structure are aligned to 64-bit because they contain uint64_t field. Therefore all the structures contain implicit padding.

Given the specification is authoriitative, the padding will the same for the all architectures. The potential breakage of compatibility is ought to be fine as pvcalls is still a tech preview.

Quoted 5 lines

As an aside, the padding sadly cannot be mandated to be 0 as they are already present. So it is not going to be possible to use the padding for extending a command in the future.

It looks like most of the comments are on the commit message. So rather than sending the series again, below a new version of the commit message:

"
The specification of pvcalls suggests there is padding for 32-bit x86 at the end of most the structure. However, they are not described in in the public header.

Because of that all the structures would have a different size between 32-bit x86 and 64-bit x86.

For all the other architectures supported (Arm and 64-bit x86), the
structure have the sames sizes because they contain implicit padding thanks to the 64-bit alinment of the field uint64_t field.

Given the specification is authoritative, the padding will now be the same for all architectures. The potential breakage of compatibility is ought to be fine as pvcalls is still a tech preview. "

Cheers,

Signature · 1 line
Julien Grall
#13 lore raw

Re: [PATCH v4 for-4.14 2/2] pvcalls: Document correctly and explicitely the padding for all arches

Hi,

Gentle ping.

Is the new commit message fine?

Cheers,

Quoted 44 lines · Julien Grall

Hi,

Quoted 17 lines · Julien Grall

From: Julien Grall <[email protected]>

The specification of pvcalls suggests there is padding for 32-bit x86 at the end of most the structure. However, they are not described in in the public header.

Because of that all the structures would be 32-bit aligned and not 64-bit aligned for 32-bit x86.

For all the other architectures supported (Arm and 64-bit x86), the structure are aligned to 64-bit because they contain uint64_t field. Therefore all the structures contain implicit padding.

Given the specification is authoriitative, the padding will the same for the all architectures. The potential breakage of compatibility is ought to be fine as pvcalls is still a tech preview.

Quoted 5 lines

As an aside, the padding sadly cannot be mandated to be 0 as they are already present. So it is not going to be possible to use the padding for extending a command in the future.

It looks like most of the comments are on the commit message. So rather than sending the series again, below a new version of the commit message:

"
The specification of pvcalls suggests there is padding for 32-bit x86 at the end of most the structure. However, they are not described in in the public header.

Because of that all the structures would have a different size between 32-bit x86 and 64-bit x86.

For all the other architectures supported (Arm and 64-bit x86), the
structure have the sames sizes because they contain implicit padding thanks to the 64-bit alinment of the field uint64_t field.

Given the specification is authoritative, the padding will now be the same for all architectures. The potential breakage of compatibility is ought to be fine as pvcalls is still a tech preview. "

Cheers,

Signature · 1 line
Julien Grall
#14 lore raw

Re: [PATCH v4 for-4.14 2/2] pvcalls: Document correctly and explicitely the padding for all arches

Quoted 54 lines · Julien Grall

Hi,

Gentle ping.

Is the new commit message fine?

Cheers,

Quoted 45 lines · Julien Grall

Hi,

Quoted 17 lines · Julien Grall

From: Julien Grall <[email protected]>

The specification of pvcalls suggests there is padding for 32-bit x86 at the end of most the structure. However, they are not described in in the public header.

Because of that all the structures would be 32-bit aligned and not 64-bit aligned for 32-bit x86.

For all the other architectures supported (Arm and 64-bit x86), the structure are aligned to 64-bit because they contain uint64_t field. Therefore all the structures contain implicit padding.

Given the specification is authoriitative, the padding will the same for the all architectures. The potential breakage of compatibility is ought to be fine as pvcalls is still a tech preview.

Quoted 5 lines

As an aside, the padding sadly cannot be mandated to be 0 as they are already present. So it is not going to be possible to use the padding for extending a command in the future.

It looks like most of the comments are on the commit message. So rather than sending the series again, below a new version of the commit message:

"
The specification of pvcalls suggests there is padding for 32-bit x86 at the end of most the structure. However, they are not described in in the public header.

Because of that all the structures would have a different size between 32-bit x86 and 64-bit x86.

For all the other architectures supported (Arm and 64-bit x86), the structure have the sames sizes because they contain implicit padding thanks to the 64-bit alinment of the field uint64_t field.

Given the specification is authoritative, the padding will now be the same for all architectures. The potential breakage of compatibility is ought to be fine as pvcalls is still a tech preview.
"

Looks good to me

#15 lore raw

Re: [PATCH v4 for-4.14 2/2] pvcalls: Document correctly and explicitely the padding for all arches

Quoted 57 lines · On Thu, 9 Jul 2020, 22:43 Stefano Stabellini, <[email protected]> wrote:
Quoted 26 lines · Julien Grall

Hi,

Gentle ping.

Is the new commit message fine?

Cheers,

Quoted 17 lines · Julien Grall

Hi,

Quoted 14 lines · Julien Grall

From: Julien Grall <[email protected]>

The specification of pvcalls suggests there is padding for 32-bit x86 at the end of most the structure. However, they are not described in in the public header.

Because of that all the structures would be 32-bit aligned and not 64-bit aligned for 32-bit x86.

For all the other architectures supported (Arm and 64-bit x86), the structure are aligned to 64-bit because they contain uint64_t field. Therefore all the structures contain implicit padding.

Given the specification is authoriitative, the padding will the same

for

Quoted 1 line
Quoted 1 line
Quoted 1 line

the all architectures. The potential breakage of compatibility is

ought

Quoted 9 lines
Quoted 9 lines
Quoted 7 lines

to be fine as pvcalls is still a tech preview.

As an aside, the padding sadly cannot be mandated to be 0 as they are already present. So it is not going to be possible to use the padding for extending a command in the future.

It looks like most of the comments are on the commit message. So

rather than

Quoted 7 lines
Quoted 7 lines

sending the series again, below a new version of the commit message:

"
The specification of pvcalls suggests there is padding for 32-bit x86 at the end of most the structure. However, they are not described in in the public header.

Quoted 5 lines
Quoted 5 lines

Because of that all the structures would have a different size between 32-bit x86 and 64-bit x86.

For all the other architectures supported (Arm and 64-bit x86), the structure have the sames sizes because they contain implicit padding

thanks

Quoted 3 lines
Quoted 3 lines

to the 64-bit alinment of the field uint64_t field.

Given the specification is authoritative, the padding will now be the

same

Quoted 9 lines
Quoted 1 line
Quoted 1 line

for all architectures. The potential breakage of compatibility is

ought to

Quoted 2 lines
Quoted 2 lines

be fine as pvcalls is still a tech preview.
"

Looks good to me

Thanks! I don't have access to my work laptop today. Can any of the committers merge it so it doesn't miss 4.14?

Cheers,

Quoted 1 line