mbox series

[v2,0/2] xen/swiotlb: fix 2 issues in xen-swiotlb

Message ID 20240916064748.18071-1-jgross@suse.com (mailing list archive)
Headers show
Series xen/swiotlb: fix 2 issues in xen-swiotlb | expand

Message

Jürgen Groß Sept. 16, 2024, 6:47 a.m. UTC
Fix 2 issues in xen-swiotlb:

- buffers need to be aligned properly
- wrong buffer size if XEN_PAGE_SIZE < PAGE_SIZE

Changes in V2:
- added patch 2

Juergen Gross (2):
  xen/swiotlb: add alignment check for dma buffers
  xen/swiotlb: fix allocated size

 drivers/xen/swiotlb-xen.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)