Page MenuHomeFreeBSD

Watchers

  • This project does not have any watchers.
  • View All

Recent Activity

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

Feb 6 2017

imp added a comment to D7697: Add AER register reporting support via sysctl.

After talking with John, these two reports are self-consistent. The bridge see one kind of thing going on (timeout) while the card sees something else (bad header so ignored).

Feb 6 2017, 10:12 PM · Contributor Reviews (src), PCI
imp added a comment to D7697: Add AER register reporting support via sysctl.

For example:
pciconf -bBlaec pcib5
pcib5@pci0:0:2:2: class=0x060400 card=0x083315d9 chip=0x6f068086 rev=0x01 hdr=0x01

  bus range  = 4-4
  window[1c] = type I/O Port, range 16, addr 0xf000-0xfff, disabled
  window[20] = type Memory, range 32, addr 0xfb500000-0xfb5fffff, enabled
  window[24] = type Prefetchable Memory, range 64, addr 0xfff00000-0xfffff, disabled
  cap 0d[40] = PCI Bridge card=0x083315d9
  cap 05[60] = MSI supports 2 messages, vector masks 
  cap 10[90] = PCI-Express 2 root port max data 256(256) ARI disabled
               link x4(x4) speed 2.5(8.0)
               slot 0 power limit 25000 mW surprise
  cap 01[e0] = powerspec 3  supports D0 D3  current D0
  ecap 000b[100] = Vendor 1 ID 2
  ecap 000d[110] = ACS 1
  ecap 0001[148] = AER 1 0 fatal 1 non-fatal 2 corrected
  ecap 000b[1d0] = Vendor 1 ID 3
  ecap 0019[250] = PCIe Sec 1 lane errors 0
  ecap 000b[280] = Vendor 1 ID 5
  ecap 000b[300] = Vendor 1 ID 8
PCI-e errors = Correctable Error Detected
               Non-Fatal Error Detected
   Non-fatal = Completion Timeout
   Corrected = Replay Timer Timeout
               Advisory Non-Fatal Error
Feb 6 2017, 9:47 PM · Contributor Reviews (src), PCI
imp added inline comments to D7697: Add AER register reporting support via sysctl.
Feb 6 2017, 9:44 PM · Contributor Reviews (src), PCI
imp added a comment to D7697: Add AER register reporting support via sysctl.

For the commit, I'd suggest doing the injection tool (both userland and kernel) separate from the kernel changes to pcib.

Feb 6 2017, 9:19 PM · Contributor Reviews (src), PCI

Sep 7 2016

kib retitled D7813: Rudimentary AER reading code for ddb(4) from to Rudimentary AER reading code for ddb(4).
Sep 7 2016, 1:54 PM · PCI

Aug 29 2016

jhibbits retitled D7697: Add AER register reporting support via sysctl from to Add AER register reporting support via sysctl.
Aug 29 2016, 7:20 PM · Contributor Reviews (src), PCI

Jan 27 2016

rpaulo removed a member for PCI: rpaulo.
Jan 27 2016, 6:15 AM