Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp784545pxb; Thu, 26 Aug 2021 14:51:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUTVu8Ug0yJRcnl2+PDn/tMezDOYSgAzpXOAZQL2RSkUYBjTdy+TBr/OAkehBRVhDChl9T X-Received: by 2002:a92:4a0b:: with SMTP id m11mr4161225ilf.118.1630014660645; Thu, 26 Aug 2021 14:51:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630014660; cv=none; d=google.com; s=arc-20160816; b=ochKER3AyNzfWszzo0D4XkY1+Wcw1HA7OoCZ9uNyHvQ43fwHrNTiUkdK+VoAfwnPVl oodFRr+dVxqvJ2OrBa9rFPbEYzqnbhhsc3PqSUNiQEuzDGaakEfaalHdVi6cqqIP5Use hLckZyTCOd0Ju0h0Jo7d45VS8hv0T1m+DQdRv6F5LeqL0EaCVHViV54Y/ZqFPaVXWJ8m iPkMAmZHMJqGSmQaLfRVOWDZmPqAbiNKdHHMiQ9e4qAJ+dU+vjWrZk4ixoQ3ifEcw+jo nd3L7qbNmmcV60ur2cZCIKd8q5MK8henOdI1UMyqjPJYJg22Njl4Lf2s/RQld4bTXaTB DXYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=o34+Kc+MUByQZMaTjoLGD4izfjy5kEurWb2FO7PECNc=; b=kegwlybPeJQj+7Af2ZJbK2cA+Py6vtvzZd2emM5L/8y+efQ8goSxphpqpQLLYEN804 JqXwY75rSU3z2cX8gnd7jND/1iDasoVk6NoyzuX/r1QZtVWHmrANNVnGEyvlrvIfCwUG GLGPM+WssdeAjEodj5+yCJQEavcAExsbLCA77m2U4iEe+usMjTqnKuqSODWLeVzUQXvH BJ8WdCebO2QtQVdr9aDTuuLf4Djd2WPLZhclBRvBmGOZU6eNpq4vLYYfhiC192xH7rGC fx3mvrYOWDHqHFEio0NnXBOuvZzcB/hzH4dohrYyub+hgZe28V0UAxn5tvnrCdsluH38 4bbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=A8bgQG2V; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id y20si4168547ilc.24.2021.08.26.14.50.48; Thu, 26 Aug 2021 14:51:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=A8bgQG2V; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S243662AbhHZVu5 (ORCPT + 99 others); Thu, 26 Aug 2021 17:50:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:53510 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243620AbhHZVu5 (ORCPT ); Thu, 26 Aug 2021 17:50:57 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 32AF760F4A; Thu, 26 Aug 2021 21:50:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1630014609; bh=hC7ZzrqCtbXGsVzPqLaOoa81+2MI7Xu6zHkd5OCUP/I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=A8bgQG2VYWIjLv0SfzTNOe802IG8Gezo89RDmoqzG06mPTpEceRga82osrD2gHJMX R51NfJjRl95hoyX0zozzbws9S2D8WK/QUbZ0BbJuO2J6e7bhw5wRouyQn2GvecLgA4 tkavCAPhKLXALgnnGAxuPXKE6vAW7kS8nd34jgLe89aKR5F/kq4wuGHLw6JPS2Lqam 0BXO5/G30cyU2MPp0o2DU38/C3Dc1kdV0JCqwG1CfqPDKPa5USZH4xpvJYmpM7pSCY WoST8Utu/YGjiNNXkCwDczUUcYwuUdqk5Y8VELPPbV1wQvgOeOoSC55XzpZ/rmecx2 6heM9gGC4xhxA== Date: Thu, 26 Aug 2021 15:50:07 -0600 From: Keith Busch To: Adam Manzanares Cc: "axboe@fb.com" , "hch@lst.de" , "sagi@grimberg.me" , "chaitanya.kulkarni@wdc.com" , "linux-nvme@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 0/2] Make nvmet_init_cap dependent on passthru controller Message-ID: <20210826215007.GA58085@C02WT3WMHTD6> References: <20210826211522.308649-1-a.manzanares@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210826211522.308649-1-a.manzanares@samsung.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 26, 2021 at 09:15:45PM +0000, Adam Manzanares wrote: > nvme_init_cap unconditionally sets support for one or more command sets. When > using a passthru controller this may cause a conventional namespace to be > ignored when checking the namespace identification descriptors which must > include the command set identifier when the cap is set to support one or more > command sets. Since the namespace identification descriptors come from the > passthru controller they may not include the command set identifier causing the > namespace to be ignored. > > Adam Manzanares (2): > nvme: move nvme_multi_css into nvme.h > nvmet: use passthru cntrl in nvmet_init_cap Looks good to me. Reviewed-by: Keith Busch