drivers/interrupt_controller: VT-D may manipulate the cache

Depending on a VT-D capability, it might be necessary to flush objects
from the cache.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
Tomasz Bursztyka 2021-02-10 13:38:08 +01:00 committed by Anas Nashif
commit 149cef11ce
4 changed files with 25 additions and 0 deletions

View file

@ -96,6 +96,9 @@
#define VTD_CAP_FRO(cap) \
(((uint64_t)cap & VTD_CAP_FRO_MASK) >> VTD_CAP_FRO_POS)
/* Extended Capability Register details */
#define VTD_ECAP_C BIT(0)
/* Global Command Register details */
#define VTD_GCMD_CFI 23
#define VTD_GCMD_SIRTP 24