Skip to content

RFC Generic DT Support for SMMU

Brian Woods xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2arm, smmu: add support for iommu_fwspec functionsxen/drivers/passthrough/arm/smmu.c xen/drivers/passthrough/device_tree.c+49 -282 replies
2/2smmu: add support for generic DT bindingsxen/drivers/passthrough/arm/smmu.c xen/drivers/passthrough/device_tree.c+87 -481 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Xen-devel] [RFC 0/2] Generic DT Support for SMMU

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(-)
Signature · 7 lines
2.7.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel