From patchwork Tue Nov 7 09:54:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Victor Shih X-Patchwork-Id: 16328 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:aa0b:0:b0:403:3b70:6f57 with SMTP id k11csp125200vqo; Tue, 7 Nov 2023 01:55:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IH63pxeSca5eeg89I/OMYdlQH9zGA8zSa9/zvNtcnrFjUj4BnfSQ+TXn51Aslmm65zj8OBt X-Received: by 2002:a17:902:e886:b0:1cc:2518:ef02 with SMTP id w6-20020a170902e88600b001cc2518ef02mr2824541plg.14.1699350945546; Tue, 07 Nov 2023 01:55:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699350945; cv=none; d=google.com; s=arc-20160816; b=GlQo42pR19R5PUSQWBI8lVKZEaNrTvNGyZO5Rw5UXwh7bxV2O/JSn++GrofX0HT/ds M58A+oFoCMZf+qYzc6NjSec5kDb7YxUYj44mSSx4J//wsDU1G9NkhBdWuYQ2Ox4Pyos0 jUbeGqrIZg1x8w8auhR8eYYZHV4XEAIMVAcRO0rmiEAYD0Fk6/MUNGd90+9N5ubpm1Q1 BLwPXlCGPMm0vA1qexHFaBhHag8YzInfq390+lW2Ijq+QLpURj7hY5mdsA3M0C8nopMK EuMB5Fze7U4v8/7mm0qLceT262t+UDgFtEbNV5ARkQxOkpzHvSOfPTTOOseTzBPg1dz/ ttqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=FEmyl1Kghqf1NFmsUhneaNM1whAWfSEyfRV9qa+1zHQ=; fh=ZUvCjE8UxvtbdAyWasrEqO52RC8x96rv3Tk+KUdnrC0=; b=qn3Vz8emu5pALlIIiA3G3tdKD3xkMfDJNsmPUBH96JdqvrelEHeiFWjJHmw2th2VhB oSTOYtrR0At8M5NVyTgRch/GAOeojcFNRSvQTz/lXFx9ShiDbI12uBI1ti5Z5AbeDXkW O14wRt9jB80HnjF/wL/YlaqbWTTJySYGBou23u4jJakyV10ukuTtJP/wzxeGjzKJIvgn Z07W06Kz5QBu0YyuK/NlegyuZO3+XvskJEfmkQ6VL9CK+8bBn5Ru/35sVboVlPtS1azE ZyWdtQ1m3fDBxoAueG0iYLIPXJjEzOIUDTgdA5U22s4VKe+7V4MZVZ+h9dNGXiWhOyz2 IgMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=CFdWkzpf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id kb12-20020a170903338c00b001bf0916b665si9729865plb.393.2023.11.07.01.55.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Nov 2023 01:55:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=CFdWkzpf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 055DC8082A4A; Tue, 7 Nov 2023 01:55:26 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234055AbjKGJyy (ORCPT + 33 others); Tue, 7 Nov 2023 04:54:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233990AbjKGJys (ORCPT ); Tue, 7 Nov 2023 04:54:48 -0500 Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E37F10C1; Tue, 7 Nov 2023 01:54:44 -0800 (PST) Received: by mail-pg1-x534.google.com with SMTP id 41be03b00d2f7-577fff1cae6so4026139a12.1; Tue, 07 Nov 2023 01:54:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699350884; x=1699955684; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=FEmyl1Kghqf1NFmsUhneaNM1whAWfSEyfRV9qa+1zHQ=; b=CFdWkzpf3wZ27aN341Tbi+0+ZHSj/dYvjws1rWvzLTbfrVfHKP0YrjooTW4xH53MpZ +OaRSpOBjdTuL6qrEAwgruv6BSU5lLm0yADAfBjkj8irclTgtq1Mv26OoCa4L/RabyRy aR26IfeRG1skHHdN31tt2AC8yYp7E3Z10Omp/g25qBil5YpLGMXwneQ2/daMFPYlbL2W Ltv6/UZ22h4C7Ca7ivi1UIoePrCbrkATRe0gwNkML2I07N4GjGurVrsXmYhjGlBfLj4i vTRdx4SElkvF16FM/+Miu+m/O3+LinqPCGy5GWXgK3+pjYmTJFfehaKUBxVj6xBgJYO5 Z+gA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699350884; x=1699955684; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=FEmyl1Kghqf1NFmsUhneaNM1whAWfSEyfRV9qa+1zHQ=; b=BNU8JwC3beRox6dRAVaBzApQ6e4EJc6ynt9pcWyoxGqpqS1NiotK60o8Gp97r8uL2u b0gLsW4tmFSon4vYacru6jPt5c7F7FEWF9CgNAOwqyYU/fln151RvcPZQaxPcryTSPJa ygbPE+5rGHukY6M+bcaesVMmsov9bl+HgzurCoTBuIo+AV7q1ULo8HS6rOyzntFz/9v6 24lvbfM5vZnBCSCX59vlDfI8/Hnp0crGSpTNNImiwmRBfJV4nCzfR7s3VFG7gvcosgN6 8Pqlo3xHrF7hoqZU26oOcaEhWsNvuN3iAGmorPufonOU9PUkhLp/cgKvm4bPR0Fv4uJ0 1mfQ== X-Gm-Message-State: AOJu0YyHk45EG7sEsxQzw54KqZ6rWvmtFMq9BfaFTbWczJZkZo4HLAIN e/JoSDEV0HEoyqEGXjkDHsm0EiqnQBeNIg== X-Received: by 2002:a05:6a21:6d92:b0:17a:e981:817e with SMTP id wl18-20020a056a216d9200b0017ae981817emr3175153pzb.3.1699350883922; Tue, 07 Nov 2023 01:54:43 -0800 (PST) Received: from localhost.localdomain (2001-b400-e25d-e1ee-eb42-adf3-9163-f337.emome-ip6.hinet.net. [2001:b400:e25d:e1ee:eb42:adf3:9163:f337]) by smtp.gmail.com with ESMTPSA id u8-20020aa78388000000b0068fe5a5a566sm7106705pfm.142.2023.11.07.01.54.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Nov 2023 01:54:43 -0800 (PST) From: Victor Shih To: ulf.hansson@linaro.org, adrian.hunter@intel.com Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, benchuanggli@gmail.com, HL.Liu@genesyslogic.com.tw, Greg.tu@genesyslogic.com.tw, SeanHY.Chen.tu@genesyslogic.com.tw, kai.heng.feng@canonical.com, Victor Shih Subject: [PATCH V3 0/2] mmc: sdhci-pci-gli: GL975[05]: Mask the replay Date: Tue, 7 Nov 2023 17:54:35 +0800 Message-Id: <20231107095437.8724-1-victorshihgli@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email 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 (lipwig.vger.email [0.0.0.0]); Tue, 07 Nov 2023 01:55:26 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781898617137845432 X-GMAIL-MSGID: 1781898617137845432 From: Victor Shih Summary ======= Due to a flaw in the hardware design, the GL975x replay timer frequently times out when ASPM is enabled. As a result, the warning messages that will often appear in the system log when the system accesses the GL975x PCI config. Therefore, the replay timer timeout must be masked. Patch structure =============== patch#1: for GL9750 patch#2: for GL9755 Changes in v3 (November. 7, 2023) * Split patch in two patches. One patch for GL9750 and another for GL9755. * Add fixes tag to corresponding patches. Victor Shih (2): mmc: sdhci-pci-gli: GL9750: Mask the replay timer timeout of AER mmc: sdhci-pci-gli: GL9755: Mask the replay timer timeout of AER drivers/mmc/host/sdhci-pci-gli.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)