aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/sysdev/tsi108_pci.c
diff options
context:
space:
mode:
authorChristophe Leroy <[email protected]>2023-02-27 16:54:45 +0100
committerMichael Ellerman <[email protected]>2023-03-30 23:35:43 +1100
commite7299f961fe5e4496db0bfaa9e819f5e97f3846b (patch)
tree129b4e934ad039ef2dfe3488ed629a839fa0b013 /arch/powerpc/sysdev/tsi108_pci.c
parentd3cf1662b665f20444a08bff52b6daae912e0d1d (diff)
powerpc/perf: Properly detect mpc7450 family
Unlike PVR_POWER8, etc ...., PVR_7450 represents a full PVR value and not a family value. To avoid confusion, do like E500 family and define the relevant PVR_VER_xxxx values for the 7450 family: 0x8000 ==> 7450 0x8001 ==> 7455 0x8002 ==> 7447 0x8003 ==> 7447A 0x8004 ==> 7448 And use them to detect 7450 family for perf events. Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/[email protected]/ Fixes: ec3eb9d941a9 ("powerpc/perf: Use PVR rather than oprofile field to determine CPU version") Signed-off-by: Christophe Leroy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://msgid.link/99ca1da2e5a6cf82a8abf4bc034918e500e31781.1677513277.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/sysdev/tsi108_pci.c')
0 files changed, 0 insertions, 0 deletions