From patchwork Fri Oct 14 08:30:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ken Lin X-Patchwork-Id: 110 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp66320wrs; Fri, 14 Oct 2022 01:33:56 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4YZ55v+FlUsfwjybweH8QxIBFkJpYtUtx4wwISOQhGbSy+x19/b3CMgDVFSZwuX9E84zVI X-Received: by 2002:a17:907:2cf1:b0:78d:c7a1:172d with SMTP id hz17-20020a1709072cf100b0078dc7a1172dmr2702516ejc.51.1665736436278; Fri, 14 Oct 2022 01:33:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1665736436; cv=pass; d=google.com; s=arc-20160816; b=Vy91AbNPsyAq48L4/4WBtjV/MRrQS3Dw3otbGNCXZBCxSFGxibUcaXzOxymxaxN7a4 DRlvLuQix68PY5s30915/5VImQpv6YvFnvXkdyIMmaN9KSdD6gXdu4iv2vvsKIi26Hz7 9MP8z3rCSBSQuBP3wXu0cvWIQ34BpV7bpl+rMzKQYlsLYOUpqvNt24R2PnGy8LHKv0k5 O2sZTbnF//7DcDs1TlWqkIo3EqD4pnvXe8xJNVR0e1wnsD5hdqB8QR+l7idgtYAVofYy b7Wp5Ye8poRPKozsLl3wNS8MUqF1rfwtxome8chBtRNt/CZGlog51Sqw2JYxrpaZobsE g+MA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from:dkim-signature; bh=nyxOP9BKS15BQdW71DpfQaTUzlCv8xD6r7ubV0UXh7g=; b=RAyqtvcuB/LGgEQtSqAwLPEn2Bbjy841057QRQyGNcXVgrlQUv/G9bm4eJS3W2r/5y bFC73tna4g7LCmtO0pATceBhT9faIBfEtwww+z6YLRG/8JaLaUP5vUubidBmO/1fIkAs REgsaiZJmrSv8WZ6YggfTiVm1GUvHDV0fiXijNAt9j6XmLeB7OJ3qG04H5VhxJ8BUTnK HaYUv49DglFrfktMabytVL77+3q1EPnef1JXx7v9ELKWmrbcQKZ7vf2zT0gTBqc1lg55 bfzvc4rwlB+zJTy5Z565ieezjZ5H+YGo++LyYbj/U5oM1e6hlJ+o3PIaP0O1ooUIRikI s/TQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@hotmail.com header.s=selector1 header.b=lT3l1VuO; arc=pass (i=1); 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hotmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jg16-20020a170907971000b0073dced7204bsi1721254ejc.767.2022.10.14.01.33.30; Fri, 14 Oct 2022 01:33:56 -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; dkim=pass header.i=@hotmail.com header.s=selector1 header.b=lT3l1VuO; arc=pass (i=1); 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hotmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229700AbiJNIb7 (ORCPT + 99 others); Fri, 14 Oct 2022 04:31:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229695AbiJNIb4 (ORCPT ); Fri, 14 Oct 2022 04:31:56 -0400 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01olkn2078.outbound.protection.outlook.com [40.92.107.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56F06190E77 for ; Fri, 14 Oct 2022 01:31:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ArPPiSjmmoH0xjtaWJTP8fi8wB21pqjyhwRcUFmivqZpDhYOjoDO+TDxYxU6tRDR0kdLpLgloUpdnBHj0Kcp7QHVj9BNcjAmNLuCvfrYRMJ64VRjpc9xfgjVtKz4eA58fxfQvBGMI1XCv4Z2yx3fzf4zZnvw640srgbbLyu/B34EpNtn6DSBS7Vdzd+3rYPqjP5TCWFQnCH6blSn5eFGYE1rMWwORyo1YZhmpJpa71eJtfgPV3tnkj6FkbCCkHAGv0ykPOFE9myXksGCMdEZjwZ1ekIiaVZT+8xW/rH/VH1BdcIGGetIfYLNjAeSsac2hOSa6CXKIKbgYOcXAykIkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=nyxOP9BKS15BQdW71DpfQaTUzlCv8xD6r7ubV0UXh7g=; b=EqUk07ezGzx6ixVQTkdUC57SU7G0B31H1U1sDCl+AwqCyzJQNepGt6tPukKypdioGrzljXQDUJg7gnRu/KpIY4Py/2V/yY35w6A7ZYI8qGexotUmrj5hZj0lt8sK0DhCAV3SuqSdYL5WKEyf1mAeZAbAydFWhxDc2mydsshJHAPLQEPOwfWwticr0amN6fxz/hlHEgJLIyhpFe0l3K0fgFX75RKq9lgfgCxas4csN/Mxcu98RRnn+nzPAKrNpISbgJwzQL7DPnjePmfLIHgpGIKG2P7QutcoaFCjpQmU8VVuwxl5Or+WBLYJ5eDUXlV7OnuqHM6oUrB81jNyzWpJGw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nyxOP9BKS15BQdW71DpfQaTUzlCv8xD6r7ubV0UXh7g=; b=lT3l1VuOM0J+iS0JrroQkJ9ctcGRC9a97bZh8TFsb/Y2pl9OuckkJ2Malv/q9lAoWrD+I71DHyelVca7Td3+DMGN2tSsrv8bk/qbyJyQQhsu+tv0+43U7KZ17HyOq7naxrKPXlem33FCAga2dDT/Uuoug8Yl8VDg10tvHLlXIyYwAXfu2jhomgvikDTTxrjSbfKhMhY77f9Kf37VJ5loPoGgWsihP6bBAooAXuVH4CLm6OuQVIT38CkVYs5RVHKWg7FePEEg9YMYYWg/WAvdgBrHCz5W+VaQSYi1mAIFu7XLBilPsnKW0GdawfHeZ7/6NJ0vstuVa31VI3xiJc7Tew== Received: from TYAPR03MB3085.apcprd03.prod.outlook.com (2603:1096:404:1d::10) by PSAPR03MB5398.apcprd03.prod.outlook.com (2603:1096:301:43::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.22; Fri, 14 Oct 2022 08:31:50 +0000 Received: from TYAPR03MB3085.apcprd03.prod.outlook.com ([fe80::3e1b:cc07:6f81:d850]) by TYAPR03MB3085.apcprd03.prod.outlook.com ([fe80::3e1b:cc07:6f81:d850%6]) with mapi id 15.20.5676.007; Fri, 14 Oct 2022 08:31:49 +0000 From: Ken Lin To: LKML Cc: michael.jao@quanta.corp-partner.google.com, derekhuang@google.com, chi-jen.chen@quanta.corp-partner.google.com, dianders@chromium.org, Christoph Hellwig , Jens Axboe , Keith Busch , Sagi Grimberg , linux-nvme@lists.infradead.org Subject: [PATCH 0/1] This patch disable write zeros support on WD SSDs. Date: Fri, 14 Oct 2022 16:30:56 +0800 Message-ID: X-Mailer: git-send-email 2.25.1 X-TMN: [jwDDZpYShaa6891xuK4vKDCYPGaGUcs8] X-ClientProxiedBy: TYWP286CA0020.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:262::7) To TYAPR03MB3085.apcprd03.prod.outlook.com (2603:1096:404:1d::10) X-Microsoft-Original-Message-ID: <20221014083058.1451914-1-ken_lin5@hotmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYAPR03MB3085:EE_|PSAPR03MB5398:EE_ X-MS-Office365-Filtering-Correlation-Id: d31f7dbe-0698-4a73-f028-08daadbe898b X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MZm3A0rF1kHlvtO4UaQ5IxpKdxGGVHiyNwKvbYZd/KXO5/cNeygs/xIivFeDsvDGQvw6eDTEtfc6NgWQ0jCFO61WS6fgrhIWlGcoLtZk9GRYH08VTTjq9i0NUNoxIsVecHQJxjb8YfYl8z5QMZpyPK7QCvcYjxJyz5rz1BOmFUDrYezVvA+CghsVUEFOTuWq7wUITXl7dRZZwH0x1g/uRYwcDMIcBXnZ4YrIorUBxngu/8VPkdHuTg60rzwtgxohuArHTuT7y8iq/02cWXUr0PjdnQNqt6j0iWU9+mssqD0MJTIm/Yse0CnvEgQQneuVGeUaE8CpBBlvCm8J4Tzyc6pR+/u6nUG7JRO589ozYk4sh11NG6VuCU223vlaUGtwzrYZfccOW752+GU7OABas6EvMhiD2C3cCwOd6Y+uZjidX/5MYV0p1io7jK1dfHCnIQM0YQ8/y11QN24GTZQzWtRcnyWzmqafTN+/RriUw6DC8zGSKVDuu00SLALvMgKrp1issAlF55z+SgbxmWREJ8omyjGyUfvJRAkuTua7TdDA5/CaMidjbc91oHTmE6GbmQZD7xEzUBqCjuAyTH+CVOase9HqIgGX8gatjTmQkZGxLF1/7VtL/kp1wK6GhnUQ X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS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Fx+Jcx4woLUO8TMU4aUv/PcDEUax9C82ES3mg79D1oPYM/sMaMcVxzRfmV36X8LlxUh4wc3ugCcUC1cO+PFNRQepqAMei7f3QkfsKOpSsMA7rA+Be9/Y3QsR/hA88n4DfJfWyq12WQnGIePACiTczfNK7jwtjcseidA0XKtLG2TC31HM0mrsg1cRHqIVRl3qm41TnBUEJcnY4/OBHkDS5SXOO6b5XCv4y23KChvpUoTY4h5DCyw== X-OriginatorOrg: sct-15-20-4734-24-msonline-outlook-c0b75.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: d31f7dbe-0698-4a73-f028-08daadbe898b X-MS-Exchange-CrossTenant-AuthSource: TYAPR03MB3085.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Oct 2022 08:31:49.4231 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PSAPR03MB5398 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1746651249778952725?= X-GMAIL-MSGID: =?utf-8?q?1746651249778952725?= Without this patch, devices with WD SSDs could not enter suspend properly. Ken Lin (1): nvme-pci: disable write zeros support on WD SSDs drivers/nvme/host/pci.c | 2 ++ 1 file changed, 2 insertions(+)