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

Re: [PATCH v2 03/18] IOMMU: have vendor code announce supported page sizes


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Date: Tue, 30 Nov 2021 13:25:15 +0100
  • 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=5eTHE0aKPnGmJ6SUpksA5QfQfjCETbAUmOjSzwbOQfk=; b=JGHlb4zprVfwU+xlQY6QZN3mqSTS89NZt4odWNyWq2ZTFVG543KK/Af3zMrM+V/6dp6311o/rA5qP8hu+y2oCGEW/NSTm70g2QOq6wOrq7E0sLo9TPfAyky7y3lPamc54/5KXeic2us3J0Xwh1mUsQDDblNqvzEzeQapOfepG0Q4Fv0EYPpnr/O/AhTTd6IAkxShMrnAVKrjj+3u5x8u6L2SZR+qqiAS+I7yBKD28BYRvQNBsAh78b/Hf4I1SVEqUfmd+DRfA2Ff2RMgqi60hiU6u56RAZzNsV+mpcjsg0i1UT4HfK47QZEP3cnLYXxN2x0M89iugR2Oo8NJk92x0g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gwB4K3/NbOaGJeswaaKQ4s98sTJdVgWwGmMsjU95nqGq5mwJqjwkJKryxVHdSnAgwBRdxbTdlDVi9+xE/JESqA2nSnRlQCjYmauweVmvdKTQNDVqUDxvV8GvvF3PRWnDB/slVZe0Qiv7X5XzI+svr/vwcVzlwz5AVWJRxzyal1gnNdoSmh6yRZrRhlHilnvIzV94p/shnIuXSex2WgYs2b3j7G6Tfl5YVDIUVu7auM5bM02tMEx1iWYJQnRTK8WSjbiwfwasOp3KrRuoFahZiT4s29/aPivxAyFwpHl+SwxbYYsXhfCEIqI1TTkHwEmhALihFMuqpXrkyCCBowulxA==
  • Authentication-results: esa4.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.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: Tue, 30 Nov 2021 12:26:33 +0000
  • Ironport-data: A9a23:GkoHV6wqtnUhquAEcml6t+dXwCrEfRIJ4+MujC+fZmUNrF6WrkVWm DEeDD2GaK7fYGfwe98nboXg8E8FsZPRx9JqSgNpriAxQypGp/SeCIXCJC8cHc8zwu4v7q5Dx 59DAjUVBJlsFhcwnvopW1TYhSEUOZugH9IQM8aZfHAuLeNYYH1500s6wrVh2tcAbeWRWGthh /uj+6UzB3f9s9JEGjp8B3Wr8U4HUFza4Vv0j3RmDRx5lAa2e0o9VfrzEZqZPXrgKrS4K8bhL wr1IBNVyUuCl/slIovNfr8W6STmSJaKVeSFoiI+t6RPHnGuD8H9u0o2HKN0VKtZt9mGt9V9+ tAT6seocBxzZPLrhqNMfUdpKxgraMWq+JefSZS+mcmazkmAeHrw2fR+SkoxOOX0+M4uXzsIr 6ZBbmlQMFbT3Ipaw5riIgVort4kI8TxepsWp1lrzC3DDOZgSpfGK0nPzYEAjW1r3JwTdRrYT 5AUWAE3fFPRWDF0BGc+EbkfwsyM32aqJlW0r3rK/P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DgheyQd0tlRCvfS/+lkEeMGlYrFhQPmDSDe PfsftRrpKbgGyoheqXay1Yo6ZOnjwk6d25vdLOi6ycec/er6mYda9pVjE8pt9zv7ks40wf1dro DQBBsFrHoibk9zoW75V2hg7g
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Fri, Sep 24, 2021 at 11:43:57AM +0200, Jan Beulich wrote:
> Generic code will use this information to determine what order values
> can legitimately be passed to the ->{,un}map_page() hooks. For now all
> ops structures simply get to announce 4k mappings (as base page size),
> and there is (and always has been) an assumption that this matches the
> CPU's MMU base page size (eventually we will want to permit IOMMUs with
> a base page size smaller than the CPU MMU's).
> 
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
> Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>

Reviewed-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>

Thanks, Roger.



 


Rackspace

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