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

Re: [PATCH v7 6/7] xen/arm: process pending vPCI map/unmap operations


  • To: Julien Grall <julien@xxxxxxx>
  • From: Oleksandr Andrushchenko <Oleksandr_Andrushchenko@xxxxxxxx>
  • Date: Tue, 7 Dec 2021 11:57:21 +0000
  • Accept-language: en-US
  • 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=R+uVZrKrMoJQNPYI7pEcBjSwj1UO9ayYaPE3qsnRnV0=; b=gU8j1qbnnZiYueGqcpg7ixwHm1u1prXRSEWnVOdN1BJIpnsMHEu7RPuvExzmX/m6DmiiO36pJliiiJuHkyX6XxNuYY8pCI5x9g2vz3shzQcTkAuIf9zlRFyPCYCdv1cU1G1gj/u0GYOQK1dKS9il+kXLdyeb/NWv7P7i81n40XHJ4zsoes+Nmfv3SRTedqdHm8oChJw79bQhDn7JTk0qQxTQ+WHzQjtt/q3LHlUw0V1WWa2rnNU8qZpwpPBr5KsfOicdW8lMT+PPCzkdG0MG3p8gOpeGlgEFftjetHkdhmsNdRweQgR3YoLchEXO4t5KbaDMEHM4G7/9CNkRu6Haog==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ar7EG6UD5wfpmWeMTL/fP7BdvRH1V8BeB3CV98V3Ae0WPOi8z4uEW3XLr30l+iM6zJcfzNmU6Xe/JvbU9eKGw4Yv76nGokocnRUgKYWrKcuW6u0ZIpnFiUox/rvZ72nYN10GsITrL2STYB/BNePBIWdw76fTIAKx7PKBSziaRM29DUslNn6T3Gf/DG4XryzsmsYwON5eK/vBySOwCcyYVMzOqZ9y0/+IZbDqn2VVp89+f3/LrPF1KHoTvl2mZs72cKrKL9Zrgoom2uYJ+W4C4JiG2RL5w/WVFU83RHlboR6yGKpwL7zsjdCNMuQc44T2FfMc5nOD1zT0aAYxIZYDEw==
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Oleksandr Andrushchenko <Oleksandr_Andrushchenko@xxxxxxxx>, "paul@xxxxxxx" <paul@xxxxxxx>
  • Delivery-date: Tue, 07 Dec 2021 11:58:05 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHX4QlHq5TbYMxegEi8AUrpiX/8ow==
  • Thread-topic: [PATCH v7 6/7] xen/arm: process pending vPCI map/unmap operations

Hi, Julien!

On 03.12.21 18:10, Durrant, Paul wrote:
> On 23/11/2021 23:59, Oleksandr Andrushchenko wrote:
>> From: Oleksandr Andrushchenko <oleksandr_andrushchenko@xxxxxxxx>
>>
>> vPCI may map and unmap PCI device memory (BARs) being passed through which
>> may take a lot of time. For this those operations may be deferred to be
>> performed later, so that they can be safely preempted.
>>
>> Currently this deferred processing is happening in common IOREQ code
>> which doesn't seem to be the right place for x86 and is even more
>> doubtful because IOREQ may not be enabled for Arm at all.
>> So, for Arm the pending vPCI work may have no chance to be executed
>> if the processing is left as is in the common IOREQ code only.
>> For that reason make vPCI processing happen in arch specific code.
>>
>> Please be aware that there are a few outstanding TODOs affecting this
>> code path, see xen/drivers/vpci/header.c:map_range and
>> xen/drivers/vpci/header.c:vpci_process_pending.
>>
>> Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@xxxxxxxx>
>> [x86 part]
>> Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
>> Reviewed-by: Julien Grall <jgrall@xxxxxxxxxx>
>
> Reviewed-by: Paul Durrant <paul@xxxxxxx>
>
Do we need anything else for this patch?

Thank you,
Oleksandr

 


Rackspace

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