Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.35 Remove upstreamed patches: bcm27xx/patches-6.12/950-0961-media-imx335-Use-correct-register-width-for-HNUM.patch [1] bcm27xx/patches-6.12/950-1003-drivers-media-i2c-imx335-Fix-frame-size-enumeration.patch [2] gemini/patches-6.12/0001-net-ethernet-cortina-Use-TOE-TSO-on-all-TCP.patch [3] generic/backport-6.12/300-v6.16-mips-Add-std-flag-specified.patch [4] mvebu/patches-6.12/0004-v6.16-pinctrl-armada-37xx-propagate-error-from-armada_37xx.patch [5] mvebu/patches-6.12/0005-v6.16-pinctrl-armada-37xx-propagate-error-from-armada_37xx.patch [6] mvebu/patches-6.12/0006-v6.16-pinctrl-armada-37xx-propagate-error-from-armada_37xx.patch [7] mvebu/patches-6.12/0007-v6.16-pinctrl-armada-37xx-propagate-error-from-armada_37xx.patch [8] Manually rebased patches: bcm27xx/patches-6.12/950-0392-fbdev-Allow-client-to-request-a-particular-dev-fbN-n.patch [9] All other patches are automatically refreshed. [1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.35&id=b93864e0865f235a791e69dc9ef4f896e559ef77 [2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.35&id=1f78790d988c9d55cf8d4b4d511d4b3e38ecb81d [3] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.35&id=2bd434bb0eeb680c2b3dd6c68ca319b30cb8d47f [4] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.35&id=6dbda47fe8bd6aa978c150bc9d321a286d2cc3f4 [5] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.35&id=2cd2022c38fa26257cc6eec100ae122de9c1541c [6] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.35&id=133f17922b3dbae44fe583fb898b92b03558a657 [7] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.35&id=aefe45843ea667366e35df4fcfef5ff9051a86c9 [8] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.35&id=461d5a73ae45fbe6c300a6e64600f9792684eb52 [9] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.35&id=3f2098f4fba7718eb2501207ca6e99d22427f25a Signed-off-by: Shiji Yang <yangshiji66@outlook.com> Link: https://github.com/openwrt/openwrt/pull/19249 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
58 lines
2 KiB
Diff
58 lines
2 KiB
Diff
From f13ea6520720768a421b3e0dffd590f487b7a387 Mon Sep 17 00:00:00 2001
|
|
From: Jonathan Bell <jonathan@raspberrypi.com>
|
|
Date: Tue, 26 Mar 2024 13:39:47 +0000
|
|
Subject: [PATCH] drivers: mmc: add debugfs entries for SD extension registers
|
|
|
|
Also report the card's supported queue depth in the message log.
|
|
|
|
Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
|
|
---
|
|
drivers/mmc/core/mmc.c | 4 ++--
|
|
drivers/mmc/core/sd.c | 9 ++++++---
|
|
2 files changed, 8 insertions(+), 5 deletions(-)
|
|
|
|
--- a/drivers/mmc/core/mmc.c
|
|
+++ b/drivers/mmc/core/mmc.c
|
|
@@ -1915,8 +1915,8 @@ static int mmc_init_card(struct mmc_host
|
|
host->cqe_enabled = true;
|
|
|
|
if (card->ext_csd.cmdq_en) {
|
|
- pr_info("%s: Command Queue Engine enabled\n",
|
|
- mmc_hostname(host));
|
|
+ pr_info("%s: Command Queue Engine enabled, %u tags\n",
|
|
+ mmc_hostname(host), card->ext_csd.cmdq_depth);
|
|
} else {
|
|
host->hsq_enabled = true;
|
|
pr_info("%s: Host Software Queue enabled\n",
|
|
--- a/drivers/mmc/core/sd.c
|
|
+++ b/drivers/mmc/core/sd.c
|
|
@@ -726,7 +726,8 @@ MMC_DEV_ATTR(oemid, "0x%04x\n", card->ci
|
|
MMC_DEV_ATTR(serial, "0x%08x\n", card->cid.serial);
|
|
MMC_DEV_ATTR(ocr, "0x%08x\n", card->ocr);
|
|
MMC_DEV_ATTR(rca, "0x%04x\n", card->rca);
|
|
-
|
|
+MMC_DEV_ATTR(ext_perf, "%02x\n", card->ext_perf.feature_support);
|
|
+MMC_DEV_ATTR(ext_power, "%02x\n", card->ext_power.feature_support);
|
|
|
|
static ssize_t mmc_dsr_show(struct device *dev, struct device_attribute *attr,
|
|
char *buf)
|
|
@@ -788,6 +789,8 @@ static struct attribute *sd_std_attrs[]
|
|
&dev_attr_ocr.attr,
|
|
&dev_attr_rca.attr,
|
|
&dev_attr_dsr.attr,
|
|
+ &dev_attr_ext_perf.attr,
|
|
+ &dev_attr_ext_power.attr,
|
|
NULL,
|
|
};
|
|
|
|
@@ -1523,8 +1526,8 @@ cont:
|
|
host->cqe_enabled = true;
|
|
|
|
if (card->ext_csd.cmdq_en) {
|
|
- pr_info("%s: Command Queue Engine enabled\n",
|
|
- mmc_hostname(host));
|
|
+ pr_info("%s: Command Queue Engine enabled, %u tags\n",
|
|
+ mmc_hostname(host), card->ext_csd.cmdq_depth);
|
|
} else {
|
|
host->hsq_enabled = true;
|
|
pr_info("%s: Host Software Queue enabled\n",
|