[PATCH v2] platform/x86: don't unconditionally attach Intel PMC when virtualized

2022-11-10 Thread Roger Pau Monne
The current logic in the Intel PMC driver will forcefully attach it when detecting any CPU on the intel_pmc_core_platform_ids array, even if the matching ACPI device is not present. There's no checking in pmc_core_probe() to assert that the PMC device is present, and hence on virtualized environme

Re: [PATCH v2] platform/x86: don't unconditionally attach Intel PMC when virtualized

2022-11-10 Thread Andy Shevchenko
On Thu, Nov 10, 2022 at 02:33:35PM +0100, Roger Pau Monne wrote: > The current logic in the Intel PMC driver will forcefully attach it > when detecting any CPU on the intel_pmc_core_platform_ids array, > even if the matching ACPI device is not present. > > There's no checking in pmc_core_probe() t