[PATCH v2 0/2] fix and cleanup for iommu/vt-d

2016-05-27 Thread Wei Yang
The first patch tries to improve the calculation of the dmar_domain first level entry. The second patch defines two marco for dmar_domains second level size and shift instead of using an integer. --- v2: * use DIV_ROUND_UP instead of ALIGN for the calculation. Thanks Robin Murphy

[PATCH v2 0/2] fix and cleanup for iommu/vt-d

2016-05-27 Thread Wei Yang
The first patch tries to improve the calculation of the dmar_domain first level entry. The second patch defines two marco for dmar_domains second level size and shift instead of using an integer. --- v2: * use DIV_ROUND_UP instead of ALIGN for the calculation. Thanks Robin Murphy