From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53914) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a6Zo3-0003fo-Ky for qemu-devel@nongnu.org; Wed, 09 Dec 2015 03:09:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a6Zo0-0003gy-F8 for qemu-devel@nongnu.org; Wed, 09 Dec 2015 03:08:59 -0500 Received: from mailout4.w1.samsung.com ([210.118.77.14]:35760) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a6Zo0-0003gF-9f for qemu-devel@nongnu.org; Wed, 09 Dec 2015 03:08:56 -0500 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NZ2008X3ZYRCQ90@mailout4.w1.samsung.com> for qemu-devel@nongnu.org; Wed, 09 Dec 2015 08:08:51 +0000 (GMT) From: Pavel Fedin References: <00fe01d1210c$1be12880$53a37980$@samsung.com> <1447884282.4697.111.camel@redhat.com> <013101d122b5$240ef500$6c2cdf00$@samsung.com> <1447976037.4697.205.camel@redhat.com> <013801d126cc$3efcbdf0$bcf639d0$@samsung.com> <1449085233.15753.101.camel@redhat.com> <008a01d12da9$67f816d0$37e84470$@samsung.com> <1449159960.15753.160.camel@redhat.com> <1449163144.15753.203.camel@redhat.com> <1449165536.15753.214.camel@redhat.com> <015101d130dd$8993b740$9cbb25c0$@samsung.com> <1449618158.15753.439.camel@redhat.com> In-reply-to: <1449618158.15753.439.camel@redhat.com> Date: Wed, 09 Dec 2015 11:08:50 +0300 Message-id: <007e01d13258$d6b10010$84130030$@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 7bit Content-language: ru Subject: Re: [Qemu-devel] [PATCH] vfio: Align iova also to IOMMU page size List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: 'Alex Williamson' , 'Peter Maydell' Cc: 'QEMU Developers' Hello! > So I think in the end, the one page size we care about is the minimum > IOMMU granularity. We don't really care about the target page size at > all and maybe we only care about the host page size for determining what > might share a page with a sub-page mapping. Ok, so, in v2 i remove TARGET_PAGE_ALIGN and simply align to vfio_container_granularity. Would it be OK for now? Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Research center Russia