platform/x86/intel/pmc: Fix Arrow Lake U/H NPU PCI ID
authorTodd Brandt <todd.e.brandt@intel.com>
Tue, 20 May 2025 10:45:55 +0000 (03:45 -0700)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Fri, 23 May 2025 09:04:54 +0000 (12:04 +0300)
commitf2eae58c4428bd792c8e91e3666ab0718d87b44a
tree06063f35f003674e3704881b81ff9068ff246595
parent8508427a6e21c1ef01ae4c9f4e2675fc99deb949
platform/x86/intel/pmc: Fix Arrow Lake U/H NPU PCI ID

The ARL requires that the GMA and NPU devices both be in D3Hot in order
for PC10 and S0iX to be achieved in S2idle. The original ARL-H/U addition
to the intel_pmc_core driver attempted to do this by switching them to D3
in the init and resume calls of the intel_pmc_core driver.

The problem is the ARL-H/U have a different NPU device and thus are not
being properly set and thus S0iX does not work properly in ARL-H/U. This
patch creates a new ARL-H specific device id that is correct and also
adds the D3 fixup to the suspend callback. This way if the PCI devies
drop from D3 to D0 after resume they can be corrected for the next
suspend. Thus there is no dropout in S0iX.

Fixes: bd820906ea9d ("platform/x86/intel/pmc: Add Arrow Lake U/H support to intel_pmc_core driver")
Signed-off-by: Todd Brandt <todd.e.brandt@intel.com>
Link: https://lore.kernel.org/r/a61f78be45c13f39e122dcc684b636f4b21e79a0.1747737446.git.todd.e.brandt@intel.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/intel/pmc/arl.c