x86/MSI: fix 2nd S3 resume with interrupt remapping enabled
authorJan Beulich <jbeulich@suse.com>
Fri, 7 Sep 2012 15:57:10 +0000 (17:57 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 7 Sep 2012 15:57:10 +0000 (17:57 +0200)
commit42599de39a98fd826b6b6bac0738a8a0d9df18fe
tree612a3969fbcedff8a01aaaaf59ff70a471824ae4
parent7a9d7646307b7c872b8dbd7546579acd3b54223d
x86/MSI: fix 2nd S3 resume with interrupt remapping enabled

The first resume from S3 was corrupting internal data structures (in
that pci_restore_msi_state() updated the globally stored MSI message
from traditional to interrupt remapped format, which would then be
translated a second time during the second resume, breaking interrupt
delivery).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/msi.c