HomeFreeBSD

acpi: limit the AMDI0020/AMDI0010 workaround to an option

Description

acpi: limit the AMDI0020/AMDI0010 workaround to an option

It appears that production versions of EPYC firmware get the _STA method right
for these nodes. In fact, this workaround breaks on production hardware by
including too many uart nodes. This work around was for pre-release hardware
that wound up not having a large deployment. Move this work around to a kernel
option since the machines that needed it have been powered off and are difficult
to resurrect. Should there be a more significant deployment than is understood,
we can restrict it based on smbios strings.

Discussed with: mmacy@, seanc@, jhb@
MFC After: 3 days

(cherry picked from commit 35af933173d516101f4c44af328fbe2d6e587869)

Details

Provenance
impAuthored on Feb 8 2021, 9:43 PM
Parents
rG40c1f835412d: nvdimm: Fix error path mis-free
Branches
Unknown
Tags
Unknown