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

2022-11-15 Thread Hans de Goede
Hi, On 11/10/22 17:31, 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() to assert that the

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

2022-11-10 Thread Andy Shevchenko
On Thu, Nov 10, 2022 at 05:31:44PM +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()

[PATCH v3] 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