mirror of https://github.com/torvalds/linux.git
When updating the page table root field on the DTE, avoid overwriting any
bits that are already set. The earlier call to make_clear_dte() writes
default values that all DTEs must have set (currently DTE[V]), and those
must be preserved.
Currently this doesn't cause problems since the page table root update is
the first field that is set after make_clear_dte() is called, and
DTE_FLAG_V is set again later along with the permission bits (IR/IW).
Remove this redundant assignment too.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| amd_iommu.h | ||
| amd_iommu_types.h | ||
| debugfs.c | ||
| init.c | ||
| io_pgtable.c | ||
| io_pgtable_v2.c | ||
| iommu.c | ||
| pasid.c | ||
| ppr.c | ||
| quirks.c | ||