On Sun, Sep 19, 2021 at 02:38:32PM +0800, Liu Yi L wrote:
From: Lu Baolu<baolu.lu@xxxxxxxxxxxxxxx>That fact that this interface doesn't let you know how to size the
This provides an interface for upper layers to get the per-device iommu
attributes.
int iommu_device_get_info(struct device *dev,
enum iommu_devattr attr, void *data);
data buffer, other than by just knowing the right size for each attr
concerns me.