[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] xen: make VMAP support in MMU system only
- To: Jan Beulich <jbeulich@xxxxxxxx>, Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
- From: Ayan Kumar Halder <ayankuma@xxxxxxx>
- Date: Thu, 29 Aug 2024 13:25:07 +0100
- 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=PL+jn9OjPmLNJlqKfsE9y44CsGOuj/IRg4bxm5PdPqk=; b=O6EP+cY4PuRZ6DKitTFD/jaUWTIjkdH0ccH9ytqcbcUY092vIRc/slVXRKPELXuILsugVYQCmvKm/rdlOkTNA8c/tpTua4pNMOnVu5oGpURbFUngGVf/TClqBB/rISydxdweFFN2ue1IMNmmYggtGc3HWihzc1agkYikurp/kuPMjSbzf7l6+tzRa6NOi4FdF4yliiEt1w3fy6xYbMEzOnme+ignF2jmtrgNi+XhU38S/oo4ehJeFUIT2vhNuqCETmHNOY6/lF82vQh5DUlZmQc8nnIx+Y4GwhIRBq/2YhKG3Gf7o/IhtF8J/4TC8AccUNcy3S+Ac8RZek+26ivevA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Jxvr1AVqJAqoL0LXdZdCiyZxOwSf8foTnamtta+qfmWbRgg/FPHleNhNVYE+C55a7DfBtlqvGLI+2+3YL3w5aBaufJouZMZ0tpTTdfSVehJTgFn0OvKnxeLUrBHBLD+tTI9kEd4QDrNTMQJ22Hv4giWMD8hrew34Q/bI8l5Q3kjw2CXS3oobjFgN/4Q/Tah9ZHb6fMhcFDpCvZalssGgcmwceHLjXZV45zhihiIIy6CHogxjXKv0d/2nseL6ScYDxA/0NhZJ/s8VE9na/aapaLbpMZIxNqIyhQ6b8zB2X6gvsJ7bKpUiFO4F9N7cr42M3UmcbLpzvw+bn897shcVZg==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com;
- Cc: Penny Zheng <penny.zheng@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Shawn Anastasio <sanastasio@xxxxxxxxxxxxxxxxxxxxx>, Alistair Francis <alistair.francis@xxxxxxx>, Bob Eshleman <bobbyeshleman@xxxxxxxxx>, Connor Davis <connojdavis@xxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Chen <wei.chen@xxxxxxx>, Julien Grall <julien@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
- Delivery-date: Thu, 29 Aug 2024 12:25:28 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
Hi Jan,
On 29/08/2024 08:54, Jan Beulich wrote:
On 22.08.2024 12:52, Ayan Kumar Halder wrote:
I will update the commit message as below. Let me know if this makes
sense.
Certainly better. One more question though:
```
xen: make VMAP support in MMU system only
Introduce CONFIG_HAS_VMAP which is selected by the architectures that
use MMU. vm_init() does not do anything if CONFIG_HAS_VMAP is not
enabled.
HAS_VMAP is widely used in ALTERNATIVE feature to remap a range of
memory with new memory attributes. Since this is highly dependent on
virtual address translation, we choose to fold HAS_VMAP in MMU. And
ALTERNATIVE depends on HAS_VMAP.
What is "fold HAS_VMAP in MMU"? I see no folding anywhere. My only guess
is that this means to describe the "select HAS_VMAP" being added to MMU.
But then why the word "fold"?
Sorry, I used the incorrect word. Rather I should say
"... we choose to make HAS_VMAP selected by MMU. And ALTERNATIVE depends
..."
- Ayan
|