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

Re: [PATCH for-4.17] x86/hvm: Revert per-domain APIC acceleration support


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>
  • Date: Wed, 16 Nov 2022 18:14:46 +0000
  • Accept-language: en-GB, 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=g+hRlQytNeCZeQzkEk5yFfWTEVJr/nGEkP1sfutSjtE=; b=nEoy/f7ZGmwIPRza5Li7WxP07XTMBa1JlqKPIEuvXEvkpQhlUBEdypEnSqXcLINaAAaEjWqhEsRI5vBRLw6J1vYzHgPD+01eaJSQLfNzQbb5gTlzkJzZLnGdWLFMPKX+iDaEqf58NLlonq+YvDbj37jv+K2wHVNnmHHeklCxb+NLtYgEJ7w2pCmYmsU+PgvZFFxL3Qes6LfvUPqf/fcm5y5V/OTjKv7haydALX6ED9MUVSQzSLVUh9j83RNE4qdVA+pUMm/9/EU4YYy7CnKq27yXuhUnd7T9PMPpXzyQdy0kf9yaI9P2id7XvkryPuHz5h0AsNM+i7pEDg4MmW3wXw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JBUSmWqV88oFV5CpUi39w7j5Fb/iJEhkwYQzi4FtqiKLT8BKotP0VaMHzqU+IU2XNQBST8BFzEci71/tZ469vMTtccESoGT1YfHAM6vFQaS0u7hQi8o1lxIbAeIu4IhrrECjQsYsHGMqHoNgis/SD4vfjmCLHzxYIC3fuKRToecp5Wmga/ni+zBSgdfedlpJ/7tYEDPZ7BzwGprUWl93GoqKoPMYRTDxVEMDyNun7lDjbS7YrbGn/A+s1CF/NXT7m4DpFcfVZpNOl8XvR5yaAeT7jzpL9g5SV5tPL84p4YyayGVUh7Fnq2BEko5XNjPbXCJkF9oZ3sTNWESTK7oIbw==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: Roger Pau Monne <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Henry Wang <Henry.Wang@xxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 16 Nov 2022 18:15:07 +0000
  • Ironport-data: A9a23:9gU8z6sqr+rmCAyw9EUxdDUXvefnVGlfMUV32f8akzHdYApBsoF/q tZmKWuGPf6LazSjL49wOYTi8UwFu8KAmtNkGVQ5qCozFi1E+JbJXdiXEBz9bniYRiHhoOCLz O1FM4Wdc5pkJpP4jk3wWlQ0hSAkjclkfpKlVKiffHg0HVU/IMsYoUoLs/YjhYJ1isSODQqIu Nfjy+XSI1bg0DNvWo4uw/vrRChH4bKj5lv0gnRkPaoR5QaHySFPZH4iDfrZw0XQE9E88tGSH 44v/JnhlkvF8hEkDM+Sk7qTWiXmlZaLYGBiIlIPM0STqkAqSh4ai87XB9JFAatjsB2bnsgZ9 Tl4ncfYpTHFnEH7sL91vxFwS0mSNEDdkVPNCSDXXce7lyUqf5ZwqhnH4Y5f0YAwo45K7W9yG fMwNz0NKRqjltmK/o2RVfRu19oeAOn6FdZK0p1g5Wmx4fcOZ7nmG/+Pz/kBmTA6i4ZJAOrUY NcfZXx3dhPcbhZTO1ARTpUjgOOvgXq5eDpdwL6XjfNvvy6Pk0osif6xbbI5efTTLSlRtm+eq njL4CLSBRYCOcbE4TGE7mitlqnEmiaTtIc6ROHlq6Y60QH7Kmo7Mzw6aGWyucmDyUuEQeBCN nAk2y4jsv1nnKCsZpynN/Gim1aGtBMBX9tbE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6cxYE xyZLv6j6LTnxjFwVr1
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHY+Io3ygoaE+gKUU+QEYfs8WRTZ64/rWQAgAIwI4A=
  • Thread-topic: [PATCH for-4.17] x86/hvm: Revert per-domain APIC acceleration support

On 15/11/2022 08:49, Jan Beulich wrote:
> On 15.11.2022 01:35, Andrew Cooper wrote:
>> I was really hoping to avoid this, but its now too late in the 4.17 freeze 
>> and
>> we still don't have working fixes.
>>
>> The in-Xen calculations for assistance capabilities are buggy.  For the
>> avoidance of doubt, the original intention was to be able to control every
>> aspect of a APIC acceleration so we could comprehensively test Xen's support,
>> as it has proved to be buggy time and time again.
>>
>> Even after a protracted discussion on what the new API ought to mean, 
>> attempts
>> to apply it to the existing logic have been unsuccessful, proving that the
>> API/ABI is too complicated for most people to reason about.
> Like Roger I'm still having trouble seeing what ABI you're talking
> about here. Yes, there are internal handling issues, but that's hardly
> "ABI". And as Roger indicated before, anything domctl/sysctl isn't
> stable anyway.

It absolutely is stable when it it extends beyond domctl/sysctl into the
libxl API, two different xl config files, and Xen command line (for PVH
dom0).

domctl/sysctl are the very least of the problem.

>> This reverts most of:
>>   2ce11ce249a3981bac50914c6a90f681ad7a4222
>>   6b2b9b3405092c3ad38d7342988a584b8efa674c
> plus (as per Fixes: tags)
>
> 399bcbf281bd936d1eff7f7d1054ab49115c3a44
> 0823d57d71c7023bea94d483f69f7b5e62820102
>
> which I think want mentioning here as well despite, like stated for the
> main commits, parts are left in place.
>
>> leaving in place the non-APIC specific changes (minimal as they are).
>>
>> This takes us back to the behaviour of Xen 4.16 where APIC acceleration is
>> configured on a per system basis.
>>
>> This work will be revisited in due course.
>>
>> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
> Provisional upon Roger not objecting (i.e. him at least remaining
> neutral), and preferably with the above remarks addressed:
> Acked-by: Jan Beulich <jbeulich@xxxxxxxx>

Thanks.

~Andrew

 


Rackspace

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