Displaying 4 results from an estimated 4 matches for "virtio_bypass_iommu".
2015 Jul 29
2
[PATCH v4 0/4] virtio: Clean up scatterlists and use the DMA API
...On PPC I suppose you could use the host bridge's device tree? If you
need a hook, you can add a
bool virtio_should_bypass_iommu(void)
{
/* lookup something in the device tree?!? */
}
EXPORT_SYMBOL_GPL(virtio_should_bypass_iommu);
in some pseries.c file, and in the driver:
static bool virtio_bypass_iommu(void)
{
bool (*fn)(void);
fn = symbol_get(virtio_should_bypass_iommu);
return fn && fn();
}
Awful, but that's what this thing is.
Paolo
2015 Jul 29
2
[PATCH v4 0/4] virtio: Clean up scatterlists and use the DMA API
...On PPC I suppose you could use the host bridge's device tree? If you
need a hook, you can add a
bool virtio_should_bypass_iommu(void)
{
/* lookup something in the device tree?!? */
}
EXPORT_SYMBOL_GPL(virtio_should_bypass_iommu);
in some pseries.c file, and in the driver:
static bool virtio_bypass_iommu(void)
{
bool (*fn)(void);
fn = symbol_get(virtio_should_bypass_iommu);
return fn && fn();
}
Awful, but that's what this thing is.
Paolo
2015 Jul 29
3
[PATCH v4 0/4] virtio: Clean up scatterlists and use the DMA API
On Tue, 2015-07-28 at 16:33 -0700, Andy Lutomirski wrote:
> On Tue, Jul 28, 2015 at 4:21 PM, Benjamin Herrenschmidt
> <benh at kernel.crashing.org> wrote:
> > On Tue, 2015-07-28 at 15:43 -0700, Andy Lutomirski wrote:
> >> Let me try to summarize a proposal:
> >>
> >> Add a feature flag that indicates IOMMU support.
> >>
> >> New
2015 Jul 29
3
[PATCH v4 0/4] virtio: Clean up scatterlists and use the DMA API
On Tue, 2015-07-28 at 16:33 -0700, Andy Lutomirski wrote:
> On Tue, Jul 28, 2015 at 4:21 PM, Benjamin Herrenschmidt
> <benh at kernel.crashing.org> wrote:
> > On Tue, 2015-07-28 at 15:43 -0700, Andy Lutomirski wrote:
> >> Let me try to summarize a proposal:
> >>
> >> Add a feature flag that indicates IOMMU support.
> >>
> >> New