Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/arch
Module Name: src
Committed By: bouyer
Date: Tue May 24 14:00:24 UTC 2022
Modified Files:
src/sys/arch/x86/pci: msipic.c pci_machdep.c
src/sys/arch/xen/x86: pintr.c xen_intr.c
Log Message:
- 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().
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/x86/pci/msipic.c
cvs rdiff -u -r1.90 -r1.91 src/sys/arch/x86/pci/pci_machdep.c
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/xen/x86/pintr.c
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/xen/x86/xen_intr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index