Re: [Fwd: Commit 555c45fe0d0 ("int340X/processor_thermal_device: add support for MMIO RAPL") boot failure]

Zhang Rui
2019-07-20T01:25:58Z

On 五, 2019-07-19 at 10:31 -0700, Kenneth R. Crudup wrote:
> On Fri, 19 Jul 2019, Zhang Rui wrote:
>
> >
> > please try the patch below and confirm if it helps or not.
> >
> > From: Zhang Rui <rui.zhang@intel.com>
> > Date: Fri, 19 Jul 2019 23:25:14 +0800
> > Subject: [PATCH] powercap: adjust init order
> The patch fixes the boot crash, yes.
>
Hi, Kenny,

thanks for testing.

Rafael,

can we merge this urgent fix before the merge window closed?

thanks,
rui

> ----
> $ dmesg | fgrep -i rapl
> [    0.816376] RAPL PMU: API unit is 2^-32 Joules, 4 fixed counters,
> 655360 ms ovfl timer
> [    0.816383] RAPL PMU: hw unit of domain pp0-core 2^-14 Joules
> [    0.816387] RAPL PMU: hw unit of domain package 2^-14 Joules
> [    0.816390] RAPL PMU: hw unit of domain dram 2^-14 Joules
> [    0.816394] RAPL PMU: hw unit of domain pp1-gpu 2^-14 Joules
> [    1.098943] intel_rapl_common: Found RAPL domain package
> [    1.100438] intel_rapl_common: Found RAPL domain dram
> [    1.911092] intel_rapl_common: Found RAPL domain package
> [    1.912577] intel_rapl_common: Found RAPL domain core
> [    1.913989] intel_rapl_common: Found RAPL domain uncore
> [    1.915343] intel_rapl_common: Found RAPL domain dram
> $
> ----
>
> -Kenny
>