Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

powerpc/pseries: Support firmware disable of RFI flush

Some versions of firmware will have a setting that can be configured
to disable the RFI flush, add support for it.

Fixes: 8989d56878a7 ("powerpc/pseries: Query hypervisor for RFI flush settings")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>

+2 -1
+2 -1
arch/powerpc/platforms/pseries/setup.c
··· 482 482 if (types == L1D_FLUSH_NONE) 483 483 types = L1D_FLUSH_FALLBACK; 484 484 485 - if (!(result.behaviour & H_CPU_BEHAV_L1D_FLUSH_PR)) 485 + if ((!(result.behaviour & H_CPU_BEHAV_L1D_FLUSH_PR)) || 486 + (!(result.behaviour & H_CPU_BEHAV_FAVOUR_SECURITY))) 486 487 enable = false; 487 488 } else { 488 489 /* Default to fallback if case hcall is not available */