[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC 06/10] x86/domain: guard svm specific functions with AMD_SVM
- To: Xenia Ragiadakou <burzalodowa@xxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Tue, 14 Feb 2023 17:24:32 +0100
- 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=T/VMByIgAGddLMYk9B61m9I9XeS8tV0u9U/ihcd92eI=; b=BGv3VEDtdvhfLNFqrgzivEGYMkHM/tpaC+fAZfXmaluNrKLbw0qMcbsQmZlFe0W7+lE7nZ1IP/BhZ3r3+WBs56GfRHiLPgG8BwspyQLuPJ1R3be5WhbvUCxSIV8kZkE08qdzVMqvFec0RL82DN7IEiFisvQqdFJwag9d4ooe/qRWFoFd1xtJiem/9dJvjk8vqpGsPvBuUshb9IRifpI2c8BDthcfIb+623oHSDZcoDShZXG4NWe2sFCdiPmle5ICjOa/vbn9aT64udi3pjvIcsxSnAt2dYzkEEGhOehpxi4t8Lsr/bQ4KetRM1QK4z8OjKvZMegY1gnMkXBfqo/UdA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bK8wO85vX3OiJcv8Y8H+K0Av0UelnTUzs4EM6t4kjh4/tcqnQP1++RgfQL8cltMCPUfIaq4WtmCmqMhCAOL+nbsrZq+0xnw4bMO+Q5/f2SSUqhhYn1oWg1lF+cgZyKLFS/aJMOfnxuZ9VJwr8XlREAZAXmWApiwYoctPmLupasWBftdUdiWaiwYUxtoVlykq9caeO4x1+Z5DaCjrl7fVyXiGBeuPEK8onmLP9SE5IdKXrObuZAr9i5eggaTDe8F3dIqY1Lr4RZu1ydbbFvZEeTUdCbmFZsMkFz8ibhsEV2tsLZ1guG64VZxBlv7W5Ulv+rO276eNl35wToA7QNWG9Q==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
- Delivery-date: Tue, 14 Feb 2023 16:24:44 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 13.02.2023 15:57, Xenia Ragiadakou wrote:
> The functions svm_load_segs() and svm_load_segs_prefetch() are AMD-V specific
> so guard their calls in common code with AMD_SVM.
>
> Since AMD_SVM depends on HVM, it can be used alone.
>
> No functional change intended.
>
> Signed-off-by: Xenia Ragiadakou <burzalodowa@xxxxxxxxx>
With whatever the final name of the Kconfig control is going to be
Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
Thinking about it, both here an in the earlier patch it may be worth
considering to switch to use of IS_ENABLED() while making these
adjustments.
Jan
|