|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen stable-4.6] x86/vMSI-X: fix qword write covering vector control field
commit 440fafe5f4c8473ab5020762f9f71ffdb29921bf
Author: Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Mon May 9 12:53:53 2016 +0200
Commit: Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Mon May 9 12:53:53 2016 +0200
x86/vMSI-X: fix qword write covering vector control field
Along with using the upper 32 bits of the written value, the address
also needs advancing, so that msix_write_completion() will use the
correct address for re-invocation of msixtbl_write().
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
master commit: 7d8519f63ab703e519efe1e8a6d8ccd65b8a803b
master date: 2016-04-08 22:33:17 +0200
---
xen/arch/x86/hvm/vmsi.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/xen/arch/x86/hvm/vmsi.c b/xen/arch/x86/hvm/vmsi.c
index ac838a9..4372c50 100644
--- a/xen/arch/x86/hvm/vmsi.c
+++ b/xen/arch/x86/hvm/vmsi.c
@@ -295,6 +295,7 @@ static int msixtbl_write(struct vcpu *v, unsigned long
address,
if ( len != 8 || !index )
goto out;
val >>= 32;
+ address += 4;
}
/* Exit to device model when unmasking and address/data got modified. */
--
generated by git-patchbot for /home/xen/git/xen.git#stable-4.6
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |