diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2024-07-02 21:08:38 +0800 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2024-07-03 16:39:26 +0100 |
commit | f90584f4beb84211c4d21b319cc13f391fe9f3c2 (patch) | |
tree | 075d417b925340593a0f476bcbe16d136ad39658 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 2b989ab9bc89b29dd4b5509408b8fa42337eda56 (diff) |
iommu/vt-d: Add helper to flush caches for context change
This helper is used to flush the related caches following a change in a
context table entry that was previously present. The VT-d specification
provides guidance for such invalidations in section 6.5.3.3.
This helper replaces the existing open code in the code paths where a
present context entry is being torn down.
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20240701112317.94022-2-baolu.lu@linux.intel.com
Link: https://lore.kernel.org/r/20240702130839.108139-7-baolu.lu@linux.intel.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions