Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1564948imu; Tue, 11 Dec 2018 23:46:25 -0800 (PST) X-Google-Smtp-Source: AFSGD/WIrtwdo3hqN4Aeh6LPt30N867CC8tUTp1DI55hO5iMHFzyu1mZRX9xrCj1zPYhfBMqtEYe X-Received: by 2002:a63:bd1a:: with SMTP id a26mr17181020pgf.121.1544600785903; Tue, 11 Dec 2018 23:46:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544600785; cv=none; d=google.com; s=arc-20160816; b=fM/MuVuKQtRKf4jmtrq5tRNGv1bQshwUuWjzZ3o0iUCHtRmBsSlRRu/ZuOvkT39JpZ D9E+x4J4LxvSKX2NXM9zzV4oxSBrGDonchY4ShY1Q5irwtOCeXYbMeVTAsH+4OhlVaLD ENOrPwhovBtiEdgY0OkAlRv2nwzrdMiGyUyT4GRB/GNsZLKssfBl9AATivY8dJRY8zSA /g3KRcZpmdrhBMPII///2WJMUiR2IzDDWsjTag3FpSgshLRz8ZWxB5byTWKzstx1BPhE /w7tRdB02bBbk2EEKfW9pfL2hTkvRFFQlYTn/xD3sOd00O5fxtDIhWYR91Z7ba4MM+nZ MBNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=dRCdnkKRT/cp8bs2ZIqwFpii6YCnBYNnaggI8TtZ/q4=; b=xV3bsSVPUrKK0gef+3uMqmdBiADwsVbLHpjLCjgkfJNCDzOUpDdh4BO4Kt3J2gXWJ7 rDlHKw1CfezyyoevQ/Ul+KQzn4e6uTxGJ2uUKWACLugEJomuKGQvFOhvStfcMKYJP/9U WdLVNwWZlBeMoZEYp5MmP8jh0x9WPs3pxPqbAmPW+KUUlCHieozpNEkZUqNt1XtQpuHZ zhAMcsDFgf51wKkLNJrvq6xFPrNd2+FmaY0DDwGA76G+LzaGvxzF1jV9xbxvwFJVrICM ev8sqv3Qrf52UGKiXJvHcsq9JwQdXPOtJ6vxxgxUp8EDjvryRamK5RhMPgvPoHfXfHLV xwuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=r39Q1D5L; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z14si14174192pgj.73.2018.12.11.23.46.10; Tue, 11 Dec 2018 23:46:25 -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; dkim=pass header.i=@nvidia.com header.s=n1 header.b=r39Q1D5L; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726667AbeLLHpW (ORCPT + 99 others); Wed, 12 Dec 2018 02:45:22 -0500 Received: from hqemgate16.nvidia.com ([216.228.121.65]:3340 "EHLO hqemgate16.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726242AbeLLHpW (ORCPT ); Wed, 12 Dec 2018 02:45:22 -0500 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate16.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Tue, 11 Dec 2018 23:45:17 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Tue, 11 Dec 2018 23:45:21 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Tue, 11 Dec 2018 23:45:21 -0800 Received: from [10.24.229.42] (10.124.1.5) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 12 Dec 2018 07:45:17 +0000 Subject: Re: [PATCH] scatterlist: Update size type to support greater then 4GB size. To: Sagi Grimberg , David Miller CC: , , , , , , , , , , References: <1544595853-18492-1-git-send-email-amhetre@nvidia.com> <20181211.222950.1995970751331458343.davem@davemloft.net> <5f70fc16-e3cd-37c1-e7ed-e131ad79d387@grimberg.me> From: Ashish Mhetre Message-ID: Date: Wed, 12 Dec 2018 13:15:15 +0530 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: <5f70fc16-e3cd-37c1-e7ed-e131ad79d387@grimberg.me> X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL105.nvidia.com (172.20.187.12) To HQMAIL101.nvidia.com (172.20.187.10) Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1544600717; bh=dRCdnkKRT/cp8bs2ZIqwFpii6YCnBYNnaggI8TtZ/q4=; h=X-PGP-Universal:Subject:To:CC:References:From:Message-ID:Date: User-Agent:MIME-Version:In-Reply-To:X-Originating-IP: X-ClientProxiedBy:Content-Type:Content-Language: Content-Transfer-Encoding; b=r39Q1D5LZbKs6pTBSo8VItNNpRz7XtnEVbsOwfAfj9LS8OI5sMMk/IDuXCF1T0nGR u94rM8vkQjw6+yOmsbJWH/RhDsEkIyQgiud+SzpVenO0Y3QL80OyY4oK7MS/YhE592 lJdI86j3YeJwR/tFAwhlh3RvYzg05ihZ0Cr5r82CVD8rH7X3UmDfebsup4YKXZrMJp 6wSa08fuM+XOIkh8rfrbeqZWjc8WDNpWKghvM+AWUAXV/nBt2VhY1uIq9p1rfOkRf2 dTBL8jDRs0TcTfVf13xLMDN95zNOSAeLXG1n8hjBB0dlRHL5vUQGH6oAWVHiXISRvM TTdi34Mgapv3g== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/12/18 12:19 PM, Sagi Grimberg wrote: >=20 >>> =C2=A0 struct nvme_sgl_desc { >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 __le64=C2=A0=C2=A0=C2=A0 addr; >>> -=C2=A0=C2=A0=C2=A0 __le32=C2=A0=C2=A0=C2=A0 length; >>> +=C2=A0=C2=A0=C2=A0 __le64=C2=A0=C2=A0=C2=A0 length; >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 __u8=C2=A0=C2=A0=C2=A0 rsvd[3]; >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 __u8=C2=A0=C2=A0=C2=A0 type; >>> =C2=A0 }; >> >> Isn't this a device or protocol defined datastructure?=C2=A0 You can't j= ust >> change it like this. >=20 > You're correct, we can't... > [Replied before seeing this issue was already highlighted] >=20 > The positive side is that it can safely be removed without affecting the > rest of the patch... Ohh, I am not aware of this protocol defined data-structures. But it=20 seems that this need not be changed as Sagi is saying sg length for NVME will never cross 32 bit size. I'll send a new version removing this change. Thanks.