From: Casey Leedom Subject: Re: DMA error when sg->offset value is greater than PAGE_SIZE in Intel IOMMU Date: Mon, 25 Sep 2017 18:46:19 +0000 Message-ID: References: <20170920080151.GA3348@gondor.apana.org.au> <26992a1e-edb3-ed78-ce8e-31e0739d75f4@arm.com> ,<20170925155430.GB131920@otc-nc-03> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: Robin Murphy , Herbert Xu , "Harsh Jain" , "David Woodhouse" , "linux-kernel@vger.kernel.org" , "iommu@lists.linux-foundation.org" , "linux-crypto@vger.kernel.org" , Dan Williams , "dwmw2@infradead.org" To: "Raj, Ashok" Return-path: Received: from mail-cys01nam02on0138.outbound.protection.outlook.com ([104.47.37.138]:4585 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S965617AbdIYSqX (ORCPT ); Mon, 25 Sep 2017 14:46:23 -0400 In-Reply-To: <20170925155430.GB131920@otc-nc-03> Content-Language: en-US Sender: linux-crypto-owner@vger.kernel.org List-ID: | From: Raj, Ashok | Sent: Monday, September 25, 2017 8:54 AM | | Not sure how the page->offset would end up being greater than page-size? | | If you have additional traces, please send them by. | | Is this a new driver? wondering how we didn't run into this? According to Herbert Xu and one of our own engineers, it's actually legal for Scatter/Gather Lists to have this. This isn't my area of expertise though so I'm just passing that on. I've asked our team to produce a detailed trace of the exact Scatter/Gather Lists they're seeing and what ends up coming out of the DMA Mappings, etc. They're in India, so I expect that they'll have this for yo= u by tomorrow morning. Casey