[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [PATCH v1 5/7] xen/x86: move declaration from mem_access.h to altp2m.h


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: "Penny, Zheng" <penny.zheng@xxxxxxx>
  • Date: Tue, 18 Nov 2025 11:09:59 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=v/OTzoMSwHOPWwMKqSo/6wKsXqvkDRnA0J7b0zg9BIc=; b=F0ueVUr0wPiQe96du7jJ50oH/w08Ct8SAbHkDPke/+l9zsn6jNfcsEnRhYf7LwVFavCqsmra4hpJH4rl41bklW+gppqttTVRGH9mAS/qcgTE/SZX2Yc1qYHX1hZPQvkY/2XHanw0LrWCH3f7X7/orb3xX/n5NDDlyTiDs8jUFKmijB3s1DqM4qWDo/swxCrbHkHJC4NHEUhAq62x3ZY8qzeW1Do9HzzAjiaIINfjcLVegG4lM/WxxXd69w/a3dFJGHJeXRh/9qMAyRA8TyCYpnatqW0vNRO0BCCGBYgaI3aeygg0ffliO5XkSVlppC1PEfXPuHn2fJJJCYFsu/3S8A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=IlIftc1HajgTQ80Is/S9esTMEN7cHsimhH5ZQF+qC8SRBy8Ho45LUwvuTqsl2VKjzOFJ0aZlRyw+qzLHvVKBLJC1xrS67Trj+pAUHMigLP1ELPjvzLd+n8efcz1uYDfKVfY12Fz1qsBzHdLzLNjvXobuERbEMo7xtVr73ce+7C5mr4FhUeZAk0IBUmJhSfJ9jLPJjAKxMKS+dh+J/0HQejvspR4jvMsgY5LIBOSMhExnWeQOEkR5ZMfiPgLlkvk0vHGiSCNurqHIxH0WO/B2BbYKKFYkUY/Y8emGttfyd1v639Lyd/h1d89mZ2tNbT+BRLViVY1+3Q/V6zdpU0Piwg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Tamas K Lengyel <tamas@xxxxxxxxxxxxx>, Alexandru Isaila <aisaila@xxxxxxxxxxxxxxx>, Petre Pircalabu <ppircalabu@xxxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Tue, 18 Nov 2025 11:10:27 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Msip_labels: MSIP_Label_f265efc6-e181-49d6-80f4-fae95cf838a0_Enabled=True;MSIP_Label_f265efc6-e181-49d6-80f4-fae95cf838a0_SiteId=3dd8961f-e488-4e60-8e11-a82d994e183d;MSIP_Label_f265efc6-e181-49d6-80f4-fae95cf838a0_SetDate=2025-11-18T11:09:51.0000000Z;MSIP_Label_f265efc6-e181-49d6-80f4-fae95cf838a0_Name=Open Source;MSIP_Label_f265efc6-e181-49d6-80f4-fae95cf838a0_ContentBits=3;MSIP_Label_f265efc6-e181-49d6-80f4-fae95cf838a0_Method=Privileged
  • Thread-index: AQHcVEwAn1Hu22XaJ02mYEVUbE68oLTwWQCAgAf1+hA=
  • Thread-topic: [PATCH v1 5/7] xen/x86: move declaration from mem_access.h to altp2m.h

[Public]

> -----Original Message-----
> From: Jan Beulich <jbeulich@xxxxxxxx>
> Sent: Thursday, November 13, 2025 5:35 PM
> To: Penny, Zheng <penny.zheng@xxxxxxx>
> Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>; Roger Pau Monné
> <roger.pau@xxxxxxxxxx>; Tamas K Lengyel <tamas@xxxxxxxxxxxxx>; Alexandru
> Isaila <aisaila@xxxxxxxxxxxxxxx>; Petre Pircalabu 
> <ppircalabu@xxxxxxxxxxxxxxx>;
> xen-devel@xxxxxxxxxxxxxxxxxxxx
> 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 <Penny.Zheng@xxxxxxx>
>
> Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>
>

Thx


> This looks to be independent of all earlier changes, and hence could go in 
> ahead of
> any of them?

Yes, it could.

>
> Jan

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.