On 6/10/2022 7:57 AM, Like Xu wrote:
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.
Thanks, I'll add the check.
On 6/10/2022 7:57 AM, Like Xu wrote:
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.
Thanks, I'll add the check.