Thread (55 messages) 55 messages, 3 authors, 1d ago

Re: [PATCH v4 38/48] Documentation: KVM: Add docs for KVM_DEV_ARM_VGIC_GRP_IST

From: Fuad Tabba <hidden>
Date: 2026-07-27 19:28:05
Also in: kvm, kvmarm

Hi Sascha,

On Fri, 24 Jul 2026 at 11:59, Sascha Bischoff [off-list ref] wrote:
...
+      -ENOENT      A userspace SPI IST buffer was supplied, but there is no SPI
+                   IST to serialise/unserialise
I do not think -ENOENT can be returned. The branch producing it in
`vgic_v5_get_spi_ist_desc()` needs `!ist->base && userspace_buf`, but
`vgic_v5_validate_ist_attr()` runs first at both call sites and
rejects a zero `spi_ist_addr`, and a VGICv5 VM always has an SPI IST
by the time this attribute is reachable. That leaves the
`userspace_buf` argument without an effect either, so this may be a
code fix rather than a documentation one.

Cheers,
/fuad
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help