Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienux/blob/main/evidence/smmu_qemu_pass_raw_2026-09-24.md # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienux / evidence / smmu_qemu_pass_raw_2026-09-24.md` 79 lines ยท 2550 bytes Raw Blame History Rendered 1 # Raw evidence: SMMUv3 xHCI DMA confinement PASS in QEMU 2 3 Commit under test: `c2cf564` (fix/m3-smmuv3-ste-cd-layout) 4 Environment: spark-b87b, QEMU 8.2.2 (Debian 1:8.2.2+ds-0ubuntu1.18), 5 rustc 1.98.1 (`48a229cea` 2026-09-01). 6 7 ## Exact successful invocations 8 9 # standard acceptance run 10 AIENOS_QEMU_TIMEOUT=90 bash scripts/qemu_smmu_test.sh 11 12 # verbose capture (serial console + QEMU smmuv3 trace) 13 AIENOS_QEMU_VERBOSE=1 AIENOS_QEMU_SMMU_TRACE=1 AIENOS_QEMU_TIMEOUT=90 \ 14 bash scripts/qemu_smmu_test.sh 15 16 Both exited 0 and ended with "QEMU_KEYBOARD: PASS". 17 18 ## Full raw logs (sha256, on the run host) 19 20 `075457e5f33f55d99f66ba0d4a6ddec8c20f17801a37fa54ebb088886938552e` smmu_verbose.log (1633 lines) 21 `cd3102654313d43e87ee379132f7811f9e5551be26213ac1262d59e133ea1c5c` smmu_pass.log (23 lines) 22 23 ## QEMU smmuv3 trace: command queue, STE, CD, config decode 24 25 smmuv3_cmdq_opcode <--- SMMU_CMD_CFGI_STE 26 smmuv3_cmdq_cfgi_ste streamid= 0x10 27 smmuv3_config_cache_inv Config cache INV for sid=0x10 28 smmuv3_cmdq_opcode <--- SMMU_CMD_TLBI_NSNH_ALL 29 smmuv3_cmdq_tlbi_nh 30 smmuv3_cmdq_opcode <--- SMMU_CMD_SYNC 31 smmuv3_config_cache_miss Config cache MISS for sid=0x10 (hits=0, misses=1, hit rate=0) 32 smmuv3_find_ste sid=0x10 features:0x0, sid_split:0x0 33 smmuv3_get_ste STE addr: 0xbbf40400 34 smmuv3_get_cd CD addr: 0xbbf80300 35 smmuv3_decode_cd oas=44 36 smmuv3_decode_cd_tt TT[0]:tsz:16 ttb:0xbc32f000 granule_sz:12 had:0 37 38 ## QEMU smmuv3 trace: event counts 39 40 583 smmuv3_translate_success 41 582 smmuv3_config_cache_hit 42 192 smmuv3_translate_disable (pre-enable bypass) 43 1 smmuv3_get_ste 44 1 smmuv3_get_cd 45 1 smmuv3_decode_cd 46 1 smmuv3_config_cache_miss 47 1 smmuv3_config_cache_inv 48 1 smmuv3_cmdq_cfgi_ste 49 1 smmuv3_cmdq_tlbi_nh 50 0 smmuv3_record_event 51 0 fault events 52 53 ## AIENOS serial console (raw lines) 54 55 kernel_el: EL1h 56 mmu: enabled 57 smmu: enabled base=0x9050000 stream_id=0x10 58 smmu_dma_window: xhci only, translation active 59 keyboard: xhci 0000:00:02.0 mmio 0x8000004000 60 keyboard: ready (port 5, slot 1, endpoint 0x81) 61 keyboard_echo: abc 62 keyboard_line: abc 63 keyboard: done (enter) 64 keyboard_echo: help 65 keyboard_line: help 66 keyboard: done (enter) 67 keyboard_echo: el 68 keyboard_line: el 69 keyboard: done (enter) 70 keyboard_echo: mem 71 keyboard_line: mem 72 keyboard: done (enter) 73 keyboard_echo: exit 74 keyboard_line: exit 75 keyboard: done (exit) 76 77 ## Script verdict 78 79 QEMU_KEYBOARD: PASS