Re: [PATCH 1/3] ACPI / blacklist: add acpi_match_oemlist() interface

From: Kani, Toshimitsu
Date: Tue Jul 18 2017 - 14:50:47 EST


On Tue, 2017-07-18 at 19:42 +0200, Borislav Petkov wrote:
> On Tue, Jul 18, 2017 at 05:24:50PM +0000, Kani, Toshimitsu wrote:
> > Well, a list does not need to be a black-list.
>
> But this one *is* a blacklist.

Right. Hence, acpi_backlisted() still declares the list as
'acpi_blacklist[]'.

> > So, I tried to avoid putting any usage to the structure name.
>
> So OEM is a usage. The moment you need to use it for something else
> besides an OEM, it is not an OEM list anymore - it is a generic
> blacklist which blacklists OEMs too.

The term "oem" represents data types of the structure, oem_id[],
oem_table_id[], and oem_revision, which are defined by the ACPI spec.

ghes_edac uses this structure as a while-list, so the term backlist is
misleading. intel_pstate also uses it to list the platforms that do
not need OS control.

Thanks,
-Toshi