]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
acpi: limit the AMDI0020/AMDI0010 workaround to an option
authorWarner Losh <imp@FreeBSD.org>
Mon, 8 Feb 2021 21:43:25 +0000 (14:43 -0700)
committerWarner Losh <imp@FreeBSD.org>
Mon, 1 Mar 2021 18:58:52 +0000 (11:58 -0700)
commit84c6bae8db2e0ae98e321f928364b61a7a13cda5
treef7eafee1a14b7e093897ddb06c8b72cbed87177a
parenta7926435c12e2304f46c9efadd4216f469f68acc
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
Approved by: re@ (gjb)
(cherry picked from commit 35af933173d516101f4c44af328fbe2d6e587869)
(cherry picked from commit a60c5de933e1516f65ead98b0ee141224ad607f4)
sys/conf/options
sys/dev/acpica/acpi.c