Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1693910rdb; Thu, 7 Dec 2023 06:31:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IEgU6fkf7gDS1/EiW/HjcbwIrRtZHUTLF+QLHvYiQ6yYuYomQhEb7WxI0nQCZLN5n27wNE1 X-Received: by 2002:a17:902:cecc:b0:1d0:8092:685 with SMTP id d12-20020a170902cecc00b001d080920685mr2692454plg.100.1701959518366; Thu, 07 Dec 2023 06:31:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701959518; cv=none; d=google.com; s=arc-20160816; b=lp4d7ssgI4IlJ+hcK+Ox/NtnuB3btuz/w4OQySROL+Sg1dE8cDp+1jgcLVTJ/p0bBJ RpwgNcB0nqzaNzlLnGkGg7nv9NPt90hn8lJmZqHaRObUJGPcQ2LgGzXveAgk3rIrsdva 9bA9pYpzeQ7PtPoh3Nw3Vvb7W6PpHv0v+FQDzjonFag1ft4Fv3A+KPN9kFpv+uW/2Fn+ 6sUVdJSAyRqv+cTXYbL1mgbkU77TuNolZRHzbYtF40x2UPSOIgRxxAo/G8Z01q0Uymrm F8Wu/duuV11/dr7l++KVLG3Zs38apwFkWc/3DSgmZTy4c8qEzQeGfQ6GAay3T+mqsf/3 gOcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :content-language:from:references:cc:to:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=JYg2Ua18gfoK91NYq0zgMpgjLm5CM5Tzubo/eGrnCN0=; fh=48LRgOefEp+FAKZ9FhcvqDgyXkpKCClGIMMVlNhg3EU=; b=dlpMvYXuaKbr85m+YYEJ3eap7hQgezJfZx0TsQYYuJ4UvV9XWtOPfzSfyEB21lzw6X qEKLJGCGnGqioMKv2jeoui0WUSEPNtd9u06yLbZ7BscEEJIFBDyeXhH+wGMlu7/nzDPc P763hj7DNwEGyZUlQlUsBuxCqmPdk+sr+BL19Rhl48wqxIFBQq89gxXe4mYsP0lTzd3f dQfuamVdju5X2k6A/chuuSeoVFKqT7oRode33xJjtzIJQX4nPykwlMMqmwqIyHU+f/zN pohT3BJVFIxH5hU6gSTqDIXOvubFe39eMvC1ju6xx1Pso9w8LEtOpEDTlHzGTLOsVnCI G5jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tuxedocomputers.com header.s=default header.b="R/5e5cgt"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=tuxedocomputers.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id c13-20020a170902d48d00b001cfb65f4c9asi1231092plg.570.2023.12.07.06.31.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 06:31:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxedocomputers.com header.s=default header.b="R/5e5cgt"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=tuxedocomputers.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 869F3807EDB2; Thu, 7 Dec 2023 06:31:51 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443214AbjLGObl (ORCPT + 99 others); Thu, 7 Dec 2023 09:31:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232888AbjLGObk (ORCPT ); Thu, 7 Dec 2023 09:31:40 -0500 X-Greylist: delayed 587 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 07 Dec 2023 06:31:45 PST Received: from mail.tuxedocomputers.com (mail.tuxedocomputers.com [157.90.84.7]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96CE9126 for ; Thu, 7 Dec 2023 06:31:45 -0800 (PST) Received: from [192.168.178.76] (business-24-134-105-141.pool2.vodafone-ip.de [24.134.105.141]) (Authenticated sender: g.gottleuber@tuxedocomputers.com) by mail.tuxedocomputers.com (Postfix) with ESMTPSA id B51292FC01FB; Thu, 7 Dec 2023 15:21:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxedocomputers.com; s=default; t=1701958916; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JYg2Ua18gfoK91NYq0zgMpgjLm5CM5Tzubo/eGrnCN0=; b=R/5e5cgtTOfpzfdej3UkNEmlkDTvc7oF3LwcIUnycinpxhqJjp/mOu/dzU/oDwU9/HqgYy LNF5K+EHHMP+9WgeTJpSN7+rvf0RbA+RC/3j3SUQME+/UME0zJs4kIsGh5q+8ey15daE81 zB5RdrdVw593+cwUIQU3zhDSRCxKdbY= Authentication-Results: mail.tuxedocomputers.com; auth=pass smtp.auth=g.gottleuber@tuxedocomputers.com smtp.mailfrom=g.gottleuber@tuxedocomputers.com Message-ID: Date: Thu, 7 Dec 2023 15:21:55 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] nvme-pci: Add sleep quirk for Kingston drives To: Christoph Hellwig , Werner Sembach Cc: Keith Busch , Jens Axboe , Sagi Grimberg , Georg Gottleuber , linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org References: <20230920085210.22573-1-wse@tuxedocomputers.com> <12d32e8e-e20b-4023-8299-39d2a69c0cd9@tuxedocomputers.com> <20231206092420.GA27348@lst.de> From: Georg Gottleuber Content-Language: en-US In-Reply-To: <20231206092420.GA27348@lst.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 07 Dec 2023 06:31:51 -0800 (PST) Am 06.12.23 um 10:24 schrieb Christoph Hellwig: > What does save a lot of power mean, and why does it only apply to > some platforms? I suspect the more likely case is that APST is > simply completely broken on this device? Hello, power consumption in s0ix varies depending on mainboard and NVMe SSD. Some examples: Board, nvme(id), mW w/o patch, mW with patch, kernel NS5X_SN7XAU, 0x500f, 2691mW, 487mW, 6.2.0 NS5X_SN7XAU, 0x2263, 2262mW, 741mW, 6.2.0 PH4PRX1_PH6PRX1, 0x2263, 3042mW, 760mW, 6.2.0 NS5X_SN7XPU, 0x500f, 3135mW, 779mW, 6.5.0 All measurements were taken with the battery disconnected and a modified adapter plug. I don't have a deeper insight into APST to judge whether something is not working. But all other NVMe SSDs we have tested sleep with a power consumption below 2W (Samsung 970 Evo, Samsung 980, Corsair MP600 PRO NH, other Kingston NV1 with ID != 0x500f). We originally noticed that newer Kingston NV1 (with id 500f) led to higher standby consumption. With some trial and error I came to the conclusion that the problem lies with 'Simple Suspend'. Kind regards, Georg Gottleuber