mirror of
https://github.com/speed47/spectre-meltdown-checker.git
synced 2024-11-14 01:28:02 +01:00
Whitelist non-vulnerable ARMv7
For ARMv7 processors not on https://developer.arm.com/support/arm-security-updates/speculative-processor-vulnerability vulnerable list, (eg cortex A7) list as immune - @0x9fff00 in #212 Signed-off-by: Rob Gill <rrobgill@protonmail.com>
This commit is contained in:
parent
66835c75f3
commit
c1f7629587
@ -364,6 +364,13 @@ is_cpu_vulnerable()
|
||||
variant3=vuln
|
||||
[ -z "$variant4" ] && variant4=immune
|
||||
_debug "checking cpu$i: this armv7 non vulnerable to variants 3 & 4"
|
||||
elif [ "$cpuarch" = 7 ]; then
|
||||
[ -z "$variant1" ] && variant1=immune
|
||||
[ -z "$variant2" ] && variant2=immune
|
||||
[ -z "$variant3" ] && variant3=immune
|
||||
[ -z "$variant3a" ] && variant3a=immune
|
||||
[ -z "$variant4" ] && variant4=immune
|
||||
_debug "checking cpu$i: this armv7 non vulnerable to variants 1, 2, 3, 3a & 4"
|
||||
elif [ "$cpuarch" = 8 ] && echo "$cpupart" | grep -Eq '^0x(d07|d08)$'; then
|
||||
variant1=vuln
|
||||
variant2=vuln
|
||||
|
Loading…
Reference in New Issue
Block a user