Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1524163imu; Tue, 11 Dec 2018 22:49:22 -0800 (PST) X-Google-Smtp-Source: AFSGD/WbKs5KzSTeQLzzb2M+FxmDIAqHK3F6JFiKTmBPICKTl6WbmwXlrzwVAPBJzhlFRv3B+SNi X-Received: by 2002:a63:fc49:: with SMTP id r9mr16836356pgk.209.1544597362762; Tue, 11 Dec 2018 22:49:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544597362; cv=none; d=google.com; s=arc-20160816; b=THK9i4q/fTLbGwcpMnHOyB6EwZBAuRu2FgL4j8RxZ3GFNa1M6uSUt7o0ouQwoMquZ0 zp4Ocf7LgfhgVdJQVDG/ffBcZdTgruvaPF+MRyV+ZY+SjkwdnWDnc3HpQQP2F7ZHA+NB kb7vxg1hKPqxXI+64zamwTf0MfYGPhR55d6b6wy15hzOnhDeEnBoDMB8B85vkaQbEcVv eJusbDV3xrQj7Vphigw7mL5z9Z1m8n90f9xiTlUOyLovqnrno6+Kcavo4/RPWdzu0nhs 3RIkdzY6pcw5ktevMex+uUhwjhDZmpjNZ/Zrnyp3DzPfaLM4bVkHzyd9cuSXQZmrcNZE YLJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=TD/VgaPEPIcpXAlHjKXyndOsvZUOxXJvfEiXyKWTLsM=; b=xwXVtUHP8kXdMNG2AeFT3lMKfAJF35+RoOJA9EnOxS+Otq+DAySUxO3c/tm6MhJjdD IaSKST4K6sxytFT0ukzxUpEAa+nAtqqqseuOFijZo5zRBsgtoM9q7wdOmO7/ROww5pJR qbIh7CsZKR/SVd05gP1lX95TnOZXdqe4bzi8wNH+CUsTmQtTb3XV4QNHaVwF8wSsZFQf FDzozCzfgO3kCKZg/MXjsDwqMuSlk/uOz/yKcYLtWqmS3Dg1FOK7QSayYpDimceO8LYD s/vy6C5+Kr7lIKvZQPbDXpwZ/YFuB+7Q109z+68gn5ODBdX96bJTu3Mf32+QmL/+uu85 6afw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r2si13450655pgo.483.2018.12.11.22.49.07; Tue, 11 Dec 2018 22:49:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726595AbeLLGq4 (ORCPT + 99 others); Wed, 12 Dec 2018 01:46:56 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:46384 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726251AbeLLGq4 (ORCPT ); Wed, 12 Dec 2018 01:46:56 -0500 Received: by mail-pg1-f195.google.com with SMTP id w7so7856397pgp.13; Tue, 11 Dec 2018 22:46:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=TD/VgaPEPIcpXAlHjKXyndOsvZUOxXJvfEiXyKWTLsM=; b=IotraGm+3yk2bctTepagvmXK4MXiduE1sW2LfQZJt3GCT3hmpOnCAkK+x4zPVoFTgQ IJlUFyBWvAcFcdXmyrndwpwvqMDvmtVH71zaraQpHY7wPXY6QbU3UY+HLvYVWg6q4aXC W08Or6qFbRCJoCEt7KkNZ2DDsN2WW1r864sYhrFdsDPeun0iqGUEXyW5jwudszO/C9HY pLcqdVrz1Ru4Xvc1D7t7noNjnwkCX+UIAZl5QQnZvFJcco/9xChwkFOBzPIePhrW+zX6 3Gu2N/0TCyzM787aiPOzron0+qh8DP0oh28Iy0YVH1jHg4Th8/Kmd8T3BJYbwkFY+Yod 087g== X-Gm-Message-State: AA+aEWYOhRWooEjP4BRIIKXHR/7PbkEKJZKUPoM6YsdP8xvwPQxxl6V4 7PSNVcgpvwzVoMvcLRt27zlCo6fY X-Received: by 2002:a63:ae01:: with SMTP id q1mr16868564pgf.402.1544597215486; Tue, 11 Dec 2018 22:46:55 -0800 (PST) Received: from ?IPv6:2601:647:4800:973f:7888:b13c:bff:87b0? ([2601:647:4800:973f:7888:b13c:bff:87b0]) by smtp.gmail.com with ESMTPSA id m85sm25167375pfj.171.2018.12.11.22.46.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Dec 2018 22:46:54 -0800 (PST) Subject: Re: [PATCH] scatterlist: Update size type to support greater then 4GB size. To: Ashish Mhetre , herbert@gondor.apana.org.au, davem@davemloft.net, axboe@kernel.dk, adrian.hunter@intel.com, ulf.hansson@linaro.org, linux-crypto@vger.kernel.org, linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, vdumpa@nvidia.com, mmaddireddy@nvidia.com Cc: linux-tegra@vger.kernel.org, Snikam@nvidia.com References: <1544595853-18492-1-git-send-email-amhetre@nvidia.com> From: Sagi Grimberg Message-ID: <39a4f02c-d054-2651-2381-a8d86cdf3c13@grimberg.me> Date: Tue, 11 Dec 2018 22:46:52 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <1544595853-18492-1-git-send-email-amhetre@nvidia.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > struct nvme_sgl_desc { > __le64 addr; > - __le32 length; > + __le64 length; > __u8 rsvd[3]; > __u8 type; > }; in what world changing a wire protocol for this make sense? please get rid of this hunk, NVMe will never cross the 32 bit sg element size.