On 9/6/2022 4:39 pm, Yang Weijiang wrote:
+ perf_cap = rdmsr(MSR_IA32_PERF_CAPABILITIES);
Nit, check the PDCM bit before accessing this MSR.
On 9/6/2022 4:39 pm, Yang Weijiang wrote:
+ perf_cap = rdmsr(MSR_IA32_PERF_CAPABILITIES);
Nit, check the PDCM bit before accessing this MSR.