mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
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:
committed by
mobile promotions
parent
b8ed894279
commit
ecf1a5a7a3
3
Makefile
3
Makefile
@@ -46,6 +46,9 @@ subdir-ccflags-y += -DNV_V4L2_ASYNC_MATCH_FWNODE_RENAME
|
||||
|
||||
# Rename async_nf_init and v4l2_async_subdev_nf_register
|
||||
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
|
||||
|
||||
ifeq ($(CONFIG_TEGRA_VIRTUALIZATION),y)
|
||||
|
||||
@@ -350,7 +350,9 @@ nvscic2c_pcie_epc_probe(struct pci_dev *pdev,
|
||||
ret = pcim_enable_device(pdev);
|
||||
if (ret)
|
||||
goto err_enable_device;
|
||||
#if !defined(NV_DROP_PCIE_ERROR_REPORTING)
|
||||
pci_enable_pcie_error_reporting(pdev);
|
||||
#endif
|
||||
pci_set_master(pdev);
|
||||
ret = pci_request_region(pdev, 0, MODULE_NAME);
|
||||
if (ret)
|
||||
|
||||
@@ -170,7 +170,9 @@ static int ep_test_dma_probe(struct pci_dev *pdev,
|
||||
return ret;
|
||||
}
|
||||
|
||||
#if !defined(NV_DROP_PCIE_ERROR_REPORTING)
|
||||
pci_enable_pcie_error_reporting(pdev);
|
||||
#endif
|
||||
|
||||
pci_set_master(pdev);
|
||||
|
||||
|
||||
@@ -749,7 +749,9 @@ static int tvnet_host_probe(struct pci_dev *pdev,
|
||||
goto free_netdev;
|
||||
}
|
||||
|
||||
#if !defined(NV_DROP_PCIE_ERROR_REPORTING)
|
||||
pci_enable_pcie_error_reporting(pdev);
|
||||
#endif
|
||||
|
||||
/*
|
||||
* In CPU memory write case, skb->data buffer is copied to dst in BAR.
|
||||
|
||||
Reference in New Issue
Block a user