search for: disable_multitc

Displaying 20 results from an estimated 22 matches for "disable_multitc".

Did you mean: disable_multitce
2018 Apr 05
4
[RFC] virtio: Use DMA MAP API for devices without an IOMMU
...3 files changed, 12 insertions(+) diff --git a/arch/powerpc/platforms/pseries/iommu.c b/arch/powerpc/platforms/pseries/iommu.c index 06f02960b439..dd15fbddbe89 100644 --- a/arch/powerpc/platforms/pseries/iommu.c +++ b/arch/powerpc/platforms/pseries/iommu.c @@ -1396,3 +1396,9 @@ static int __init disable_multitce(char *str) __setup("multitce=", disable_multitce); machine_subsys_initcall_sync(pseries, tce_iommu_bus_notifier_init); + +bool is_virtio_dma_platform(void) +{ + return true; +} +EXPORT_SYMBOL(is_virtio_dma_platform); diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_r...
2018 Apr 05
4
[RFC] virtio: Use DMA MAP API for devices without an IOMMU
...3 files changed, 12 insertions(+) diff --git a/arch/powerpc/platforms/pseries/iommu.c b/arch/powerpc/platforms/pseries/iommu.c index 06f02960b439..dd15fbddbe89 100644 --- a/arch/powerpc/platforms/pseries/iommu.c +++ b/arch/powerpc/platforms/pseries/iommu.c @@ -1396,3 +1396,9 @@ static int __init disable_multitce(char *str) __setup("multitce=", disable_multitce); machine_subsys_initcall_sync(pseries, tce_iommu_bus_notifier_init); + +bool is_virtio_dma_platform(void) +{ + return true; +} +EXPORT_SYMBOL(is_virtio_dma_platform); diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_r...
2018 May 23
8
[RFC V2] virtio: Add platform specific DMA API translation for virito devices
...> > > #include <linux/iommu.h> > > #include <linux/rculist.h> > > +#include <linux/virtio.h> > > #include <asm/io.h> > > #include <asm/prom.h> > > #include <asm/rtas.h> > > @@ -1396,3 +1397,13 @@ static int __init disable_multitce(char *str) > > __setup("multitce=", disable_multitce); > > > > machine_subsys_initcall_sync(pseries, tce_iommu_bus_notifier_init); > > + > > +bool platform_forces_virtio_dma(struct virtio_device *vdev) > > +{ > > + /* > > + * On protec...
2018 May 23
8
[RFC V2] virtio: Add platform specific DMA API translation for virito devices
...> > > #include <linux/iommu.h> > > #include <linux/rculist.h> > > +#include <linux/virtio.h> > > #include <asm/io.h> > > #include <asm/prom.h> > > #include <asm/rtas.h> > > @@ -1396,3 +1397,13 @@ static int __init disable_multitce(char *str) > > __setup("multitce=", disable_multitce); > > > > machine_subsys_initcall_sync(pseries, tce_iommu_bus_notifier_init); > > + > > +bool platform_forces_virtio_dma(struct virtio_device *vdev) > > +{ > > + /* > > + * On protec...
2018 May 22
4
[RFC V2] virtio: Add platform specific DMA API translation for virito devices
...c/platforms/pseries/iommu.c @@ -38,6 +38,7 @@ #include <linux/of.h> #include <linux/iommu.h> #include <linux/rculist.h> +#include <linux/virtio.h> #include <asm/io.h> #include <asm/prom.h> #include <asm/rtas.h> @@ -1396,3 +1397,13 @@ static int __init disable_multitce(char *str) __setup("multitce=", disable_multitce); machine_subsys_initcall_sync(pseries, tce_iommu_bus_notifier_init); + +bool platform_forces_virtio_dma(struct virtio_device *vdev) +{ + /* + * On protected guest platforms, force virtio core to use DMA + * MAP API for all virtio de...
2018 May 22
4
[RFC V2] virtio: Add platform specific DMA API translation for virito devices
...c/platforms/pseries/iommu.c @@ -38,6 +38,7 @@ #include <linux/of.h> #include <linux/iommu.h> #include <linux/rculist.h> +#include <linux/virtio.h> #include <asm/io.h> #include <asm/prom.h> #include <asm/rtas.h> @@ -1396,3 +1397,13 @@ static int __init disable_multitce(char *str) __setup("multitce=", disable_multitce); machine_subsys_initcall_sync(pseries, tce_iommu_bus_notifier_init); + +bool platform_forces_virtio_dma(struct virtio_device *vdev) +{ + /* + * On protected guest platforms, force virtio core to use DMA + * MAP API for all virtio de...
2018 Jul 20
3
[RFC 4/4] virtio: Add platform specific DMA API translation for virito devices
...8,7 @@ > #include <linux/of.h> > #include <linux/iommu.h> > #include <linux/rculist.h> > +#include <linux/virtio.h> > #include <asm/io.h> > #include <asm/prom.h> > #include <asm/rtas.h> > @@ -1396,3 +1397,8 @@ static int __init disable_multitce(char *str) > __setup("multitce=", disable_multitce); > > machine_subsys_initcall_sync(pseries, tce_iommu_bus_notifier_init); > + > +void platform_override_dma_ops(struct virtio_device *vdev) > +{ > + /* Override vdev->parent.dma_ops if required */ > +} >...
2018 Jul 20
3
[RFC 4/4] virtio: Add platform specific DMA API translation for virito devices
...8,7 @@ > #include <linux/of.h> > #include <linux/iommu.h> > #include <linux/rculist.h> > +#include <linux/virtio.h> > #include <asm/io.h> > #include <asm/prom.h> > #include <asm/rtas.h> > @@ -1396,3 +1397,8 @@ static int __init disable_multitce(char *str) > __setup("multitce=", disable_multitce); > > machine_subsys_initcall_sync(pseries, tce_iommu_bus_notifier_init); > + > +void platform_override_dma_ops(struct virtio_device *vdev) > +{ > + /* Override vdev->parent.dma_ops if required */ > +} >...
2018 Jun 04
2
[RFC V2] virtio: Add platform specific DMA API translation for virito devices
...; > #include <linux/rculist.h> > > > > +#include <linux/virtio.h> > > > > #include <asm/io.h> > > > > #include <asm/prom.h> > > > > #include <asm/rtas.h> > > > > @@ -1396,3 +1397,13 @@ static int __init disable_multitce(char *str) > > > > __setup("multitce=", disable_multitce); > > > > > > > > machine_subsys_initcall_sync(pseries, tce_iommu_bus_notifier_init); > > > > + > > > > +bool platform_forces_virtio_dma(struct virtio_device *vdev) &g...
2018 Jun 04
2
[RFC V2] virtio: Add platform specific DMA API translation for virito devices
...; > #include <linux/rculist.h> > > > > +#include <linux/virtio.h> > > > > #include <asm/io.h> > > > > #include <asm/prom.h> > > > > #include <asm/rtas.h> > > > > @@ -1396,3 +1397,13 @@ static int __init disable_multitce(char *str) > > > > __setup("multitce=", disable_multitce); > > > > > > > > machine_subsys_initcall_sync(pseries, tce_iommu_bus_notifier_init); > > > > + > > > > +bool platform_forces_virtio_dma(struct virtio_device *vdev) &g...
2018 Apr 05
0
[RFC] virtio: Use DMA MAP API for devices without an IOMMU
...ons(+) > > diff --git a/arch/powerpc/platforms/pseries/iommu.c b/arch/powerpc/platforms/pseries/iommu.c > index 06f02960b439..dd15fbddbe89 100644 > --- a/arch/powerpc/platforms/pseries/iommu.c > +++ b/arch/powerpc/platforms/pseries/iommu.c > @@ -1396,3 +1396,9 @@ static int __init disable_multitce(char *str) > __setup("multitce=", disable_multitce); > > machine_subsys_initcall_sync(pseries, tce_iommu_bus_notifier_init); > + > +bool is_virtio_dma_platform(void) > +{ > + return true; > +} > +EXPORT_SYMBOL(is_virtio_dma_platform); > diff --git a/...
2018 Jul 20
0
[RFC 4/4] virtio: Add platform specific DMA API translation for virito devices
...pc/platforms/pseries/iommu.c @@ -38,6 +38,7 @@ #include <linux/of.h> #include <linux/iommu.h> #include <linux/rculist.h> +#include <linux/virtio.h> #include <asm/io.h> #include <asm/prom.h> #include <asm/rtas.h> @@ -1396,3 +1397,8 @@ static int __init disable_multitce(char *str) __setup("multitce=", disable_multitce); machine_subsys_initcall_sync(pseries, tce_iommu_bus_notifier_init); + +void platform_override_dma_ops(struct virtio_device *vdev) +{ + /* Override vdev->parent.dma_ops if required */ +} diff --git a/drivers/virtio/virtio.c b/drive...
2018 Jun 04
0
[RFC V2] virtio: Add platform specific DMA API translation for virito devices
...inux/iommu.h> > > > #include <linux/rculist.h> > > > +#include <linux/virtio.h> > > > #include <asm/io.h> > > > #include <asm/prom.h> > > > #include <asm/rtas.h> > > > @@ -1396,3 +1397,13 @@ static int __init disable_multitce(char *str) > > > __setup("multitce=", disable_multitce); > > > > > > machine_subsys_initcall_sync(pseries, tce_iommu_bus_notifier_init); > > > + > > > +bool platform_forces_virtio_dma(struct virtio_device *vdev) > > > +{ > >...
2018 May 25
0
[RFC V2] virtio: Add platform specific DMA API translation for virito devices
...inux/iommu.h> > > > #include <linux/rculist.h> > > > +#include <linux/virtio.h> > > > #include <asm/io.h> > > > #include <asm/prom.h> > > > #include <asm/rtas.h> > > > @@ -1396,3 +1397,13 @@ static int __init disable_multitce(char *str) > > > __setup("multitce=", disable_multitce); > > > > > > machine_subsys_initcall_sync(pseries, tce_iommu_bus_notifier_init); > > > + > > > +bool platform_forces_virtio_dma(struct virtio_device *vdev) > > > +{ > >...
2018 May 23
0
[RFC V2] virtio: Add platform specific DMA API translation for virito devices
...,7 @@ > #include <linux/of.h> > #include <linux/iommu.h> > #include <linux/rculist.h> > +#include <linux/virtio.h> > #include <asm/io.h> > #include <asm/prom.h> > #include <asm/rtas.h> > @@ -1396,3 +1397,13 @@ static int __init disable_multitce(char *str) > __setup("multitce=", disable_multitce); > > machine_subsys_initcall_sync(pseries, tce_iommu_bus_notifier_init); > + > +bool platform_forces_virtio_dma(struct virtio_device *vdev) > +{ > + /* > + * On protected guest platforms, force virtio core t...
2018 Jul 23
0
[RFC 4/4] virtio: Add platform specific DMA API translation for virito devices
...nux/of.h> >> #include <linux/iommu.h> >> #include <linux/rculist.h> >> +#include <linux/virtio.h> >> #include <asm/io.h> >> #include <asm/prom.h> >> #include <asm/rtas.h> >> @@ -1396,3 +1397,8 @@ static int __init disable_multitce(char *str) >> __setup("multitce=", disable_multitce); >> >> machine_subsys_initcall_sync(pseries, tce_iommu_bus_notifier_init); >> + >> +void platform_override_dma_ops(struct virtio_device *vdev) >> +{ >> + /* Override vdev->parent.dma_ops...
2018 Jun 04
0
[RFC V2] virtio: Add platform specific DMA API translation for virito devices
...x/rculist.h> > > > > > +#include <linux/virtio.h> > > > > > #include <asm/io.h> > > > > > #include <asm/prom.h> > > > > > #include <asm/rtas.h> > > > > > @@ -1396,3 +1397,13 @@ static int __init disable_multitce(char *str) > > > > > __setup("multitce=", disable_multitce); > > > > > > > > > > machine_subsys_initcall_sync(pseries, tce_iommu_bus_notifier_init); > > > > > + > > > > > +bool platform_forces_virtio_dma(struc...
2018 May 28
2
[RFC V2] virtio: Add platform specific DMA API translation for virito devices
...; > #include <linux/rculist.h> > > > > +#include <linux/virtio.h> > > > > #include <asm/io.h> > > > > #include <asm/prom.h> > > > > #include <asm/rtas.h> > > > > @@ -1396,3 +1397,13 @@ static int __init disable_multitce(char *str) > > > > __setup("multitce=", disable_multitce); > > > > > > > > machine_subsys_initcall_sync(pseries, tce_iommu_bus_notifier_init); > > > > + > > > > +bool platform_forces_virtio_dma(struct virtio_device *vdev) &g...
2018 May 28
2
[RFC V2] virtio: Add platform specific DMA API translation for virito devices
...; > #include <linux/rculist.h> > > > > +#include <linux/virtio.h> > > > > #include <asm/io.h> > > > > #include <asm/prom.h> > > > > #include <asm/rtas.h> > > > > @@ -1396,3 +1397,13 @@ static int __init disable_multitce(char *str) > > > > __setup("multitce=", disable_multitce); > > > > > > > > machine_subsys_initcall_sync(pseries, tce_iommu_bus_notifier_init); > > > > + > > > > +bool platform_forces_virtio_dma(struct virtio_device *vdev) &g...
2018 Jun 04
2
[RFC V2] virtio: Add platform specific DMA API translation for virito devices
...> > > > +#include <linux/virtio.h> > > > > > > #include <asm/io.h> > > > > > > #include <asm/prom.h> > > > > > > #include <asm/rtas.h> > > > > > > @@ -1396,3 +1397,13 @@ static int __init disable_multitce(char *str) > > > > > > __setup("multitce=", disable_multitce); > > > > > > > > > > > > machine_subsys_initcall_sync(pseries, tce_iommu_bus_notifier_init); > > > > > > + > > > > > > +bool platfor...