diff options
| author | bouyer <bouyer@NetBSD.org> | 2022-05-24 14:00:23 +0000 |
|---|---|---|
| committer | bouyer <bouyer@NetBSD.org> | 2022-05-24 14:00:23 +0000 |
| commit | afac0d28fc2d42c28c8c504d5b9dc6020133db97 (patch) | |
| tree | fa9ba4e21bf3d1d0173ebab224bc5f8b7544f2f9 /sys/dev/microcode | |
| parent | 37e2621166a16da9315ec34f8a5f34e8d8e27e73 (diff) | |
- msipic_construct_msix_pic(): set mp_table_base to memaddr (without
table_offset), this is what Xen wants
while there use pci_conf_write16() in msi_set_msictl_enablebit() too,
for consistency (it seems that Xen accepts the 32bit write at this point,
but this may change).
- xen_map_msix_pirq(): don't forget to set map_irq.table_base in the
MSI-X case, otherwise Xen maps it as MSI
- call pic_hwunmask() after pirq_establish() in msi/msix case, to make sure
the msi-x vector is unmasked.
Now MSI-X works with Xen so stop disabling it in pci_attach_hook().
Diffstat (limited to 'sys/dev/microcode')
0 files changed, 0 insertions, 0 deletions
