Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp449347ybx; Mon, 4 Nov 2019 23:42:30 -0800 (PST) X-Google-Smtp-Source: APXvYqxKJZ18vlbW5FRbYUXoDuqmvm3R9iXpefU/cR4C5YbJhRUxdyII0QHZR0FULEZ/peym5YMv X-Received: by 2002:a17:906:1dc4:: with SMTP id v4mr27574666ejh.248.1572939750108; Mon, 04 Nov 2019 23:42:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572939750; cv=none; d=google.com; s=arc-20160816; b=HVG77fhBFBVE8h6kl0HMQ93nHJGIUmJm1zP76otoPN1UaT/WuNiHiujIczR+xXxUwt xwHSooByQKzvJQLVFK5NLw4EesLnKFzVShEEHNhksPfkPiMD44tNoP73ARyCUb8ydMBF zldtLEvjfVPYVkL0zrZkAxNITti/0HVm0jvLs0E0z60cpYl98zCHdemg8/UQjVL1braG a3PxwsLU3msl4DzJiKokYPJAXbI/YBL8sLmJVbGDerYg3MsUNrHYvvoU6Z37sbTANakb 4rWSTykxdoTh8Hj6nwK2TM1CpdrsIMyDwmHEzqbVJ+MOpP3DtG3HsAiGqv+sENAWHRBJ ZvUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:thread-index:thread-topic :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date:dkim-signature:dkim-filter; bh=hx3mdGmfd3A2yXNYBNKBzEOSJVTZytIssECNKp+fs20=; b=mXe7jboaDSypxK4/NXSTaMfjB2XpG43V1FwZtDn+Nrz27TYrVyDJNrCOW4UHjjBlv2 iN7HgPuck1zldT6uz3p1oQefSgKjSOIjQ1jQowCtK9IE0AdY9fVtkIa0Sn3xCKtwuvSR QrpuhqGpvDKbQEwfyqSEUMr8+FICWCs3+eWhKZFlZ0F60+LoDIl0opcGqMP8Xh9T4v+S gWOm3VUSnDdiqTc8nQlAy3qPV/SiIAjpnU6IizIlpZdF7np0nps1hwZDIlxJleKBk1cC eOEwinvBli9tZpK5jR7khNW6+UgASh9PT0DDDkF8tb4jQMcl4P/qZkRGW3LFVOavgMxN 58lQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kalray.eu header.s=32AE1B44-9502-11E5-BA35-3734643DEF29 header.b=Aik5qMka; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=kalray.eu Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ck15si11927054ejb.358.2019.11.04.23.42.07; Mon, 04 Nov 2019 23:42:30 -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=@kalray.eu header.s=32AE1B44-9502-11E5-BA35-3734643DEF29 header.b=Aik5qMka; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=kalray.eu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387711AbfKEHjP (ORCPT + 99 others); Tue, 5 Nov 2019 02:39:15 -0500 Received: from zimbra2.kalray.eu ([92.103.151.219]:53892 "EHLO zimbra2.kalray.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387484AbfKEHjP (ORCPT ); Tue, 5 Nov 2019 02:39:15 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra2.kalray.eu (Postfix) with ESMTP id 4B18A27E038D; Tue, 5 Nov 2019 08:39:13 +0100 (CET) Received: from zimbra2.kalray.eu ([127.0.0.1]) by localhost (zimbra2.kalray.eu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id WZi-j-psq1ez; Tue, 5 Nov 2019 08:39:13 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zimbra2.kalray.eu (Postfix) with ESMTP id F036727E0F36; Tue, 5 Nov 2019 08:39:12 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.10.3 zimbra2.kalray.eu F036727E0F36 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kalray.eu; s=32AE1B44-9502-11E5-BA35-3734643DEF29; t=1572939553; bh=hx3mdGmfd3A2yXNYBNKBzEOSJVTZytIssECNKp+fs20=; h=Date:From:To:Message-ID:MIME-Version; b=Aik5qMka4c770O4AN3iXBLTgAalac4IbTDZLpvx5Mb6cJci82VimmN9/nTzsXJB4T D+UnQMtj7Se5PLeC6O6ZGFVZcMP/6KshMbWZ9/WDl2cj2JCk6gpIZr3+e1avzmSpe4 R4fV0ZVl6GWEBXzh+aH504wEHf48TXUZnoXwnKqc= X-Virus-Scanned: amavisd-new at zimbra2.kalray.eu Received: from zimbra2.kalray.eu ([127.0.0.1]) by localhost (zimbra2.kalray.eu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id sGIeDZDhfzy7; Tue, 5 Nov 2019 08:39:12 +0100 (CET) Received: from zimbra2.kalray.eu (localhost [127.0.0.1]) by zimbra2.kalray.eu (Postfix) with ESMTP id D596627E038D; Tue, 5 Nov 2019 08:39:12 +0100 (CET) Date: Tue, 5 Nov 2019 08:39:12 +0100 (CET) From: Marta Rybczynska To: Charles Machalow Cc: linux-nvme , kbusch , axboe , Christoph Hellwig , Sagi Grimberg , linux-kernel Message-ID: <442718702.90376810.1572939552776.JavaMail.zimbra@kalray.eu> In-Reply-To: <20191105061510.22233-1-csm10495@gmail.com> References: <20191105061510.22233-1-csm10495@gmail.com> Subject: Re: [PATCH] nvme: change nvme_passthru_cmd64 to explicitly mark rsvd MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.40.202] X-Mailer: Zimbra 8.8.12_GA_3794 (ZimbraWebClient - FF57 (Linux)/8.8.12_GA_3794) Thread-Topic: nvme: change nvme_passthru_cmd64 to explicitly mark rsvd Thread-Index: PH7LCSaTYLN4Dj3ginxBCp3tHjyCGQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ----- On 5 Nov, 2019, at 07:15, Charles Machalow csm10495@gmail.com wrote: > Changing nvme_passthru_cmd64 to add a field: rsvd2. This field is an explicit > marker for the padding space added on certain platforms as a result of the > enlargement of the result field from 32 bit to 64 bits in size. > --- > include/uapi/linux/nvme_ioctl.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/uapi/linux/nvme_ioctl.h b/include/uapi/linux/nvme_ioctl.h > index e168dc59e..d99b5a772 100644 > --- a/include/uapi/linux/nvme_ioctl.h > +++ b/include/uapi/linux/nvme_ioctl.h > @@ -63,6 +63,7 @@ struct nvme_passthru_cmd64 { > __u32 cdw14; > __u32 cdw15; > __u32 timeout_ms; > + __u32 rsvd2; > __u64 result; > }; > Looks good to me. However, please note that the new ioctl made it already to 5.3.8. Regards, Marta