From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 670B2217726 for ; Thu, 19 Dec 2024 08:03:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734595412; cv=none; b=ahlwu/ynHvPcS+4KBxDqwybRUFrfZzFZPcmsySQtIFkR1+OC7GXTC6kUkMWo9ABbPOgqrL+qnc2LU7N42B8wCFQyYUWJy114RmYdpIeMSLvEiRYz92GP2pgjnuuwOV/b7PjXcqAS8u/pQTu32Ucr/Bv4aPTeb9cwv+3tnnrXEe8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734595412; c=relaxed/simple; bh=UJiJoUrfLpwq/NbQZ03B10FmxybeXKUL6QwP8MevoLk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=umzykmsv5PoK9MAMdi5OnYinuYr8teXED1d0cVvxAdoCsDTfBzgDWxJUXydlfw/HtllYe7Ga0u3UcYebNuxDQRtdVsoaDyNZ++N2FkYElbjtR9z+YusZfxpDmVGbFQikSok251AaCho5GVKYmYmq/RgZ6vi0tb7Oom8x89bll0M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=lE542baa; arc=none smtp.client-ip=209.85.216.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="lE542baa" Received: by mail-pj1-f54.google.com with SMTP id 98e67ed59e1d1-2ef28f07dbaso344843a91.2 for ; Thu, 19 Dec 2024 00:03:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734595411; x=1735200211; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=veA0Huobzzxbz9/R8JSsJ4HAsAbD6I8RRhj1NsnH8C0=; b=lE542baa12T/S2XXDakLJuCqo1OIkyH/aW+Elko4R3fIQTQL1mRm8+5vydfUisdgAq Tjun5K3B0iUpN/N7GmoUUtqy7c3hwI8bmxmjfpfV4QW1TLiQ43pJE4vrlI7HL2GUj6NP fD+h2+o+bgLymYSLpenSc+esAHqtT6laY82+uzUFa9iER2THZS/Ks3I+cpnetKTmezkO WsWvI/h44ynCGyoXqJAnFZ+Lf1s5Vzl8AIrGqbuprpFv9JSO/R7YAMyc7mx6MYlPXz33 bribGg1ANW2d8n3jtJ4tUQyAIl/UCwWyvYv2dEru6UiWboHyso+A7ZqNh9jxaJBaUYtk jgbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734595411; x=1735200211; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=veA0Huobzzxbz9/R8JSsJ4HAsAbD6I8RRhj1NsnH8C0=; b=hySPhqHA25MZBB24XhEHPq/rTOQSfY083AS1Jy71Vo8U8OZGx0WXRMILKArJRK4fbq chze+B/tZw+JHgzGD5hhN6MbUshVW7OvRQ75FoyIVOHwa8cCbnbhkG9BabTXia9R6kU4 b/Yrunk0avaXZF+1XLKppF//5i2oQ9k9ttSnJjn8GZJwwcJx3PObxwGNPiXqSUngdgXh PSg7AyY5KSAt5p/v0hHiTkn0W2kfsQ2LMDpH1KBJ2bxthUwpDEl5oWGyxQtLzOzlzLb6 qElbE40230eUELLMZqP5d3R8EVaURJuw+qIiFJ1+l+jkBH/qRBL++dc+yIB31yRN3rRO DBMw== X-Forwarded-Encrypted: i=1; AJvYcCVnX3IwVyyTwPC2OV81qUJ+6f80gzPXtCIpQygaOUJ4SazKnTRLHyqxj/9TiOI9Q+V40JoRpXtOEpt9w+w=@vger.kernel.org X-Gm-Message-State: AOJu0YxFj2WC7SDkIlQy8hc5wZxhbOXL7+gwYhb7hYcJ0yl9trieCD1d 7jPD7El7RsKcg9QZW5qp6V0GN0nMwgeFtE8wif6zIGHzcDISZtT2mIagtCEasQiFBQd2Xn/eQtw = X-Gm-Gg: ASbGncugVbwh3/Oc78RahBEZefu8ew0vbbeCiQt1NR1BORVp9gqIi7iltEmoYgBYNUl bcmNkPOgGuFpdQ/isOjzebbo2TnJuwTgOjKGhdP2DRW4fTX+o0nAxHLZdlXJnyDg3+pChMb9Sxc F4ZR2bb1tSO2TGqrQLtxLjEMXIE34DiGAFuOo2tFON657fKLc4k8M6mfY48fm4tUX1mbYULfJ08 HOhkiNAMeMEIRwhjxuOGX8OPp7d9F2uWyM9ib6yBLt25yKY6HqthIo5qLb7txBut4AE X-Google-Smtp-Source: AGHT+IGkAKRKIGy2PWGUpJtb9ofOGf4tb9aPaoih3oeJ6FkCxuJrXISiTP6H5Og+dCW667T6Nacl4g== X-Received: by 2002:a17:90b:524a:b0:2ee:d35c:39ab with SMTP id 98e67ed59e1d1-2f443d0189emr2977479a91.22.1734595410812; Thu, 19 Dec 2024 00:03:30 -0800 (PST) Received: from thinkpad ([117.213.97.217]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2f2ed62cde6sm2963410a91.13.2024.12.19.00.03.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Dec 2024 00:03:30 -0800 (PST) Date: Thu, 19 Dec 2024 13:33:22 +0530 From: Manivannan Sadhasivam To: Christoph Hellwig Cc: "Rafael J. Wysocki" , Ulf Hansson , "Rafael J. Wysocki" , Bjorn Helgaas , kbusch@kernel.org, axboe@kernel.dk, sagi@grimberg.me, linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, andersson@kernel.org, konradybcio@kernel.org, Len Brown , linux-pm@vger.kernel.org Subject: Re: [PATCH] nvme-pci: Shutdown the device if D3Cold is allowed by the user Message-ID: <20241219080322.gskydm7mg6srhv3p@thinkpad> References: <13662231.uLZWGnKmhe@rjwysocki.net> <20241212151354.GA7708@lst.de> <20241214063023.4tdvjbqd2lrylb7o@thinkpad> <20241216171108.6ssulem3276rkycb@thinkpad> <20241216175210.mnc5kp6646sq7vzm@thinkpad> <20241219063052.GA20003@lst.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20241219063052.GA20003@lst.de> On Thu, Dec 19, 2024 at 07:30:52AM +0100, Christoph Hellwig wrote: > On Mon, Dec 16, 2024 at 11:22:10PM +0530, Manivannan Sadhasivam wrote: > > > So what technically is the problem? > > > > > > > NVMe wear out is the problem. > > Btw, it's not just the PE cycles, it's also the sheer time a clean > shutdown can take (or the time for an unclean enable if we don't wait > long enough). > I do agree with you! - Mani -- மணிவண்ணன் சதாசிவம்