I'd like some feedback on these patches. Parts I particularly want
feedback on are listed below and each patch will have a copy of the
relevant parts requesting feedback. Any feedback is welcomed though.
Also, the commit messages are a little rough.
Patch 1:
- Check in device_tree.c. This is needed, otherwise it won't boot due
to dev_iommu_fwspec_get(dev) being true and returning EEXIST. I'm
not completely sure what type of check is best here.
Patch 2:
- Checks for the: arm_smmu_dt_add_device* and arm_smmu_dt_xlate*
functions.
These patches have been tested with device passthrough on a Xilinx
ZCU102 with passing the on board ethernet to a guest via the SMMU.
Brian Woods (2):
arm,smmu: add support for iommu_fwspec functions
smmu: add support for generic DT bindings
xen/drivers/passthrough/arm/smmu.c | 156 +++++++++++++++++++++++++---------
xen/drivers/passthrough/device_tree.c | 20 +----
2 files changed, 118 insertions(+), 58 deletions(-)
--
2.7.4
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel