In some scenarios, such as buggy guest or incorrect configuration of the VMM and firmware description data, userspace will detect a memory access to a portion of the IPA, which is not mapped to any MMIO region. For this purpose, the appropriate action is to inject an external abort to the guest. The kernel already has functionality to inject an external abort, but we need to wire up a signal from user space that lets user space tell the kernel to do this. It turns out, we already have the set event functionality which we can perfectly reuse for this.
Showing the changes to include/uapi/linux (1 of 8 files). Show all
Unified · Split
| @@ -1007,6 +1007,7 @@ struct kvm_ppc_resize_hpt { · 1006 unmodified lines | ||
| 1007 | 1007 | #define KVM_CAP_ARM_IRQ_LINE_LAYOUT_2 174 |
| 1008 | 1008 | #define KVM_CAP_HYPERV_DIRECT_TLBFLUSH 175 |
| 1009 | 1009 | #define KVM_CAP_ARM_NISV_TO_USER 176 |
| 1010 | +#define KVM_CAP_ARM_INJECT_EXT_DABT 177 | |
| 1010 | 1011 | |
| 1011 | 1012 | #ifdef KVM_CAP_IRQ_ROUTING |
| 1012 | 1013 | |