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

Re: [PATCH v2 14/18] IOMMU: fold flush-all hook into "flush one"


  • To: Oleksandr <olekstysh@xxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Thu, 16 Dec 2021 09:49:03 +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=OgVqy+ZO4hFO4L3NRgHooX0BNsJdR5eIfqOi4Gc7GL0=; b=FCyQL1+r0idpeBQJj5VN0TS//mVk+HZmPaqvOFFRvJzktuoa2ey/p8kK/P1sXZA+/egWxwUbG/3Gqjc82xqdaXPrmajfPq08OM6EY9B7lwqOlAYTrkj8PkCDptS6dIpWHZsiHmWBRfxL8QgFuaLAc+MLl86/dXMcq1Y9lZIeDswjKEH3CdY4wa4fKJxkaA7+OlnKU4HcPBCFZU4q2+PzdwQKhmRqzEn88kLcBpIH+DR3Lu4ua8tFyqX8JR0BAyS9Ya+JTfiWMfiZ688taDtbZKJxd3SjIfVju22l2swWxtTfjs3hNdxsEJZrGCrjYfB02n+ckPX+3CCWrji/pM+V2g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MTFF2rCzwXGPx35+1g7plWZveIZnDsqzxvCUh8PbuByhOYrZ31WWdWGedSggyqW4zKWDK5uMnJMzZYH4pviJoFYmglbgdB5QInEIYyVltNlCmsWzYv996jscwVkPbLvjbpP3Vb3HhGUVuchxymhQkdIHTM8FUeFIALH8IAzd+ZPTMH3MkITrmF3h7jB/RnSZyZScu/kt1YlnPiBuepG4FRQnArKcF/y47ZZATyn0fqspBv0tABYsEphyMXmRN2tMNvCRTDkPlMYG4ge2sBYPt7YuoJKsLULzUT8uhxXBxSzhjjL31aYBSaxoU1gbnSlTDvyACGnZqH51HGJSLg1GYw==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Paul Durrant <paul@xxxxxxx>, Kevin Tian <kevin.tian@xxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Volodymyr Babchuk <volodymyr_babchuk@xxxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Rahul Singh <Rahul.Singh@xxxxxxx>
  • Delivery-date: Thu, 16 Dec 2021 08:49:12 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 15.12.2021 16:28, Oleksandr wrote:
> On 24.09.21 12:53, Jan Beulich wrote:
>> Having a separate flush-all hook has always been puzzling me some. We
>> will want to be able to force a full flush via accumulated flush flags
>> from the map/unmap functions. Introduce a respective new flag and fold
>> all flush handling to use the single remaining hook.
>>
>> Note that because of the respective comments in SMMU and IPMMU-VMSA
>> code, I've folded the two prior hook functions into one.
> 
> Changes to IPMMU-VMSA lgtm, for SMMU-v2 I think the same.

Thanks; I wonder whether I may transform this into some kind of tag.

Jan




 


Rackspace

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