summaryrefslogtreecommitdiff
path: root/kernel/kallsyms.c
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2013-07-31 18:21:28 (GMT)
committerJoerg Roedel <joro@8bytes.org>2013-08-14 10:10:02 (GMT)
commitecfadb6e5b49a0a56df2038bf39f1fcd652788b9 (patch)
treecb2c131c97f604aaa957f336200c8d342e6a3332 /kernel/kallsyms.c
parent1463fe44fd0f87af0404e2c147ab9724081b7235 (diff)
downloadlinux-fsl-qoriq-ecfadb6e5b49a0a56df2038bf39f1fcd652788b9.tar.xz
iommu/arm-smmu: Simplify VMID and ASID allocation
We only use ASIDs and VMIDs to identify individual stage-1 and stage-2 context-banks respectively, so rather than allocate these separately from the context-banks, just calculate them based on the context bank index. Note that VMIDs are offset by 1, since VMID 0 is reserved for stage-1. This doesn't cause us any issues with the numberspaces, since the maximum number of context banks is half the minimum number of VMIDs. Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Joerg Roedel <joro@8bytes.org>
Diffstat (limited to 'kernel/kallsyms.c')
0 files changed, 0 insertions, 0 deletions