diff options
| author | Alexander Potapenko <glider@google.com> | 2024-10-18 15:14:40 +0200 |
|---|---|---|
| committer | Alexander Potapenko <glider@google.com> | 2024-10-21 11:18:37 +0000 |
| commit | f1e4447ce91d33c3785db1a7c2bafc768eb3f790 (patch) | |
| tree | f16515afcd07d5636c6cd1acc5668827c54f047b /executor/kvm.h | |
| parent | c66d80fe3bfd4c25b3a19011d02b18510db69c05 (diff) | |
executor: sys/linux: arm64: reserve address for ITS, add a seed for ITS creation
Reserve SYZOS address for the ITS redistributor at 0x08080000, add it to the
list of kvm_guest_addrs.
Also implement a syzlang test for the host part of ITS configuration as per
https://www.kernel.org/doc/html/v6.1/virt/kvm/devices/arm-vgic-its.html
Diffstat (limited to 'executor/kvm.h')
| -rw-r--r-- | executor/kvm.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/executor/kvm.h b/executor/kvm.h index 47348e3d4..f69322bfd 100644 --- a/executor/kvm.h +++ b/executor/kvm.h @@ -76,8 +76,11 @@ #define NEXT_INSN $0xbadc0de #define PREFIX_SIZE 0xba1d -// GICv3 distributor/redistributor addresses. +// GICv3 distributor address. #define ARM64_ADDR_GICD_BASE 0x08000000 +// GICv3 ITS address. +#define ARM64_ADDR_GICI_BASE 0x08080000 +// GICv3 redistributor address. #define ARM64_ADDR_GICR_BASE 0x080a0000 // Write to this page to trigger a page fault and stop KVM_RUN. #define ARM64_ADDR_EXIT 0xdddd0000 |
