Commit 72131347 authored by Marcelo Henrique Cerri's avatar Marcelo Henrique Cerri Committed by Stefan Bader

UBUNTU: SAUCE: s390: print messages for gmb and nobp

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

CVE-2017-5753
CVE-2017-5715
Signed-off-by: default avatarMarcelo Henrique Cerri <marcelo.cerri@canonical.com>
Acked-by: default avatarStefan Bader <stefan.bader@canonical.com>
Acked-by: default avatarKhaled Elmously <khalid.elmously@canonical.com>
Signed-off-by: default avatarStefan Bader <stefan.bader@canonical.com>
(cherry picked from commit 412264cd xenial)
Signed-off-by: default avatarJuerg Haefliger <juergh@canonical.com>
Signed-off-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
parent be1419d2
......@@ -115,5 +115,11 @@ void __init_or_module apply_alternatives(struct alt_instr *start,
extern struct alt_instr __alt_instructions[], __alt_instructions_end[];
void __init apply_alternative_instructions(void)
{
pr_info("gmb %s",
(__test_facility(81, S390_lowcore.alt_stfle_fac_list)) ?
"enabled" : "disabled");
pr_info("nobp %s",
(__test_facility(82, S390_lowcore.alt_stfle_fac_list)) ?
"enabled" : "disabled");
apply_alternatives(__alt_instructions, __alt_instructions_end);
}
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