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

Re: [XEN PATCH v2 14/15] iommu/vt-d: guard vmx_pi_hooks_* calls with cpu_has_vmx


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Sergiy Kibrik <sergiy_kibrik@xxxxxxxx>
  • Date: Mon, 3 Jun 2024 12:34:26 +0300
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.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=dsD35ko3OK5ISRiqI5BC8VgYyyqAyo0tO2nCpLwDCqc=; b=btpwjIpD2NeQCnABoVXPPUMC34+Lxl5PonzcytXkrVruJonU4JQK0yi/6ebN3sINqwFnX549miLIKZvc3ACgcFsLAphaFgG4LxoB07O815sFEX4ef+DtUwHr7t6GYy/FxD8rmC7vB9CFPp/XmxtsE59Uxg9G7X79BINlO0h7c/VS2MJq89qONDqlQTnhl9b8DuLvdMlpq5nXOG3euPoZvEX2H9CGy9V4SzjLp0OCCOli96jkk+PhR7x/0uN2VeICOWyGBN6SwF2frrOOqm/WTrF/69fpmsaW05VhtuV53hRt+Qo0+uG/8uyVV42OmnbaQCtuFXBTROXv4djN/QhCAw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FcKHikcGCiDKXgMF0bQhXpfmsMfh6OXgkgFczSQWsYsWcBx1Of+xByKhGXU9/K+aVdMkuPPZWamvGcKuB3C0irCEPiEJYQ9EFqxUpCeZzu2903i3+rVMVRMCa4OjtQX6dU6hxmBBUZ5v/OXwXVeEEsPrR1jtYHsYb6ay/SbRmE7yrjhWcXDvZbWk/WnAv2YcGIZxEuFct35VQBfCeS14Rl4SE6x27P0n3N+GfjOwDQYAja9PjyT8vSi9gaYY5EBJwidI1pd8z/9DlyJwQEOH0oQbntvwhEX2uetdCuJKB6XbMnTEsrxS+94DWRUOlB8iP4gw4vDdkrXQApHWvUdElw==
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Xenia Ragiadakou <xenia.ragiadakou@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 03 Jun 2024 09:35:03 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

16.05.24 15:15, Jan Beulich:
On 15.05.2024 11:26, Sergiy Kibrik wrote:
VMX posted interrupts support can now be excluded from x86 build along with
VMX code itself, but still we may want to keep the possibility to use
VT-d IOMMU driver in non-HVM setups.
So we guard vmx_pi_hooks_{assign/deassign} with some checks for such a case.

But both function already have a stub each. Isn't is merely a matter of
changing when those stubs come into play?


indeed, we've got stubs already provided. Then this becomes a nice one line change.

  -Sergiy



 


Rackspace

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