Page MenuHomeFreeBSD

Recent Activity

Yesterday

nprice updated the diff for D60605: vmm: keep memory decode enabled through MSI-X teardown.

Clear BUSMASTEREN together with INTxDIS

Wed, Nov 4, 11:26 PM · PCI

Mon, Nov 2

markj accepted D60605: vmm: keep memory decode enabled through MSI-X teardown.
Mon, Nov 2, 4:49 PM · PCI
nprice commandeered D59498: pci: wait for a function to answer again after a reset from nick_spun.io.
Mon, Nov 2, 1:30 AM · PCI
nprice commandeered D60605: vmm: keep memory decode enabled through MSI-X teardown from nick_spun.io.
Mon, Nov 2, 1:27 AM · PCI
nprice commandeered D59499: pci: restore configuration state after resetting a detached child from nick_spun.io.
Mon, Nov 2, 1:26 AM · PCI

Fri, Oct 30

adrian accepted D60605: vmm: keep memory decode enabled through MSI-X teardown.
Fri, Oct 30, 8:18 PM · PCI
kbowling accepted D60605: vmm: keep memory decode enabled through MSI-X teardown.
Fri, Oct 30, 8:02 PM · PCI

Wed, Oct 14

wanpengqian_gmail.com added a comment to D60605: vmm: keep memory decode enabled through MSI-X teardown.

Makes sense: ppt_teardown_msix_intr() -> bus_teardown_intr() -> pci_mask_msix() writes the vector control dword in the table BAR, so with decode off that is a UR. One suggestion: the old ordering also stopped DMA before the interrupt teardown (the device could still be bus-mastering while its guest mappings go away), and the new one leaves BUSMASTEREN on until afterwards. Clearing BUSMASTEREN together with INTxDIS first, and only deferring PORTEN/MEMEN until after the MSI-X teardown, keeps both properties. (MSI teardown doesn't touch BARs; only MSI-X does.) We carry the same ordering in keelOS's ppt (stable/15) and will pick this up.

Wed, Oct 14, 12:00 AM · PCI

Sun, Oct 11

nick_spun.io updated the diff for D60605: vmm: keep memory decode enabled through MSI-X teardown.

handle PCI_QUIRK_MSI_INTX_BUG

Sun, Oct 11, 1:36 AM · PCI
nick_spun.io added reviewers for D60605: vmm: keep memory decode enabled through MSI-X teardown: adrian, kbowling, markj.
Sun, Oct 11, 1:25 AM · PCI

Sep 28 2026

nick_spun.io added inline comments to D59498: pci: wait for a function to answer again after a reset.
Sep 28 2026, 10:26 PM · PCI
jhb added inline comments to D59498: pci: wait for a function to answer again after a reset.
Sep 28 2026, 2:26 PM · PCI
jhb added a comment to D59499: pci: restore configuration state after resetting a detached child.

Hmmm, so in theory device_detach() might power off the child. I guess that's ok. I have some WIP that will "fix" this more properly by having device_probe_and_attach() invoke a pre-probe bus_if.m method that for PCI restores the saved state that would handle this transparently, but this is ok for now.

Sep 28 2026, 2:09 PM · PCI

Sep 8 2026

kbowling added a watcher for PCI: kbowling.
Sep 8 2026, 9:22 PM
kbowling added inline comments to D59498: pci: wait for a function to answer again after a reset.
Sep 8 2026, 8:26 PM · PCI
kbowling added inline comments to D59498: pci: wait for a function to answer again after a reset.
Sep 8 2026, 2:08 AM · PCI

Sep 7 2026

bz added a reviewer for D59499: pci: restore configuration state after resetting a detached child: jhb.
Sep 7 2026, 9:31 PM · PCI
nick_spun.io added reviewers for D59499: pci: restore configuration state after resetting a detached child: adrian, kbowling.
Sep 7 2026, 9:30 PM · PCI
bz added a reviewer for D59498: pci: wait for a function to answer again after a reset: jhb.
Sep 7 2026, 9:19 PM · PCI
nick_spun.io added a reviewer for D59498: pci: wait for a function to answer again after a reset: kbowling.
Sep 7 2026, 9:18 PM · PCI
nick_spun.io added a reviewer for D59498: pci: wait for a function to answer again after a reset: adrian.
Sep 7 2026, 9:15 PM · PCI

Sep 25 2024

Restricted Repository Identity closed D20591: Make it obvious that SR-IOV VF creation fails because of the PCIe bus, not the device driver.
Sep 25 2024, 10:19 PM · PCI

Sep 4 2024

bz added a watcher for PCI: bz.
Sep 4 2024, 7:13 PM

Nov 11 2021

linnemannr_gmail.com added a project to D32932: Fix PCIe HPS hotplug for devices that report improper slot status when link status is 1: PCI.
Nov 11 2021, 4:35 PM · PCI

Sep 15 2021

mw closed D31887: pci: Add Synopsys Designware PCIe controller quirk.
Sep 15 2021, 1:20 PM · PCI
mw accepted D31887: pci: Add Synopsys Designware PCIe controller quirk.

LGTM + tested with ACPI and DT on MacchiatoBin.

Sep 15 2021, 10:18 AM · PCI

Sep 10 2021

pan_semihalf.com updated the diff for D31887: pci: Add Synopsys Designware PCIe controller quirk.
  • Rename quirk to PCIE_ECAM_DESIGNWARE_QUIRK
  • Add socionext,synquacer-pcie-ecam and snps,dw-pcie-ecam compats
Sep 10 2021, 12:40 PM · PCI

Sep 9 2021

val_packett.cool added inline comments to D31887: pci: Add Synopsys Designware PCIe controller quirk.
Sep 9 2021, 10:03 AM · PCI
pan_semihalf.com requested review of D31887: pci: Add Synopsys Designware PCIe controller quirk.
Sep 9 2021, 7:26 AM · PCI

Aug 27 2021

mav closed D31693: pcib(4): write window after resource adjustment.
Aug 27 2021, 12:39 AM · PCI
jhb accepted D31693: pcib(4): write window after resource adjustment.
Aug 27 2021, 12:15 AM · PCI

Aug 26 2021

jrtc27 accepted D31693: pcib(4): write window after resource adjustment.

Yep that's another good observation... any more bugs you can think of with my original code? :)

Aug 26 2021, 10:08 PM · PCI
mav updated the diff for D31693: pcib(4): write window after resource adjustment.

Thinking about it again, pcib_expand_window() should receive not the requested start/end values, but MIN()/MAX() respectively from them and the current window base/limit. Otherwise in case of multiple resources pcib_expand_window() panic on attempt to shrink the window on another side of where it growth. Unfortunately I don't have hardware configuration with more than one second level bridge connected to the one closest to the root to illustrate that.

Aug 26 2021, 8:55 PM · PCI
jrtc27 accepted D31693: pcib(4): write window after resource adjustment.

Still an accept with the context added :)

Aug 26 2021, 6:13 PM · PCI
mav updated the diff for D31693: pcib(4): write window after resource adjustment.
Aug 26 2021, 5:52 PM · PCI
jrtc27 accepted D31693: pcib(4): write window after resource adjustment.

Given pcib_grow_window also rounds requests it seems sensible to be consistent and do so here too. Not writing the updated window is indeed a silly oversight and explains why clear_pcib wasn't working for me on my board, stopping enumeration early. But best wait for John to check there isn't something I'm overlooking here.

Aug 26 2021, 5:32 PM · PCI
mav requested review of D31693: pcib(4): write window after resource adjustment.
Aug 26 2021, 5:20 PM · PCI

Feb 15 2020

jhibbits abandoned D7697: Add AER register reporting support via sysctl.

No longer working on this. Someone else can take it up.

Feb 15 2020, 3:49 PM · Contributor Reviews (src), PCI

Jan 23 2020

br added a member for PCI: br.
Jan 23 2020, 5:36 PM

Jun 10 2019

imp accepted D20591: Make it obvious that SR-IOV VF creation fails because of the PCIe bus, not the device driver.
Jun 10 2019, 10:59 PM · PCI
val_packett.cool created D20591: Make it obvious that SR-IOV VF creation fails because of the PCIe bus, not the device driver.
Jun 10 2019, 7:12 PM · PCI

Aug 18 2018

kib closed D7813: Rudimentary AER reading code for ddb(4).
Aug 18 2018, 8:35 PM · PCI

Aug 2 2018

imp accepted D7813: Rudimentary AER reading code for ddb(4).

This is fine.

Aug 2 2018, 9:47 AM · PCI
cem accepted D7813: Rudimentary AER reading code for ddb(4).

Seems useful to me, especially as an interim solution for scanning for AER reports before we grow runtime support. Any objection @imp , @jhb ?

Aug 2 2018, 2:18 AM · PCI

Mar 15 2018

cjysqpb_hotmail.com added a comment to D7697: Add AER register reporting support via sysctl.
In D7697#197154, @imp wrote:

I'm reworking things to allow two types of usage. One by client devices that want to 'poll' their AER status and keep counts / records of what happened on that device. The second form is only on Root Complexes and Root Error Collection devices that collect records there (and maybe for root complexes walks the tree polling all the agents and endpoints involved to complete the record, if possible).

Mar 15 2018, 10:21 PM · Contributor Reviews (src), PCI

Dec 5 2017

imp added a comment to D7813: Rudimentary AER reading code for ddb(4).

Errr, my cleanup is runtime, not ddb time, sorry for the confusion. I've not grabbed this code.

Dec 5 2017, 10:16 PM · PCI
imp added a comment to D7813: Rudimentary AER reading code for ddb(4).

I've cleaned up this code somewhat, but not completely. I need to reconnect it to an interrupt and then test it in machines that generate these errors...

Dec 5 2017, 10:15 PM · PCI
emaste added a comment to D7813: Rudimentary AER reading code for ddb(4).

I like the idea of having this support in ddb, but will defer to @jhb and @imp.

Dec 5 2017, 9:46 PM · PCI

Jun 30 2017

lwhsu changed the visibility for PCI.
Jun 30 2017, 6:38 PM

Feb 11 2017

imp requested changes to D7697: Add AER register reporting support via sysctl.

Some more comments based on first trying to use this code, and then trying to rework it.
While the code is decently written, there's a number of fundamental assumptions it makes that aren't reflective of the AER in the PCIe spec that require changes.
I've not looked at all at the userland test suite, so have no opinion on that.

Feb 11 2017, 4:41 PM · Contributor Reviews (src), PCI