Dipen Patel
e7c8a70f65
drivers: Add GTE support
...
The CL adds GTE driver support in OOT. The driver is copied from nvidia
directory in dev-main with below changes.
- Added removable module support
This driver as module is needed as per the oot development requirement.
Bug 3583612
Change-Id: I2772078fb96e1b172e45befe643b4c7c569866d9
Signed-off-by: Dipen Patel <dipenp@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2706260
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-12-07 23:57:14 -08:00
Mohan Kumar
c9217a1b82
ASoC: tegra: Fix build for Linux v6.1
...
Upstream Linux kernel commit 3989ade2d1e7 ("ASoC: soc.h: remove
num_cpus/codecs") removes the 'num_cpus' member from the
'snd_soc_pcm_runtime' structure because this is also available under the
dai_link structure. This breaks building the Tegra ASoC drivers for
Linux v6.1 and so update the Tegra ASoC drivers to align the latest
mainline.
Bug 3772918
Bug 3890034
Change-Id: If436222ec9e9a97acf82d50c5f9ce80e08ca1f1c
Signed-off-by: Mohan Kumar <mkumard@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2819691
Reviewed-by: Sameer Pujar <spujar@nvidia.com >
Reviewed-by: Sharad Gupta <sharadg@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-12-07 01:54:06 -08:00
Mohan Kumar D
c40a2c13e2
Revert "Revert "dt-bindings: tegra: fix DSPK dummy dai macro""
...
This reverts commit fcd7b7c1c8 .
Reason for revert: Fixed the build issue on sidecar branch
Bug 3772918
Change-Id: I1cbeb1e974d8a6872faf4f54ace00940058e4edc
Signed-off-by: Mohan Kumar <mkumard@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2819604
Reviewed-by: Sameer Pujar <spujar@nvidia.com >
Reviewed-by: Sharad Gupta <sharadg@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-12-07 01:54:00 -08:00
Mohan Kumar D
f9d418aa6a
Revert "Revert "ASoC: tegra: Single cpu multi codec dai support""
...
This reverts commit 43ae0060cd .
Reason for revert: Fixed the build issue on sidecar branch
Bug 3772918
Change-Id: Ib02496f93fe79aec04f3b5b1c78a5681b1e56819
Signed-off-by: Mohan Kumar <mkumard@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2819603
Reviewed-by: Sameer Pujar <spujar@nvidia.com >
Reviewed-by: Sharad Gupta <sharadg@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-12-07 01:53:53 -08:00
Frank Chen
3c67831fe8
media: camera: fix driver errors for kstable
...
Fix CDI and ISC driver errors when building for kstable (6.0.0)
Bug 3831575
Change-Id: Ie37be0dbe9c579ec396006fb466125b1e7e77e3f
Signed-off-by: Frank Chen <frankc@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2821524
Reviewed-by: Igor Mitsyanko <imitsyanko@nvidia.com >
Reviewed-by: Justin Kim (SW-TEGRA) <juskim@nvidia.com >
Reviewed-by: Shiva Dubey <sdubey@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-12-06 04:52:19 -08:00
Akhil R
185c92d6dd
arm64: tegra: Add -@ to get __symbols__ node in DT
...
Add DT Flag '-@' to get __symbols__ node in device tree.
The symbols node is required when subsequent overlays are
applied.
Bug 3847762
Signed-off-by: Akhil R <akhilrajeev@nvidia.com >
Change-Id: I549d509740b7c6d99b14f0f79e4648c496bc1852
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2819167
Tested-by: Sameer Pujar <spujar@nvidia.com >
Reviewed-by: svcacv <svcacv@nvidia.com >
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-12-06 04:44:38 -08:00
Jon Hunter
1e04890051
nvethernet: Fix build for Linux v5.14 and v5.17+
...
The nvethernet driver fails to build for Linux v5.14 and Linux v5.17+
kernels. In Linux v5.15 the return type of the get/set_coalesce
callbacks were updated. In Linux v5.17 the parameters for the
get/set_ringparam callbacks were updated. In Linux v6.1 the
weight parameter for the netif_napi_add() function was removed and the
function netif_napi_add_weight() was added for passing the weight
parameter. Add the necessary kernel version checks to ensure that the
drivers build with the different versions of the Linux kernel.
Bug 3793131
Signed-off-by: Jon Hunter <jonathanh@nvidia.com >
Change-Id: I56738eddd27eb4ebf7db5a2d0d031a64379482e8
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2820712
Reviewed-by: Revanth Kumar Uppala <ruppala@nvidia.com >
Reviewed-by: Bibek Basu <bbasu@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-12-05 20:45:48 -08:00
Jon Hunter
dc420b6a6d
video: camera: Fix rtcpu build for Linux v5.14
...
The RTCPU driver fails to build with Linux v5.14 as an out-of-tree
module because the return type of the bus_type remove callback is int
and not void. Make the necessary changes to allow the RTCPU driver to
build for Linux v5.14+ kernels.
Bug 3820317
Change-Id: I127d9ff2ae12901f85374e3e8feabc77e0d17407
Signed-off-by: Jon Hunter <jonathanh@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2820711
Reviewed-by: Matti Ryttylainen <mryttylainen@nvidia.com >
Reviewed-by: Bibek Basu <bbasu@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-12-05 20:45:44 -08:00
Hareesh Kesireddy
32b805cab1
nvethernet: remove unnecessary ioctls
...
- Removed IPV4/IPV6/TCP/UDP ioctls.
- Added support for single L3L4 ioctl which supports all of the above.
Bug 3825731
Change-Id: Iae3cee595258abf8c908dae5a214d9da9bc8ae80
Signed-off-by: Hareesh Kesireddy <hkesireddy@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2819351
Reviewed-by: Narayan Reddy <narayanr@nvidia.com >
Reviewed-by: Ashutosh Jha <ajha@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-12-05 20:41:29 -08:00
Prasun Kumar
46bc09119b
nvethernet: Fix HSI Err Rpt Inj
...
Update nvethernet for HSI Err Rpt Inj
Bug 3877863
Signed-off-by: Prasun Kumar <prasunk@nvidia.com >
Change-Id: I6171742d2ba1c55be971069643ead713e7f5c439
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2819005
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-12-05 20:36:52 -08:00
Praveen James
dbf323fcd0
fsicom: update hsp timeout value
...
- updated tx timeout for hsp to 5 ms
JIRA SS-4192
JIRA SS-4628
Bug 3855033
Change-Id: Idfa47ab5944f202854a9f6aa4e0ac606c531a682
Signed-off-by: Rahul Bedarkar <rabedarkar@nvidia.com >
Signed-off-by: Praveen James <pjames@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2819745
Reviewed-by: svcacv <svcacv@nvidia.com >
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-12-01 18:18:25 -08:00
Prashant Kumar Shaw
d3d5025a1c
fsicom: updated memory unmap
...
- add support to unmap the previously mapped memory
- updated the data structure to store the dma pointer in
user space
- taking dma buf pointer from user space while unmapping
JIRA SS-4006
JIRA SS-4628
Bug 3855033
Change-Id: I8ca71d11076b64af33c32e6e30c7c056828fbf75
Signed-off-by: Rahul Bedarkar <rabedarkar@nvidia.com >
Signed-off-by: Prashant Kumar Shaw <pshaw@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2819744
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-12-01 18:18:20 -08:00
Prashant Kumar Shaw
f6d27d0561
FSICOM: IOVA per client kernel changes
...
- IOCTL datatype and call added for sending IOVA,
offset and channel id data to FSI
JIRA SS-3385
JIRA SS-4628
Bug 3855033
Change-Id: I1212913a7ede879108800a68eafbe8240211572b
Signed-off-by: Rahul Bedarkar <rabedarkar@nvidia.com >
Signed-off-by: Prashant Kumar Shaw <pshaw@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2819743
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-12-01 18:18:16 -08:00
Rahul Bedarkar
6a69011d7c
tegra-fsicom: Implement PM ops
...
Initiate handshake with FSI by sending signal to NvFsiCom daemon on
system resume.
JIRA SS-3761
This patch is integrated from kernel/nvidia to kernel/nvidia-oot
https://git-master.nvidia.com/r/c/linux-nvidia/+/2720391
JIRA SS-4628
Bug 3855033
Change-Id: I08221f94248c39998df856ae3e254e02b2803985
Signed-off-by: Rahul Bedarkar <rabedarkar@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2819742
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-12-01 18:18:11 -08:00
Matti Ryttylainen
dd109353df
video: camera: Modify rtcpu modules for OOT tree
...
This patch modifies rtcpu modules to use new ivc headers,
resolves cyclic dependencies between the modules,
reduces the amount of modules built by linking them together
and fixes other minor issues encountered with K5.15
Change-Id: I9cf2672df08ffe6c4b8aea9ac21d6cc50a92bb4e
Signed-off-by: Matti Ryttylainen <mryttylainen@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2787121
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com >
Reviewed-by: Ankur Pawar <ankurp@nvidia.com >
Reviewed-by: Semi Malinen <smalinen@nvidia.com >
Reviewed-by: Pekka Pessi <ppessi@nvidia.com >
Reviewed-by: Frank Chen <frankc@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-12-01 11:00:42 -08:00
Frank Chen
304123a3bf
video: camera: Port RTCPU drivers to OOT tree
...
Port RTCPU drivers from kernel/nvidia to kernel/nvidia-oot.
In addition to copying the files this patch:
1) Modifies make files to build rtcpu drivers as modules
2) Modifies licenses of all ported files to SPDX
3) Adds MODULE_LICENSE macro to all modules
4) Removes checks for old kernel versions and the dead code after those checks
5) Fixes style errors according to checkpatch.pl
Change-Id: If64296a22ce958e5326c7509cb69f8f7154f598e
Signed-off-by: Frank Chen <frankc@nvidia.com >
Signed-off-by: Matti Ryttylainen <mryttylainen@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2783040
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com >
Reviewed-by: Ankur Pawar <ankurp@nvidia.com >
Reviewed-by: Semi Malinen <smalinen@nvidia.com >
Reviewed-by: Pekka Pessi <ppessi@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-12-01 11:00:35 -08:00
Armandeep Singh
43ae0060cd
Revert "ASoC: tegra: Single cpu multi codec dai support"
...
This reverts commit dc9fe67430 .
Reason for revert: Causing GVS build failure
Change-Id: I7d021a38792cb928461ef4acc1f9f8443b9ede8d
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2819363
Tested-by: Armandeep Singh <armandeeps@nvidia.com >
Reviewed-by: Armandeep Singh <armandeeps@nvidia.com >
2022-11-30 17:34:53 -08:00
Armandeep Singh
fcd7b7c1c8
Revert "dt-bindings: tegra: fix DSPK dummy dai macro"
...
This reverts commit 62dbefc85b .
Reason for revert: Causing GVS build failure
Change-Id: I1d93164f5aad3d349fa0ecb133d857fdcfcf59dc
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2819362
Tested-by: Armandeep Singh <armandeeps@nvidia.com >
Reviewed-by: Armandeep Singh <armandeeps@nvidia.com >
2022-11-30 17:34:40 -08:00
Vishwaroop A
78ef37abb0
spi: tegra210-quad: enable qspi controller driver
...
Enable QSPI controller driver for kernel-OOT
Change based on below commits:
[UPSTREAM v5.16] 134a7237 spi: tegra210-quad: Put device into suspend on driver removal
[UPSTREAM v5.17] f89d2cc3 spi: tegra210-quad: use devm call for cdata memory
[UPSTREAM v5.18] 47c3e06e spi: tegra210-quad: Fix missin IRQ check in tegra qspi probe
[UPSTREAM v5.18] ac982578 spi: tegra210-quad: use device reset method
[UPSTREAM v5.18] ea23f0e1 spi: tegra210-quad: add new chips to compatible
[UPSTREAM v5.18] 75a1b44a spi: tegra210-quad: add acpi support
[UPSTREAM v5.18] 1b8342cc spi: tegra210-quad: combined sequence mode
[UPSTREAM v6.0] b7613417 spi: tegra210-quad: Multi-cs support
[UPSTREAM v6.1] 8777dd9d spi: tegra210-quad: Fix combined sequence
[UPSTREAM PENDING] spi: tegra210-quad: Fix duplicate resource error
[UPSTREAM PENDING] spi: tegra210-quad: Use nbits in combined seq
[UPSTREAM PENDING] spi: tegra210-quad: combined seq for 4READ
[UPSTREAM PENDING] spi: tegra210-quad: native dma support
[UPSTREAM v6.1] spi: tegra210-quad: Don't initialise DMA if not supported
[UPSTREAM PENDING] spi: tegra210-quad: Fix cs change in cmd sequence
665a990fdbea6 spi: tegra210-quad: Fix an error message
6a8a8b51703c6 spi: tegra210-quad: Add support for hardware dummy cycles transfer
921fc1838fb03 spi: tegra210-quad: Add support for Tegra210 QSPI controller
Change-Id: I372ba5556b50457d41b1ba09364ed9c71659e520
Signed-off-by: Vishwaroop A <va@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2817463
Reviewed-by: Krishna Yarlagadda <kyarlagadda@nvidia.com >
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-11-30 10:44:08 -08:00
Mihir Pradeep Garude
a60be47521
nvidia-oot: Add oot support for maxim seralizer
...
This change adds oot supports for maxim seralizer driver.
JIRA TDS-11357
Change-Id: I630b8fc8c30fa1a8050668530f480940493c48bf
Signed-off-by: Mihir Pradeep Garude <mgarude@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2812152
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
2022-11-30 10:42:20 -08:00
Mohan Kumar
62dbefc85b
dt-bindings: tegra: fix DSPK dummy dai macro
...
Fix the DSPK DUMMY macro value as driver now supports
single cpu multiple codec dais
Bug 3772918
Change-Id: Id970db1bc80d210e7bc8e9b687556abeae2683a9
Signed-off-by: Mohan Kumar <mkumard@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/tegra/+/2805825
(cherry picked from commit 289d19d9bb13b423218aaaeae26750dce3706463)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2815762
Reviewed-by: Sameer Pujar <spujar@nvidia.com >
Reviewed-by: Sharad Gupta <sharadg@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-11-30 06:24:22 -08:00
Mohan Kumar
dc9fe67430
ASoC: tegra: Single cpu multi codec dai support
...
Add driver support for single cpu dai connected to multiple
codec dai.
Tested on Concord board with one DSPK cpu dai connected to
two TAS2552 codec dai present on Super-io module connected
to 40 pin header.
Bug 3772918
Change-Id: I6cf33c2a4736dc27a44b5db136ebabe88f55ab65
Signed-off-by: Mohan Kumar <mkumard@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-5.10/+/2795021
(cherry picked from commit 8e2485e8ff53581acb4aa6fae739114490c77238)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2815755
Reviewed-by: Sameer Pujar <spujar@nvidia.com >
Reviewed-by: Sharad Gupta <sharadg@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-11-30 06:24:18 -08:00
Kartik
1cd9efe47d
nvidia: oot: Enable upstream fuse helper functions
...
Enable the use of fuse helper functions defined in fuse-helper header:
kernel/nvidia/include/soc/tegra/fuse-helper.h
These helper functions use the upstream fuse driver.
Bug 3777983
Change-Id: I33c12a1468ddfbed5e17a626a73ccf93e908f34b
Signed-off-by: Kartik <kkartik@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2810945
Reviewed-by: svcacv <svcacv@nvidia.com >
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com >
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-11-30 06:17:20 -08:00
Hareesh Kesireddy
db62bc86bb
nvethernet: update l3l4 filter handling
...
Modified l3l4 filter ioctls based on corresponding osi changes.
Bug 3576506
Bug 3825731
Change-Id: Id9a4ce263f3526e4c5a357d74f9d55ebb59fef29
Signed-off-by: Hareesh Kesireddy <hkesireddy@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2803367
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
2022-11-30 06:17:02 -08:00
Joshua Cha
fdbb8a0e96
nvsciipc: add nvsciipc to kernel-oot
...
nvsciipc driver shall be added to oot driver list
so as to use hv-ivc.h header file.
Bug 3861841
Change-Id: I1884fba6ec497ec23680217c70e44f7a251ebfaa
Signed-off-by: Joshua Cha <joshuac@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2815697
Reviewed-by: Manish Bhardwaj <mbhardwaj@nvidia.com >
Reviewed-by: Kurt Yi <kyi@nvidia.com >
Reviewed-by: Suresh Venkatachalam <skathirampat@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-11-30 00:00:04 -08:00
Nagarjuna Kristam
7e6a8f88f6
pcie: edma: Fix CERT issues
...
Fix CERT L2 issues.
Fixed CID's are 436308, 441509, 428257, 369367, 452877, 431183, 337589.
Bug 3798243
Bug 3877429
Change-Id: I672fb272e5c1ca3d3d67213412b18f58b5a6cef9
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2776714
(cherry picked from commit aad3f73328e78744fa56f68914074656a0915917)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2815930
Reviewed-by: Manikanta Maddireddy <mmaddireddy@nvidia.com >
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-11-29 04:17:32 -08:00
Manikanta Maddireddy
ca5d1bdfbe
PCI: edma_test: Fix UBSAN error due to overflow
...
Stress count is of type u32, large value of stress count is overflowing
to channel number in priv variable. Define priv as u64 and store channel
number after 32-bits.
Bug 3682571
Bug 3877429
Change-Id: I981cee442da298e967837262b4d63657373af1e2
Signed-off-by: Manikanta Maddireddy <mmaddireddy@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2759479
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2815929
Reviewed-by: Nagarjuna Kristam <nkristam@nvidia.com >
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
Tested-by: Nagarjuna Kristam <nkristam@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-11-29 04:17:27 -08:00
Manikanta Maddireddy
ca4a540fa4
PCI: Fix invalid cookie pointer
...
Invalid ccokie pointer is passed to tegra_pcie_edma_deinit(),
this is causing kernel BUG during remove. Pass correct cookie
pointer to fix this issue.
Bug 3731327
Bug 3877429
Change-Id: I477375ea8fab602ae144367c37b38cf34174f4c5
Signed-off-by: Manikanta Maddireddy <mmaddireddy@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2756657
(cherry picked from commit 4b07d745cfec95a93ef1f33e256a9ea747d8b8d8)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2815928
Reviewed-by: Nagarjuna Kristam <nkristam@nvidia.com >
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
Tested-by: Nagarjuna Kristam <nkristam@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-11-29 04:17:23 -08:00
Manikanta Maddireddy
319fa69bd5
PCI: Add data integrity check for PCIe DMA
...
Add CRC check after PCIe DMA to verify data integrity.
Bug 3636902
Bug 3868928
Change-Id: If497ce769571c6c837acbfbbb64b2242dfabef26
Signed-off-by: Manikanta Maddireddy <mmaddireddy@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2718787
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2720336
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2815927
Reviewed-by: Nagarjuna Kristam <nkristam@nvidia.com >
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
Tested-by: Nagarjuna Kristam <nkristam@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-11-29 04:17:18 -08:00
Nagarjuna Kristam
b26885400f
pcie: EDMA: fix EDMA init condition.
...
EDMA library needs to be initialized if there is change in EDMA
channel config or when cookie is NULL. Set the condition accordingly.
Bug 3622706
Bug 3877429
Change-Id: If919752cce08e203aa9d0b501f26f2e00b523575
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2717246
(cherry picked from commit 7434fc757e6c4b23aeb91b73f8e2a62f080c6d24)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2815926
Reviewed-by: Manikanta Maddireddy <mmaddireddy@nvidia.com >
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-11-29 04:17:14 -08:00
Nagarjuna Kristam
2b9e2da317
PCI: tegra: edmatest: use stop edma API for abort
...
Use tegra_pcie_edma_stop() API to perform abort testing.
Bug 3626323
Bug 3868928
Change-Id: Idc90b8ab2836ab535414cc1bd8b99bfda508d129
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2708632
(cherry picked from commit d7fc5eebce85ac670a1a62d38c1572ff5a679258)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2815925
Reviewed-by: Manikanta Maddireddy <mmaddireddy@nvidia.com >
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-11-29 04:17:08 -08:00
Nagarjuna Kristam
0c594b0c0b
PCI: tegra: Add stop edma support
...
Add support for tegra_pcie_edma_stop to stop EDMA engine and abort
any queued transfers. Once EDMA is stopped, any new transfer submits
will fail.
Bug 3626323
Bug 3868928
Change-Id: Id0e0a662f366e7b2b4d82465a9424037636ffd9c
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2708631
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2815924
Reviewed-by: Manikanta Maddireddy <mmaddireddy@nvidia.com >
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-11-29 04:17:01 -08:00
Revanth Kumar Uppala
59a116a6f8
rtl8822ce: Integrate driver with nvidia tree
...
Bug 3750163
Change-Id: I4378d6c2e105fa2d7f2d969866e9c3557ae1ff29
Signed-off-by: Revanth Kumar Uppala <ruppala@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2814817
Reviewed-by: Narayan Reddy <narayanr@nvidia.com >
Reviewed-by: Sushil Kumar Singh <sushilkumars@nvidia.com >
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-11-29 04:12:33 -08:00
Shobek Attupurath
37d1d67c60
rtl8822ce: Update to _v5.9.0.3e_nv for k-5.15
...
Update driver to _v5.9.0.3e_nv for k-5.15
Version: v5.9.0.3e_nv-16-g319d9877b.20221101_COEX20200103-0000
Bug 3750163
Change-Id: Ic6b689c100b7e14215793be26943fa46964fc89b
Signed-off-by: Shobek Attupurath <sattupurath@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2814784
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
Tested-by: Revanth Kumar Uppala <ruppala@nvidia.com >
Reviewed-by: Revanth Kumar Uppala <ruppala@nvidia.com >
Reviewed-by: Narayan Reddy <narayanr@nvidia.com >
Reviewed-by: Sushil Kumar Singh <sushilkumars@nvidia.com >
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
2022-11-29 04:12:28 -08:00
Revanth Kumar Uppala
599d993c3d
rtl8822ce: Porting Base driver from K5.10
...
Porting Base K5.10 driver to K5.15
Version: v5.9.0.3e_nv-1-gdafe03f15.20220505_COEX20200103-1717
Bug 3750163
Change-Id: I5c46db2976addff08a73bd31dafd84c093702545
Signed-off-by: Revanth Kumar Uppala <ruppala@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2814761
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
Reviewed-by: Narayan Reddy <narayanr@nvidia.com >
Reviewed-by: Sushil Kumar Singh <sushilkumars@nvidia.com >
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
2022-11-29 04:12:23 -08:00
Revanth Kumar Uppala
729793fc3b
nvethernet: Change registers naming convention.
...
Follow registers naming conventions similar to
upstream DT
Bug 3793131
Change-Id: I6c64294d7c55e3f78e5dddb007db31bdbbef63a4
Signed-off-by: Revanth Kumar Uppala <ruppala@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2809191
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
2022-11-29 04:06:27 -08:00
Revanth Kumar Uppala
e37e03efd9
nvethernet: Enable nvethernet driver support
...
Enable nvethernet driver support for K5.15
Bug 3793131
Change-Id: I2a6d46c9173ea633931308c34e950b404f54796d
Signed-off-by: Revanth Kumar Uppala <ruppala@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2801126
Reviewed-by: Bhadram Varka <vbhadram@nvidia.com >
Reviewed-by: Mohan Thadikamalla <mohant@nvidia.com >
Reviewed-by: Narayan Reddy <narayanr@nvidia.com >
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-11-29 04:06:17 -08:00
Mohan Thadikamalla
d0ac6d4396
nvethernet: Update status counters using ioctls
...
Issue:
TSN, extra, packet error stats counters
are not getting updated during virtualization,
as NVEQOS reads them from the VF OSI core structure.
Fix:
Add new ioctls to update these counters from
the ethernet server OSI core to
the VF OSI core structure.
Bug 3763499
Change-Id: I6e82f9756afe0c2f1adefb5a2449fad479864ea6
Signed-off-by: Mohan Thadikamalla <mohant@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2809358
(cherry picked from commit ab043869fb9b1feb197496d4695b333845689e5e)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2815774
Reviewed-by: Bhadram Varka <vbhadram@nvidia.com >
Reviewed-by: Revanth Kumar Uppala <ruppala@nvidia.com >
Reviewed-by: Narayan Reddy <narayanr@nvidia.com >
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
Tested-by: Revanth Kumar Uppala <ruppala@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-11-29 04:06:13 -08:00
Bhadram Varka
61f908bce9
nvethernet: use updated init API
...
osi_hw_core_init updated by removing not needed arguments
Bug 3787316
Change-Id: I71230fcbac11e911fe24cfcdef20a131bb1c2ade
Signed-off-by: Bhadram Varka <vbhadram@nvidia.com >
(cherry picked from commit 6027a30d9780678bdbd7f3f947f8e31adf8d0f1f)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2808751
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
Tested-by: Revanth Kumar Uppala <ruppala@nvidia.com >
Reviewed-by: Revanth Kumar Uppala <ruppala@nvidia.com >
Reviewed-by: Mohan Thadikamalla <mohant@nvidia.com >
Reviewed-by: Narayan Reddy <narayanr@nvidia.com >
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
2022-11-29 04:06:08 -08:00
Sanath Kumar Gampa
6c7d05d9bb
nvethernet: Address review comments on HSI changes
...
Bug 3590939
Change-Id: Id7bf154880a8f566a9807a3c3c7c210766d48c03
Signed-off-by: Sanath Kumar Gampa <sgampa@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2801131
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2806411
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
Tested-by: Revanth Kumar Uppala <ruppala@nvidia.com >
Reviewed-by: Revanth Kumar Uppala <ruppala@nvidia.com >
Reviewed-by: Bhadram Varka <vbhadram@nvidia.com >
Reviewed-by: Mohan Thadikamalla <mohant@nvidia.com >
Reviewed-by: Narayan Reddy <narayanr@nvidia.com >
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
2022-11-29 04:06:03 -08:00
Revanth Kumar Uppala
7fc04f1749
BT: Add bluedroid_pm driver support for K5.15.
...
Bug 3750163
Change-Id: I7747bbcc8192cb1302e6650af24cade048cf5a0f
Signed-off-by: Revanth Kumar Uppala <ruppala@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2765115
Reviewed-by: Shobek Attupurath <sattupurath@nvidia.com >
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-11-29 04:03:38 -08:00
Joseph Lo
12dfceef12
sod: tegra: fuse: Fix the offset of FUSE_OPT_WAFER_ID
...
The offset of FUSE_OPT_WAFER_ID should be 0x110.
Bug 3830967
Change-Id: I84a5e82f134d1ed792b28bd0ab41b6fd33431749
Signed-off-by: Joseph Lo <josephl@nvidia.com >
(cherry picked from commit 834cfe5fefafee2464298c8ba7998802aeded1ea)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2810786
Reviewed-by: Bibek Basu <bbasu@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-11-24 18:13:45 -08:00
Mikko Perttunen
f4a3e6b49a
gpu: host1x-fence: Add pollfd support
...
Add support for pollfds, which are essentially file descriptors
with SYNC_FILE polling characteristics but that can have new
fences assigned to after the previous expires.
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com >
Change-Id: I6471720089041d3cc72dfaf2d1de221d80d28c27
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2806032
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-11-24 18:08:56 -08:00
Vishnu Mandalapu
c6a9a40f1f
tegra: virt: hvc: sysfs
...
- Create new sysfs files based on trace buffer name.
Jira HYP-11997
Jira HYP-12629
Change-Id: I2461dcf22dd2ca8ff574a681390257c02750615d
Signed-off-by: Vishnu Mandalapu <vmandalapu@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2795855
Reviewed-by: svcacv <svcacv@nvidia.com >
Reviewed-by: Manish Bhardwaj <mbhardwaj@nvidia.com >
Reviewed-by: Vipin Kumar <vipink@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-11-24 18:06:08 -08:00
Frank Chen
968c9df390
media: camera: Build ISC as OOT module
...
Convert automotive ISC kernel driver to OOT module.
Jira CAMERASW-7592
Change-Id: I0a81b58df941ef38bf0fb3226086e13b6d68d012
Signed-off-by: Frank Chen <frankc@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2811344
Reviewed-by: Justin Kim (SW-TEGRA) <juskim@nvidia.com >
Reviewed-by: Shiva Dubey <sdubey@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-11-24 11:22:23 -08:00
Manish Bhardwaj
c126c2ee93
mttcan: fix kernel compilation warnings
...
Using this patch we are fixing below kernel compilation
warnings.
nvidia-oot/drivers/net/can/mttcan/native/m_ttcan_linux.c:
In function 'mttcan_tx_complete':
nvidia-oot/drivers/net/can/mttcan/native/m_ttcan_linux.c
:619:3: warning: ignoring return value of 'can_get_echo_skb',
declared with attribute warn_unused_result [-Wunused-result]
can_get_echo_skb(dev, msg_no, 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bug 3832874
Signed-off-by: Manish Bhardwaj <mbhardwaj@nvidia.com >
Change-Id: I38426d44a479eb7f87f911985bcaabc96b6b1aa1
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2811270
Reviewed-by: svcacv <svcacv@nvidia.com >
Reviewed-by: Shubhi Garg <shgarg@nvidia.com >
Reviewed-by: Sandeep Trasi <strasi@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-11-22 11:57:40 -08:00
Suresh Venkatachalam
3daf6e0d8c
virt: tegra: port vcpu yield to oot kernel
...
add support for tegra_hv_vcpu_yield driver in oot kernel
JIRA ESLC-7041
Change-Id: I29b60ab141fb98be62614062ebf7a4214b812c87
Signed-off-by: Suresh Venkatachalam <skathirampat@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2810680
Reviewed-by: Manish Bhardwaj <mbhardwaj@nvidia.com >
Reviewed-by: Bharath H S <bhs@nvidia.com >
Reviewed-by: Sandeep Trasi <strasi@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-11-18 15:19:42 -08:00
Abhilash G
edc5ed31aa
drivers: debug: Print DT node name during boot
...
Bug 3860578
Change-Id: I03290657d6a0fad019b1b5126dea0d091769cc45
Signed-off-by: Abhilash G <abhilashg@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2808727
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-11-18 15:18:40 -08:00
Manish Bhardwaj
9408892331
mttcan: fix kernel compilation warnings
...
Using this patch we are fixing below kernel compilation
warnings.
out/linux/arm64-defconfig-jetson-modules/nvidia-oot/drivers
/net/can/mttcan/native/m_ttcan_linux.c: In function 'mttcan_start_xmit':
/mlt/kernel/include/linux/stddef.h:8:14: warning: passing argument 4 of
'can_put_echo_skb' makes integer from pointer without a cast
[-Wint-conversion]
#define NULL ((void *)0)
Bug 3832874
Change-Id: I2aa565f37494f6af39a43b389ea3e1ad7775ed44
Signed-off-by: Manish Bhardwaj <mbhardwaj@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2809373
Reviewed-by: Sandeep Trasi <strasi@nvidia.com >
Reviewed-by: svcacv <svcacv@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-11-15 11:29:11 -08:00
Laxman Dewangan
7f81325068
t234: Move tegra234 DTS/DTSI files to hardware/nvidia
...
Move DTS and DTSI files of Tegra234 to the /hardware/nvidia
respective folders part of DTS/DTSI re-organisation and
independent of nvidia-oot.
Following are movement:
hardware/nvidia/soc/generic-dts/t23x
tegra234-soc-base.dtsi
tegra234-soc-display-overlay.dtsi
tegra234-soc-overlay.dtsi
tegra234-audio-dai-links-overlay.dtsi
hardware/nvidia/platform/t23x/concord/dts/generic-dts
tegra234-carveouts.dts
tegra234-jetson.dts
tegra234-dcb-p3737-0000-p3701-0000.dtsi
tegra234-p3701-0000-overlay.dtsi
tegra234-p3737-0000+p3701-0000-overlay.dts
tegra234-p3737-0000-overlay.dtsi
tegra234-sbsa-uart.dts
hardware/nvidia/platform/t23x/firespray/dts/generic-dts
tegra234-p3710-0010-a01-linux-native.dts
tegra234-p3710-0010-a04-linux-native.dts
tegra234-p3710-0020-a01-linux-native.dts
Bug 3523182
Change-Id: Ibdecf2fee4a392d9f462405eb229f0984b82ad07
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2808093
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-11-15 11:27:57 -08:00