Re: [PATCH 5/6] virt: bao: Move BAO_IPCSHMEM_HYPERCALL_ID to common header

From: João Peixoto

Date: Fri Aug 07 2026 - 03:44:51 EST



On 1/14/26 20:34, Andrew Jones wrote:
On Wed, Jan 07, 2026 at 04:28:28PM +0000,joaopeixoto@xxxxxxxxx wrote:
From: João Peixoto<joaopeixoto@xxxxxxxxx>

Move the IPC shared-memory hypercall ID from architecture-specific
headers into include/linux/bao.h.
The series should be rebased to have this fixup integrated into the
previous patches where the code is first introduced.

Thanks,
drew
Understood. The reason it is currently a separate patch is layering: the
shared header include/linux/bao.h is introduced by the I/O dispatcher patch
(4/6), while the IPC helper that would use the constant is introduced earlier
(2/6). To fold this away cleanly I will move creation of include/linux/bao.h
into 2/6 (with the IPC hypercall ID) and have 4/6 only add the Remote I/O ID,
so the arch helpers are parameter-free from the start and this patch
disappears. I will do that in v4 (I kept it separate in v3 only so the
changelog against v2 stays readable, and it now has a proper "why" message).
If you would prefer I fold it immediately, I am happy to respin.