Page MenuHomeFreeBSD

pci: introduce PCI_QUIRK_DISABLE_BUS_RESET
Needs ReviewPublic

Authored by bz on Feb 19 2026, 11:35 PM.
Tags
None
Referenced Files
F176607807: D55389.diff
Tue, Oct 20, 5:00 AM
Unknown Object (File)
Sun, Oct 18, 2:21 AM
Unknown Object (File)
Thu, Oct 15, 8:10 PM
Unknown Object (File)
Tue, Oct 13, 6:35 PM
Unknown Object (File)
Sun, Oct 11, 4:56 PM
Unknown Object (File)
Thu, Oct 8, 11:19 PM
Unknown Object (File)
Thu, Oct 8, 3:36 PM
Unknown Object (File)
Tue, Oct 6, 8:18 PM
Subscribers

Details

Reviewers
jhb
Group Reviewers
PCI
Summary

Some QCA ath10k devices do not behave or behave odd after a bus reset.
Add a quirk for them to silently ignore bus resets.

MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 70807
Build 67690: arc lint + arc unit

Event Timeline

bz requested review of this revision.Feb 19 2026, 11:35 PM
sys/dev/pci/pci.c
244

Hmm, the quirk disables any reset (including FLR which isn't bus-wide). Assuming that FLR does indeed break these, maybe just call the quirk PCI_QUIRK_DISABLE_RESET?

sys/dev/pci/pci.c
244

They didn't advertise flr from what I remember. See below in the code for more...

6881

So in theory I should probably just disable this BUS_RESET_PREPARE../POST block.
To my understanding the problem comes with link re-training.

Need to check if the cards survive a suspend/resume then... (I am trying to think if they could in that case ...)