VT-d: split .ack and .disable DMA-MSI actors
authorJan Beulich <jbeulich@suse.com>
Mon, 10 Sep 2012 07:45:30 +0000 (09:45 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 10 Sep 2012 07:45:30 +0000 (09:45 +0200)
commitd32a40244c1f7084a0fa1970001874b9474bfc31
tree1a68782fe59eb634cacdcb7bbf229d7759ffc546
parent79e6ef8c0cf1dd0820c950bb653985a8beb04203
VT-d: split .ack and .disable DMA-MSI actors

Calling irq_complete_move() from .disable is wrong, breaking S3 resume.

Comparing with all other .ack actors, it was also missing a call to
move_{native,masked}_irq(). As the actor is masking its interrupt
anyway (albeit it's not immediately obvious why), the latter is the
better choice.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Acked-by Xiantao Zhang <xiantao.zhang@intel.com>
xen/drivers/passthrough/vtd/iommu.c