search for: 48e3c29223b5

Displaying 11 results from an estimated 11 matches for "48e3c29223b5".

2020 Aug 03
0
[PATCH v2 12/24] virtio_iommu: correct tags for config space fields
...space fields as having little endian-ness. Signed-off-by: Michael S. Tsirkin <mst at redhat.com> --- include/uapi/linux/virtio_iommu.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/uapi/linux/virtio_iommu.h b/include/uapi/linux/virtio_iommu.h index 48e3c29223b5..237e36a280cb 100644 --- a/include/uapi/linux/virtio_iommu.h +++ b/include/uapi/linux/virtio_iommu.h @@ -18,24 +18,24 @@ #define VIRTIO_IOMMU_F_MMIO 5 struct virtio_iommu_range_64 { - __u64 start; - __u64 end; + __le64 start; + __le64 end; }; struct virtio_iommu_range_32 {...
2020 Aug 05
0
[PATCH v3 12/38] virtio_iommu: correct tags for config space fields
...ppe Brucker <jean-philippe at linaro.org> Reviewed-by: Cornelia Huck <cohuck at redhat.com> --- include/uapi/linux/virtio_iommu.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/uapi/linux/virtio_iommu.h b/include/uapi/linux/virtio_iommu.h index 48e3c29223b5..237e36a280cb 100644 --- a/include/uapi/linux/virtio_iommu.h +++ b/include/uapi/linux/virtio_iommu.h @@ -18,24 +18,24 @@ #define VIRTIO_IOMMU_F_MMIO 5 struct virtio_iommu_range_64 { - __u64 start; - __u64 end; + __le64 start; + __le64 end; }; struct virtio_iommu_range_32 {...
2020 May 06
1
[PATCH v5] iommu/virtio: Use page size bitmap supported by endpoint
...gt;dev = dev; > vdev->viommu = viommu; > + vdev->pgsize_bitmap = viommu->pgsize_bitmap; > INIT_LIST_HEAD(&vdev->resv_regions); > dev_iommu_priv_set(dev, vdev); > > diff --git a/include/uapi/linux/virtio_iommu.h b/include/uapi/linux/virtio_iommu.h > index 48e3c29223b5..2cced7accc99 100644 > --- a/include/uapi/linux/virtio_iommu.h > +++ b/include/uapi/linux/virtio_iommu.h As any virtio UAPI change, you need to copy virtio TC at some point before this is merged ... > @@ -111,6 +111,7 @@ struct virtio_iommu_req_unmap { > > #define VIRTIO_IOMMU_P...
2020 Mar 11
0
[PATCH] iommu/virtio: Fix sparse warning
...at intel.com> Signed-off-by: Jean-Philippe Brucker <jean-philippe at linaro.org> --- include/uapi/linux/virtio_iommu.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/uapi/linux/virtio_iommu.h b/include/uapi/linux/virtio_iommu.h index 237e36a280cb..48e3c29223b5 100644 --- a/include/uapi/linux/virtio_iommu.h +++ b/include/uapi/linux/virtio_iommu.h @@ -18,24 +18,24 @@ #define VIRTIO_IOMMU_F_MMIO 5 struct virtio_iommu_range_64 { - __le64 start; - __le64 end; + __u64 start; + __u64 end; }; struct virtio_iommu_range_32 { - __le32...
2020 May 07
2
[EXT] Re: [PATCH v5] iommu/virtio: Use page size bitmap supported by endpoint
...pgsize_bitmap = viommu->pgsize_bitmap; > > > INIT_LIST_HEAD(&vdev->resv_regions); > > > dev_iommu_priv_set(dev, vdev); > > > > > > diff --git a/include/uapi/linux/virtio_iommu.h > > > b/include/uapi/linux/virtio_iommu.h > > > index 48e3c29223b5..2cced7accc99 100644 > > > --- a/include/uapi/linux/virtio_iommu.h > > > +++ b/include/uapi/linux/virtio_iommu.h > > > > As any virtio UAPI change, you need to copy virtio TC at some point before this is > > merged ... > > Jean already send patch for same...
2020 May 12
1
[PATCH v5] iommu/virtio: Use page size bitmap supported by endpoint
...gt;dev = dev; > vdev->viommu = viommu; > + vdev->pgsize_bitmap = viommu->pgsize_bitmap; > INIT_LIST_HEAD(&vdev->resv_regions); > dev_iommu_priv_set(dev, vdev); > > diff --git a/include/uapi/linux/virtio_iommu.h b/include/uapi/linux/virtio_iommu.h > index 48e3c29223b5..2cced7accc99 100644 > --- a/include/uapi/linux/virtio_iommu.h > +++ b/include/uapi/linux/virtio_iommu.h > @@ -111,6 +111,7 @@ struct virtio_iommu_req_unmap { > > #define VIRTIO_IOMMU_PROBE_T_NONE 0 > #define VIRTIO_IOMMU_PROBE_T_RESV_MEM 1 > +#define VIRTIO_IOMMU_PROBE_T...
2020 May 07
0
[EXT] Re: [PATCH v5] iommu/virtio: Use page size bitmap supported by endpoint
...+ vdev->pgsize_bitmap = viommu->pgsize_bitmap; >>> INIT_LIST_HEAD(&vdev->resv_regions); >>> dev_iommu_priv_set(dev, vdev); >>> >>> diff --git a/include/uapi/linux/virtio_iommu.h >>> b/include/uapi/linux/virtio_iommu.h >>> index 48e3c29223b5..2cced7accc99 100644 >>> --- a/include/uapi/linux/virtio_iommu.h >>> +++ b/include/uapi/linux/virtio_iommu.h >> >> As any virtio UAPI change, you need to copy virtio TC at some point before this is >> merged ... > > Jean already send patch for same > ht...
2020 May 07
0
[EXT] Re: [PATCH v5] iommu/virtio: Use page size bitmap supported by endpoint
...p = viommu->pgsize_bitmap; >>>> INIT_LIST_HEAD(&vdev->resv_regions); >>>> dev_iommu_priv_set(dev, vdev); >>>> >>>> diff --git a/include/uapi/linux/virtio_iommu.h >>>> b/include/uapi/linux/virtio_iommu.h >>>> index 48e3c29223b5..2cced7accc99 100644 >>>> --- a/include/uapi/linux/virtio_iommu.h >>>> +++ b/include/uapi/linux/virtio_iommu.h >>> >>> As any virtio UAPI change, you need to copy virtio TC at some point before this is >>> merged ... >> >> Jean already...
2020 May 14
2
[PATCH v6] iommu/virtio: Use page size bitmap supported by endpoint
...gt;dev = dev; > vdev->viommu = viommu; > + vdev->pgsize_bitmap = viommu->pgsize_bitmap; > INIT_LIST_HEAD(&vdev->resv_regions); > dev_iommu_priv_set(dev, vdev); > > diff --git a/include/uapi/linux/virtio_iommu.h b/include/uapi/linux/virtio_iommu.h > index 48e3c29223b5..15a8327ffef5 100644 > --- a/include/uapi/linux/virtio_iommu.h > +++ b/include/uapi/linux/virtio_iommu.h > @@ -28,7 +28,11 @@ struct virtio_iommu_range_32 { > }; > > struct virtio_iommu_config { > - /* Supported page sizes */ > + /* > + * Bitmap of supported page siz...
2020 May 14
2
[PATCH v6] iommu/virtio: Use page size bitmap supported by endpoint
...gt;dev = dev; > vdev->viommu = viommu; > + vdev->pgsize_bitmap = viommu->pgsize_bitmap; > INIT_LIST_HEAD(&vdev->resv_regions); > dev_iommu_priv_set(dev, vdev); > > diff --git a/include/uapi/linux/virtio_iommu.h b/include/uapi/linux/virtio_iommu.h > index 48e3c29223b5..15a8327ffef5 100644 > --- a/include/uapi/linux/virtio_iommu.h > +++ b/include/uapi/linux/virtio_iommu.h > @@ -28,7 +28,11 @@ struct virtio_iommu_range_32 { > }; > > struct virtio_iommu_config { > - /* Supported page sizes */ > + /* > + * Bitmap of supported page siz...
2020 Aug 03
51
[PATCH v2 00/24] virtio: config space endian-ness cleanup
Config space endian-ness is currently a mess: fields are not tagged with the correct endian-ness so it's easy to make mistakes like instanciating config space in native endian-ness. The following patches adding sparse tagging are currently in my tree. Lightly tested. As a follow-up, I plan to add new APIs that handle modern config space in a more efficient way (bypassing the version check).