From: Casey Leedom Subject: Re: DMA error when sg->offset value is greater than PAGE_SIZE in Intel IOMMU Date: Wed, 27 Sep 2017 17:30:08 +0000 Message-ID: References: <20170920080151.GA3348@gondor.apana.org.au> <26992a1e-edb3-ed78-ce8e-31e0739d75f4@arm.com> <20170925155430.GB131920@otc-nc-03> <6d2af675-7b97-6eaf-4daa-d7bf80a05923@chelsio.com> <437a9bd8-d4d6-22ca-1a64-1a3e73f1101a@arm.com> ,<20170927181802.3dcd7efb@m750.lan> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: Dan Williams , "Harsh Jain" , "Raj, Ashok" , Herbert Xu , "linux-kernel@vger.kernel.org" , "iommu@lists.linux-foundation.org" , "linux-crypto@vger.kernel.org" , "dwmw2@infradead.org" , Michael Werner , "nd@arm.com" To: Robin Murphy Return-path: Received: from mail-sn1nam01on0101.outbound.protection.outlook.com ([104.47.32.101]:49888 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750852AbdI0RaO (ORCPT ); Wed, 27 Sep 2017 13:30:14 -0400 In-Reply-To: <20170927181802.3dcd7efb@m750.lan> Content-Language: en-US Sender: linux-crypto-owner@vger.kernel.org List-ID: | From: Robin Murphy | Sent: Wednesday, September 27, 2017 10:18 AM |=20 | From my experience, in general terms each scatterlist segment | represents some contiguous quantity of pages, of which sg->page is the | first, while sg->length and sg->offset describe the specific bounds of | that segment's data. ... Okay, thanks Robin. That'll help me in my reviews of your and Ashok's suggested changes to the Intel I/O MMU __domain_mapping() routine. Casey=