Repository logo
 

Relaxed virtual memory in Armv8-A

Accepted version
Peer-reviewed

Type

Conference Object

Change log

Authors

Simner, Ben 
Armstrong, Alasdair 
Pichon-Pharabod, Jean 
Pulte, Christopher 
Grisenthwaite, Richard 

Abstract

Virtual memory is an essential mechanism for enforcing security boundaries, but its relaxed-memory concurrency semantics has not previously been investigated in detail. The concurrent systems code managing virtual memory has been left on an entirely informal basis, and OS and hypervisor verification has had to make major simplifying assumptions.

We explore the design space for relaxed virtual memory semantics in the Armv8-A architecture, to support future system-software verification. We identify many design questions, in discussion with Arm; develop a test suite, including use cases from the pKVM production hypervisor under development by Google; delimit the design space with axiomatic-style concurrency models; prove that under simple stable configurations our architectural model collapses to previous "user" models; develop tooling to compute allowed behaviours in the model integrated with the full Armv8-A ISA semantics; and develop a hardware test harness.

This lays out some of the main issues in relaxed virtual memory, bringing these security-critical systems phenomena into the domain of programming-language semantics and verification, with foundational architecture semantics, for the first time.

Description

Keywords

Journal Title

Conference Name

European Symposium on Programming

Journal ISSN

Volume Title

Publisher

Sponsorship
Engineering and Physical Sciences Research Council (EP/K008528/1)
European Research Council (789108)
Innovate UK (105694)
EPSRC (2097768)
This work was partially funded by an Arm/EPSRC iCASE PhD studentship (Simner), Arm Limited, Google, ERC Advanced Grant (AdG) 789108 ELVER, and the UK Government Industrial Strategy Challenge Fund (ISCF) under the Digital Security by Design (DSbD) Programme, to deliver a DSbDtech enabled digital platform (grant 105694).