misc: Drop PCIE error reporting for Linux 6.6

Drop pcie error reporting call as it is not exported
on Linux 6.6.

---
commit 7ec4b34be4234599cf1241ef807cdb7c3636f6fe
Author: Bjorn Helgaas <bhelgaas@google.com>
Date:   Mon Jul 10 18:21:36 2023 -0500

    PCI/AER: Unexport pci_enable_pcie_error_reporting()

---

Bug 4346767

Change-Id: I0b8f924df1ac74c5f2b4973fb4a4d7f157d2c2cc
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3008089
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Laxman Dewangan
2023-11-01 06:51:08 +00:00
committed by mobile promotions
parent b8ed894279
commit ecf1a5a7a3
4 changed files with 9 additions and 0 deletions

View File

@@ -46,6 +46,9 @@ subdir-ccflags-y += -DNV_V4L2_ASYNC_MATCH_FWNODE_RENAME
# Rename async_nf_init and v4l2_async_subdev_nf_register # Rename async_nf_init and v4l2_async_subdev_nf_register
subdir-ccflags-y += -DNV_V4L2_ASYNC_NF_SUBDEVICE_INIT_RENAME subdir-ccflags-y += -DNV_V4L2_ASYNC_NF_SUBDEVICE_INIT_RENAME
# Deprecate PCIED Error reporting pci_enable_pcie_error_reporting
subdir-ccflags-y += -DNV_DROP_PCIE_ERROR_REPORTING
endif endif
ifeq ($(CONFIG_TEGRA_VIRTUALIZATION),y) ifeq ($(CONFIG_TEGRA_VIRTUALIZATION),y)

View File

@@ -350,7 +350,9 @@ nvscic2c_pcie_epc_probe(struct pci_dev *pdev,
ret = pcim_enable_device(pdev); ret = pcim_enable_device(pdev);
if (ret) if (ret)
goto err_enable_device; goto err_enable_device;
#if !defined(NV_DROP_PCIE_ERROR_REPORTING)
pci_enable_pcie_error_reporting(pdev); pci_enable_pcie_error_reporting(pdev);
#endif
pci_set_master(pdev); pci_set_master(pdev);
ret = pci_request_region(pdev, 0, MODULE_NAME); ret = pci_request_region(pdev, 0, MODULE_NAME);
if (ret) if (ret)

View File

@@ -170,7 +170,9 @@ static int ep_test_dma_probe(struct pci_dev *pdev,
return ret; return ret;
} }
#if !defined(NV_DROP_PCIE_ERROR_REPORTING)
pci_enable_pcie_error_reporting(pdev); pci_enable_pcie_error_reporting(pdev);
#endif
pci_set_master(pdev); pci_set_master(pdev);

View File

@@ -749,7 +749,9 @@ static int tvnet_host_probe(struct pci_dev *pdev,
goto free_netdev; goto free_netdev;
} }
#if !defined(NV_DROP_PCIE_ERROR_REPORTING)
pci_enable_pcie_error_reporting(pdev); pci_enable_pcie_error_reporting(pdev);
#endif
/* /*
* In CPU memory write case, skb->data buffer is copied to dst in BAR. * In CPU memory write case, skb->data buffer is copied to dst in BAR.