On Wed, Nov 14, 2018 at 02:41:15PM +0800, Peter Xu wrote: > On Wed, Nov 14, 2018 at 02:04:44PM +0800, Yu Zhang wrote: > > The 64-bit key used by vtd_lookup_iotlb() to search the cached > > mappings is formed by combining the GFN, source id and the page > > level. To cover 57-bit IOVA, the shift of source id and of page > > level need to be enlarged by 9 - the stride of one paging structure > > level. > > > > Signed-off-by: Yu Zhang <yu.c.zh...@linux.intel.com> > > Reviewed-by: Peter Xu <pet...@redhat.com> > > But note that we should have this patch either squashed into previous > patch, or at least it should appear earlier than patch 2 since > otherwise patch 2 could possibly break. I would prefer squashing > since it's really part of patch 2, and please feel free to pick my r-b > if you want to resent with a squashed version in the future. >
Got it. Thanks, Peter. Will send the squashed patch right after the release. :) > Regards, > > -- > Peter Xu B.R. Yu