787dd7221d
Why I did it Add platform support for Debian 12 (Bookworm) on Mellanox Platform How I did it Update hw-management to v7.0030.2008 Deprecate the sfp_count == module_count approach in favour of asic init completion Ref: Mellanox/hw-mgmt@bf4f593 Add xxd package to base image which is required by hw-management scripts Add the non-upstream flag into linux kernel cache options Update the thermalctl logic based on new sysfs attributes Fix the integrate-mlnx-hw-mgmt script to not populate the arm64 Kconfig How to verify it Build kernel and run platform tests Signed-off-by: Vivek Reddy <vkarri@nvidia.com> Co-authored-by: Junchao-Mellanox <junchao@nvidia.com> Co-authored-by: Junchao-Mellanox <57339448+Junchao-Mellanox@users.noreply.github.com>
41 lines
1.3 KiB
Diff
41 lines
1.3 KiB
Diff
From b7b422bbd95928b213444692d5b00ef081160c0b Mon Sep 17 00:00:00 2001
|
|
From: Liming Sun <limings@nvidia.com>
|
|
Date: Sat, 10 Dec 2022 13:55:54 -0500
|
|
Subject: [PATCH backport 6.1.42 66/85] UBUNTU: SAUCE: sdhci-of-dwcmshc: Enable
|
|
host V4 support for BlueField-3 SoC
|
|
|
|
BugLink: https://bugs.launchpad.net/bugs/1999309
|
|
|
|
This commit enables SDHCI Host V4 support on Bluefield-3 SoC to be
|
|
consistent with UEFI setting.
|
|
|
|
Signed-off-by: Liming Sun <limings@nvidia.com>
|
|
Acked-by: Tim Gardner <tim.gardner@canonical.com>
|
|
Acked-by: Bartlomiej Zolnierkiewicz <bartlomiej.zolnierkiewicz@canonical.com>
|
|
[bzolnier: use a short URL version for BugLink]
|
|
Signed-off-by: Bartlomiej Zolnierkiewicz <bartlomiej.zolnierkiewicz@canonical.com>
|
|
---
|
|
drivers/mmc/host/sdhci-of-dwcmshc.c | 6 ++++++
|
|
1 file changed, 6 insertions(+)
|
|
|
|
diff --git a/drivers/mmc/host/sdhci-of-dwcmshc.c b/drivers/mmc/host/sdhci-of-dwcmshc.c
|
|
index a7343d4bc50e..a1188508e75d 100644
|
|
--- a/drivers/mmc/host/sdhci-of-dwcmshc.c
|
|
+++ b/drivers/mmc/host/sdhci-of-dwcmshc.c
|
|
@@ -528,6 +528,12 @@ static int dwcmshc_probe(struct platform_device *pdev)
|
|
goto err_clk;
|
|
}
|
|
|
|
+#ifdef CONFIG_ACPI
|
|
+ if (pltfm_data == &sdhci_dwcmshc_bf3_pdata) {
|
|
+ sdhci_enable_v4_mode(host);
|
|
+ }
|
|
+#endif
|
|
+
|
|
host->mmc->caps |= MMC_CAP_WAIT_WHILE_BUSY;
|
|
|
|
err = sdhci_setup_host(host);
|
|
--
|
|
2.20.1
|
|
|