From: Michael Ellerman <mpe@ellerman.id.au> Date: 2018-02-22 13:21:32
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>
---
arch/powerpc/platforms/pseries/setup.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
@@ -482,7 +482,8 @@ static void pseries_setup_rfi_flush(void)if(types==L1D_FLUSH_NONE)types=L1D_FLUSH_FALLBACK;-if(!(result.behaviour&H_CPU_BEHAV_L1D_FLUSH_PR))+if((!(result.behaviour&H_CPU_BEHAV_L1D_FLUSH_PR))||+(!(result.behaviour&H_CPU_BEHAV_FAVOUR_SECURITY)))enable=false;}else{/* Default to fallback if case hcall is not available */
From: Michael Ellerman <mpe@ellerman.id.au> Date: 2018-02-22 13:21:32
Some versions of firmware will have a setting that can be configured
to disable the RFI flush, add support for it.
Fixes: 6e032b350cd1 ("powerpc/powernv: Check device-tree for RFI flush settings")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
---
arch/powerpc/platforms/powernv/setup.c | 4 ++++
1 file changed, 4 insertions(+)
From: Michael Ellerman <hidden> Date: 2018-02-26 05:35:18
On Thu, 2018-02-22 at 13:21:17 UTC, Michael Ellerman wrote:
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>
From: Michael Ellerman <hidden> Date: 2018-02-26 05:35:20
On Thu, 2018-02-22 at 13:21:18 UTC, Michael Ellerman wrote:
Some versions of firmware will have a setting that can be configured
to disable the RFI flush, add support for it.
Fixes: 6e032b350cd1 ("powerpc/powernv: Check device-tree for RFI flush settings")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>