Re: [PATCH v2 03/10] powerpc/pseries: Set or clear security feature flags

2018-03-29 Thread Mauricio Faria de Oliveira
Hi Michael, On 03/27/2018 09:01 AM, Michael Ellerman wrote: + if (!(result->character & H_CPU_BEHAV_FAVOUR_SECURITY)) + security_ftr_clear(SEC_FTR_FAVOUR_SECURITY); + + if (!(result->character & H_CPU_BEHAV_L1D_FLUSH_PR)) + security_ftr_clear(SEC_FTR_L1D_F

[PATCH v2 03/10] powerpc/pseries: Set or clear security feature flags

2018-03-27 Thread Michael Ellerman
Now that we have feature flags for security related things, set or clear them based on what we receive from the hypercall. Signed-off-by: Michael Ellerman --- arch/powerpc/platforms/pseries/setup.c | 43 ++ 1 file changed, 43 insertions(+) diff --git a/arch/power