e286869b24
- Why I did it 1. Update Mellanox HW-MGMT package to newer version V.7.0030.1011 2. Replace the SONiC PMON Thermal control algorithm with the one inside the HW-MGMT package on all Nvidia platforms 3. Support Spectrum-4 systems - How I did it 1. Update the HW-MGMT package version number and submodule pointer 2. Remove the thermal control algorithm implementation from Mellanox platform API 3. Revise the patch to HW-MGMT package which will disable HW-MGMT from running on SIMX 4. Update the downstream kernel patch list Signed-off-by: Kebo Liu <kebol@nvidia.com>
28 lines
928 B
Diff
28 lines
928 B
Diff
From 5a6717305bc0ee08d08dc27f8f3415c4bb1c34c3 Mon Sep 17 00:00:00 2001
|
|
From: Felix Radensky <fradensky@nvidia.com>
|
|
Date: Sun, 20 Nov 2022 15:25:58 +0200
|
|
Subject: [PATCH backport 5.10 59/63] regmap: debugfs: Enable writing to the
|
|
regmap debugfs registers
|
|
|
|
Signed-off-by: Felix Radensky <fradensky@nvidia.com>
|
|
---
|
|
drivers/base/regmap/regmap-debugfs.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/drivers/base/regmap/regmap-debugfs.c b/drivers/base/regmap/regmap-debugfs.c
|
|
index 211a335a6..ee3cccaf5 100644
|
|
--- a/drivers/base/regmap/regmap-debugfs.c
|
|
+++ b/drivers/base/regmap/regmap-debugfs.c
|
|
@@ -290,7 +290,7 @@ static ssize_t regmap_map_read_file(struct file *file, char __user *user_buf,
|
|
count, ppos);
|
|
}
|
|
|
|
-#undef REGMAP_ALLOW_WRITE_DEBUGFS
|
|
+#define REGMAP_ALLOW_WRITE_DEBUGFS
|
|
#ifdef REGMAP_ALLOW_WRITE_DEBUGFS
|
|
/*
|
|
* This can be dangerous especially when we have clients such as
|
|
--
|
|
2.20.1
|
|
|