Lines Matching full:ste

43 	target->data[0] |= nested_domain->ste[0] &  in arm_smmu_make_nested_cd_table_ste()
45 target->data[1] |= nested_domain->ste[1]; in arm_smmu_make_nested_cd_table_ste()
49 * Create a physical STE from the virtual STE that userspace provided when it
51 * - Non-valid STE
52 * - Abort STE
53 * - Bypass STE (install the S2, no CD table)
54 * - CD table STE (install the S2 and the userspace CD table)
61 FIELD_GET(STRTAB_STE_0_CFG, le64_to_cpu(nested_domain->ste[0])); in arm_smmu_make_nested_domain_ste()
64 * Userspace can request a non-valid STE through the nesting interface. in arm_smmu_make_nested_domain_ste()
65 * We relay that into an abort physical STE with the intention that in arm_smmu_make_nested_domain_ste()
68 if (!(nested_domain->ste[0] & cpu_to_le64(STRTAB_STE_0_V))) in arm_smmu_make_nested_domain_ste()
99 struct arm_smmu_ste ste; in arm_smmu_attach_dev_nested() local
113 * config bit here base this off the EATS value in the STE. If the EATS in arm_smmu_attach_dev_nested()
123 arm_smmu_make_nested_domain_ste(&ste, master, nested_domain, in arm_smmu_attach_dev_nested()
125 arm_smmu_install_ste_for_dev(master, &ste); in arm_smmu_attach_dev_nested()
147 if (!(arg->ste[0] & cpu_to_le64(STRTAB_STE_0_V))) { in arm_smmu_validate_vste()
148 memset(arg->ste, 0, sizeof(arg->ste)); in arm_smmu_validate_vste()
152 /* EIO is reserved for invalid STE data. */ in arm_smmu_validate_vste()
153 if ((arg->ste[0] & ~STRTAB_STE_0_NESTING_ALLOWED) || in arm_smmu_validate_vste()
154 (arg->ste[1] & ~STRTAB_STE_1_NESTING_ALLOWED)) in arm_smmu_validate_vste()
157 cfg = FIELD_GET(STRTAB_STE_0_CFG, le64_to_cpu(arg->ste[0])); in arm_smmu_validate_vste()
166 eats = FIELD_GET(STRTAB_STE_1_EATS, le64_to_cpu(arg->ste[1])); in arm_smmu_validate_vste()
167 arg->ste[1] &= ~cpu_to_le64(STRTAB_STE_1_EATS); in arm_smmu_validate_vste()
190 IOMMU_HWPT_DATA_ARM_SMMUV3, ste); in arm_vsmmu_alloc_domain_nested()
206 nested_domain->ste[0] = arg.ste[0]; in arm_vsmmu_alloc_domain_nested()
207 nested_domain->ste[1] = arg.ste[1] & ~cpu_to_le64(STRTAB_STE_1_EATS); in arm_vsmmu_alloc_domain_nested()