Re: [PATCH 6.18 000/990] 6.18.66-rc1 review
From: Emanuele Ghidoli
Date: Fri Nov 27 2026 - 07:54:48 EST
On 11/27/26 13:13, Emanuele Ghidoli wrote:
> Hello Greg,
>
> Reverting e498eb93f961 ("virtio_ring: use shadow flags when detaching
> split descriptors") on top of 6.18.66-rc2 fixes the issue. The tree at
> e498eb93f961 itself works fine, so it seems to break only in combination
> with a later patch in the queue. Still investigating.
>
> The "Device Manager" is TI firmware on an R5F core that serves Linux's
> TI-SCI power/clock requests. Linux talks to it via remoteproc/rpmsg,
> which runs on virtio_ring. With rc2 the rpmsg channels to it are never
> created, and I2C transfers start timing out.
>
> Kind regards,
> Emanuele
Hello Greg,
Correction to my previous mail: the "tree at e498eb93f961" I tested was
mainline (v7.4-rc1+27), not the stable queue, sorry for the noise.
On the stable queue:
- 44b6e54e4a0a (patch 203): OK
- 22944d517ff8 (patch 204, "virtio_ring: use shadow flags when detaching
split descriptors", upstream e498eb93f961): broken
- 6.18.66-rc2 with 22944d517ff8 reverted: OK
- 6.18.66-rc2 with this change: OK
- if (!indirect && vring_need_unmap_buffer(vq, &extra[prev]))
+ if (!indirect)
vq->split.desc_extra[prev & (vq->split.vring.num - 1)].flags &=
~VRING_DESC_F_NEXT;
According to an AI-assisted analysis (Claude), not verified in depth by
me, the patch relies on 03f05c4eeb7b ("virtio_ring: determine descriptor
flags at one time", v7.0-rc1), which is not in 6.18.
Please drop 22944d517ff8 from 6.18.
Kind regards,
Emanuele