On Mon, Jun 07, 2021 at 09:31:09AM +0800, Cody Yao-oc wrote:
From: CodyYao-oc <CodyYao-oc@xxxxxxxxxxx>
Nano processor may not fully support rdpmc instruction, it works well
for reading general pmc counter, but will lead to GP(general protection)
when accessing fixed pmc counter. Futhermore, family/model information
is same between Nano processor and ZX-C processor, it leads to zhaoxin
pmu driver is wrongly loaded for Nano processor, which resulting boot
kernal fail.
To solve this problem, stepping information will be checked to distinguish
between Nano processor and ZX-C processor.
[https://bugzilla.kernel.org/show_bug.cgi?id=212389]
Reported-by: Arjan <8vvbbqzo567a@xxxxxxxxxxxxxxxxx>
Signed-off-by: CodyYao-oc <CodyYao-oc@xxxxxxxxxxx>
*sigh*.. so this email address doesn't exist, as such I can't apply this
patch. Consider it dropped.