diff options
author | Nicolin Chen <nicoleotsuka@gmail.com> | 2020-09-11 00:16:43 -0700 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2020-09-24 12:32:32 +0200 |
commit | 21d3c0402a396f8db9856792193f5e1ee1818aa7 (patch) | |
tree | 2824283085db11487a8739974d325dec346401f8 /kernel/irq/pm.c | |
parent | 4fba98859b819961d8e1fe862b79052ff4b687b8 (diff) | |
download | linux-21d3c0402a396f8db9856792193f5e1ee1818aa7.tar.bz2 |
iommu/tegra-smmu: Allow to group clients in same swgroup
There can be clients using the same swgroup in DT, for example i2c0
and i2c1. The current driver will add them to separate IOMMU groups,
though it has implemented device_group() callback which is to group
devices using different swgroups like DC and DCB.
All clients having the same swgroup should be also added to the same
IOMMU group so as to share an asid. Otherwise, the asid register may
get overwritten every time a new device is attached.
Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20200911071643.17212-4-nicoleotsuka@gmail.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'kernel/irq/pm.c')
0 files changed, 0 insertions, 0 deletions