Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752706AbcDKHKS (ORCPT ); Mon, 11 Apr 2016 03:10:18 -0400 Received: from foss.arm.com ([217.140.101.70]:46868 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751515AbcDKHKQ (ORCPT ); Mon, 11 Apr 2016 03:10:16 -0400 Date: Mon, 11 Apr 2016 09:10:10 +0200 From: John Einar Reitan To: Colin Cross Cc: Laura Abbott , Greg KH , Arve =?utf-8?B?SGrDuG5uZXbDpWc=?= , "devel@driverdev.osuosl.org" , lkml Subject: Re: [PATCH] ion: scatterlist offset not used for buffer map Message-ID: <20160411071010.GA25871@e106921-lin.trondheim.arm.com> Mail-Followup-To: Colin Cross , Laura Abbott , Greg KH , Arve =?utf-8?B?SGrDuG5uZXbDpWc=?= , "devel@driverdev.osuosl.org" , lkml References: <1460028599-22356-1-git-send-email-john.reitan@foss.arm.com> <5706B70E.4040004@redhat.com> <20160408065626.GA25580@e106921-lin.trondheim.arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 328 Lines: 6 > I don't think this is right. A compound_page still has a page struct > for every page, you should be passing the page struct where your data > starts. Using an offset > PAGE_SIZE is going to break lots of places, > for example anywhere that uses kmap(sg_page(sg)). Was kind-of expecting that response. Will update, thanks.