VT-d: restore flush hooks when disabling qinval
authorJan Beulich <jbeulich@suse.com>
Tue, 30 Mar 2021 12:40:24 +0000 (14:40 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 30 Mar 2021 12:40:24 +0000 (14:40 +0200)
commit9c39dba2b179c0f4c42c98e97ea0878119718530
tree384555bf75286ae161b73c01852e718fbb629b43
parent95e07f8c0e64889ee56015c7f99bdf5309e9e8ef
VT-d: restore flush hooks when disabling qinval

Leaving the hooks untouched is at best a latent risk: There may well be
cases where some flush is needed, which then needs carrying out the
"register" way.

Switch from u<N> to uint<N>_t while needing to touch the function
headers anyway.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
xen/drivers/passthrough/vtd/extern.h
xen/drivers/passthrough/vtd/iommu.c
xen/drivers/passthrough/vtd/qinval.c