Skip to content

Commit

Permalink
ACPI: scan: Defer enumeration of devices with a _DEP pointing to IVSC…
Browse files Browse the repository at this point in the history
… device

mainline:1e518e8333ca2134a53b96bc835432083f274350
severity: Moderate

upstream commit 1e518e8 ("ACPI: scan: Defer enumeration of devices with a _DEP pointing to IVSC device")

Inside IVSC, switching ownership requires an interface with two
different hardware modules, ACE and CSI. The software interface
to these modules is based on Intel MEI framework. Usually mei
client devices are dynamically created, so the info of consumers
depending on mei client devices is not present in the firmware
tables.

This causes problems with the probe ordering with respect to
drivers for consumers of these MEI client devices. But on these
camera sensor devices, the ACPI nodes describing the sensors all
have a _DEP dependency on the matching MEI bus ACPI device, so
adding IVSC MEI bus ACPI device to acpi_honor_dep_ids allows
solving the probe-ordering problem by deferring the enumeration of
ACPI-devices which have a _DEP dependency on an IVSC mei bus ACPI
device.

Add INTC10CF, the HID of IVSC MEI bus ACPI device on MTL platform,
to acpi_honor_dep_ids.

Intel-SIG: commit 1e518e8 ("ACPI: scan: Defer enumeration of devices with a _DEP pointing to IVSC device")

Signed-off-by: Wentong Wu <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
[ Quanxian Wang: amend commit log ]
Signed-off-by: Quanxian Wang <[email protected]>
  • Loading branch information
wentongwu authored and matrix-wsk committed Jun 14, 2024
1 parent 213027e commit 5aa746f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/acpi/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -794,6 +794,7 @@ static const char * const acpi_honor_dep_ids[] = {
"INTC1059", /* IVSC (TGL) driver must be loaded to allow i2c access to camera sensors */
"INTC1095", /* IVSC (ADL) driver must be loaded to allow i2c access to camera sensors */
"INTC100A", /* IVSC (RPL) driver must be loaded to allow i2c access to camera sensors */
"INTC10CF", /* IVSC (MTL) driver must be loaded to allow i2c access to camera sensors */
NULL
};

Expand Down

0 comments on commit 5aa746f

Please sign in to comment.