Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3064300pxb; Mon, 9 Nov 2020 01:14:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJw0sO9Y+1qbyZruVtjAKfpp8VHscdrOQYqfoTG5R2Qw38Vpz+kOwYNE9LPh4/LYexPB/ewS X-Received: by 2002:a17:906:5f8d:: with SMTP id a13mr14041879eju.194.1604913288924; Mon, 09 Nov 2020 01:14:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604913288; cv=none; d=google.com; s=arc-20160816; b=DC257GVudDBqxvoaGmdqhxjTR41jWiBzXMLFMguwEBo2bncoCObNRgdlG9jM+n7qcI 54iydy0C9hm2Zb/6x0oamPHDK1OyVZZlrGffYw5PLonOF0qy/Gql/mSrYR9MIFffq/Ey QSzgNf17Jncnd04doLjaM/2QWVB7foVBdMN5WtNTLw2oLh7tEQiTy4t5fwSqsHncxzeN PghR1n4UTadG78TAsK3Yf7XLyLxjpNsoUIMpPFRY3UJu5EjBIclkbcE1lhqwYPerUUHB CPWCARdsquqTJyhalEzWKgEU6IiuIO4aPdMiWhCvRqD+lMpU4t7rzjWc1Joe4ZSteP11 jCJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=yYxTWY8yCb7rhtwJ5khADqdlU3ajiuHHv1nEdR3zBnw=; b=BzcKLHX6KrE2YZKQ37E39Be2d2Ks/vyJXZGR90W4a2H2pGbjQnUg4BgvOyxaXV9wnW inZ7VFPplM9zmuN+NsONjAWjsGYuWum2dvpmyvqs2ymyToBw9TGCI67ZniYpYOY1LtZD U4iSje9wfQTHWdZip7Wj6samMAjviqYX3sZTOAA2FoR/GoEyzwPM7FmBoIuoyselssmY jokSchqjf1WcnUKTM4QSdj32BMEVKmOfY9QGqMlzwvpLrs+o3WV0Ugyo/akcNoDuI8CK 7Cdn5/g4hM3iGQt2Aexh3pI684Wyl3NA3+hdIDOlNDdVnjOju3B9bdcGn5XhywmI2mmu 95MA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h27si7639002ejd.385.2020.11.09.01.14.26; Mon, 09 Nov 2020 01:14:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729868AbgKIJNB (ORCPT + 99 others); Mon, 9 Nov 2020 04:13:01 -0500 Received: from verein.lst.de ([213.95.11.211]:57665 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726482AbgKIJNB (ORCPT ); Mon, 9 Nov 2020 04:13:01 -0500 Received: by verein.lst.de (Postfix, from userid 2407) id 8929268AFE; Mon, 9 Nov 2020 10:12:58 +0100 (CET) Date: Mon, 9 Nov 2020 10:12:58 +0100 From: Christoph Hellwig To: Logan Gunthorpe Cc: linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, linux-block@vger.kernel.org, linux-pci@vger.kernel.org, linux-mm@kvack.org, iommu@lists.linux-foundation.org, Stephen Bates , Christoph Hellwig , Dan Williams , Jason Gunthorpe , Christian =?iso-8859-1?Q?K=F6nig?= , Ira Weiny , John Hubbard , Don Dutile , Matthew Wilcox , Daniel Vetter Subject: Re: [RFC PATCH 04/15] lib/scatterlist: Add flag for indicating P2PDMA segments in an SGL Message-ID: <20201109091258.GB28918@lst.de> References: <20201106170036.18713-1-logang@deltatee.com> <20201106170036.18713-5-logang@deltatee.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201106170036.18713-5-logang@deltatee.com> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 06, 2020 at 10:00:25AM -0700, Logan Gunthorpe wrote: > We make use of the top bit of the dma_length to indicate a P2PDMA > segment. I don't think "we" can. There is nothing limiting the size of a SGL segment.