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

(cherry picked from commit a58536b91ae3931d222c3e4f1a949ff4a4927fb2)

Details

Provenance
mavAuthored on Oct 4 2022, 2:34 PM
Parents
rG9f4b854c028b: clnt_vc.c: Replace msleep() with pause() to avoid assert panic
Branches
Unknown
Tags
Unknown