]> xenbits.xensource.com Git - people/aperard/xen-arm.git/commit
x86/MSI: cleanup to prepare for multi-vector MSI
authorJan Beulich <jbeulich@suse.com>
Wed, 10 Apr 2013 15:30:19 +0000 (17:30 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 10 Apr 2013 15:30:19 +0000 (17:30 +0200)
commitfe017c59c4c3ce189119954841a38ef0f1e415d0
tree3831ce08b067dda022975f310a0102bb94567d95
parent94d166c0106f158fa2c86496bfb0ca1fbb8627ec
x86/MSI: cleanup to prepare for multi-vector MSI

The major aspect being the removal of the overload of the MSI entry's
mask_base field for MSI purposes - a proper union is being installed
instead, tracking both the config space position needed and the number
of vectors used (which is going to be 1 until the actual multi-vector
MSI patches arrive).

It also corrects misleading information from debug key 'M': When
msi_get_mask_bit() returns a negative value, there's no mask bit, and
hence output shouldn't give the impression there is.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/msi.c
xen/include/asm-x86/msi.h