]> git.itanic.dy.fi Git - linux-stable/commit
ACPI: bus: Fix the _OSC capability check for FFH OpRegion
authorSudeep Holla <sudeep.holla@arm.com>
Fri, 18 Nov 2022 14:00:59 +0000 (14:00 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 21 Nov 2022 19:11:09 +0000 (20:11 +0100)
commitd7d4332155efe82a3d70ab179dde30cad3b094a4
treeffec3960a473ed69d95ecf8494b1d0b720749b41
parent1d280ce099db396e092cac1aa9bf2ea8beee6d76
ACPI: bus: Fix the _OSC capability check for FFH OpRegion

As per the ACPI specification(vide section Platform-Wide OSPM Capabilities)
the OSPM must set this bit to indicate support for the usage of Functional
Fixed Hardware (FFixedHW) Operation Regions rather than the firmware as
expected in the code.

Update the check accordingly to reflect the requirement as stated in the
specification.

Reported-by: Jose Marinho <jose.marinho@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/bus.c