Message ID | 20221019110647.11076-11-victor.shih@genesyslogic.com.tw |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp275348wrs; Wed, 19 Oct 2022 04:47:08 -0700 (PDT) X-Google-Smtp-Source: AMsMyM47LXRtp0Qg7IKTKfZU0Is0k3slFv+rrFpXwytXM8bCtum0W5dU8fFIBpyyq0jWRnD1stme X-Received: by 2002:a17:90b:1d8b:b0:20d:30a5:499e with SMTP id pf11-20020a17090b1d8b00b0020d30a5499emr45380838pjb.84.1666180028033; Wed, 19 Oct 2022 04:47:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666180028; cv=none; d=google.com; s=arc-20160816; b=FMvHAmQ+TUsD5ARrxsy/mEA7af54ku0hQyzT0jSfoj/lF9gui/0pHBIDaa+jwh1Uul TmL0nHQpWmFvt5Kld22JfTjrVCgWH03oHLrcgmg4dMDy86DGN1u4P+r83tieVbgTi9XT GUsnCwyBdlGfkxNz4oqPtVBYuSQFf9fpQT85Slut48XOg0kEQCGEbhNS+FJY7VroM3K2 1C1VAHFXaUCCQsIg3570HkIa7MFCJuIZ87tQzQk3U9Bqkg3roQBK66NHt9bIV/tOZj7x A9KU28KNQnoLkzUmeNnKN0moxD0BpAX4gHSKfLSLQlpLbkISvfyO2dox3GgkNdvV3MGg uq+w== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ApxMjoQetBSR2LRT1wGeTi3+l69/WkR0F4Vyqtoc2Jc=; b=bu7Lqg/o6vB4bDE4sfxy4/2+ejaua++CdVDXGXIWoIP0gdZqAhWKwAneU5XDuums1S qRA+gHWcbIFe3GQ098uH6uUDCuA5chhQNE9Ic2SByPr7kgT3DNEhlCCVARkoypuf1mOC sVDlbE3rgdA1DU/KnbBgx4PrSmSubekkQfQOHk2yrf//OiMHxuyTopZeH+b1Fy9SC7Zr MQugj9VQN9b7DiaGTP8F0uxgs0AO7yZuPrr1/h/NvqSHZKAAAS+NefQOB5G7cHvGZOjj 3xHLJWZyBF7xLY1/1OCbPMonBJJiG9HjgU/MjJQu9yU8qjdqMttIgDxkRFpu9w8+NI3A awmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=gw8hzF6e; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c9-20020a17090a8d0900b00200a2519880si16098077pjo.46.2022.10.19.04.46.55; Wed, 19 Oct 2022 04:47:08 -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=@gmail.com header.s=20210112 header.b=gw8hzF6e; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230150AbiJSLnC (ORCPT <rfc822;samuel.l.nystrom@gmail.com> + 99 others); Wed, 19 Oct 2022 07:43:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230323AbiJSLmj (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 19 Oct 2022 07:42:39 -0400 Received: from mail-pg1-x52c.google.com (mail-pg1-x52c.google.com [IPv6:2607:f8b0:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41128AE235; Wed, 19 Oct 2022 04:21:29 -0700 (PDT) Received: by mail-pg1-x52c.google.com with SMTP id r18so15938097pgr.12; Wed, 19 Oct 2022 04:21:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ApxMjoQetBSR2LRT1wGeTi3+l69/WkR0F4Vyqtoc2Jc=; b=gw8hzF6eIcOsQqt8Zh/WqgFQRsJ9TrgLkulm/6JTht1b70cxN9fueflq4ecONZs6lL 206bH4wtwGUGCRm2QLeUHrVa/b7J7UkJagIziCYHVFWus5tgbXEyaM6lNVQfQk66jv+1 1CGehWOBp+WSjDz72UU+Sv69vyy3eq6ccpBonKugZvZsPOgshPJMWqQqzae2Z84lzpXq 006Ha90+ntuN38ouoQX7Oy6xmj+3b6m5BPMJVJipANk9GF3uD4oHsdhBphWlZmMdAS9B jqPHS105kZ1gRbrbM+EHEjlUEhT2+C7HxayCg8ySyeD809m7KJ2PfjrAoZXxw3bYWlKl JK4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ApxMjoQetBSR2LRT1wGeTi3+l69/WkR0F4Vyqtoc2Jc=; b=mivYiHVSii8syeZggwRt0WHowN4Z/yv4jcf2JCe31z/suxt04NO5KGRJ+E6jwysmDy L9j1e9OncPvMAZU0e739O/OB2BhWIiJ6Z7X7Aqlmz8qJ/nsSTP7KVVEe7c8KPU4TLeXh 0vg3F3sKu2pLTj0G5U2mKzFwmcaIP/gg4SYJfZ/ii2hcWNPwjd9q73eX4ZYNCSTboEL8 Y2kVXVmX1ov5BfzPYzb3CyTU1pNYHwjq87qvVG8BWWruuoqnQDbec2otX1Wb4LZ0flUa zfeZ6mvLfmmE7252tmGrDXg2khUcBqdF9JSQzw9afyiXww5j2uHGvZBjv8bGM5h+ecfb AWfg== X-Gm-Message-State: ACrzQf1mzVYVwaDi/sZck6sjsJiz3r6918gtNMux1ruWeNxFeEjD1Xkw HZD0//4IbyE3z1g1d7AbXaLUuYfs6VI= X-Received: by 2002:a65:6ccd:0:b0:439:2033:6ee with SMTP id g13-20020a656ccd000000b00439203306eemr6816698pgw.271.1666177647575; Wed, 19 Oct 2022 04:07:27 -0700 (PDT) Received: from localhost.localdomain (2001-b400-e258-8c34-821b-9613-557f-bd8d.emome-ip6.hinet.net. [2001:b400:e258:8c34:821b:9613:557f:bd8d]) by smtp.gmail.com with ESMTPSA id cc11-20020a17090af10b00b0020dc318a43esm8696225pjb.25.2022.10.19.04.07.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Oct 2022 04:07:27 -0700 (PDT) From: Victor Shih <victorshihgli@gmail.com> X-Google-Original-From: Victor Shih <victor.shih@genesyslogic.com.tw> 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, takahiro.akashi@linaro.org, dlunev@chromium.org, Victor Shih <victor.shih@genesyslogic.com.tw>, Ben Chuang <ben.chuang@genesyslogic.com.tw> Subject: [PATCH V5 10/26] mmc: sdhci-uhs2: dump UHS-II registers Date: Wed, 19 Oct 2022 19:06:31 +0800 Message-Id: <20221019110647.11076-11-victor.shih@genesyslogic.com.tw> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221019110647.11076-1-victor.shih@genesyslogic.com.tw> References: <20221019110647.11076-1-victor.shih@genesyslogic.com.tw> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747116389403568442?= X-GMAIL-MSGID: =?utf-8?q?1747116389403568442?= |
Series |
Add support UHS-II for GL9755
|
|
Commit Message
Victor Shih
Oct. 19, 2022, 11:06 a.m. UTC
From: AKASHI Takahiro <takahiro.akashi@linaro.org> Dump UHS-II specific registers, if available, in sdhci_dumpregs() for informative/debugging use. Signed-off-by: Ben Chuang <ben.chuang@genesyslogic.com.tw> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> --- drivers/mmc/host/sdhci-uhs2.c | 30 ++++++++++++++++++++++++++++++ drivers/mmc/host/sdhci-uhs2.h | 4 ++++ drivers/mmc/host/sdhci.c | 3 +++ 3 files changed, 37 insertions(+)
Comments
On 19/10/22 14:06, Victor Shih wrote: > From: AKASHI Takahiro <takahiro.akashi@linaro.org> > > Dump UHS-II specific registers, if available, in sdhci_dumpregs() > for informative/debugging use. > > Signed-off-by: Ben Chuang <ben.chuang@genesyslogic.com.tw> > Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> > --- > drivers/mmc/host/sdhci-uhs2.c | 30 ++++++++++++++++++++++++++++++ > drivers/mmc/host/sdhci-uhs2.h | 4 ++++ > drivers/mmc/host/sdhci.c | 3 +++ > 3 files changed, 37 insertions(+) > > diff --git a/drivers/mmc/host/sdhci-uhs2.c b/drivers/mmc/host/sdhci-uhs2.c > index f29d3a4ed43c..08905ed081fb 100644 > --- a/drivers/mmc/host/sdhci-uhs2.c > +++ b/drivers/mmc/host/sdhci-uhs2.c > @@ -18,6 +18,36 @@ > #define DRIVER_NAME "sdhci_uhs2" > #define DBG(f, x...) \ > pr_debug(DRIVER_NAME " [%s()]: " f, __func__, ## x) > +#define SDHCI_UHS2_DUMP(f, x...) \ > + pr_err("%s: " DRIVER_NAME ": " f, mmc_hostname(host->mmc), ## x) > + > +void sdhci_uhs2_dump_regs(struct sdhci_host *host) > +{ > + if (!host->mmc || !(host->mmc->flags & MMC_UHS2_SUPPORT)) !host->mmc is not possible > + return; > + > + SDHCI_UHS2_DUMP("==================== UHS2 ==================\n"); > + SDHCI_UHS2_DUMP("Blk Size: 0x%08x | Blk Cnt: 0x%08x\n", > + sdhci_readw(host, SDHCI_UHS2_BLOCK_SIZE), > + sdhci_readl(host, SDHCI_UHS2_BLOCK_COUNT)); > + SDHCI_UHS2_DUMP("Cmd: 0x%08x | Trn mode: 0x%08x\n", > + sdhci_readw(host, SDHCI_UHS2_COMMAND), > + sdhci_readw(host, SDHCI_UHS2_TRANS_MODE)); > + SDHCI_UHS2_DUMP("Int Stat: 0x%08x | Dev Sel : 0x%08x\n", > + sdhci_readw(host, SDHCI_UHS2_DEV_INT_STATUS), > + sdhci_readb(host, SDHCI_UHS2_DEV_SELECT)); > + SDHCI_UHS2_DUMP("Dev Int Code: 0x%08x\n", > + sdhci_readb(host, SDHCI_UHS2_DEV_INT_CODE)); > + SDHCI_UHS2_DUMP("Reset: 0x%08x | Timer: 0x%08x\n", > + sdhci_readw(host, SDHCI_UHS2_SW_RESET), > + sdhci_readw(host, SDHCI_UHS2_TIMER_CTRL)); > + SDHCI_UHS2_DUMP("ErrInt: 0x%08x | ErrIntEn: 0x%08x\n", > + sdhci_readl(host, SDHCI_UHS2_ERR_INT_STATUS), > + sdhci_readl(host, SDHCI_UHS2_ERR_INT_STATUS_EN)); > + SDHCI_UHS2_DUMP("ErrSigEn: 0x%08x\n", > + sdhci_readl(host, SDHCI_UHS2_ERR_INT_SIG_EN)); > +} > +EXPORT_SYMBOL_GPL(sdhci_uhs2_dump_regs); > > /*****************************************************************************\ > * * > diff --git a/drivers/mmc/host/sdhci-uhs2.h b/drivers/mmc/host/sdhci-uhs2.h > index 5610affebdf3..afdb05d6056b 100644 > --- a/drivers/mmc/host/sdhci-uhs2.h > +++ b/drivers/mmc/host/sdhci-uhs2.h > @@ -207,4 +207,8 @@ > #define SDHCI_UHS2_EMBED_CTRL 0xE6 > #define SDHCI_UHS2_VENDOR 0xE8 > > +struct sdhci_host; > + > +void sdhci_uhs2_dump_regs(struct sdhci_host *host); > + > #endif /* __SDHCI_UHS2_H */ > diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c > index fef03de85b99..2cdd183c8ada 100644 > --- a/drivers/mmc/host/sdhci.c > +++ b/drivers/mmc/host/sdhci.c > @@ -110,6 +110,9 @@ void sdhci_dumpregs(struct sdhci_host *host) > } > } > > + if (host->ops->dump_uhs2_regs) > + host->ops->dump_uhs2_regs(host); > + > if (host->ops->dump_vendor_regs) > host->ops->dump_vendor_regs(host); >
Hi, Adrian On Wed, Nov 2, 2022 at 1:13 AM Adrian Hunter <adrian.hunter@intel.com> wrote: > > On 19/10/22 14:06, Victor Shih wrote: > > From: AKASHI Takahiro <takahiro.akashi@linaro.org> > > > > Dump UHS-II specific registers, if available, in sdhci_dumpregs() > > for informative/debugging use. > > > > Signed-off-by: Ben Chuang <ben.chuang@genesyslogic.com.tw> > > Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> > > --- > > drivers/mmc/host/sdhci-uhs2.c | 30 ++++++++++++++++++++++++++++++ > > drivers/mmc/host/sdhci-uhs2.h | 4 ++++ > > drivers/mmc/host/sdhci.c | 3 +++ > > 3 files changed, 37 insertions(+) > > > > diff --git a/drivers/mmc/host/sdhci-uhs2.c b/drivers/mmc/host/sdhci-uhs2.c > > index f29d3a4ed43c..08905ed081fb 100644 > > --- a/drivers/mmc/host/sdhci-uhs2.c > > +++ b/drivers/mmc/host/sdhci-uhs2.c > > @@ -18,6 +18,36 @@ > > #define DRIVER_NAME "sdhci_uhs2" > > #define DBG(f, x...) \ > > pr_debug(DRIVER_NAME " [%s()]: " f, __func__, ## x) > > +#define SDHCI_UHS2_DUMP(f, x...) \ > > + pr_err("%s: " DRIVER_NAME ": " f, mmc_hostname(host->mmc), ## x) > > + > > +void sdhci_uhs2_dump_regs(struct sdhci_host *host) > > +{ > > + if (!host->mmc || !(host->mmc->flags & MMC_UHS2_SUPPORT)) > > !host->mmc is not possible > I will update it in the patch#9 of the new [PATCH V6]. > > + return; > > + > > + SDHCI_UHS2_DUMP("==================== UHS2 ==================\n"); > > + SDHCI_UHS2_DUMP("Blk Size: 0x%08x | Blk Cnt: 0x%08x\n", > > + sdhci_readw(host, SDHCI_UHS2_BLOCK_SIZE), > > + sdhci_readl(host, SDHCI_UHS2_BLOCK_COUNT)); > > + SDHCI_UHS2_DUMP("Cmd: 0x%08x | Trn mode: 0x%08x\n", > > + sdhci_readw(host, SDHCI_UHS2_COMMAND), > > + sdhci_readw(host, SDHCI_UHS2_TRANS_MODE)); > > + SDHCI_UHS2_DUMP("Int Stat: 0x%08x | Dev Sel : 0x%08x\n", > > + sdhci_readw(host, SDHCI_UHS2_DEV_INT_STATUS), > > + sdhci_readb(host, SDHCI_UHS2_DEV_SELECT)); > > + SDHCI_UHS2_DUMP("Dev Int Code: 0x%08x\n", > > + sdhci_readb(host, SDHCI_UHS2_DEV_INT_CODE)); > > + SDHCI_UHS2_DUMP("Reset: 0x%08x | Timer: 0x%08x\n", > > + sdhci_readw(host, SDHCI_UHS2_SW_RESET), > > + sdhci_readw(host, SDHCI_UHS2_TIMER_CTRL)); > > + SDHCI_UHS2_DUMP("ErrInt: 0x%08x | ErrIntEn: 0x%08x\n", > > + sdhci_readl(host, SDHCI_UHS2_ERR_INT_STATUS), > > + sdhci_readl(host, SDHCI_UHS2_ERR_INT_STATUS_EN)); > > + SDHCI_UHS2_DUMP("ErrSigEn: 0x%08x\n", > > + sdhci_readl(host, SDHCI_UHS2_ERR_INT_SIG_EN)); > > +} > > +EXPORT_SYMBOL_GPL(sdhci_uhs2_dump_regs); > > > > /*****************************************************************************\ > > * * > > diff --git a/drivers/mmc/host/sdhci-uhs2.h b/drivers/mmc/host/sdhci-uhs2.h > > index 5610affebdf3..afdb05d6056b 100644 > > --- a/drivers/mmc/host/sdhci-uhs2.h > > +++ b/drivers/mmc/host/sdhci-uhs2.h > > @@ -207,4 +207,8 @@ > > #define SDHCI_UHS2_EMBED_CTRL 0xE6 > > #define SDHCI_UHS2_VENDOR 0xE8 > > > > +struct sdhci_host; > > + > > +void sdhci_uhs2_dump_regs(struct sdhci_host *host); > > + > > #endif /* __SDHCI_UHS2_H */ > > diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c > > index fef03de85b99..2cdd183c8ada 100644 > > --- a/drivers/mmc/host/sdhci.c > > +++ b/drivers/mmc/host/sdhci.c > > @@ -110,6 +110,9 @@ void sdhci_dumpregs(struct sdhci_host *host) > > } > > } > > > > + if (host->ops->dump_uhs2_regs) > > + host->ops->dump_uhs2_regs(host); > > + > > if (host->ops->dump_vendor_regs) > > host->ops->dump_vendor_regs(host); > > > Thanks, Victor Shih
diff --git a/drivers/mmc/host/sdhci-uhs2.c b/drivers/mmc/host/sdhci-uhs2.c index f29d3a4ed43c..08905ed081fb 100644 --- a/drivers/mmc/host/sdhci-uhs2.c +++ b/drivers/mmc/host/sdhci-uhs2.c @@ -18,6 +18,36 @@ #define DRIVER_NAME "sdhci_uhs2" #define DBG(f, x...) \ pr_debug(DRIVER_NAME " [%s()]: " f, __func__, ## x) +#define SDHCI_UHS2_DUMP(f, x...) \ + pr_err("%s: " DRIVER_NAME ": " f, mmc_hostname(host->mmc), ## x) + +void sdhci_uhs2_dump_regs(struct sdhci_host *host) +{ + if (!host->mmc || !(host->mmc->flags & MMC_UHS2_SUPPORT)) + return; + + SDHCI_UHS2_DUMP("==================== UHS2 ==================\n"); + SDHCI_UHS2_DUMP("Blk Size: 0x%08x | Blk Cnt: 0x%08x\n", + sdhci_readw(host, SDHCI_UHS2_BLOCK_SIZE), + sdhci_readl(host, SDHCI_UHS2_BLOCK_COUNT)); + SDHCI_UHS2_DUMP("Cmd: 0x%08x | Trn mode: 0x%08x\n", + sdhci_readw(host, SDHCI_UHS2_COMMAND), + sdhci_readw(host, SDHCI_UHS2_TRANS_MODE)); + SDHCI_UHS2_DUMP("Int Stat: 0x%08x | Dev Sel : 0x%08x\n", + sdhci_readw(host, SDHCI_UHS2_DEV_INT_STATUS), + sdhci_readb(host, SDHCI_UHS2_DEV_SELECT)); + SDHCI_UHS2_DUMP("Dev Int Code: 0x%08x\n", + sdhci_readb(host, SDHCI_UHS2_DEV_INT_CODE)); + SDHCI_UHS2_DUMP("Reset: 0x%08x | Timer: 0x%08x\n", + sdhci_readw(host, SDHCI_UHS2_SW_RESET), + sdhci_readw(host, SDHCI_UHS2_TIMER_CTRL)); + SDHCI_UHS2_DUMP("ErrInt: 0x%08x | ErrIntEn: 0x%08x\n", + sdhci_readl(host, SDHCI_UHS2_ERR_INT_STATUS), + sdhci_readl(host, SDHCI_UHS2_ERR_INT_STATUS_EN)); + SDHCI_UHS2_DUMP("ErrSigEn: 0x%08x\n", + sdhci_readl(host, SDHCI_UHS2_ERR_INT_SIG_EN)); +} +EXPORT_SYMBOL_GPL(sdhci_uhs2_dump_regs); /*****************************************************************************\ * * diff --git a/drivers/mmc/host/sdhci-uhs2.h b/drivers/mmc/host/sdhci-uhs2.h index 5610affebdf3..afdb05d6056b 100644 --- a/drivers/mmc/host/sdhci-uhs2.h +++ b/drivers/mmc/host/sdhci-uhs2.h @@ -207,4 +207,8 @@ #define SDHCI_UHS2_EMBED_CTRL 0xE6 #define SDHCI_UHS2_VENDOR 0xE8 +struct sdhci_host; + +void sdhci_uhs2_dump_regs(struct sdhci_host *host); + #endif /* __SDHCI_UHS2_H */ diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index fef03de85b99..2cdd183c8ada 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c @@ -110,6 +110,9 @@ void sdhci_dumpregs(struct sdhci_host *host) } } + if (host->ops->dump_uhs2_regs) + host->ops->dump_uhs2_regs(host); + if (host->ops->dump_vendor_regs) host->ops->dump_vendor_regs(host);