kernel/kernel-modules/intel-ice/files/0002-rename-the-ddp-file-to-avoid-conflict.patch
Joao Pedro Alexandroni 3b3e97366d kmod-ice: rename the ddp file to avoid conflict
* qed_init_values_zipped-8.42.2.0.bin is required by
  QLogic FastLinQ 4xxxx Core Module qed 8.37.0.20, but
  it's not provided by linux-firmware-20190429-72.gitddde598.
  So linux-firmware need to be upgraded:
  20190429-72.gitddde598 -> 20200421-79.git78c0348

* But the new version also provides ice.pkg which conflicts
  with kmod-ice, so rename the ddp file in kmod-ice and ensure
  ice driver uses the correct firmware.

Test Plan:

PASS: boot on server with E800 NIC hardware and verify that
      correct ice comms ddp firmware is loaded (dmesg output).

Story: 2010046
Task: 45451

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Joao Pedro Alexandroni
<JoaoPedroAlexandroni.CordovadeSouza@windriver.com>
Change-Id: I5678e4cad85b001339e82ae00e803aa4beadbfc4
2022-05-23 11:18:45 -03:00

30 lines
976 B
Diff

From c446031820d75686d1c1dc7606154438d26bd9cc Mon Sep 17 00:00:00 2001
From: Jackie Huang <jackie.huang@windriver.com>
Date: Fri, 20 May 2022 03:23:25 -0400
Subject: [PATCH] rename the ddp file to avoid conflict
Rename the ddp file to avoid conflict with the one
provided by linux-firmware.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
src/ice_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ice_main.c b/src/ice_main.c
index 6a056a9..de7b5e5 100644
--- a/src/ice_main.c
+++ b/src/ice_main.c
@@ -46,7 +46,7 @@ static const char ice_copyright[] = "Copyright (C) 2018-2021, Intel Corporation.
#else /* UTS_UBUNTU_RELEASE_ABI */
#define ICE_DDP_PKG_PATH "intel/ice/ddp/"
#endif /* UTS_UBUNTU_RELEASE_ABI */
-#define ICE_DDP_PKG_FILE ICE_DDP_PKG_PATH "ice.pkg"
+#define ICE_DDP_PKG_FILE ICE_DDP_PKG_PATH "stx-ice.pkg"
MODULE_AUTHOR("Intel Corporation, <linux.nics@intel.com>");
MODULE_DESCRIPTION(DRV_SUMMARY);
--
2.29.2