Skip to contentSkip to conversation

Fix PAGE_SIZE issues in public headers

RFC PATCH In review Wei Liu 6 participants 13 messages Oct 19, 2016 – Oct 24, 2016

lore
Share & tools
lore

Wei Liu

author
#0 lore raw

cover Fix PAGE_SIZE issues in public headers

Reference to PAGE_SIZE slipped in to two public header files. QEMU build on ARM64 is broken by this.

This series tries to fix that. The approach is discussed at [0].

QEMU will need to update its copy of usbif.h.

It would be good if we can have this fixed either by this series or some other method for 4.8 to avoid releasing problematic headers for another release.

Wei.

[0] <alpine.DEB.2.10.1610181145470.16441@sstabellini-ThinkPad-X260>

Cc Andrew Cooper <[email protected]>
Cc George Dunlap <[email protected]>
Cc Ian Jackson <[email protected]>
Cc Jan Beulich <[email protected]>
Cc Konrad Rzeszutek Wilk <[email protected]>
Cc Stefano Stabellini <[email protected]>
Cc Tim Deegan <[email protected]>
Cc Wei Liu <[email protected]>
Cc Juergen Gross <[email protected]>

Wei Liu (2):
usbif.h: don't require PAGE_SIZE to be present vscsiif.h: don't require PAGE_SIZE to be present

 xen/include/public/io/usbif.h   | 24 ++++++++++++++++++++++--
 xen/include/public/io/vscsiif.h | 18 +++++++++++++++++-
 2 files changed, 39 insertions(+), 3 deletions(-)

--
2.1.4

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

author
#1 lore raw

RFC PATCH 1/2 usbif.h: don't require PAGE_SIZE to be present

If it is present, use it; otherwise use 4096. Also provide two new macros to let user have control over the page size used to do calculation.

---
Cc: Andrew Cooper <[email protected]>
Cc: George Dunlap <[email protected]>
Cc: Ian Jackson <[email protected]>
Cc: Jan Beulich <[email protected]>
Cc: Konrad Rzeszutek Wilk <[email protected]>
Cc: Stefano Stabellini <[email protected]>
Cc: Tim Deegan <[email protected]>
Cc: Wei Liu <[email protected]>
Cc: Juergen Gross <[email protected]>

---
 xen/include/public/io/usbif.h | 24 ++++++++++++++++++++++--
 1 file changed, 22 insertions(+), 2 deletions(-)
xen/include/public/io/usbif.h +22 -2
index 4053c24..ac38318 100644
@@ -216,6 +216,16 @@ struct usbif_urb_request {
 };
 typedef struct usbif_urb_request usbif_urb_request_t;
 
+/*
+ * Reference to PAGE_SIZE was overlooked when this header file was
+ * introduced. Respect PAGE_SIZE if defined, otherwise, use 4096.
+ */
+#ifdef PAGE_SIZE
+#define _USB_RING_PAGE_SIZE PAGE_SIZE
+#else
+#define _USB_RING_PAGE_SIZE 4096
+#endif
+
 struct usbif_urb_response {
 	uint16_t id; /* request id */
 	uint16_t start_frame;  /* start frame (ISO) */
@@ -226,7 +236,12 @@ struct usbif_urb_response {
 typedef struct usbif_urb_response usbif_urb_response_t;
 
 DEFINE_RING_TYPES(usbif_urb, struct usbif_urb_request, struct usbif_urb_response);
-#define USB_URB_RING_SIZE __CONST_RING_SIZE(usbif_urb, PAGE_SIZE)
+/*
+ * Please use _SIZE2 variant in new code, _SIZE variant is kept for
+ * backward-compatibility.
+ */
+#define USB_URB_RING_SIZE __CONST_RING_SIZE(usbif_urb, _USB_RING_PAGE_SIZE)
+#define USB_URB_RING_SIZE2(pgsize) __CONST_RING_SIZE(usbif_urb, (pgsize))
 
 /*
  * RING for notifying connect/disconnect events to frontend
@@ -248,6 +263,11 @@ struct usbif_conn_response {
 typedef struct usbif_conn_response usbif_conn_response_t;
 
 DEFINE_RING_TYPES(usbif_conn, struct usbif_conn_request, struct usbif_conn_response);
-#define USB_CONN_RING_SIZE __CONST_RING_SIZE(usbif_conn, PAGE_SIZE)
+/*
+ * Please use _SIZE2 variant in new code, _SIZE variant is kept for
+ * backward-compatibility.
+ */
+#define USB_CONN_RING_SIZE  __CONST_RING_SIZE(usbif_conn, _USB_RING_PAGE_SIZE)
+#define USB_CONN_RING_SIZE2(pgsize) __CONST_RING_SIZE(usbif_conn, (pgsize))
 
 #endif /* __XEN_PUBLIC_IO_USBIF_H__ */
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#2 lore raw

Re: [PATCH RFC 1/2] usbif.h: don't require PAGE_SIZE to be present

Quoted 26 lines · Wei Liu

If it is present, use it; otherwise use 4096. Also provide two new macros to let user have control over the page size used to do calculation.

---
Cc: Andrew Cooper <[email protected]>
Cc: George Dunlap <[email protected]>
Cc: Ian Jackson <[email protected]>
Cc: Jan Beulich <[email protected]>
Cc: Konrad Rzeszutek Wilk <[email protected]>
Cc: Stefano Stabellini <[email protected]>
Cc: Tim Deegan <[email protected]>
Cc: Wei Liu <[email protected]>
Cc: Juergen Gross <[email protected]>

---
 xen/include/public/io/usbif.h | 24 ++++++++++++++++++++++--
 1 file changed, 22 insertions(+), 2 deletions(-)
xen/include/public/io/usbif.h +0 -0
index 4053c24..ac38318 100644
@@ -216,6 +216,16 @@ struct usbif_urb_request {
 };
 typedef struct usbif_urb_request usbif_urb_request_t;

xen/include/public/io/usbif.h struct usbif_urb_request { · line 227

Quoted 10 lines
xen/include/public/io/usbif.h +9 -0
 
+/*
+ * Reference to PAGE_SIZE was overlooked when this header file was
+ * introduced. Respect PAGE_SIZE if defined, otherwise, use 4096.
+ */
+#ifdef PAGE_SIZE
+#define _USB_RING_PAGE_SIZE PAGE_SIZE
+#else
+#define _USB_RING_PAGE_SIZE 4096
+#endif

Tokens starting with an single underscore and a capital letter are reserved.

Also, I am -1 to screwing around like this. The header file should not reference PAGE_SIZE as it creates ABI-incompatible code when compiled on different systems.

If we really want to get into a rant, then we *should not* be using C to describe our ABI in the first place, for precisely reasons like this. ABIs should be written down in a text document. It is fine to provide C header files to implement an ABI described elsewhere, but using C as the ABI statement causes repeated disasters like this.

Quoted 5 lines
xen/include/public/io/usbif.h +1 -0
+
 struct usbif_urb_response {
 	uint16_t id; /* request id */
 	uint16_t start_frame;  /* start frame (ISO) */

xen/include/public/io/usbif.h struct usbif_urb_response { · line 244

Quoted 10 lines
xen/include/public/io/usbif.h +6 -1
@@ -226,7 +236,12 @@ struct usbif_urb_response {
 typedef struct usbif_urb_response usbif_urb_response_t;
 
 DEFINE_RING_TYPES(usbif_urb, struct usbif_urb_request, struct usbif_urb_response);
-#define USB_URB_RING_SIZE __CONST_RING_SIZE(usbif_urb, PAGE_SIZE)
+/*
+ * Please use _SIZE2 variant in new code, _SIZE variant is kept for
+ * backward-compatibility.
+ */
+#define USB_URB_RING_SIZE __CONST_RING_SIZE(usbif_urb, _USB_RING_PAGE_SIZE)
+#define USB_URB_RING_SIZE2(pgsize) __CONST_RING_SIZE(usbif_urb, (pgsize))

No brackets are needed around pgsize, as it is just a passed parameter.

~Andrew

Quoted 6 lines
xen/include/public/io/usbif.h +0 -0
 /*
  * RING for notifying connect/disconnect events to frontend
@@ -248,6 +263,11 @@ struct usbif_conn_response {
 typedef struct usbif_conn_response usbif_conn_response_t;
 

xen/include/public/io/usbif.h struct usbif_conn_response { · line 273

Quoted 10 lines
xen/include/public/io/usbif.h +6 -1
 DEFINE_RING_TYPES(usbif_conn, struct usbif_conn_request, struct usbif_conn_response);
-#define USB_CONN_RING_SIZE __CONST_RING_SIZE(usbif_conn, PAGE_SIZE)
+/*
+ * Please use _SIZE2 variant in new code, _SIZE variant is kept for
+ * backward-compatibility.
+ */
+#define USB_CONN_RING_SIZE  __CONST_RING_SIZE(usbif_conn, _USB_RING_PAGE_SIZE)
+#define USB_CONN_RING_SIZE2(pgsize) __CONST_RING_SIZE(usbif_conn, (pgsize))
 
 #endif /* __XEN_PUBLIC_IO_USBIF_H__ */

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

author
#3 lore raw

Re: [PATCH RFC 1/2] usbif.h: don't require PAGE_SIZE to be present

Quoted 28 lines · Andrew Cooper
Quoted 27 lines · Wei Liu

If it is present, use it; otherwise use 4096. Also provide two new macros to let user have control over the page size used to do calculation.

---
Cc: Andrew Cooper <[email protected]>
Cc: George Dunlap <[email protected]>
Cc: Ian Jackson <[email protected]>
Cc: Jan Beulich <[email protected]>
Cc: Konrad Rzeszutek Wilk <[email protected]>
Cc: Stefano Stabellini <[email protected]>
Cc: Tim Deegan <[email protected]>
Cc: Wei Liu <[email protected]>
Cc: Juergen Gross <[email protected]>

---
 xen/include/public/io/usbif.h | 24 ++++++++++++++++++++++--
 1 file changed, 22 insertions(+), 2 deletions(-)
xen/include/public/io/usbif.h +0 -0
index 4053c24..ac38318 100644
@@ -216,6 +216,16 @@ struct usbif_urb_request {
 };
 typedef struct usbif_urb_request usbif_urb_request_t;
 
Quoted 12 lines

xen/include/public/io/usbif.h struct usbif_urb_request { · line 227

Quoted 9 lines
xen/include/public/io/usbif.h +9 -0
+/*
+ * Reference to PAGE_SIZE was overlooked when this header file was
+ * introduced. Respect PAGE_SIZE if defined, otherwise, use 4096.
+ */
+#ifdef PAGE_SIZE
+#define _USB_RING_PAGE_SIZE PAGE_SIZE
+#else
+#define _USB_RING_PAGE_SIZE 4096
+#endif

Tokens starting with an single underscore and a capital letter are reserved.

Right, this can be fixed.

Quoted 3 lines

Also, I am -1 to screwing around like this. The header file should not reference PAGE_SIZE as it creates ABI-incompatible code when compiled on different systems.

I also dislike keeping PAGE_SIZE here, but what if existing code really expects such behaviour? :-/

I don't know enough about the history and / or users of these macros TBH. I trust Juergen's judgement because he knows more about this than me -- both this and vscsi came from SuSE and predates upstream PVOPS kernel AFAICT.

Quoted 7 lines

If we really want to get into a rant, then we *should not* be using C to describe our ABI in the first place, for precisely reasons like this. ABIs should be written down in a text document. It is fine to provide C header files to implement an ABI described elsewhere, but using C as the ABI statement causes repeated disasters like this.

Agreed.

Wei.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#4 lore raw

Re: [PATCH RFC 1/2] usbif.h: don't require PAGE_SIZE to be present

In reply to Wei Liu
Quoted 3 lines · Wei Liu

If it is present, use it; otherwise use 4096. Also provide two new macros to let user have control over the page size used to do calculation.

[...]

xen/include/public/io/usbif.h struct usbif_urb_request { · line 224

Quoted 13 lines

index 4053c24..ac38318 100644

xen/include/public/io/usbif.h +6 -0
@@ -216,6 +216,16 @@ struct usbif_urb_request {
 };
 typedef struct usbif_urb_request usbif_urb_request_t;
 
+/*
+ * Reference to PAGE_SIZE was overlooked when this header file was
+ * introduced. Respect PAGE_SIZE if defined, otherwise, use 4096.
+ */
+#ifdef PAGE_SIZE
+#define _USB_RING_PAGE_SIZE PAGE_SIZE

#define XEN_USBIF_RING_SIZE 4096

Since PAGE_SIZE on the backend is not necessarily PAGE_SIZE in the frontend. This is what the size has always been so it won't break anything.

And similarly for vscsiif.

David

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#5 lore raw

Re: [PATCH RFC 1/2] usbif.h: don't require PAGE_SIZE to be present

Quoted 21 lines · David Vrabel
Quoted 3 lines · Wei Liu

If it is present, use it; otherwise use 4096. Also provide two new macros to let user have control over the page size used to do calculation.

[...]

xen/include/public/io/usbif.h struct usbif_urb_request { · line 224

Quoted 13 lines

index 4053c24..ac38318 100644

xen/include/public/io/usbif.h +6 -0
@@ -216,6 +216,16 @@ struct usbif_urb_request {
 };
 typedef struct usbif_urb_request usbif_urb_request_t;
 
+/*
+ * Reference to PAGE_SIZE was overlooked when this header file was
+ * introduced. Respect PAGE_SIZE if defined, otherwise, use 4096.
+ */
+#ifdef PAGE_SIZE
+#define _USB_RING_PAGE_SIZE PAGE_SIZE

#define XEN_USBIF_RING_SIZE 4096

Quoted 4 lines

Since PAGE_SIZE on the backend is not necessarily PAGE_SIZE in the frontend. This is what the size has always been so it won't break anything.

And similarly for vscsiif.

That is exactly right, thank you.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

author
#6 lore raw

RFC PATCH 2/2 vscsiif.h: don't require PAGE_SIZE to be present

In reply to Wei Liu

If it is present, use it; otherwise use 4096. Also provide a new macro to let user have control over the page size used to do calculation.

---
Cc: Andrew Cooper <[email protected]>
Cc: George Dunlap <[email protected]>
Cc: Ian Jackson <[email protected]>
Cc: Jan Beulich <[email protected]>
Cc: Konrad Rzeszutek Wilk <[email protected]>
Cc: Stefano Stabellini <[email protected]>
Cc: Tim Deegan <[email protected]>
Cc: Wei Liu <[email protected]>
Cc: Juergen Gross <[email protected]>

---
 xen/include/public/io/vscsiif.h | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)
xen/include/public/io/vscsiif.h +17 -1
index 0a4709f..00e8b74 100644
@@ -256,7 +256,23 @@ struct scsiif_request_segment {
 };
 typedef struct scsiif_request_segment vscsiif_segment_t;
 
-#define VSCSIIF_SG_PER_PAGE (PAGE_SIZE / sizeof(struct scsiif_request_segment))
+/*
+ * Reference to PAGE_SIZE was overlooked when this header file was
+ * introduced. Respect PAGE_SIZE if defined, otherwise, use 4096.
+ */
+#ifdef PAGE_SIZE
+#define _VSCSIIF_PAGE_SIZE PAGE_SIZE
+#else
+#define _VSCSIIF_PAGE_SIZE 4096
+#endif
+/*
+ * Please use _PAGE2 variant in new code, _PAGE variant is kept for
+ * backward-compatibility.
+ */
+#define VSCSIIF_SG_PER_PAGE (_VSCSI_PAGE_SIZE / \
+                             sizeof(struct scsiif_request_segment))
+#define VSCSIIF_SG_PER_PAGE2(pgsize) ((pgsize) / \
+                                      sizeof(struct scsiif_request_segment))
 
 /* Size of one request is 252 bytes */
 struct vscsiif_request {
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Reviewed-by on the v1 series
#7 lore raw
In reply to Wei Liu
Quoted 6 lines · Wei Liu

Reference to PAGE_SIZE slipped in to two public header files. QEMU build on ARM64 is broken by this.

This series tries to fix that. The approach is discussed at [0].

QEMU will need to update its copy of usbif.h.

There is no QEMU copy of Xen headers. This is the reason why an imcompatible change is not possible. With the patches there is no longer an urgent need for qemu to be modified.

Quoted 2 lines

It would be good if we can have this fixed either by this series or some other method for 4.8 to avoid releasing problematic headers for another release.

Both patches:

Thanks,

Juergen

Quoted 19 lines

Wei.

[0] <alpine.DEB.2.10.1610181145470.16441@sstabellini-ThinkPad-X260>

Cc Andrew Cooper <[email protected]>
Cc George Dunlap <[email protected]>
Cc Ian Jackson <[email protected]>
Cc Jan Beulich <[email protected]>
Cc Konrad Rzeszutek Wilk <[email protected]>
Cc Stefano Stabellini <[email protected]>
Cc Tim Deegan <[email protected]>
Cc Wei Liu <[email protected]>
Cc Juergen Gross <[email protected]>

Wei Liu (2):
usbif.h: don't require PAGE_SIZE to be present vscsiif.h: don't require PAGE_SIZE to be present

Quoted 8 lines
 xen/include/public/io/usbif.h   | 24 ++++++++++++++++++++++--
 xen/include/public/io/vscsiif.h | 18 +++++++++++++++++-
 2 files changed, 39 insertions(+), 3 deletions(-)

--
2.1.4

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#8 lore raw
Quoted 11 lines · Juergen Gross
Quoted 6 lines · Wei Liu

Reference to PAGE_SIZE slipped in to two public header files. QEMU build on ARM64 is broken by this.

This series tries to fix that. The approach is discussed at [0].

QEMU will need to update its copy of usbif.h.

There is no QEMU copy of Xen headers. This is the reason why an imcompatible change is not possible. With the patches there is no longer an urgent need for qemu to be modified.

Yes, as long as we backport the fixes to the Xen stable trees as soon as possible.

Quoted 40 lines
Quoted 2 lines

It would be good if we can have this fixed either by this series or some other method for 4.8 to avoid releasing problematic headers for another release.

Both patches:

Thanks,

Juergen

Quoted 27 lines

Wei.

[0] <alpine.DEB.2.10.1610181145470.16441@sstabellini-ThinkPad-X260>

Cc Andrew Cooper <[email protected]>
Cc George Dunlap <[email protected]>
Cc Ian Jackson <[email protected]>
Cc Jan Beulich <[email protected]>
Cc Konrad Rzeszutek Wilk <[email protected]>
Cc Stefano Stabellini <[email protected]>
Cc Tim Deegan <[email protected]>
Cc Wei Liu <[email protected]>
Cc Juergen Gross <[email protected]>

Wei Liu (2):
usbif.h: don't require PAGE_SIZE to be present vscsiif.h: don't require PAGE_SIZE to be present

 xen/include/public/io/usbif.h   | 24 ++++++++++++++++++++++--
 xen/include/public/io/vscsiif.h | 18 +++++++++++++++++-
 2 files changed, 39 insertions(+), 3 deletions(-)

--
2.1.4

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#9 lore raw
Quoted 7 lines · Stefano Stabellini
Quoted 6 lines · Juergen Gross
Quoted 5 lines · Wei Liu

Reference to PAGE_SIZE slipped in to two public header files. QEMU build on ARM64 is broken by this.

This series tries to fix that. The approach is discussed at [0].

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

QEMU will need to update its copy of usbif.h.

There is no QEMU copy of Xen headers. This is the reason why an imcompatible change is not possible. With the patches there is no longer an urgent need for qemu to be modified.

Yes, as long as we backport the fixes to the Xen stable trees as soon as possible.

I spoke too soon. Actually QEMU xen-usb.c references PAGE_SIZE directly, which also needs to be fixed. In this case, I think I would use XC_PAGE_SIZE, because we are already using it in that file and because this way we don't tie the fix with the public headers fixes in Xen.

---

xen-usb: do not reference PAGE_SIZE

PAGE_SIZE is undefined on ARM64. Use XC_PAGE_SIZE instead, which is always 4096 even when page granularity is 64K.

For this to actually work with 64K pages, more changes are required.

hw/usb/xen-usb.c +2 -2
index 174d715..de2ebd6 100644
@@ -160,7 +160,7 @@ static int usbback_gnttab_map(struct usbback_req *usbback_req)
 
     for (i = 0; i < nr_segs; i++) {
         if ((unsigned)usbback_req->req.seg[i].offset +
-            (unsigned)usbback_req->req.seg[i].length > PAGE_SIZE) {
+            (unsigned)usbback_req->req.seg[i].length > XC_PAGE_SIZE) {
             xen_be_printf(xendev, 0, "segment crosses page boundary\n");
             return -EINVAL;
         }
@@ -183,7 +183,7 @@ static int usbback_gnttab_map(struct usbback_req *usbback_req)
 
         for (i = 0; i < usbback_req->nr_buffer_segs; i++) {
             seg = usbback_req->req.seg + i;
-            addr = usbback_req->buffer + i * PAGE_SIZE + seg->offset;
+            addr = usbback_req->buffer + i * XC_PAGE_SIZE + seg->offset;
             qemu_iovec_add(&usbback_req->packet.iov, addr, seg->length);
         }
     }

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

Reviewed-by
#10 lore raw
Quoted 25 lines · Stefano Stabellini
Quoted 7 lines · Stefano Stabellini
Quoted 6 lines · Juergen Gross
Quoted 5 lines · Wei Liu

Reference to PAGE_SIZE slipped in to two public header files. QEMU build on ARM64 is broken by this.

This series tries to fix that. The approach is discussed at [0].

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

QEMU will need to update its copy of usbif.h.

There is no QEMU copy of Xen headers. This is the reason why an imcompatible change is not possible. With the patches there is no longer an urgent need for qemu to be modified.

Yes, as long as we backport the fixes to the Xen stable trees as soon as possible.

I spoke too soon. Actually QEMU xen-usb.c references PAGE_SIZE directly, which also needs to be fixed. In this case, I think I would use XC_PAGE_SIZE, because we are already using it in that file and because this way we don't tie the fix with the public headers fixes in Xen.

---

Quoted 8 lines

xen-usb: do not reference PAGE_SIZE

PAGE_SIZE is undefined on ARM64. Use XC_PAGE_SIZE instead, which is always 4096 even when page granularity is 64K.

For this to actually work with 64K pages, more changes are required.

Quoted 17 lines
hw/usb/xen-usb.c +1 -1
index 174d715..de2ebd6 100644
@@ -160,7 +160,7 @@ static int usbback_gnttab_map(struct usbback_req *usbback_req)
 
     for (i = 0; i < nr_segs; i++) {
         if ((unsigned)usbback_req->req.seg[i].offset +
-            (unsigned)usbback_req->req.seg[i].length > PAGE_SIZE) {
+            (unsigned)usbback_req->req.seg[i].length > XC_PAGE_SIZE) {
             xen_be_printf(xendev, 0, "segment crosses page boundary\n");
             return -EINVAL;
         }

hw/usb/xen-usb.c static int usbback_gnttab_map(struct usbback_req *usbback_req) · line 189

Quoted 8 lines
hw/usb/xen-usb.c +1 -1
@@ -183,7 +183,7 @@ static int usbback_gnttab_map(struct usbback_req *usbback_req)
 
         for (i = 0; i < usbback_req->nr_buffer_segs; i++) {
             seg = usbback_req->req.seg + i;
-            addr = usbback_req->buffer + i * PAGE_SIZE + seg->offset;
+            addr = usbback_req->buffer + i * XC_PAGE_SIZE + seg->offset;
             qemu_iovec_add(&usbback_req->packet.iov, addr, seg->length);
         }
     }

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#11 lore raw
In reply to Stefano Stabellini

Stefano Stabellini writes ("Re: [PATCH RFC 0/2] Fix PAGE_SIZE issues in public headers"):

Quoted 2 lines

Yes, as long as we backport the fixes to the Xen stable trees as soon as possible.

I have queued both of these for backport:

d93539cc486aa6022195305dbea5fe12f90b69fe vscsiif.h: replace PAGE_SIZE with VSCSIIF_PAGE_SIZE

04535bee06858fd949c743cfecc4d7b96333a16c
usbif.h: replace PAGE_SIZE with USBIF_RING_SIZE

Thanks,
Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#12 lore raw
Quoted 11 lines · Ian Jackson

Stefano Stabellini writes ("Re: [PATCH RFC 0/2] Fix PAGE_SIZE issues in public headers"):

Quoted 2 lines

Yes, as long as we backport the fixes to the Xen stable trees as soon as possible.

I have queued both of these for backport:

d93539cc486aa6022195305dbea5fe12f90b69fe vscsiif.h: replace PAGE_SIZE with VSCSIIF_PAGE_SIZE

04535bee06858fd949c743cfecc4d7b96333a16c
usbif.h: replace PAGE_SIZE with USBIF_RING_SIZE

Thank you!

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel