]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/bugs/module: Provide retpoline_modules_only parameter to fail non-retpoline modules
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 24 May 2018 14:43:18 +0000 (10:43 -0400)
committerBrian Maly <brian.maly@oracle.com>
Wed, 20 Jun 2018 17:23:09 +0000 (13:23 -0400)
commit03dc722c0f8a8524ffea799c1098da9b892cdead
treeb8a5aade4a42d157f321f492daf7aa0d46782a2f
parent9f8c6ce9e737d3871c40ee987096c6398cca889a
x86/bugs/module: Provide retpoline_modules_only parameter to fail non-retpoline modules

This allows developers to have right away a mechanism to see
if their module is incorrect.

Note that we enable this regardless whether the OS is using
retpoline or IBRS. This is on purpose.

Orabug: 28071992
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
---
v2: s/nonretpoline_fail/retpoline_modules_only/

Signed-off-by: Brian Maly <brian.maly@oracle.com>
Documentation/kernel-parameters.txt
kernel/module.c