Skip to content

Commit c63d688

Browse files
apopplempe
authored andcommitted
powerpc/dt_cpu_ftrs: Enable Prefixed Instructions
Prefix instructions have their own FSCR bit which needs to be enabled via a CPU feature. The kernel will save the FSCR for problem state but it needs to be enabled initially. Signed-off-by: Alistair Popple <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 43d0d37 commit c63d688

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/powerpc/kernel/dt_cpu_ftrs.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,7 @@ static struct dt_cpu_feature_match __initdata
634634
{"vector-binary128", feat_enable, 0},
635635
{"vector-binary16", feat_enable, 0},
636636
{"wait-v3", feat_enable, 0},
637+
{"prefix-instructions", feat_enable, 0},
637638
};
638639

639640
static bool __initdata using_dt_cpu_ftrs;

0 commit comments

Comments
 (0)