mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-01 12:19:28 +00:00
Mask off the vector from the MSI-x data word.
Some o/s's set the trigger-mode level bit which results in an invalid vector and pass-thru interrupts not being delivered.
This commit is contained in:
parent
05f7eb31a2
commit
8a02f69652
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=255342
@ -568,7 +568,7 @@ ppt_setup_msix(struct vm *vm, int vcpu, int bus, int slot, int func,
|
||||
return (ENXIO);
|
||||
|
||||
ppt->msix.arg[idx].pptdev = ppt;
|
||||
ppt->msix.arg[idx].vec = msg;
|
||||
ppt->msix.arg[idx].vec = msg & 0xFF;
|
||||
ppt->msix.arg[idx].vcpu = (addr >> 12) & 0xFF;
|
||||
|
||||
/* Setup the MSI-X interrupt */
|
||||
|
Loading…
Reference in New Issue
Block a user