Commit 205a1423 by Alexander Popov

Add the 'nospectre_v1' check

parent 40a359fa
...@@ -698,6 +698,7 @@ def add_cmdline_checks(l, arch): ...@@ -698,6 +698,7 @@ def add_cmdline_checks(l, arch):
# very complex and not give a 100% guarantee anyway. # very complex and not give a 100% guarantee anyway.
# 'self_protection', 'defconfig' # 'self_protection', 'defconfig'
l += [CmdlineCheck('self_protection', 'defconfig', 'nospectre_v1', 'is not set')]
if arch == 'ARM64': if arch == 'ARM64':
l += [OR(CmdlineCheck('self_protection', 'defconfig', 'rodata', 'full'), l += [OR(CmdlineCheck('self_protection', 'defconfig', 'rodata', 'full'),
AND(KconfigCheck('self_protection', 'defconfig', 'RODATA_FULL_DEFAULT_ENABLED', 'y'), AND(KconfigCheck('self_protection', 'defconfig', 'RODATA_FULL_DEFAULT_ENABLED', 'y'),
......
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