Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp4081783ybx; Mon, 4 Nov 2019 07:34:25 -0800 (PST) X-Google-Smtp-Source: APXvYqwtM8SpiJH49S2rcI0avrGI6314v6wrvlHji0yZNGCQTJlMzEDBrL1PtYWxVIhxcU3okXR8 X-Received: by 2002:a17:906:3ec8:: with SMTP id d8mr24861479ejj.40.1572881665689; Mon, 04 Nov 2019 07:34:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572881665; cv=none; d=google.com; s=arc-20160816; b=HFTI+1zYP3oYp1SzY0rgzhecBWg5CLImrSqfaBP6iRhmpTefdKEw6VDYYlP1GEju3G lU8JCcWH9QEfsft2YrrTzmRsGypHID6VqDnTuz+Lgf7PQBq1ai7ocOvrO+f6MX8SKehr pDWbxx+bqVXK/8SriwSJ7/7cqH11UIM4hhSLeuZEBz8ZSshvY6JvIR3Xol1HqgZs3IkC cXmVp059zT7ZZID/G+qJdvwdLfjKtL5T59yJgBYBmNgiXVsY54ZPIMK67SjSMqBK82xi dPEH2QbkqeH+fAelUb7gw7LToDHJOgX1MrX6GDRTkoplEiR1wOKNpRghtkmLFisQeXn1 UjYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=YsSGl8ql3lyIdyp5wpAwk9TF0InPHopaJsoTo+jltPI=; b=YtSkqP+IOY90YcngseQ32vXwaGPqVVNUByHRhSalA2MfYWft6jcF0kYXuiF6H7/Nig or9jjgUwZtTwvQnU1wCWWq/2f+rwRJ6Dg+bf19P95hbVmG/VmzOFrTvWOAEVTzI9EkUj RGHM9bQzjOdxfNqtAaC5MRl+8EJimW6Kv1/OOqq9ZykuFG8pUULWosq6CXFJDnpw0CZG e+bz7FpvUkD17nbJQJyy0WKKkEDUcM9vKdllU4g2W2c+2RGApJwoaDjHddA61SeohDhw zQ3Tq40b/9HWYSeJhkFDAS4rjbgWjGGU8nR1yBqcnXaA8Qy12KqMrYKAGeGf8LiRzVMg DF1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=vnh43AVa; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s39si7614348edm.338.2019.11.04.07.34.01; Mon, 04 Nov 2019 07:34: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=@kernel.org header.s=default header.b=vnh43AVa; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729354AbfKDPcw (ORCPT + 99 others); Mon, 4 Nov 2019 10:32:52 -0500 Received: from mail.kernel.org ([198.145.29.99]:43464 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727998AbfKDPcw (ORCPT ); Mon, 4 Nov 2019 10:32:52 -0500 Received: from redsun51.ssa.fujisawa.hgst.com (unknown [199.255.47.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 25ECA2080F; Mon, 4 Nov 2019 15:32:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572881572; bh=hkH19nt9y9SaoU01HpS8NIZ2H9MH31Bv8tkTZlbHbPQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vnh43AVaBsx8AFEejZriwjhRYdnEBMbh/bTK006mZot0xb4E9wL9Q+f4lkCkrtm1A e/D7jsxdk6Y35R06u9L7Bj1MaJ7nmJnHoAqnDfy7mqDJDQMJVVEbgu1NQ/bZjuqJuo CcTT7LmzbL4GHAXUPztm64W6v9UEFwHpjg/TCRn4= Date: Tue, 5 Nov 2019 00:32:49 +0900 From: Keith Busch To: Christoph Hellwig Cc: Marta Rybczynska , Charles Machalow , linux-nvme , axboe , Sagi Grimberg , linux-kernel Subject: Re: [PATCH] nvme: change nvme_passthru_cmd64's result field. Message-ID: <20191104153249.GC26808@redsun51.ssa.fujisawa.hgst.com> References: <20191031050338.12700-1-csm10495@gmail.com> <20191031133921.GA4763@lst.de> <1977598237.90293761.1572878080625.JavaMail.zimbra@kalray.eu> <871357470.90297451.1572879417091.JavaMail.zimbra@kalray.eu> <20191104150151.GA26808@redsun51.ssa.fujisawa.hgst.com> <20191104152916.GB17050@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191104152916.GB17050@lst.de> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 04, 2019 at 04:29:16PM +0100, Christoph Hellwig wrote: > > Except on 32-bit x86, which does not have the padding. Which is why > the current layout is so bad, as it breaks 32-it x86 compat. Yeah, fair enough. Charles, let's just define an explicit padding rsvd field and use the appropriate struct for the different ioctl's.