Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp4048955ybx; Mon, 4 Nov 2019 07:04:09 -0800 (PST) X-Google-Smtp-Source: APXvYqz/2yVzxhjhis1C4AT6j7ueBudLqt5rQMdleDMJ1D7b8qobGHOJ1JrZ7h+LsAmkELJd3WYt X-Received: by 2002:aa7:c6c9:: with SMTP id b9mr19835387eds.1.1572879849225; Mon, 04 Nov 2019 07:04:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572879849; cv=none; d=google.com; s=arc-20160816; b=q0OceMNNN9Cz46x949+Zk/ucCoEi8I9/eg2qPVkDNlJ1xIe/V141fkEgLWfPndfMY7 qWp2PyKu3bIwRxQSMxsPkzCQmAQtBBSxbGG+H+s3hf542DJs6NwstqirHjSsasofxkBM az9G8cBSafkv1qCUkfv5/sSHT9F/xfiX1DmAK1ZjjsRPJRbzbEAYxgjayxO1bEEaU9wT R3WDa0igSK5n7yK3dx+USR4XWLQwP9Qv/kpyKL3Z0umw0cUtjb19x2FY0g0VvuCx1jE8 u26TAXmGSn9NbdZCvXOQCqc1q5KDnZX/WDXmuDwubi9+dbNPdS0uCgxGGMlk62WcpgSU AF3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=z+Iy7ChZaVTYIBEpx4qfobr917iForOix/y0Q8dZCPs=; b=s0Nej1jkczLfEihYZQdzBluaRago3uFA9ns7pxuW9O0L34uOdBtGhsmJ62NjYX+Hba RqHVJFUxFv0HpPUSSz/pdx8OaQsDlLl+eNb+xDnyoNXkvRqQ3suvUFhT+4qOIq1LwkUJ c9N7QDyMYy/PioYui+iuvrhMA84XNZqA+Bl716J7oKsmvfhAFnvfSq8DnY7Nr9Q1Jq/K De0us/n2Qs0m7arH3ZRS5JyZEiLvaTkx/tA359Opv5I0odiFFxxj1qlbbirQCz2doyFE NTK8G5oikp7nlNuxFN7Vqux/XTd/3EZgU8GY21PqXPDnFoiBLpY3eMl13wF7fEZcyapA hNGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eCkIh9nv; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y11si8188827edd.182.2019.11.04.07.03.45; Mon, 04 Nov 2019 07:04:09 -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=@gmail.com header.s=20161025 header.b=eCkIh9nv; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728882AbfKDPCF (ORCPT + 99 others); Mon, 4 Nov 2019 10:02:05 -0500 Received: from mail-yw1-f65.google.com ([209.85.161.65]:35931 "EHLO mail-yw1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728346AbfKDPCF (ORCPT ); Mon, 4 Nov 2019 10:02:05 -0500 Received: by mail-yw1-f65.google.com with SMTP id y64so4187253ywe.3 for ; Mon, 04 Nov 2019 07:02:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=z+Iy7ChZaVTYIBEpx4qfobr917iForOix/y0Q8dZCPs=; b=eCkIh9nvYNasuS98f92lbZBrT9P/ERTzX7Eq6v6/OjOtJ19UPRCofXW5BwXRtIuob1 gH7Wj1lYMLMpTpj1T3SqjMiHKSgFb+vNfozPsx1bk32aKoFXDXzfbPADYLm+spQfSfdZ 1jpoRjl8Rc1fb6kI4bNyw+jadi+cXVQK4S1w/Tq4i/iBNXg3u5r7tg0QL99DEb/Cdb21 iMW+2yNiqvfbG9NLq8rMf7L7PPQrApckgKxujIIe7Bq7G5Ldp4QdyzSHcXgFOyJlcnmR i1czsmamS3bARr/hfAW6LLfuHU4Ko9r+rpAafuYZ2OnDxKTngiKMf4ChRv/Rn0elm9tX myeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=z+Iy7ChZaVTYIBEpx4qfobr917iForOix/y0Q8dZCPs=; b=cOLB6bkz+HZnITcujG1XqRJi85i+0rDyraiotqb9JyiEBlDXNf8YFY2A1LIebqFgg1 QQr+eKyGoIQcAmCROUMPqoFjn2KUphOfU3mlbkyr2T88wi/K/zJWvKxTWVM03TQ2CCWQ ow0C+5TGt31eE674KBgTjEFih6jRZei/YjZBo5Ad82bBjXD3wuzfNjIA6KI7RhLtwQ2X LGSqYUyhTTiyRghVr+TeiB8lW0VLrZZYkhM+CU8SUkHm1L6yW0Ztb0YtG8gPcqQSxi1o 4OqAGZwh8yUS9J/2I5KGUjLq11UZtetiHbj1QFqzGQt3MswyrAmEbfHHDsvq4G9cwIji wLkw== X-Gm-Message-State: APjAAAXckAPlVvLOlqt8vifoK49WjCoVQLWiYE02qbMTwQiHQlG77BGS swEMEy1Md9WkJbFV9dOpq56jhG7fql3pZuntiyA= X-Received: by 2002:a81:98c6:: with SMTP id p189mr2906416ywg.443.1572879724375; Mon, 04 Nov 2019 07:02:04 -0800 (PST) MIME-Version: 1.0 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> In-Reply-To: <871357470.90297451.1572879417091.JavaMail.zimbra@kalray.eu> From: Charles Machalow Date: Mon, 4 Nov 2019 07:01:52 -0800 Message-ID: Subject: Re: [PATCH] nvme: change nvme_passthru_cmd64's result field. To: Marta Rybczynska Cc: Christoph Hellwig , linux-nvme , kbusch , axboe , Sagi Grimberg , linux-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Yes. The idea is just to change the 64 IOCTL structure so it lines up with the old ones so that the same struct can be used from userspace. Right now the first 32 of 64's result doesn't line up with the old result field. - Charlie Scott Machalow On Mon, Nov 4, 2019 at 6:56 AM Marta Rybczynska wrote: > > > > ----- On 4 Nov, 2019, at 15:51, Charles Machalow csm10495@gmail.com wrote: > > > For this one yes, UAPI size changes. Though I believe this IOCTL > > hasn't been in a released Kernel yet (just RC). Technically it may be > > changeable as a fix until the next Kernel is released. I do think its > > a useful enough > > change to warrant a late fix. > > The old one is in UAPI for years. The new one is not yet, right. I'm OK > to change the new structure. To have compatibility you would have to use > the new structure (at least its size) in the user space code. This is > what you'd liek to do? > > Marta