HomeFreeBSD

pci: Disable Electromechanical Interlock.

Description

pci: Disable Electromechanical Interlock.

Add sysctl/tunable to control Electromechanical Interlock support.
Disable it by default since Linux does not do it either and it seems
the number of systems having it broken is higher than having working.

This fixes NVMe backplane operation on ASUS RS500A-E11-RS12U server
with AMD EPYC 7402 CPU, where attempts to control reported interlock
for some reason end up in PCIe link loss, while interlock status does
not change (it is not really there).

MFC after: 2 weeks

Details

Provenance
mavAuthored on Oct 4 2022, 2:34 PM
Parents
rG1d41a0555787: Fix kernel build after fcb3f813f379f544f9cd2a10d18045588da0e132 .
Branches
Unknown
Tags
Unknown