commit | 366cb48b89ac012a44c3b45cf861649d1c704d42 | [log] [tgz] |
---|---|---|
author | David Brazdil <dbrazdil@google.com> | Wed Dec 18 17:37:40 2019 +0000 |
committer | David Brazdil <dbrazdil@google.com> | Wed Dec 18 17:37:40 2019 +0000 |
tree | 34dcb43dd299474198398f6c561018018a164d85 | |
parent | 0ec61597ed1ca79021b31fe47f9ec968c450dd1a [diff] |
Emit speculation barriers after ERETs According to Linux commit 679db70801da9fda91d26caf13bf5b5ccc74e8e8 some ARM64 CPUs may speculate past an ERET. This could be used as part of a side-channel attack. To mitigate the issue, emit DSB/ISB barriers after every ERET. Add a build step which dumps the generated ELF and check that this holds for every ERET in the binary to prevent regressing. Bug: 146490856 Change-Id: Ie5ceeabb10d27b19c6f5ea334a643eede89c82c0
Hafnium is a hypervisor, initially supporting aarch64 (64-bit Armv8 CPUs).
Get in touch and keep up-to-date at hafnium-discuss@googlegroups.com.
To jump in and build Hafnium, follow the getting started instructions.
If you want to contribute to the project, see details of how we accept contributions.
More documentation is available on: