Commit 4eb59dbc authored by Aubrey Li's avatar Aubrey Li Committed by Aubrey Li
Browse files

ACPI: PRM: Deal with table not present or no module found

mainline inclusion
from mainline-v5.14
commit 2bbfa0ad
category: feature
bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I6HNB8


CVE: N/A

Intel-SIG: commit 2bbfa0ad ACPI: PRM: Deal with table not present
or no module found.
ACPI Platform Runtime Mechanism feature backport.

--------------------------------

On the system PRMT table is not present, dmesg output:

	$ dmesg | grep PRM
	[    1.532237] ACPI: PRMT not present
	[    1.532237] PRM: found 4294967277 modules

The result of acpi_table_parse_entries need to be checked and return
immediately if PRMT table is not present or no PRM module found.

Signed-off-by: default avatarAubrey Li <aubrey.li@linux.intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: default avatarAubrey Li <aubrey.li@linux.intel.com>
parent 82f7bb79
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment