[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH RESEND v10 2/2] x86/xen: Allow per-domain usage of hardware virtualized APIC
- To: Jan Beulich <jbeulich@xxxxxxxx>
- From: Jane Malalane <Jane.Malalane@xxxxxxxxxx>
- Date: Mon, 11 Jul 2022 12:38:01 +0000
- Accept-language: en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.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=uJu8c5OJnhKP15Sn1Vm6hFvo4jwcZ86BmomBCS+edME=; b=Q3H/YibytEBStHmsM1fxw5F7BN+xlER0mk0u5hXiJHYeoI0z1qa5ZE7wxx0f3TIPNLpAKbfRcxAmk/RwLclon/WAhCJpsM+nQ8V38foPVjaXBwO7pDs4wJDGrIaO20tNJVSD0lZXFPuSTQUYzZwYWJodRaXMp1sWh6y2vxen2m0pn84edcDLBqpRgt0pwde9IRxEMCxW/3LYxeXpBChAvvqC1ZrKdRd8PEyAGJRrWg+AA3JD2Azx9bIZS/y0XDHBPJakseY4aaJKVmfYDmZanz6SI+k+bdhBDBX+LHAwlv2kBABt8QGOX2GJNEY9U4a9ekx2/kH1/uLdjuTIhfnUSQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BIKGn9dL9tntgx29ONKrJw3/3nMIXxEEWdG/c05EL2rMe34aNQHAeW0SItX39C4HQ80FEIyRMWSdJCOznA5aqBjxm/M7zqurqPgCezKTRjupId05Ldol0yhio+nXHOYmmedvet7kjhpWNvBK7rBi5FSutCq2CkP1cjBfS/GsdAqX3loN6CslJ5jGNhHX0RszT64gvOdF4NrvTatGlXrWED7tofqRwVjFlJHB4Cms3FxIGxKf1ECpx0o75DOpbP3sfUipaItkJUFHxuI2hT9mwtwGO9IN29uRU+LDwzqA2lPzZyRbu1kgCKhLAtiGu1ig8ol24+poQDZOfZp7STwfyQ==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
- Cc: Wei Liu <wl@xxxxxxx>, Anthony Perard <anthony.perard@xxxxxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxx>, Nick Rosbrook <rosbrookn@xxxxxxxxx>, "Gross, Jurgen" <jgross@xxxxxxxx>, Christian Lindig <christian.lindig@xxxxxxxxxx>, David Scott <dave@xxxxxxxxxx>, Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>, Roger Pau Monne <roger.pau@xxxxxxxxxx>, "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- Delivery-date: Mon, 11 Jul 2022 12:38:10 +0000
- Ironport-data: A9a23:Ae326a01+VsXyRRwTfbD5RVwkn2cJEfYwER7XKvMYLTBsI5bpz0Gz TQXWTiEM/rbNGT0ct8iOom1o0oHvJaEztZmQFY/pC1hF35El5HIVI+TRqvS04J+DSFhoGZPt Zh2hgzodZhsJpPkjk7xdOCn9xGQ7InQLlbGILes1htZGEk1Ek/NtTo5w7Rj2tEx2IDga++wk YiaT/P3aQfNNwFcagr424rbwP+4lK2v0N+wlgVWicFj5DcypVFMZH4sDfjZw0/DaptVBoaHq 9Prl9lVyI97EyAFUbtJmp6jGqEDryW70QKm0hK6UID66vROS7BbPg/W+5PwZG8O4whlkeydx /1Wlb7rTy0EI5fwhc9DTD5RIQhZGpVvreqvzXiX6aR/zmXgWl61mbBLMxtzOocVvOFqHWtJ6 PoUbigXaQyOjP63x7T9TfRwgsMkL4/gO4Z3VnNIlGmFS6p5B86dBfmSjTNb9G5YasRmP//Ya ow8YD5maB3GbjVEO0sNCYJ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Qnj9agys9vcfHmZw ==
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Thread-index: AQHYi8Ac3FlD8zBv9U62svKKFrIqXq1nSpWAgAAsEQCAEWpoAIAAB0qAgABGQoA=
- Thread-topic: [PATCH RESEND v10 2/2] x86/xen: Allow per-domain usage of hardware virtualized APIC
On 11/07/2022 09:26, Jan Beulich wrote:
> On 11.07.2022 10:00, Jane Malalane wrote:
>> On 30/06/2022 07:03, Jan Beulich wrote:
>>> On 30.06.2022 05:25, Tian, Kevin wrote:
>>>>> From: Jane Malalane <jane.malalane@xxxxxxxxxx>
>>>>> Sent: Wednesday, June 29, 2022 9:56 PM
>>>>>
>>>>> Introduce a new per-domain creation x86 specific flag to
>>>>> select whether hardware assisted virtualization should be used for
>>>>> x{2}APIC.
>>>>>
>>>>> A per-domain option is added to xl in order to select the usage of
>>>>> x{2}APIC hardware assisted virtualization, as well as a global
>>>>> configuration option.
>>>>>
>>>>> Having all APIC interaction exit to Xen for emulation is slow and can
>>>>> induce much overhead. Hardware can speed up x{2}APIC by decoding the
>>>>> APIC access and providing a VM exit with a more specific exit reason
>>>>> than a regular EPT fault or by altogether avoiding a VM exit.
>>>>
>>>> Above is obvious and could be removed.
>>>>
>>>> I think the key is just the next paragraph for why we
>>>> want this per-domain control.
>>>
>>> Indeed, but the paragraph above sets the context. It might be possible
>>> to shorten it, but ...
>>>
>>>> Apart from that:
>>>>
>>>> Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>
>>>>
>>>>>
>>>>> On the other hand, being able to disable x{2}APIC hardware assisted
>>>>> virtualization can be useful for testing and debugging purposes.
>>>
>>> ... I think it is desirable for this sentence to start with "Otoh" or
>>> alike.
>>>
>>> JanHello Jan,
>>
>> In the previous email, I was referring to this discussion about the
>> commit message. I haven't sent out a v11 because there was no change
>> other than this one suggested. What I said earlier was that I thought
>> the "Having all APIC interaction exit to Xen for emulation is slow..."
>> paragraph provided context for what I say after but I am happy to remove it.
>
> I'd be fine for it to be kept as you had it, but you really should have
> sent out both patches. There are rare cases where sending out individual
> updates within a series is reasonable (e.g. to avoid spamming the list
> with a large amount of unchanged patches), but I think here you want to
> make things easy for committers and not have them hunt down the earlier
> version.
Apologies, makes sense.
Thanks,
Jane.
|