[OS-BUILD PATCH] redhat/configs: Enable & consolidate BF-3 drivers
config
by Luiz Capitulino (via Email Bridge)
From: Luiz Capitulino <luizcap(a)redhat.com>
redhat/configs: Enable & consolidate BF-3 drivers config
We're enabling Bluefield-3 for RHEL, therefore this commit enables BF-3 drivers
for both RHEL and Fedora.
Before this commit:
o Drivers enabled only in Fedora: gpio-mlxbf3, pinctrl-mlxbf3, pwr-mlxbf,
sdhci-of-dwcmshc
o Drivers disabled in both: mlxbf-pmc
After this commit:
o All drivers are enabled for RHEL and Fedora on ARM64-only
A few notes:
o With the exception of sdhci-of-dwcmshc all drivers are ARM64-only.
Since this is the only known usage of sdhci-of-dwcmshc, keep it
enabled only for ARM64
o Build tested with tag kernel-6.8.0-63 since current os-build
(2f0232a693b35b) is not building for me
Signed-off-by: Luiz Capitulino <luizcap(a)redhat.com>
diff --git a/redhat/configs/common/generic/CONFIG_MLXBF_PMC b/redhat/configs/common/generic/CONFIG_MLXBF_PMC
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/common/generic/CONFIG_MLXBF_PMC
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_MLXBF_PMC is not set
diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_GPIO_MLXBF3 b/redhat/configs/common/generic/arm/aarch64/CONFIG_GPIO_MLXBF3
rename from redhat/configs/fedora/generic/arm/aarch64/CONFIG_GPIO_MLXBF3
rename to redhat/configs/common/generic/arm/aarch64/CONFIG_GPIO_MLXBF3
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_GPIO_MLXBF3
+++ b/redhat/configs/common/generic/arm/aarch64/CONFIG_GPIO_MLXBF3
diff --git a/redhat/configs/common/generic/arm/aarch64/CONFIG_MLXBF_PMC b/redhat/configs/common/generic/arm/aarch64/CONFIG_MLXBF_PMC
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/arm/aarch64/CONFIG_MLXBF_PMC
@@ -0,0 +1 @@
+CONFIG_MLXBF_PMC=m
diff --git a/redhat/configs/common/generic/arm/aarch64/CONFIG_MMC_SDHCI_OF_DWCMSHC b/redhat/configs/common/generic/arm/aarch64/CONFIG_MMC_SDHCI_OF_DWCMSHC
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/arm/aarch64/CONFIG_MMC_SDHCI_OF_DWCMSHC
@@ -0,0 +1 @@
+CONFIG_MMC_SDHCI_OF_DWCMSHC=m
diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_PINCTRL_MLXBF3 b/redhat/configs/common/generic/arm/aarch64/CONFIG_PINCTRL_MLXBF3
rename from redhat/configs/fedora/generic/arm/aarch64/CONFIG_PINCTRL_MLXBF3
rename to redhat/configs/common/generic/arm/aarch64/CONFIG_PINCTRL_MLXBF3
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_PINCTRL_MLXBF3
+++ b/redhat/configs/common/generic/arm/aarch64/CONFIG_PINCTRL_MLXBF3
diff --git a/redhat/configs/fedora/generic/CONFIG_POWER_MLXBF b/redhat/configs/common/generic/arm/aarch64/CONFIG_POWER_MLXBF
rename from redhat/configs/fedora/generic/CONFIG_POWER_MLXBF
rename to redhat/configs/common/generic/arm/aarch64/CONFIG_POWER_MLXBF
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/CONFIG_POWER_MLXBF
+++ b/redhat/configs/common/generic/arm/aarch64/CONFIG_POWER_MLXBF
diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_MLXBF_PMC b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_MLXBF_PMC
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_MLXBF_PMC
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_MLXBF_PMC is not set
diff --git a/redhat/configs/rhel/generic/CONFIG_GPIO_MLXBF3 b/redhat/configs/rhel/generic/CONFIG_GPIO_MLXBF3
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/rhel/generic/CONFIG_GPIO_MLXBF3
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_GPIO_MLXBF3 is not set
diff --git a/redhat/configs/rhel/generic/CONFIG_PINCTRL_MLXBF3 b/redhat/configs/rhel/generic/CONFIG_PINCTRL_MLXBF3
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/rhel/generic/CONFIG_PINCTRL_MLXBF3
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_PINCTRL_MLXBF3 is not set
diff --git a/redhat/configs/rhel/generic/CONFIG_POWER_MLXBF b/redhat/configs/rhel/generic/CONFIG_POWER_MLXBF
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/rhel/generic/CONFIG_POWER_MLXBF
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_POWER_MLXBF is not set
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2991