[PATCH v2 03/10] powerpc/pseries: Set or clear security feature flags
Mauricio Faria de Oliveira
mauricfo at linux.vnet.ibm.com
Fri Mar 30 05:35:07 AEDT 2018
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_FLUSH_PR);
> +
> + if (!(result->character & H_CPU_BEHAV_BNDS_CHK_SPEC_BAR))
> + security_ftr_clear(SEC_FTR_BNDS_CHK_SPEC_BAR);
Oops, I missed this..
The H_CPU_BEHAV flags should be checked for in 'result->behaviour'.
Just sent '[PATCH] powerpc/pseries: Fix to clear security feature flags'
cheers,
Mauricio
More information about the Linuxppc-dev
mailing list