We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6465e26 commit ade4becCopy full SHA for ade4bec
drivers/iommu/amd/amd_iommu.h
@@ -105,7 +105,6 @@ static inline void *iommu_phys_to_virt(unsigned long paddr)
105
static inline
106
void amd_iommu_domain_set_pt_root(struct protection_domain *domain, u64 root)
107
{
108
- atomic64_set(&domain->iop.pt_root, root);
109
domain->iop.root = (u64 *)(root & PAGE_MASK);
110
domain->iop.mode = root & 7; /* lowest 3 bits encode pgtable mode */
111
}
drivers/iommu/amd/amd_iommu_types.h
@@ -544,7 +544,6 @@ struct amd_io_pgtable {
544
struct io_pgtable iop;
545
int mode;
546
u64 *root;
547
- atomic64_t pt_root; /* pgtable root and pgtable mode */
548
u64 *pgd; /* v2 pgtable pgd pointer */
549
};
550
0 commit comments