Re: [PATCH 4/5] x86/pti: warn for unknown pti boot options

2018-07-16 Thread Dave Hansen
On 07/15/2018 09:03 PM, Jiang Biao wrote: > When using unknown pti boot options other than on/off/auto, we > select auto silently, which is sometimes confusing. Add warning for > unknown pti boot options like we do in > spectre_v2_select_mitigation(). There's not a lot of precedent for this one.

[PATCH 4/5] x86/pti: warn for unknown pti boot options

2018-07-15 Thread Jiang Biao
When using unknown pti boot options other than on/off/auto, we select auto silently, which is sometimes confusing. Add warning for unknown pti boot options like we do in spectre_v2_select_mitigation(). Signed-off-by: Jiang Biao --- arch/x86/mm/pti.c | 10 +- 1 file changed, 5 insertions(