diff options
author | David Engraf <[email protected]> | 2024-02-07 10:27:58 +0100 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2024-02-14 14:24:06 +1100 |
commit | eb6d871f4ba49ac8d0537e051fe983a3a4027f61 (patch) | |
tree | a8c861254c412c434cdb76091b4261107c339dba /net/switchdev/switchdev.c | |
parent | f1acb109505d983779bbb7e20a1ee6244d2b5736 (diff) |
powerpc/cputable: Add missing PPC_FEATURE_BOOKE on PPC64 Book-E
Commit e320a76db4b0 ("powerpc/cputable: Split cpu_specs[] out of
cputable.h") moved the cpu_specs to separate header files. Previously
PPC_FEATURE_BOOKE was enabled by CONFIG_PPC_BOOK3E_64. The definition in
cpu_specs_e500mc.h for PPC64 no longer enables PPC_FEATURE_BOOKE.
This breaks user space reading the ELF hwcaps and expect
PPC_FEATURE_BOOKE. Debugging an application with gdb is no longer
working on e5500/e6500 because the 64-bit detection relies on
PPC_FEATURE_BOOKE for Book-E.
Fixes: e320a76db4b0 ("powerpc/cputable: Split cpu_specs[] out of cputable.h")
Cc: [email protected] # v6.1+
Signed-off-by: David Engraf <[email protected]>
Reviewed-by: Christophe Leroy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions