Displaying 5 results from an estimated 5 matches for "ed9c9eeedfe5".
2016 Dec 20
4
[RFC PATCH] vring: Force use of DMA API for ARM-based systems
...utomirski <luto at kernel.org>
Cc: Michael S. Tsirkin <mst at redhat.com>
Signed-off-by: Will Deacon <will.deacon at arm.com>
---
drivers/virtio/virtio_ring.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c
index ed9c9eeedfe5..06b91e29d1b7 100644
--- a/drivers/virtio/virtio_ring.c
+++ b/drivers/virtio/virtio_ring.c
@@ -159,6 +159,10 @@ static bool vring_use_dma_api(struct virtio_device *vdev)
if (xen_domain())
return true;
+ /* On ARM-based machines, the DMA ops will do the right thing */
+ if (IS_ENABLED(CONFIG_...
2016 Dec 20
4
[RFC PATCH] vring: Force use of DMA API for ARM-based systems
...utomirski <luto at kernel.org>
Cc: Michael S. Tsirkin <mst at redhat.com>
Signed-off-by: Will Deacon <will.deacon at arm.com>
---
drivers/virtio/virtio_ring.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c
index ed9c9eeedfe5..06b91e29d1b7 100644
--- a/drivers/virtio/virtio_ring.c
+++ b/drivers/virtio/virtio_ring.c
@@ -159,6 +159,10 @@ static bool vring_use_dma_api(struct virtio_device *vdev)
if (xen_domain())
return true;
+ /* On ARM-based machines, the DMA ops will do the right thing */
+ if (IS_ENABLED(CONFIG_...
2017 Jan 06
0
[RFC PATCH] vring: Force use of DMA API for ARM-based systems
...; Cc: Michael S. Tsirkin <mst at redhat.com>
> Signed-off-by: Will Deacon <will.deacon at arm.com>
> ---
> drivers/virtio/virtio_ring.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c
> index ed9c9eeedfe5..06b91e29d1b7 100644
> --- a/drivers/virtio/virtio_ring.c
> +++ b/drivers/virtio/virtio_ring.c
> @@ -159,6 +159,10 @@ static bool vring_use_dma_api(struct virtio_device *vdev)
> if (xen_domain())
> return true;
>
> + /* On ARM-based machines, the DMA ops will do the righ...
2017 Jan 06
2
[RFC PATCH] vring: Force use of DMA API for ARM-based systems
...t;mst at redhat.com>
>> Signed-off-by: Will Deacon <will.deacon at arm.com>
>> ---
>> drivers/virtio/virtio_ring.c | 4 ++++
>> 1 file changed, 4 insertions(+)
>>
>> diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c
>> index ed9c9eeedfe5..06b91e29d1b7 100644
>> --- a/drivers/virtio/virtio_ring.c
>> +++ b/drivers/virtio/virtio_ring.c
>> @@ -159,6 +159,10 @@ static bool vring_use_dma_api(struct virtio_device *vdev)
>> if (xen_domain())
>> return true;
>>
>> + /* On ARM-based machines,...
2017 Jan 06
2
[RFC PATCH] vring: Force use of DMA API for ARM-based systems
...t;mst at redhat.com>
>> Signed-off-by: Will Deacon <will.deacon at arm.com>
>> ---
>> drivers/virtio/virtio_ring.c | 4 ++++
>> 1 file changed, 4 insertions(+)
>>
>> diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c
>> index ed9c9eeedfe5..06b91e29d1b7 100644
>> --- a/drivers/virtio/virtio_ring.c
>> +++ b/drivers/virtio/virtio_ring.c
>> @@ -159,6 +159,10 @@ static bool vring_use_dma_api(struct virtio_device *vdev)
>> if (xen_domain())
>> return true;
>>
>> + /* On ARM-based machines,...