From: Alaa Hleihel <ahleihel(a)redhat.com>
redhat/configs: Enable CONFIG_MLXBF_GIGE on aarch64
Bugzilla:
http://bugzilla.redhat.com/1858599
Upstream: RHEL-only
Build the mlxbf_gige driver on aarch64 systems for BlueField-2 systems.
The second generation BlueField SoC supports an out-of-band Gigabit
Ethernet management port to the Arm subsystem. This driver supports
TCP/IP network connectivity for that port, and provides back-end routines
to handle basic ethtool requests.
Signed-off-by: Alaa Hleihel <ahleihel(a)redhat.com>
diff --git a/redhat/configs/common/generic/CONFIG_MLXBF_GIGE
b/redhat/configs/common/generic/CONFIG_MLXBF_GIGE
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_MLXBF_GIGE
@@ -0,0 +1 @@
+# CONFIG_MLXBF_GIGE is not set
diff --git a/redhat/configs/common/generic/arm/aarch64/CONFIG_MLXBF_GIGE
b/redhat/configs/common/generic/arm/aarch64/CONFIG_MLXBF_GIGE
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/arm/aarch64/CONFIG_MLXBF_GIGE
@@ -0,0 +1 @@
+CONFIG_MLXBF_GIGE=m
diff --git a/redhat/configs/pending-common/generic/CONFIG_MLXBF_GIGE
b/redhat/configs/pending-common/generic/CONFIG_MLXBF_GIGE
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/pending-common/generic/CONFIG_MLXBF_GIGE
+++ /dev/null
@@ -1,21 +0,0 @@
-# CONFIG_MLXBF_GIGE:
-#
-# The second generation BlueField SoC from Mellanox Technologies
-# supports an out-of-band Gigabit Ethernet management port to the
-# Arm subsystem.
-#
-# Symbol: MLXBF_GIGE [=n]
-# Type : tristate
-# Defined at drivers/net/ethernet/mellanox/mlxbf_gige/Kconfig:6
-# Prompt: Mellanox Technologies BlueField Gigabit Ethernet support
-# Depends on: NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_MELLANOX
[=y] && (ARM64 [=y] && ACPI [=y] || COMPILE_TEST [=n])
-# Location:
-# -> Device Drivers
-# -> Network device support (NETDEVICES [=y])
-# -> Ethernet driver support (ETHERNET [=y])
-# -> Mellanox devices (NET_VENDOR_MELLANOX [=y])
-# Selects: PHYLIB [=y]
-#
-#
-#
-# CONFIG_MLXBF_GIGE is not set
diff --git a/redhat/configs/pending-fedora/generic/CONFIG_MLXBF_GIGE
b/redhat/configs/pending-fedora/generic/CONFIG_MLXBF_GIGE
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/pending-fedora/generic/CONFIG_MLXBF_GIGE
+++ /dev/null
@@ -1,21 +0,0 @@
-# CONFIG_MLXBF_GIGE:
-#
-# The second generation BlueField SoC from Mellanox Technologies
-# supports an out-of-band Gigabit Ethernet management port to the
-# Arm subsystem.
-#
-# Symbol: MLXBF_GIGE [=n]
-# Type : tristate
-# Defined at drivers/net/ethernet/mellanox/mlxbf_gige/Kconfig:6
-# Prompt: Mellanox Technologies BlueField Gigabit Ethernet support
-# Depends on: NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_MELLANOX
[=y] && (ARM64 [=y] && ACPI [=y] || COMPILE_TEST [=n])
-# Location:
-# -> Device Drivers
-# -> Network device support (NETDEVICES [=y])
-# -> Ethernet driver support (ETHERNET [=y])
-# -> Mellanox devices (NET_VENDOR_MELLANOX [=y])
-# Selects: PHYLIB [=y]
-#
-#
-#
-# CONFIG_MLXBF_GIGE is not set
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1222