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

Re: [RFC 01/10] x86: introduce AMD-V and Intel VT-x Kconfig options


  • To: Xenia Ragiadakou <burzalodowa@xxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 13 Feb 2023 17:41:52 +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=CBWyEHL40bzC/0RUqJYebF16HgtCTqfgQ9Apk+RopvM=; b=MFUN1yM7sQH6GdaYkiHErYZ7PiOBu3uwLTYrY5aQR7N62vF5HYENy+KOXL5JguzT19+JJL43dsHIfq+c8V7gIQxQAvSoOOuZdxB7A5lIP13zstJFrAbyqBYKBqM5XWMaPbIsZzDcbaaFumsSbJg3Jyu5jI620TB/2TmbEs1cJg9cYhhpneQAcZ+9xej6qV5zktwB9nLDQiSVTPzFal0C8B3b8y9xbIrhATFi80aSHMTE53aFUoAfovm0THavFsMwAtwV51yIdDvUzY1LMT6w4Ug/bVpS90YW2K9XbNR7y+9ZYF6SAkvoRLpzHNA2GtYci2SYL6lG9Zd67pDwzI2xaQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=P1dJHAOzdDSdDwBlltThB2B3CuQgeFhnyhSo/gIEplAbagl+7daGO2Joel0oLbyE+yBA/Wz4XqayPoSM0BYBqNPsjBL4OZwmpUbYix51xQ/ZbcGHb1Oqo1711GjT23nMgNt9BP+crH9HvQmTBAfsoVdyfKiNeh6BPjLV9Zw5s+/7I2MF8uLZUMNJbQ1ZDEQ2oAatCnAth8gVlQvXEMobQRkdTFI3FU67wUj7OEaLvZ0c0lazbvU+7OzJj7x5ioztiH7/1WmY1XifuMX/gtTSBzsmbwKdXXZhWAtSwez5X8nO8SFi/l0iFNaVQHk62NzmQlGeDjXVK9lCZM1X4PQeHA==
  • 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>, George Dunlap <george.dunlap@xxxxxxxxxx>, Paul Durrant <paul@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx, Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
  • Delivery-date: Mon, 13 Feb 2023 16:42:10 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 13.02.2023 17:30, Xenia Ragiadakou wrote:
> On 2/13/23 17:11, Jan Beulich wrote:
>> On 13.02.2023 15:57, Xenia Ragiadakou wrote:
>>> --- a/xen/arch/x86/cpu/Makefile
>>> +++ b/xen/arch/x86/cpu/Makefile
>>> @@ -10,4 +10,6 @@ obj-y += intel.o
>>>   obj-y += intel_cacheinfo.o
>>>   obj-y += mwait-idle.o
>>>   obj-y += shanghai.o
>>> -obj-y += vpmu.o vpmu_amd.o vpmu_intel.o
>>> +obj-y += vpmu.o
>>> +obj-$(CONFIG_AMD_SVM) += vpmu_amd.o
>>> +obj-$(CONFIG_INTEL_VMX) += vpmu_intel.o
>>
>> This code was moved from hvm/ to cpu/ for the specific reason of also
>> being used by PV guests. (Sadly the comments at the top weren't
>> corrected at that time.)
> 
> Hmm, the init functions are prefixed with svm/vmx.
> Does vpmu depend on svm/vmx support?

There are interactions, but I don't think there's a dependency. You
may want to ask Boris (whom I have now added to Cc).

Jan



 


Rackspace

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