Home
last modified time | relevance | path

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

/linux/drivers/iommu/intel/
H A Dpasid.c744 struct iommu_hwpt_vtd_s1 *s1_cfg, in pasid_pte_config_nestd() argument
754 if (s1_cfg->addr_width == ADDR_WIDTH_5LEVEL) in pasid_pte_config_nestd()
757 pasid_set_flptr(pte, s1_cfg->pgtbl_addr); in pasid_pte_config_nestd()
759 if (s1_cfg->flags & IOMMU_VTD_S1_SRE) { in pasid_pte_config_nestd()
761 if (s1_cfg->flags & IOMMU_VTD_S1_WPE) in pasid_pte_config_nestd()
765 if (s1_cfg->flags & IOMMU_VTD_S1_EAFE) in pasid_pte_config_nestd()
796 struct iommu_hwpt_vtd_s1 *s1_cfg = &domain->s1_cfg; in intel_pasid_setup_nested() local
802 switch (s1_cfg->addr_width) { in intel_pasid_setup_nested()
814 s1_cfg->addr_width); in intel_pasid_setup_nested()
818 if ((s1_cfg->flags & IOMMU_VTD_S1_SRE) && !ecap_srs(iommu->ecap)) { in intel_pasid_setup_nested()
[all …]