Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4871043rwb; Mon, 31 Jul 2023 13:46:31 -0700 (PDT) X-Google-Smtp-Source: APBJJlHngjuyPCnlmPww0vCQ4ybpAxT+Ahjws1INNdSiPg6/qmC86e4Kb4bjorcS5kcC1bl7omHh X-Received: by 2002:a05:6808:192a:b0:3a3:e0ad:e33b with SMTP id bf42-20020a056808192a00b003a3e0ade33bmr15458405oib.18.1690836391147; Mon, 31 Jul 2023 13:46:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690836391; cv=none; d=google.com; s=arc-20160816; b=HP+KIw7n4DyO+Mr9yaaP1/CtJeLBEYIEuOP8bfOnDVvFJCvkDu2Tjc+3hj/JDQ5zIs 7rTEeQmrEKfvYE5Ro/EGQy061iULZCx4e+QTy61u6DoKHpS4/xN99Ye2chDk1tBQFEPW QtSY5uDXxjKmF4GNFyK17Qb9fzb44IGHLnwu1J26BCSYoV9AAb/1Sv3b1V2QJj8+2QHz h8VGpPVfs0K1SC3cFbrFFWENrkhOUBei3NCiPTfMBCz0e7Mm4oxBAxqlZRvXUJIMX9pC 7JBmx3swk5dba0Cbkg1kFRQOtxFX34Xestzc7+R/1NsGn1rr9ZaE0JNm58+1huxQt9No 61Zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=dgaK3GMlgmxREX6ogI2dmUjFB/kR5DwRjKuZxlyyR8w=; fh=ObJmSFz1YUh13TA4TQSsZLGoUNQgaOR6PqDaSdnX2DY=; b=R8463Znw17EYWTULQv6buecPTGOEqAdcOGW839k8jMJrn+rJGYWoJT8vPEdUY6ItFO QdPVIz/Fsao0cBW22hdTEng8VnNqkRewL8tftGJ1rYZXnGj7KQFoos+wVLojKrPELUsx DoqY4Y2FJ76z/LqUOPGKoj5ddci18BZWai37RQzfFZ8yiUCC0itZ3DRfHaX3tU7wdirK ZuzsXHUM5ik2UZt+dALr1qJzRXs1yxm1mrxWcUrFvUyP9ZKRnYrCmqvPeSlPD5C6l0qx rZN2ZU3r0Pks5l5SmGlBMnKNftA6s33JRw076jerz4DZYy72EeQeOQYGNPtzyE3FRLR7 fKVw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v24-20020a17090abb9800b0026306b94ee0si7851598pjr.135.2023.07.31.13.46.18; Mon, 31 Jul 2023 13:46:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230414AbjGaULJ (ORCPT + 99 others); Mon, 31 Jul 2023 16:11:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229987AbjGaUK5 (ORCPT ); Mon, 31 Jul 2023 16:10:57 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 538D11BF9 for ; Mon, 31 Jul 2023 13:10:52 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 9F65C68AA6; Mon, 31 Jul 2023 22:10:47 +0200 (CEST) Date: Mon, 31 Jul 2023 22:10:47 +0200 From: Christoph Hellwig To: "Limonciello, Mario" Cc: August Wikerfors , Keith Busch , axboe@fb.com, hch@lst.de, sagi@grimberg.me, linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, nilskruse97@gmail.com, David.Chang@amd.com Subject: Re: [PATCH] nvme: Don't fail to resume if NSIDs change Message-ID: <20230731201047.GA14034@lst.de> References: <20230731185103.18436-1-mario.limonciello@amd.com> <040c5788-1a7b-26ea-23cc-ba239c76efa9@augustwikerfors.se> <39697f68-9dc8-7692-7210-b75cce32c6ce@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <39697f68-9dc8-7692-7210-b75cce32c6ce@amd.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 31, 2023 at 03:09:08PM -0500, Limonciello, Mario wrote: > So is it reasonable to just add a check for > > ctrl->oacs & NVME_CTRL_OACS_NS_MNGT_SUPP > > In the same error handling path as this patch? No. There are tons of NVMe devices that only support creating and deleting namespace out of band, especially in virtualized and cloud setups.