Re: [PATCH 4/4] iommu: Add option to group multi-function devices

From: David Gibson
Date: Wed Nov 30 2011 - 19:38:39 EST


On Fri, Oct 21, 2011 at 01:56:24PM -0600, Alex Williamson wrote:
> The option iommu=group_mf indicates the that the iommu driver should
> expose all functions of a multi-function PCI device as the same
> iommu_device_group. This is useful for disallowing individual functions
> being exposed as independent devices to userspace as there are often
> hidden dependencies. Virtual functions are not affected by this option.

This seems ok as a testing/debugging hack. But in general, surely,
whether to group the functions should be a device quirk.

--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/