[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/2] common: Make livepatch dependent on HAS_VMAP
- To: Jan Beulich <jbeulich@xxxxxxxx>
- From: "Orzel, Michal" <michal.orzel@xxxxxxx>
- Date: Thu, 31 Jul 2025 13:10:15 +0200
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=suse.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
- 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=0hmgFzGO3KbkpyX2B+JSHlG9hduinIG9/F3ESOLZJcE=; b=PO/+F60nqBtUMcM6kIDdXu/BW+wqJa8oUCzvY4Y+44t9JDxWc8vpD8wybXuV2PIfktbi81ZCWZ/1ksvvqky7NF3f5DBbuHyiPCqhT31khlG9SHqhkaecaEvXcbvvjFnVgSKWfx3lDfFe7L3pV5CvFxfiduH/DaXvTeFw5fO2UMYrzqyt487c75Q0Jv1il7KW4yVpF0QS1r5o2AJjY+2XK7ONytHvnl/Ld3/jqLk3ZaWl3EoWi/bEtJqmRPENbjFCEDUlQrtaIo/vz5p23/PbzWpaAe41/l9wyPl6BpT5/6un9bgdbEUkbUtRr/4Z7tu0RUFyc1XxbXcSw2TIsHEDoA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Fv3zyK08+Z48ht6/0+D1ZyGr5eU+dLBgY2auaQr7YWRe1zjJtLlUTQbYXR8y22B3pmLJcIgESq0Qtnd+gSNKLeisDmoVjS53bEVqwrH6fMR6gLSZdZK02eXKBmNALCIEiDoPg7GcTpGTAVmGHuS0bsCtHz1vXte8CDHystHtuerhz8INIVtplJp1ymO9CUg/01FC2YW/P8Zx0r5FV0k1W3ABQpqrBEG8ICC22KsTJOHSwEAisLQycBT6dEVWN0FS1wy1dbfKRlBkHavrhdPWcDN1t9i+jqUIGwTLuzrc3qpGeVWI4Aem4sufeqDKtm03aiehwZMrjhY74G/jx7JwOg==
- Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- Delivery-date: Thu, 31 Jul 2025 11:10:25 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 31/07/2025 10:22, Jan Beulich wrote:
> On 31.07.2025 10:05, Michal Orzel wrote:
>> It should not be possible to select and build livepatch if HAS_VMAP is
>> not selected. This is the case on MPU systems.
>>
>> Signed-off-by: Michal Orzel <michal.orzel@xxxxxxx>
>
> I agree this is necessary for now, so
> Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>
> But in principle live-patching ought to be possible without MMU as well,
> just that the code will need suitably enabling? If so, it would be nice
> if the description could somehow express this.
Yes, I agree that it can be enabled in the future with some additional changes.
I can tweak commit msg when committing:
"While technically possible to support live-patching on MPU systems, today the
code depends on vmap. However, this relationship is not reflected in Kconfig
and allows to enable live-patching on MPU, where HAS_VMAP is not selected."
~Michal
|