diff options
| author | ryo <ryo@NetBSD.org> | 2019-12-20 07:16:43 +0000 |
|---|---|---|
| committer | ryo <ryo@NetBSD.org> | 2019-12-20 07:16:43 +0000 |
| commit | a3ba429f2e1bd6e5e6767f9bbb12d6ba4a592aa6 (patch) | |
| tree | d73086bcd13ac7bc2b406943717b9ab0f9e9a7a8 /sys/dev/dm/dm_pdev.c | |
| parent | ec7e9907b59f8f3ef431212503e2e2c0e25c2751 (diff) | |
Add a speculation barrier after the 'eret'.
Some aarch64 cpus speculatively execute instructions after 'eret',
and this potentiates side-channel attack.
from
https://github.com/torvalds/linux/commit/679db70801da9fda91d26caf13bf5b5ccc74e8e8
Diffstat (limited to 'sys/dev/dm/dm_pdev.c')
0 files changed, 0 insertions, 0 deletions
