Commit be1419d2 authored by Juerg Haefliger's avatar Juerg Haefliger Committed by Stefan Bader

UBUNTU: SAUCE: s390: Add 'nogmb' kernel parameter

BugLink: http://bugs.launchpad.net/bugs/1768474

The update of the SAUCE s390 Spectre patch set to the upstream version
from 4.4.130 removed the 'nogmb' kernel parameter. Add it back to retain
the original behavior.
Signed-off-by: default avatarJuerg Haefliger <juergh@canonical.com>
Signed-off-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
parent d9050280
......@@ -15,6 +15,13 @@ static int __init disable_alternative_instructions(char *str)
early_param("noaltinstr", disable_alternative_instructions);
static int __init nogmb_setup_early(char *str)
{
__clear_facility(81, S390_lowcore.alt_stfle_fac_list);
return 0;
}
early_param("nogmb", nogmb_setup_early);
struct brcl_insn {
u16 opc;
s32 disp;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment