Page MenuHomeFreeBSD

PCIe HotPlug: remove tests for DL active link capability
ClosedPublic

Authored by vangyzen on Feb 3 2017, 10:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Aug 2, 7:46 AM
Unknown Object (File)
Jul 8 2025, 1:56 AM
Unknown Object (File)
Jul 6 2025, 5:20 AM
Unknown Object (File)
Jul 4 2025, 1:54 PM
Unknown Object (File)
Jul 1 2025, 3:57 AM
Unknown Object (File)
Jun 21 2025, 4:11 PM
Unknown Object (File)
Jun 20 2025, 2:14 PM
Unknown Object (File)
Jun 19 2025, 5:47 AM
Subscribers
None

Details

Summary

As of r313097, the HotPlug code requires the link to support
reporting of the data-link status. Remove tests for this capability
from code that can now assume its presence.

Suggested by: jhb

Test Plan

I no longer have ready access to HotPlug hardware,
so this is only boot-tested. If you'd like to test it,
I'd be grateful, but I'm comfortable committing it
essentially untested.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 7170
Build 7340: arc lint + arc unit

Event Timeline

vangyzen retitled this revision from to PCIe HotPlug: remove tests for DL active link capability.
vangyzen updated this object.
vangyzen edited the test plan for this revision. (Show Details)
vangyzen added a reviewer: jhb.
jhb edited edge metadata.

Looks good to me modulo the little nit.

sys/dev/pci/pci_pci.c
1383

I would stick DLLSCE at the beginning to match how 'mask' is initialized. (I think I did them in some sort of order, either MSB to LSB or vice versa.)

This revision is now accepted and ready to land.Feb 3 2017, 11:47 PM
sys/dev/pci/pci_pci.c
1383

mask is MSB to LSB, but val is the opposite. I'll sort val to match mask.

This revision was automatically updated to reflect the committed changes.