]> xenbits.xensource.com Git - xen.git/commit
VT-d/qinval: make local variable used for communication with IOMMU "volatile"
authorJan Beulich <jbeulich@suse.com>
Tue, 24 Jun 2014 07:56:40 +0000 (09:56 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 24 Jun 2014 07:56:40 +0000 (09:56 +0200)
commitc982faf534650d0cd5c4ab2c5b4f1293fc62dd20
tree289b9117669b9265595f45149245bed08a3da43e
parent22f8c606ae35defc9feb0fc49aa90c7754bbd178
VT-d/qinval: make local variable used for communication with IOMMU "volatile"

Without that there is - afaict - nothing preventing the compiler from
putting the variable into a register for the duration of the wait loop.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Yang Zhang <yang.z.zhang@intel.com>
master commit: ceec46c02074e1b2ade0b13c3c4a2f3942ae698c
master date: 2014-06-20 10:25:33 +0200
xen/drivers/passthrough/vtd/qinval.c