[PATCH v7 0/9] Refactor the SMMU's CD table ownership

Nicolin Chen nicolinc at nvidia.com
Thu Aug 31 17:00:23 PDT 2023


On Fri, Sep 01, 2023 at 01:44:29AM +0800, Michael Shavit wrote:
> This series refactors stage 1 domains so that they describe a single CD
> entry. These entries are now inserted into a CD table that is owned by
> the arm_smmu_master instead of the domain.
> This is conceptually cleaner and unblocks other features, such as
> attaching domains with PASID (for unmanaged/dma domains).
> 
> This patch series was originally part of a larger patch series that
> implemented the set_dev_pasid callback for non-SVA domains but is now
> split into a distinct series.
> 
> This patch series is also available on gerrit with Jean's SMMU test
> engine patches cherry-picked on top for testing:
> https://linux-review.googlesource.com/c/linux/kernel/git/torvalds/linux/+/24742/15
> 
> Thanks,
> Michael Shavit
> 
> Changes in v7:

Ran some SVA cases after applying this series

Tested-by: Nicolin Chen <nicolinc at nvidia.com>



More information about the linux-arm-kernel mailing list