Files
linux/arch/powerpc/include/asm
Christophe Leroy f9325ac52f powerpc/perf: Properly detect mpc7450 family
[ Upstream commit e7299f961f ]

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 <lkp@intel.com>
Reported-by: Dan Carpenter <error27@gmail.com>
Link: https://lore.kernel.org/r/202302260657.7dM9Uwev-lkp@intel.com/
Fixes: ec3eb9d941 ("powerpc/perf: Use PVR rather than oprofile field to determine CPU version")
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/99ca1da2e5a6cf82a8abf4bc034918e500e31781.1677513277.git.christophe.leroy@csgroup.eu
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-11 23:03:31 +09:00
..
2015-05-28 15:31:53 +02:00
2023-03-17 08:50:30 +01:00
2021-03-24 14:09:29 +11:00
2022-06-29 19:37:07 +10:00
2022-06-29 16:58:27 +10:00
2022-09-26 22:47:37 +10:00
2022-07-27 21:36:05 +10:00
2022-09-26 23:00:14 +10:00
2022-09-26 23:00:13 +10:00
2021-07-01 11:06:03 -07:00
2021-02-09 01:09:44 +11:00
2022-05-08 22:15:40 +10:00
2018-05-25 12:04:43 +10:00
2021-12-09 22:41:21 +11:00
2022-09-28 19:22:09 +10:00
2018-07-30 22:48:21 +10:00
2019-05-01 16:45:05 +10:00
2022-07-27 21:36:05 +10:00
2022-01-30 21:17:00 -05:00