summaryrefslogtreecommitdiffstats
path: root/crypto/rsapubkey.asn1
diff options
context:
space:
mode:
authorJean-Philippe Brucker <jean-philippe.brucker@arm.com>2019-04-17 20:24:46 +0200
committerWill Deacon <will.deacon@arm.com>2019-04-23 13:23:13 +0200
commit2a7e62f51696ad476b7fb8157d73307e20257df7 (patch)
tree09e6551cb4354b84ff10ae222abed026a06e4b83 /crypto/rsapubkey.asn1
parentiommu/arm-smmu-v3: Add a master->domain pointer (diff)
downloadlinux-2a7e62f51696ad476b7fb8157d73307e20257df7.tar.xz
linux-2a7e62f51696ad476b7fb8157d73307e20257df7.zip
iommu/arm-smmu-v3: Link domains and devices
When removing a mapping from a domain, we need to send an invalidation to all devices that might have stored it in their Address Translation Cache (ATC). In addition when updating the context descriptor of a live domain, we'll need to send invalidations for all devices attached to it. Maintain a list of devices in each domain, protected by a spinlock. It is updated every time we attach or detach devices to and from domains. It needs to be a spinlock because we'll invalidate ATC entries from within hardirq-safe contexts, but it may be possible to relax the read side with RCU later. Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'crypto/rsapubkey.asn1')
0 files changed, 0 insertions, 0 deletions