Re: [PATCH 1/9] platform/x86: intel_pmc_core: Don't use global pmcdev in quirks

2021-04-07 Thread Rajneesh Bhardwaj
Reviewed-by: Rajneesh Bhardwaj On Wed, Mar 31, 2021 at 11:06 PM David E. Box wrote: > > The DMI callbacks, used for quirks, currently access the PMC by getting > the address a global pmc_dev struct. Instead, have the callbacks set a > global quirk specific variable. In probe, after calling

Re: [PATCH 1/9] platform/x86: intel_pmc_core: Don't use global pmcdev in quirks

2021-04-07 Thread Hans de Goede
Hi, On 4/1/21 5:05 AM, David E. Box wrote: > The DMI callbacks, used for quirks, currently access the PMC by getting > the address a global pmc_dev struct. Instead, have the callbacks set a > global quirk specific variable. In probe, after calling dmi_check_system(), > pass pmc_dev to a function

[PATCH 1/9] platform/x86: intel_pmc_core: Don't use global pmcdev in quirks

2021-03-31 Thread David E. Box
The DMI callbacks, used for quirks, currently access the PMC by getting the address a global pmc_dev struct. Instead, have the callbacks set a global quirk specific variable. In probe, after calling dmi_check_system(), pass pmc_dev to a function that will handle each quirk if its variable