summaryrefslogtreecommitdiffstats
path: root/0001-be2iscsi-remove-unsupported-device-IDs.patch
diff options
context:
space:
mode:
authorJeremy Cline <jcline@redhat.com>2020-04-23 16:47:21 -0400
committerJeremy Cline <jcline@redhat.com>2020-04-23 16:47:21 -0400
commitd1b6f8c7af0eb9a0a44b2d4723e58dde5eafa236 (patch)
tree842b7a6410c2572bc8c1643196f83d2e19d80e1e /0001-be2iscsi-remove-unsupported-device-IDs.patch
parent4f478aae8055f932b9a8fdd88d93db6b9da5709e (diff)
downloadkernel-d1b6f8c7af0eb9a0a44b2d4723e58dde5eafa236.tar.gz
kernel-d1b6f8c7af0eb9a0a44b2d4723e58dde5eafa236.tar.xz
kernel-d1b6f8c7af0eb9a0a44b2d4723e58dde5eafa236.zip
kernel-5.7.0-0.rc2.20200423git7adc4b399952.1
* Thu Apr 23 2020 CKI@GitLab <cki-project@redhat.com> [5.7.0-0.rc2.20200423git7adc4b399952.1] - 7adc4b399952 rebase - Match template format in kernel.spec.template ("Justin M. Forbes") - Break out the Patches into individual files for dist-git ("Justin M. Forbes") - Break the Red Hat patch into individual commits (Jeremy Cline) - Adjust module filtering so CONFIG_DRM_DP_CEC can be set (Jeremy Cline) - Add a script to generate release tags and branches (Jeremy Cline) - Set CONFIG_VDPA for fedora ("Justin M. Forbes") - Provide defaults in ark-rebase-patches.sh (Jeremy Cline) - Default ark-rebase-patches.sh to not report issues (Jeremy Cline) Resolves: rhbz# Signed-off-by: Jeremy Cline <jcline@redhat.com>
Diffstat (limited to '0001-be2iscsi-remove-unsupported-device-IDs.patch')
-rw-r--r--0001-be2iscsi-remove-unsupported-device-IDs.patch71
1 files changed, 71 insertions, 0 deletions
diff --git a/0001-be2iscsi-remove-unsupported-device-IDs.patch b/0001-be2iscsi-remove-unsupported-device-IDs.patch
new file mode 100644
index 000000000..ef9659f58
--- /dev/null
+++ b/0001-be2iscsi-remove-unsupported-device-IDs.patch
@@ -0,0 +1,71 @@
+From 7d89e4813e600130cdb17404ead39e017e45f416 Mon Sep 17 00:00:00 2001
+From: Chris Leech <cleech@redhat.com>
+Date: Thu, 2 Jan 2020 14:24:43 -0500
+Subject: [PATCH] be2iscsi: remove unsupported device IDs
+
+Message-id: <20180503194032.1461134-1-cleech@redhat.com>
+Patchwork-id: 212454
+O-Subject: [RHEL8 PATCH e-stor] scsi: be2iscsi: remove unsupported device IDs
+Bugzilla: 1574502
+RH-Acked-by: Maurizio Lombardi <mlombard@redhat.com>
+RH-Acked-by: Tom Coughlan <coughlan@redhat.com>
+RH-Acked-by: Ewan Milne <emilne@redhat.com>
+
+Bugzilla: 1574502
+Upstream Status: RHEL Specific
+Build Info: brew 15975638
+
+BladeEngine 2 generation devices are deprecated in RHEL 7
+and not supported in RHEL 8
+
+Signed-off-by: Chris Leech <cleech@redhat.com>
+Signed-off-by: Herton R. Krzesinski <herton@redhat.com>
+
+be2iscsi: remove BE3 family support
+
+Message-id: <1530890927-5792-1-git-send-email-mlombard@redhat.com>
+Patchwork-id: 223576
+O-Subject: [RHEL8 e-stor PATCH] be2iscsi: remove BE3 family support
+Bugzilla: 1598366
+RH-Acked-by: Tomas Henzl <thenzl@redhat.com>
+RH-Acked-by: Chris Leech <cleech@redhat.com>
+
+BZ: https://bugzilla.redhat.com/show_bug.cgi?id98366
+Brew: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID996775
+Upstream: RHEL-only, they tried to mark BE3 as unsupported
+ in upstream kernel but the patch has been rejected.
+ See: https://marc.info/?l=linux-scsi&m2835991600881&w=2
+
+Broadcom doesn't want to provide support for the BE3 device family
+in RHEL8.
+
+This patch removes the BE3's PCI-IDs.
+
+Upstream Status: RHEL only
+Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
+Signed-off-by: Herton R. Krzesinski <herton@redhat.com>
+---
+ drivers/scsi/be2iscsi/be_main.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c
+index 9b81cfbbc5c5..1ca08297939c 100644
+--- a/drivers/scsi/be2iscsi/be_main.c
++++ b/drivers/scsi/be2iscsi/be_main.c
+@@ -370,11 +370,13 @@ static int beiscsi_eh_device_reset(struct scsi_cmnd *sc)
+
+ /*------------------- PCI Driver operations and data ----------------- */
+ static const struct pci_device_id beiscsi_pci_id_table[] = {
++#ifndef CONFIG_RHEL_DIFFERENCES
+ { PCI_DEVICE(BE_VENDOR_ID, BE_DEVICE_ID1) },
+ { PCI_DEVICE(BE_VENDOR_ID, BE_DEVICE_ID2) },
+ { PCI_DEVICE(BE_VENDOR_ID, OC_DEVICE_ID1) },
+ { PCI_DEVICE(BE_VENDOR_ID, OC_DEVICE_ID2) },
+ { PCI_DEVICE(BE_VENDOR_ID, OC_DEVICE_ID3) },
++#endif
+ { PCI_DEVICE(ELX_VENDOR_ID, OC_SKH_ID1) },
+ { 0 }
+ };
+--
+2.26.0
+