Re: [PATCH v2] add cpu frequency to cpuinfo in arm64

From: Marc Zyngier
Date: Wed Jan 26 2022 - 07:29:05 EST


On 2022-01-26 12:05, Robin Murphy wrote:
On 2022-01-26 09:23, Chao Liu wrote:
There is cpu frequency in /proc/cpuinfo in x86 but not in arm64

arm64 cpuinfo also doesn't show the APIC ID or microcode version.
Different architectures are different.

Besides, x86 cpuinfo only shows MHz if the CPU has X86_FEATURE_TSC, so
for compatibility we should only do this on AArch64 CPUs which have
X86_FEATURE_TSC.

/me prepares a patch to be sent in just over 2 months...

M.
--
Jazz is not dead. It just smells funny...