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

Re: [PATCH v5 4/4] xen/mm: Provide dummy M2P-related helpers when the M2P is not supported


  • To: Julien Grall <julien@xxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 5 Jul 2021 11:15:11 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IICWLUsZFk3qAn5agg44BauByHfkS0qV/OmbhxwFnu8=; b=fBYCNizfKu5i8U6dSepy9a1XKazxYeFCUF0kNZ+dVhmRE50DTdfLslY6W9/QLt+q032tQdKs3TXBABZ6dd2vlZGRp8Iu/EeaSDCxTO+8tHL2PaElTB893YPOmxRLmCmGvTIwExEjkT6ENf6MSYb9E9I6AzhNzvwjNPlYm3kCPBcEUl78QSoAAE/Ie+4Itq+idSytOGOiKyD8SOXuNufr07yermGEg2uFSLwDyy8AVGgkvgIfHxxj8BzYsV6x1wz77woLIsoRsptei03Zp1ahRgCPHbvRRan6LB3hizpQhy6PaTa0U76zOC7h7h8QwYRGJTtUj8kijOdtLIxy7lk8oQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DlPilxXecUCNS8BgTowHDK6fcqTQOoQMtcdjUVEgCk1Q+YIlkuu04lL0YmJcw58c7rfhDyUX4vf4cqfw276pfeeP0fwpSsH+Kgg2Y8nQb+iJb2MmPIua1Q/qUTYwfsqjO8/AGDAon43Gy5KMsZB2+/6DULh/jHmO9qjKyEj41KFtPy85VQmq9JmHbRUaolF23Nc993FkCWD5WWkGbOeC9XlJv1Wo64U7NPXnOcQqDrSXQwcQbzvdYh8Qy8kWnxHW9N4LGdhhXOifpDs8bFzf81LWui/N6ocl42fJeEUXRrohtzVTVkl/kw2T2pOGuZJ63FXP4kLP9hHaqPFIZjyOnw==
  • Authentication-results: lists.xenproject.org; dkim=none (message not signed) header.d=none;lists.xenproject.org; dmarc=none action=none header.from=suse.com;
  • Cc: Julien Grall <julien.grall@xxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Ian Jackson <iwj@xxxxxxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 05 Jul 2021 09:15:24 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 03.07.2021 19:11, Julien Grall wrote:
> From: Julien Grall <julien.grall@xxxxxxx>
> 
> At the moment, Arm is providing a dummy implementation for the M2P
> helpers used in common code. However, they are quite isolated and could
> be used by other architecture in the future. So move the helpers
> necessary for compilation in xen/mm.h and gate them with a new config
> !HAS_M2P. The other M2P related helpers are removed.
> 
> Take the opportunity to encode that CONFIG_MEM_SHARING requires
> the M2P. It is done in the header rather than the Kconfig because
> the option is not defined in the common Kconfig.
> 
> Signed-off-by: Julien Grall <julien.grall@xxxxxxx>

With the other Kconfig hunk moved here (from the earlier patch)
Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>

Jan




 


Rackspace

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