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
Nagarjuna Kristam
e1f7bf59ed
PCI: EPF: dma-test: Use callback instead of notifier
...
EPF framework no longer supports notifers but supports callbacks instead.
Register callbacks for init and deinit.
Enable DMA test driver only if EP support is enabled.
Bug 3790460
Change-Id: Ic1e14cdc1a0bd80d49991b5f94713b705085825b
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2702389
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-11-15 11:19:59 -08:00
Mahesh Kumar
d8e47b9904
oot: Add bpmp-abi header to nvidia-oot
...
BPMP ABI latest header is not yet available in the upstream. but few of
the structs from the header are used by the display driver.
Bpmp_abi header will be upstream with the next BPMP upstream delivery.
To unblock oot work, this patch adds bpmp-abi.h file in nvidia-oot repo.
Note: This header must be removed once jammy-src gets the latest header
update.
Bug 3866724
Signed-off-by: Mahesh Kumar <mahkumar@nvidia.com >
Change-Id: Ieb1f610612674d3dbf427d27aa20887c671983cd
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2804280
Tested-by: Bitan Biswas <bbiswas@nvidia.com >
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
2022-11-14 02:47:33 -08:00
Laxman Dewangan
e4f3b51112
device-tree: Use TEGRA_TOP for hardware DT source
...
Use the TEGRA_TOP environment variable for getting the
path of hardware DT source. If it is not available then
use the TOP.
If TEGRA_TOP and TOP is not exported then report compilation
error.
Bug 3860258
Change-Id: I5c31f8861f795cec3b3bddb01621e3413d044454
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2807613
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
Reviewed-by: svcacv <svcacv@nvidia.com >
Tested-by: Bitan Biswas <bbiswas@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-11-12 16:34:35 -08:00
Laxman Dewangan
d875303e72
device-tree: Add makefile for making generic-dts
...
Add Makefile to make generic DTS files which are available
at hardware/nvidia/platform/*/generic-dts. These DTS are
mainline compliance.
Bug 3860258
Change-Id: I5e8218f7ee7f2ba192fe130ee983480b3c8ea413
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2804233
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
2022-11-11 09:57:43 -08:00
Akhil R
f6042cd2af
arm64: tegra: Add aliases for I2C controllers
...
Add aliases for I2C controllers so that the hardware instance
number matches with the software.
Bug 3583581
Signed-off-by: Akhil R <akhilrajeev@nvidia.com >
Change-Id: I75d939e0ccaf2339f951b28017b46d416d3adfac
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2806745
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
2022-11-10 16:52:59 -08:00
omar nemri
31e0d65743
nvidia-oot: dts: add DT nodes for PVA
...
add and enable PVA and its context devices
Bug 3583639
Change-Id: I80ca263a6ecc62eab7ee5dbb4d67af463c56dd60
Signed-off-by: omar nemri <onemri@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2793135
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
2022-11-10 11:51:08 -08:00
Ashish Mhetre
25074f2a0c
platform: tegra: Add OOT driver for MC utilities
...
Add mc-utils OOT module which is used by clients to get information
regarding MC and EMC parameters.
Bug 3826001
Change-Id: Ic03405bd1f6f6ba4bb11082c0e94c67e99cfbb6d
Signed-off-by: Ashish Mhetre <amhetre@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2805684
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
2022-11-10 07:07:07 -08:00
Prathamesh Shete
e6f189141d
nvidia-oot: dts: add DT node for SDMMC1 instance
...
Add and enable SDMMC1 DT node for T234
Change-Id: Ib8be4fd8b7f0cad1d6f0fb69e86b443e3c1d470b
Signed-off-by: Prathamesh Shete <pshete@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2805053
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
2022-11-10 07:05:32 -08:00
Manish Bhardwaj
3a2b0c6038
oot: switch hypervisor notification implementation
...
Using this patch we are switching to PCIe based MSI
implementation from IVC based implementation to
send notification to other endpoint of IVC.
JIRA ESLC-6885
Change-Id: Iba270ef4b0170a5a542c13a0c8efa58fd43226ab
Signed-off-by: Manish Bhardwaj <mbhardwaj@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2804390
Reviewed-by: svcacv <svcacv@nvidia.com >
Reviewed-by: Suresh Venkatachalam <skathirampat@nvidia.com >
Reviewed-by: Sandeep Trasi <strasi@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-11-10 07:03:53 -08:00
Laxman Dewangan
f31946e09e
device-tree: Keep legacy hardware/nvidia DTS file to legacy-dts
...
Move makefile which make the downstream dts from
hardware/nvidia/platform to the legacy-dts folder.
There will be another DTS build rule for making the generic-dts
files which are mainline compliant.
Bug 3860258
Change-Id: I94fea353112482274478178f9f42db9bb5292430
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2804232
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-11-09 11:29:15 -08:00
Laxman Dewangan
ee194b0505
device-tree: Make DTS from kernel-dts of hardware/nvidia
...
The folders hardware/nvidia/platform/t23x contains the platform
specific DTS and their makefiles are in kernel-dts. The DT binding
used in these DTS are deviated from upstream DT binding.
To add the DTS for platforms matching with the mainline
DT binding, it is required to compile only the legacy
DTS or new DTS.
Modify the makefile to compile DTS from kernel-dts folder
only which contains the legacy DTS.
Bug 3860258
Change-Id: I51866d18e0cd17edaf576f6632579c9999022042
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2804178
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-11-07 23:47:52 -08:00
Timo Alho
071c49bf11
tegra: clk: bpmp: add missing bpmp-abi.h definitions
...
Older kernels do not have new definitions for
BPMP_CLK_RATE_PARENT_CHANGE_DENIED and
BPMP_CLK_STATE_CHANGE_DENIED. To fix compile issues, add them directly
to clk-bpmp.c
Bug 3856746
Signed-off-by: Timo Alho <talho@nvidia.com >
Change-Id: Ibdaf0e8ccfe5feca3153a61c9e2f972136b94147
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2802621
Tested-by: Bitan Biswas <bbiswas@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com >
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
2022-11-04 16:28:03 -07:00
Prathamesh Shete
af9627ed14
nvidia-oot: dts: pinmux: Add pinmux DT node for T234
...
Add and enable pinmux DT node for T234.
The tegra-audio-pinmux-testsuite.sh fails with error
saying "Pinmux sysfs path not found".
Above failure is seen as pinmux driver is not enabled on OOT.
This change adds required pinmux DT node and enables it.
Bug 3839203
Change-Id: If465054f20ddfef2d82eb547d08e69f55f06e311
Signed-off-by: Prathamesh Shete <pshete@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2801702
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
2022-11-02 12:21:48 -07:00
Ashish Mhetre
2af0e64649
arm64: dts: Add smmu_test node
...
Add DT node for smmu_test in T234 DT overlay file which is used by
iova_range_check and smmu_benchmark tests
Bug 3821422
Change-Id: I532276a8ba097447114ce0911b6dfb3059a02ea9
Signed-off-by: Ashish Mhetre <amhetre@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2801144
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
2022-11-02 12:20:23 -07:00
Gerrit Code Review
227d6cb657
Merge "Merge remote-tracking branch 'origin/dev/ruppala/nvethernet' into dev-main" into dev-main
2022-11-02 12:20:04 -07:00
Rahul Bedarkar
1f45d1e993
Remove tegra-epl driver
...
tegra-epl driver is added in kernel-oot repo so that i2c, pcie and
other upstream drivers can use interface to report errors.
Bug 3847981
Change-Id: I9dfe5cd92eb9955a35753ce14a12dc4799258b70
Signed-off-by: Rahul Bedarkar <rabedarkar@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2799410
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-11-02 12:17:10 -07:00
Akhil R
7ca4e62987
arm64: tegra: Remove GPCDMA driver from OOT
...
Remove GPCDMA from OOT and merge the Linux mainline changes in
kernel-oot
Signed-off-by: Akhil R <akhilrajeev@nvidia.com >
Change-Id: I6370d80335fba306d1e202e72f9d8da33051d60f
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2792224
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
2022-11-02 06:15:48 -07:00
Akhil R
a19a9be96c
dmaengine: tegra: Remove GPCDMA driver from OOT
...
Remove GPCDMA from OOT and merge the Linux mainline changes in
kernel-oot
Change-Id: I518f7796040051b6da52efd603ea8176800a3005
Signed-off-by: Akhil R <akhilrajeev@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2792223
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
2022-11-02 06:15:38 -07:00
Sanjay Chandrashekara
b068faea74
t23x: concord: dts: enable cpu core power gating
...
This patch enables cpu core power gating through cpuidle.
Bug 3583597
Change-Id: I93bff177a003a825b0297105e4c862f5b0d4c42f
Signed-off-by: Sanjay Chandrashekara <sanjayc@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2799745
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
2022-11-01 05:43:46 -07:00