Merge 5.2-rc7 into android-mainline
Linux 5.2-rc7 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
此提交包含在:
@@ -1971,6 +1971,9 @@ static ssize_t write_cpuhp_fail(struct device *dev,
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
if (fail < CPUHP_OFFLINE || fail > CPUHP_ONLINE)
|
||||
return -EINVAL;
|
||||
|
||||
/*
|
||||
* Cannot fail STARTING/DYING callbacks.
|
||||
*/
|
||||
@@ -2346,6 +2349,9 @@ static int __init mitigations_parse_cmdline(char *arg)
|
||||
cpu_mitigations = CPU_MITIGATIONS_AUTO;
|
||||
else if (!strcmp(arg, "auto,nosmt"))
|
||||
cpu_mitigations = CPU_MITIGATIONS_AUTO_NOSMT;
|
||||
else
|
||||
pr_crit("Unsupported mitigations=%s, system may still be vulnerable\n",
|
||||
arg);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
新增問題並參考
封鎖使用者