History log of /dragonfly/sys/bus/pci/pci.c (Results 1 – 25 of 148)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v6.2.1, v6.2.0, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0, v5.8.3, v5.8.2
# 66fa3dc1 28-Jul-2020 Matthew Dillon <dillon@apollo.backplane.com>

kernel - Disable MSIX mode in pci_teardown_msix()

* Disable MSIX mode when pci_teardown_msix() is called. This fixes
issues on some BIOSes which do not fully clear the PCI hardware
configuratio

kernel - Disable MSIX mode in pci_teardown_msix()

* Disable MSIX mode when pci_teardown_msix() is called. This fixes
issues on some BIOSes which do not fully clear the PCI hardware
configuration when warm-booting.

In particular, the NVME controller appears to have this issue with
some laptops (HP Intel gen 9 and gen 10 laptops) whereby the MSI
interrupt winds up being stuck on reboot.

show more ...


# 2eeb1f56 30-May-2020 Sascha Wildner <saw@online.de>

kernel/pci: Remove embedded newlines in sysctl descriptions.


Revision tags: v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3, v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2, v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1
# d650e218 01-Oct-2018 Matthew Dillon <dillon@apollo.backplane.com>

pciconf - Enhance output

* Add more registers defs from FreeBSD to pcireg.h

* Bring expanded pciconf code in form FreeBSD. This code
displays more configuration data for bridges and control
re

pciconf - Enhance output

* Add more registers defs from FreeBSD to pcireg.h

* Bring expanded pciconf code in form FreeBSD. This code
displays more configuration data for bridges and control
registers, and fixes a broken bus error reporting conditional.

* Also normalize SLT -> SLOT naming in pcireg.h

show more ...


Revision tags: v5.2.2, v5.2.1
# 6a8bb22d 05-May-2018 Sascha Wildner <saw@online.de>

Fix a few typos across the tree.


Revision tags: v5.2.0, v5.3.0, v5.2.0rc, v5.0.2, v5.0.1, v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc
# c8247d06 08-Feb-2017 Imre Vadász <imre@vdsz.com>

virtio: Fix and activate PCI MSI-X support.

* Change pci_msi_blacklisted() test to always assume working MSI and MSI-X
interrupts on virtual-machines. We should assume that a hypervisor
without

virtio: Fix and activate PCI MSI-X support.

* Change pci_msi_blacklisted() test to always assume working MSI and MSI-X
interrupts on virtual-machines. We should assume that a hypervisor
without MSI or MSI-X support shouldn't even indicate supported MSI(-X)
via the PCI config space.

* Move vtblk_alloc_disk() to the end of virtio_blk's attach method.
This avoids a race between irq enabling in virtio, and the disk probing.

* Fix allocation and teardown of MSI-X interrupts.

* Get rid of rather confusing VIRTIO_PCI_FLAG_NO_MSI and
VIRTIO_PCI_FLAG_NO_MSIX flags. The VIRTIO_PCI_FLAG_NO_MSI is unneeded
when using pci_alloc_1intr() for MSI allocation, and
instead of VIRTIO_PCI_FLAG_NO_MSIX we can just check sc->vtpci_msix_res.

* For now, MSI-X vectors are simply assigned to subsequent cores (plus
adding the device_get_unit() value to shuffle things a bit), i.e.:
(device_get_unit(dev) + cnt) % ncpus

* For the if_vtnet network driver this means that the rx and tx queues run
on different cores, but both queues still use the same serializer for
now.

* One major advantages in using MSI-X interrupts instead of the legacy
IRQ is, that this avoids interrupt sharing in many virtual-machine
configurations.

* Tested on qemu with TCG (unaccelerated emulation) and 1 core, and with
KVM acceleration and 2 cores, with both virtio network and disk devices.

show more ...


# d2a00396 06-Jan-2017 Sepherosa Ziehau <sephe@dragonflybsd.org>

alc: Add Killer E2500 support.


# 8f0f2b2c 05-Jan-2017 Sepherosa Ziehau <sephe@dragonflybsd.org>

pci: Add a quirk for chips w/ broken MSI support.

These chips (mainly chips supported by alc(4)) will not send MSI,
if INTxDIS is set.

Obtained-from: FreeBSD


Revision tags: v4.6.1, v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0, v4.4.3, v4.4.2
# 4a186b0e 20-Dec-2015 Sascha Wildner <saw@online.de>

kernel/pci: Remove old compatibility shims.

The last drivers using this were removed in d69d461d812.


Revision tags: v4.4.1, v4.4.0, v4.5.0, v4.4.0rc
# 2318c1ed 10-Sep-2015 Sascha Wildner <saw@online.de>

kernel/bus: Change function definitions to static (to match declaration).


Revision tags: v4.2.4, v4.3.1
# 3af6dc46 20-Jul-2015 Markus Pfeiffer <markus.pfeiffer@morphism.de>

usb4bsd/pci: Correct typo in bootverbose message


# c0382d76 20-Jul-2015 Matthew Dillon <dillon@apollo.backplane.com>

kernel - Add PCI functionality

* Add pci_iterate_class() for the drm code.


Revision tags: v4.2.3, v4.2.1, v4.2.0
# 6ea3b602 22-Jun-2015 Sascha Wildner <saw@online.de>

i386 removal, part 6/x: Remove i386 parts of the ISA and PCI buses.


Revision tags: v4.0.6, v4.3.0, v4.2.0rc, v4.0.5, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2
# 2a617999 10-Nov-2014 Sascha Wildner <saw@online.de>

Remove the old USB stack and related userland, etc.

As detailed in UPDATING, users with a custom configuration file which
was derived from a *GENERIC file before we made usb4bsd default (this
happen

Remove the old USB stack and related userland, etc.

As detailed in UPDATING, users with a custom configuration file which
was derived from a *GENERIC file before we made usb4bsd default (this
happened in 3.6) might need to remove or comment out a couple of
devices which are now unknown.

show more ...


Revision tags: v4.0.0rc, v4.1.0, v3.8.2
# 67613368 25-Jun-2014 Sascha Wildner <saw@online.de>

kernel/pci: Fix wrong checks for U4B presence.

I messed this up when switching us to the new USB stack.

Thanks to Markus Pfeiffer for tracking down my mistake.

Reported-by: peeter
Dragonfly-bug:

kernel/pci: Fix wrong checks for U4B presence.

I messed this up when switching us to the new USB stack.

Thanks to Markus Pfeiffer for tracking down my mistake.

Reported-by: peeter
Dragonfly-bug: <http://bugs.dragonflybsd.org/issues/2686>

show more ...


Revision tags: v3.8.1, v3.6.3, v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc, v3.6.2
# f0478b8b 10-Mar-2014 Sascha Wildner <saw@online.de>

Make usb4bsd the default USB stack.

To get back to the old stack, put "WANT_OLDUSB=yes" in /etc/make.conf and
replace "device usb" with "device oldusb" in the kernel configuration.

Requested-by: di

Make usb4bsd the default USB stack.

To get back to the old stack, put "WANT_OLDUSB=yes" in /etc/make.conf and
replace "device usb" with "device oldusb" in the kernel configuration.

Requested-by: dillon, profmakx, marino etc.

show more ...


Revision tags: v3.6.1, v3.6.0, v3.7.1, v3.6.0rc, v3.7.0, v3.4.3
# de41c480 11-Aug-2013 François Tigeot <ftigeot@wolfpond.org>

kernel: Import pci_save_state and pci_restore_state from FreeBSD


Revision tags: v3.4.2, v3.4.0, v3.4.1, v3.4.0rc, v3.5.0, v3.2.2
# 89213fa5 02-Dec-2012 Markus Pfeiffer <markus.pfeiffer@morphism.de>

usb4bsd: Next attempt at fixing BIOS handoff for XHCI

If the BIOS does not give up the XHCI, then force the takeover.
Linux does it that way. It might not be clean or correct, but
it works for the t

usb4bsd: Next attempt at fixing BIOS handoff for XHCI

If the BIOS does not give up the XHCI, then force the takeover.
Linux does it that way. It might not be clean or correct, but
it works for the time being.
Conflicts:

sys/bus/pci/pci.c
sys/bus/u4b/controller/xhci_pci.c
sys/bus/u4b/controller/xhcireg.h

show more ...


# 2b779ce7 05-Nov-2012 Markus Pfeiffer <markus.pfeiffer@morphism.de>

usb4bsd, pci: pull in bios takeover code from FreeBSD

Submitted-By: swildner


# f161477d 29-Jul-2013 Sascha Wildner <saw@online.de>

kernel/pci: Fix extern in pcivar.h and clean up a bit.


# de1e4870 20-Jul-2013 François Tigeot <ftigeot@wolfpond.org>

kernel: import pci_find_class() from FreeBSD


# d3c9c58e 20-Feb-2013 Sascha Wildner <saw@online.de>

kernel: Use DEVMETHOD_END in the drivers.


# 21023f7a 08-Jan-2013 Sascha Wildner <saw@online.de>

kernel/bus: Remove some unused variables and put others in #ifdef...


Revision tags: v3.2.1, v3.2.0, v3.3.0
# 67e880fe 28-Aug-2012 Sepherosa Ziehau <sephe@dragonflybsd.org>

pci: Guard against wrong user supplied IRQ assignment


Revision tags: v3.0.3
# f020c2db 17-Aug-2012 Sepherosa Ziehau <sephe@dragonflybsd.org>

pci: Disable memory address decoding before writing 0xffffffff to BAR

This makes PCIe memory mapped configuration works.

Submitted-by: Romick Romick
Tested-by: y0netan1@


# b3a9cafb 15-May-2012 Sepherosa Ziehau <sephe@dragonflybsd.org>

pci: Update several bits for PCI Express 2.0


123456