Home
last modified time | relevance | path

Searched refs:asid_bits (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3-sva.c44 XA_LIMIT(1, (1 << smmu->asid_bits) - 1), GFP_KERNEL); in arm_smmu_share_asid()
162 unsigned long asid_bits; in arm_smmu_sva_supported() local
187 asid_bits = fld ? 16 : 8; in arm_smmu_sva_supported()
188 if (smmu->asid_bits < asid_bits) in arm_smmu_sva_supported()
196 asid_bits--; in arm_smmu_sva_supported()
197 dev_dbg(smmu->dev, "%d shared contexts\n", (1 << asid_bits) - in arm_smmu_sva_supported()
Darm-smmu-v3.h626 unsigned int asid_bits; member
Darm-smmu-v3.c1861 XA_LIMIT(1, (1 << smmu->asid_bits) - 1), GFP_KERNEL); in arm_smmu_domain_finalise_s1()
3251 smmu->asid_bits = reg & IDR0_ASID16 ? 16 : 8; in arm_smmu_device_hw_probe()
/Linux-v5.10/arch/arm64/mm/
Dcontext.c20 static u32 asid_bits; variable
34 #define ASID_MASK (~GENMASK(asid_bits - 1, 0))
35 #define ASID_FIRST_VERSION (1UL << asid_bits)
68 if (asid < asid_bits) { in verify_cpu_asid_bits()
74 smp_processor_id(), asid, asid_bits); in verify_cpu_asid_bits()
102 (!(((asid) ^ atomic64_read(&asid_generation)) >> asid_bits))
403 asid_bits = get_cpu_asid_bits(); in asids_init()