mirror of
https://github.com/torvalds/linux.git
synced 2024-11-29 07:31:29 +00:00
7af6c72041
The helper intel_context_flush_present() is designed to flush all related
caches when a context entry with the present bit set is modified. It
currently retrieves the domain ID from the context entry and uses it to
flush the IOTLB and context caches. This is incorrect when the context
entry transitions from present to non-present, as the domain ID field is
cleared before calling the helper.
Fix it by passing the domain ID programmed in the context entry before the
change to intel_context_flush_present(). This ensures that the correct
domain ID is used for cache invalidation.
Fixes:
|
||
---|---|---|
.. | ||
cache.c | ||
cap_audit.c | ||
cap_audit.h | ||
debugfs.c | ||
dmar.c | ||
iommu.c | ||
iommu.h | ||
irq_remapping.c | ||
Kconfig | ||
Makefile | ||
nested.c | ||
pasid.c | ||
pasid.h | ||
perf.c | ||
perf.h | ||
perfmon.c | ||
perfmon.h | ||
svm.c | ||
trace.c | ||
trace.h |