On 13.10.2025 12:15, Penny Zheng wrote: > The declaration of p2m_set_suppress_ve_multi() is in <asm/mem_access.h> and > hasn't been included on compiling altp2m.o when VM_EVENT=n, resulting in > undefined error. > To fix it, we could simply move p2m_set_suppress_ve_multi() forward.
I don't mind the move, but a definition appearing without a prior declaration is a Misra violation as well, iirc. So the missing #include will need adding anyway, afaict. Jan
