Skip to content

Thesis Context

The thesis is HAVEN’s: a static-partitioning hypervisor on Arm whose enforced isolation is read back from the hardware and compared with the grant the owner approved. KDAL is one of HAVEN’s three components, with HAVEN itself and ELMOS.

Its part in the evaluation is the driver side of the comparison. KDAL’s kernel module runs in Linux in HAVEN’s partition A (HAVEN’s CI job “Linux in partition A”, at the KDAL commit HAVEN pins in ecosystem.lock.json) and prints the device demand, D (kdal-demand/1: device regions, interrupts, SMMU and stream IDs). HAVEN’s demand check compares D with the grant, G (D within G), beside read-back’s comparison of the enforced state with G. The thesis claims about isolation rest on HAVEN’s records; KDAL supplies the demand they are checked against.

The earlier plan named porting effort, abstraction overhead and code reuse as results, with targets (under 200 lines for a new backend, under 5 % overhead, over 85 % reuse). None of these has been measured: there is no porting experiment and no benchmark result, and the example drivers are written against the QEMU backend. They are open questions, not findings.

  • The kernel module (src/, include/): a registry, a character device (/dev/kdal) with a fixed set of ioctl commands, events, debugfs, a QEMU backend and four example drivers (UART, I2C, SPI, GPU).
  • KUnit tests in CI, and an integration test of the character device.
  • The .kdh/.kdc language and the kdalc compiler, frozen since 2026-11-01: they compile to C, but the generated module does not build yet (open finding O7 in KDAL’s docs/open-findings-20261121.md).

KDAL’s README and changelog are copied from the repository at every build and are current.