On 2025-11-18 06:09, Penny, Zheng wrote:
[Public]

-----Original Message-----
From: Jan Beulich <[email protected]>
Sent: Thursday, November 13, 2025 5:35 PM
To: Penny, Zheng <[email protected]>
Cc: Andrew Cooper <[email protected]>; Roger Pau MonnĂ©
<[email protected]>; Tamas K Lengyel <[email protected]>; Alexandru
Isaila <[email protected]>; Petre Pircalabu <[email protected]>;
[email protected]
Subject: Re: [PATCH v1 5/7] xen/x86: move declaration from mem_access.h to
altp2m.h

On 13.11.2025 04:16, Penny Zheng wrote:
Memory access and ALTP2M are two seperate features, and each could be
controlled via VM_EVENT or ALTP2M. In order to avoid implicit
declaration when ALTP2M=y and VM_EVENT=n on compiling hvm.o/altp2m.o,
we move declaration of the following functions from <asm/mem_access.h> to
<asm/altp2m.h>:
- p2m_set_suppress_ve
- p2m_set_suppress_ve_multi
- p2m_get_suppress_ve
Potential error on altp2m.c also breaks Misra Rule 8.4.

Signed-off-by: Penny Zheng <[email protected]>

Reviewed-by: Jan Beulich <[email protected]>


Thx

Reviewed-by: Jason Andryuk <[email protected]>

Reply via email to