Devlore: Extending Arm CCA to Integrated Devices A Journey Beyond Memory to Interrupt Isolation
Andrin Bertschi, Supraja Sridhara, Friederike Groschupp, Mark Kuhne, Benedict Schlüter, Clément Thorens, Nicolas Dutly, Srdjan Capkun, Shweta Shinde
TL;DR
DevLore addresses the limitation of Arm CCA that forbids realm VMs from directly accessing integrated devices, which is necessary for on-device inference, authentication, and accelerators. It introduces a two-GPT memory-isolation design to allow devices to access realm memory while preserving confidentiality and integrity, and a novel interrupt isolation framework that delegates management to the hypervisor but verifies all actions via the Realm Management Monitor. The approach supports a diverse set of devices with configurable protection (MMIO, DMA, and interrupts) and requires only modest firmware/hypervisor changes (~5K LoC). Evaluation on Arm FVP with five devices demonstrates compatibility and meaningful runtime overheads under stress, highlighting a trade-off between security and performance that is acceptable for confidential computing in practice. Overall, DevLore extends Arm CCA to integrate peripherals securely, preserving compatibility and performance while broadening the applicability of confidential computing to real-world device-rich platforms.
Abstract
Arm Confidential Computing Architecture (CCA) executes sensitive computation in an abstraction called realm VMs and protects it from the hypervisor, host OS, and other co-resident VMs. However, CCA does not allow integrated devices on the platform to access realm VMs and doing so requires intrusive changes to software and is simply not possible to achieve securely for some devices. In this paper, we present Devlore which allows realm VMs to directly access integrated peripherals. Devlore memory isolation re-purposes CCA hardware primitives (granule protection and stage-two page tables), while our interrupt isolation adapts a delegate-but-check strategy. Our choice of offloading interrupt management to the hypervisor but adding correctness checks in the trusted software allows Devlore to preserve compatibility and performance. We evaluate Devlore on Arm FVP to demonstrate 5 diverse peripherals attached to realm VMs.
