Nagarjuna Kristam
0f2a737b8a
linux: pcie-dma: Update calibration info for DMA init API
...
Add calibration details of register used by DMA driver.
Bug 4635515
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com >
Change-Id: I4621184cbff919b73b990cd62543404367d8df8d
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3341775
Reviewed-by: Manikanta Maddireddy <mmaddireddy@nvidia.com >
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
2025-07-24 10:19:18 +00:00
Jon Hunter
23e3912ef7
PCI: tegra264: Fix build issues using conftest
...
The Tegra264 PCIe drivers don't build for kernels that don't have:
1. The structure mrq_pcie_request_req defined
2. The function pci_epc_deinit_notify() present
This is currently being handling by building a dummy driver for kernels
that don't have these. To simplify this, use conftest to detect if the
above are present and modify the Tegra264 PCIe driver accordingly if
they are not present. By using conftest we can remove the Makefile
variable 'NV_OOT_PCIE_T264_SOC_SKIP_BUILD' and ccflag
'DNV_CONFIG_PCIE_TEGRA_DMA_DISABLE'.
Finally, the PCIe drivers are always built as modules so simplify the
Makefile and remove the usage of 'CONFIG_TEGRA_OOT_MODULE'.
Bug 4911768
Change-Id: Id282497b8607a732b5e6c90e1e7c1436589a0b5f
Signed-off-by: Jon Hunter <jonathanh@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3245592
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
2025-07-24 10:19:16 +00:00
Nagarjuna Kristam
b13657daac
pci: tegra-pcie-dma: Remove Remote, read and sync from ICD
...
There are no use cases for Remote DMA or Read channel support or
SYNC mode support. Remove these fields from ICD.
JIRA NET-2663
Change-Id: I18a4cb54da5e3c1535231f746afa9b1886776667
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3310943
Reviewed-by: Manikanta Maddireddy <mmaddireddy@nvidia.com >
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
2025-07-24 10:19:16 +00:00
Nagarjuna Kristam
8237e3463b
pci: private-soc: dma: Update ICD documentation
...
- Add Direction and Usage info.
- Add links for API's and data fields.
- Correct info for API's and data structure comments.
JIRA NET-2663
Change-Id: I541157713070372a0487ae7879a165436be4fe26
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3292839
Reviewed-by: Manikanta Maddireddy <mmaddireddy@nvidia.com >
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
2025-07-24 10:19:15 +00:00
Laxman Dewangan
b4c6c5f2a4
tegra-pcie-dma: Disable CONFIG_PCIE_TEGRA_DMA for non-supported kernel
...
Disable CONFIG_PCIE_TEGRA_DMA for few kernel like jammy-src, stable and
rhivos-1 where PCIE_TEGRA_DMA is not supported.
Bug 4911768
Change-Id: I4c3a379a2bc9facff2744ae83300f3e12587ec17
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3237170
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
2025-07-24 10:19:09 +00:00
Manikanta Maddireddy
3b4ea40773
PCI: Define CONFIG_PCIE_TEGRA_DMA option
...
Enable CONFIG_PCIE_TEGRA_DMA to support Tegra PCIe generic DMA driver.
Bug 4712065
Change-Id: I061268d023234fe395ab01cd8a2cf523252dfd52
Signed-off-by: Manikanta Maddireddy <mmaddireddy@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3237169
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
Tested-by: Laxman Dewangan <ldewangan@nvidia.com >
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com >
2025-07-24 10:19:09 +00:00
Nagarjuna Kristam
19f9a6939a
linux: pcie: Add MSI vector macros
...
Define MSI read, write and CRC vector macros.
Bug 4779415
Change-Id: Icc6ac9c6b765ca9bfe01e7026381f9ec2052e0d0
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3186457
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
Reviewed-by: Manikanta Maddireddy <mmaddireddy@nvidia.com >
2024-08-05 12:27:25 -07:00
Manikanta Maddireddy
82e2f7b2d5
PCI: Add common PCIe DMA header file to support T234 and T264
...
To use DMA in PCIe EP function driver and client driver support common
PCIe DMA header file. This header supports T234 and T264 SoCs.
Bug 4549851
Change-Id: I08d60d5c8bbd89de37b6749571eaf1b81442df28
Signed-off-by: Manikanta Maddireddy <mmaddireddy@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3123176
Reviewed-by: Bibek Basu <bbasu@nvidia.com >
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
Reviewed-by: Nagarjuna Kristam <nkristam@nvidia.com >
2024-05-04 16:43:09 -07:00