aboutsummaryrefslogtreecommitdiff
path: root/arch/alpha/kernel/bugs.c
AgeCommit message (Collapse)AuthorFilesLines
2024-05-03alpha: missing includesAl Viro1-0/+1
... and missing externs in proto.h Signed-off-by: Al Viro <[email protected]> Acked-by: Paul E. McKenney <[email protected]> Acked-by: Matt Turner <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]>
2018-04-07alpha: Implement CPU vulnerabilities sysfs functions.Michael Cree1-0/+45
Implement the CPU vulnerabilty show functions for meltdown, spectre_v1 and spectre_v2 on Alpha. Tests on XP1000 (EV67/667MHz) and ES45 (EV68CB/1.25GHz) show them to be vulnerable to Meltdown and Spectre V1. In the case of Meltdown I saw a 1 to 2% success rate in reading bytes on the XP1000 and 50 to 60% success rate on the ES45. (This compares to 99.97% success reported for Intel CPUs.) Report EV6 and later CPUs as vulnerable. Tests on PWS600au (EV56/600MHz) for Spectre V1 attack were unsuccessful (though I did not try particularly hard) so mark EV4 through to EV56 as not vulnerable. Signed-off-by: Michael Cree <[email protected]> Signed-off-by: Matt Turner <[email protected]>