Krish Agarwal
d86f5508cd
drivers: pva: update sys allow list
...
Jira PVAAS-15362
Change-Id: I36666e58169530d66e69bf2c3d08b66e647e0cd6
Signed-off-by: Krish Agarwal <krisha@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3160789
Reviewed-by: Omar Nemri <onemri@nvidia.com >
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
Reviewed-by: Amruta Sai Anusha Bhamidipati <abhamidipati@nvidia.com >
2024-06-23 16:42:05 -07:00
koenz
c7f7e97fec
driver:misc:mods: Increase max mods SMMU devices to 128
...
- More tested IPs require alloc memory through SMMU
Bug 4467535
Signed-off-by: Koen Zhao <koenz@nvidia.com >
Change-Id: I59fb622b9cd026257b31386e3822dd9511e93a4f
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3160528
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
Reviewed-by: Carl Dong <carld@nvidia.com >
Tested-by: Koen Zhao <koenz@nvidia.com >
2024-06-23 13:05:53 -07:00
Khushi
df2a7fda9c
CMAC for Linux
...
CMAC implementation for 64 bit addressing
Remove unsupported legacy cmac function
Implemented CMAC for new chip
ESSS-1375
Change-Id: I43bc4a03b03a5914ab1e4656bef90ad179744f1a
Signed-off-by: Khushi <khushi@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3146556
Reviewed-by: Sandeep Trasi <strasi@nvidia.com >
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
Reviewed-by: svcacv <svcacv@nvidia.com >
Reviewed-by: Leo Chiu <lchiu@nvidia.com >
Tested-by: Pranjal Singh Mandloi <pmandloi@nvidia.com >
2024-06-22 07:43:34 -07:00
Amruta Bhamidipati
a4607dbdfd
drivers: pva: Update HWSEQ checks
...
Add additional HW SEQ validation checks
- Validate all frames with different addressing modes in a
HW SEQ blob
- Validate multiple frames on a single channel in RDF
frame-linking mode
- Validate each column/row within a given frame since
multiple column/rows are supported in next chip
Bug 4588239
Signed-off-by: Amruta Bhamidipati<abhamidipati@nvidia.com >
Change-Id: Ic30c8c1982c5ac21a960f0546c39e5a28cc7d4bd
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3153297
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
Tested-by: Amruta Sai Anusha Bhamidipati <abhamidipati@nvidia.com >
Reviewed-by: Krish Agarwal <krisha@nvidia.com >
Reviewed-by: Sreehari Mohan <sreeharim@nvidia.com >
Reviewed-by: Omar Nemri <onemri@nvidia.com >
2024-06-21 23:05:14 -07:00
Ketan Patil
a163533e77
video: tegra: nvmap: Restore handle size
...
NvRmMemHandleAllocAttr can be called with multiple input heaps, if
allocation from first heap fails, then allocation from next heap is
attempted and so on. In case of GPU carveout, the handle size is aligned
to next 2MB while for other heaps, it is aligned to 4KB. If the user
provides an array of heaps, where first one is GPU carveout, then the
handle size is aligned to 2MB and then if the enough memory is not
available in GPU carveout the allocation call fails, but the handle size
is not restored back to 4KB aligned size. So the next allocation attempt
from the second heap would request for incorrect buffer size. Correct
this behavior by restoring the handle size back to 4KB aligned size, if
allocation from GPU carveout fails.
Bug 4661684
Change-Id: I6d93eb96b21e384554df888d9819dcfc2f3565fa
Signed-off-by: Ketan Patil <ketanp@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3159925
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com >
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
Tested-by: Ashish Mhetre <amhetre@nvidia.com >
2024-06-20 05:03:30 -07:00
Ketan Patil
caeb9cd1b8
video: tegra: nvmap: Return error if any handles exist
...
When nvmap module is unloaded and if there are any existing handles then
return an error -EBUSY.
Bug 4603770
Change-Id: I74d9b0ee8d95a78c1784998e7b913578a83b3cef
Signed-off-by: Ketan Patil <ketanp@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3149415
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com >
Reviewed-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Ashish Mhetre <amhetre@nvidia.com >
2024-06-20 02:23:37 -07:00
Revanth Kumar Uppala
ee37ee732d
r8126: Enable support for RSS
...
Enable support for Receive Side Scaling (RSS)
in Makefile
Bug 4478230
Change-Id: Iafb026ba3b9b152ea7e44933562093144bfcf062
Signed-off-by: Revanth Kumar Uppala <ruppala@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3159352
Reviewed-by: svcacv <svcacv@nvidia.com >
Reviewed-by: Sandipan Patra <spatra@nvidia.com >
Reviewed-by: Shobek Attupurath <sattupurath@nvidia.com >
Tested-by: Sandipan Patra <spatra@nvidia.com >
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
2024-06-19 02:56:56 -07:00
Yash Bhatt
f2065a85cc
video: tegra: nvmap: Remove use_numa parameter
...
Remove use_numa parameter from nvmap_alloc.c because its redundant.
Bug 4479027
Change-Id: I611b2e606299389d5ff0880b263abe6c161c2d0d
Signed-off-by: Yash Bhatt <ybhatt@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3158948
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
Reviewed-by: Ashish Mhetre <amhetre@nvidia.com >
Reviewed-by: Sachin Nikam <snikam@nvidia.com >
Tested-by: Bitan Biswas <bbiswas@nvidia.com >
2024-06-19 00:59:17 -07:00
Yash Bhatt
31f41ea186
video: tegra: nvmap: Fix null error pointer dereference.
...
In function nvmap_ioctl_get_fd_from_list, the return pointer from nvmap_handle_get_from_id is being dereferenced without checking if it is valid. This is causing a kernel panic crash in syzkaller. Fix this by checking whether the pointer is valid or not before dereferencing it.
Bug 4479038
Change-Id: Ia65341e9eb12873e660baae44d28966e71317377
Signed-off-by: Yash Bhatt <ybhatt@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3154940
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
2024-06-19 00:58:55 -07:00
Yash Bhatt
601fdeaed2
video: tegra: nvmap: Remove WARN_ON and exit gracefully
...
Remove WARN_ON macro invocation and exit gracefully from the nvmap_query_heap_params function when the heap_mask parameter is not a power of two. This is because if two or more bits are set in heap_mask, then it's an invalid parameter because NvMap can allocate buffer from only one heap at a time.
Bug 4479038
Change-Id: I6cfca911115f7f29e2c4e46816a89fa1869adae4
Signed-off-by: Yash Bhatt <ybhatt@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3154939
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
2024-06-19 00:58:45 -07:00
Yash Bhatt
42585a86f3
video: tegra: nvmap: Fix stack frame size exceeded error in nvmap
...
Fix stack frame size exceeded error in nvmap_ioctl.c by allocating the buf array dynamically.
Bug 4663827
Change-Id: I4ccb86b2f82e09417bf957830777c516dcf1ee47
Signed-off-by: Yash Bhatt <ybhatt@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3154936
Reviewed-by: Sachin Nikam <snikam@nvidia.com >
Reviewed-by: Ketan Patil <ketanp@nvidia.com >
Tested-by: Bitan Biswas <bbiswas@nvidia.com >
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
2024-06-19 00:58:35 -07:00
Revanth Kumar Uppala
3cc7aea47d
ethernet: Add dummy driver for r8126
...
r8126 driver build is disabled on K6.10 and later. This is
causing the packaging failure where module is not available.
Add dummy driver when real driver is not available to make
packaging success.
Bug 4478230
Change-Id: I6ceef7f92863499c58edaf4ddd19ae65b12a2a00
Signed-off-by: Revanth Kumar Uppala <ruppala@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3152064
Reviewed-by: Shobek Attupurath <sattupurath@nvidia.com >
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
Reviewed-by: Sandipan Patra <spatra@nvidia.com >
Tested-by: Sandipan Patra <spatra@nvidia.com >
2024-06-19 00:55:32 -07:00
Revanth Kumar Uppala
881b71be5d
r8126: Add r8126 driver version 10.013.00-NAPI-PTP
...
Add support for r8126 ethernet driverversion 10.013.00-NAPI-PTP
which adds support for PTP and supports till K6.9
Bug 4478230
Change-Id: I381d3689a188e5d365ff89092a98023eeaa2a095
Signed-off-by: Revanth Kumar Uppala <ruppala@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3151529
Tested-by: Sandipan Patra <spatra@nvidia.com >
Reviewed-by: Shobek Attupurath <sattupurath@nvidia.com >
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
Reviewed-by: Sandipan Patra <spatra@nvidia.com >
2024-06-19 00:55:27 -07:00
Bharat Nihalani
a6af56f96c
tegra_bl_debug: Copy profiler data to buffer
...
As part of profiler show operation triggered through sysfs,
profiler data is only seen in the kernel log.
Add a change to copy the profiler contents in the profiler
buffer as well so that the buffer content is visible at the
place where sysfs read is issued.
Note that there is a limitation in buffer size used in sysfs
read and write operations, which is equal to PAGE_SIZE.
And so, checks are added to detect buffer overflow while
writing profiler data in the buffer.
Jira ASSA-934
Change-Id: Ice3eccdfffbd7734ac7a20a0a8ca52ba00af865e
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3154262
(cherry picked from commit b619de032dfd58ffc385b08d26353991e2ae3d9b)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3158713
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
Reviewed-by: svcacv <svcacv@nvidia.com >
Tested-by: Bitan Biswas <bbiswas@nvidia.com >
2024-06-18 22:05:59 -07:00
Mahesh Patil
c765f98235
nvethernet: T26x EQOS changes
...
1) Added T26X EQOS bring up changes
2) Fixes added during bring up
Bug 4639097
Change-Id: I624fc5c2f9ef4304fe2ae1df6905195d7d969c68
Signed-off-by: Mahesh Patil <maheshp@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3152935
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
Tested-by: Seema Khowala <seemaj@nvidia.com >
Reviewed-by: Narayana Reddy P <narayanr@nvidia.com >
2024-06-18 11:37:23 -07:00
Gerrit Code Review
9d4d563987
Merge "Merge remote-tracking branch 'origin/dev/t264-ethernet' into dev-t264" into dev-t264
2024-06-18 11:37:18 -07:00
Ketan Patil
bcdc838be7
video: tegra: nvmap: Remove incorrect check
...
len which is of type size_t is checked with UINT_MAX. The condition will
result into an issue when len is more than UINT_MAX. Hence remove this
incorrect check.
Bug 4650102
Change-Id: Ie1a5de8e3fbdb56aff1a15456db81cc449c63bbf
Signed-off-by: Ketan Patil <ketanp@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3154778
Tested-by: Ashish Mhetre <amhetre@nvidia.com >
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com >
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
Reviewed-by: Sachin Nikam <snikam@nvidia.com >
Reviewed-by: Ashish Mhetre <amhetre@nvidia.com >
2024-06-18 09:34:58 -07:00
Laxman Dewangan
1cf1d3f858
pcie: private-soc: Add dummy driver for soc specific pcie driver
...
The L4T packaging needs the soc specific dummy driver to be
available always. However, it is not available in generic build and
it creates the packaging/configuration fail.
Add soc specific dummy driver for pcie so that the respective binary
should be available always.
Bug 4695516
Change-Id: Ic40e60a12de35cebc7e9acec9b09e39aa267276b
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3154314
Tested-by: Ashish Mhetre <amhetre@nvidia.com >
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
Tested-by: Laxman Dewangan <ldewangan@nvidia.com >
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com >
2024-06-13 10:15:06 -07:00
Sanath Kumar Gampa
96d89392f0
NvEthernet: macsec: Fix the nla policy issue
...
Issue: IOCTLs from supplicanta pplication are not reaching Nvidia
Ethernet driver in kernel 6.1
Fix: Filled the correct policy while registering with netlink. Added
Cipher Suite attribute to genl macsec policy
Ported from -
https://git-master.nvidia.com/r/c/nvethernet-docs/+/3126784
Bug 4316709
Change-Id: I7d0b86d14b1d5bb9aff34b79d635bfccd7443ebf
2024-06-07 13:10:54 +00:00
Mahesh Patil
6bc9570126
nvethernet: T26x CAR changes
...
Ported from -
https://git-master.nvidia.com/r/c/nvethernet-docs/+/3126090
Bug 4228185
Change-Id: I74b0607de28b9a635afeae80dbc31cb79bd45f30
Signed-off-by: Mahesh Patil <maheshp@nvidia.com >
fix compilation error
Change-Id: I088609c66a180aeacf8baeb9dad0d29a38550726
2024-06-07 13:10:54 +00:00
Mahesh Patil
54ca566b6a
nvethernet:add idle timer window interrupt support
...
Ported from -
https://git-master.nvidia.com/r/c/nvethernet-docs/+/2963539
Bug 4246781
Change-Id: I683dd14ffbc92755c60f04ba35e5e5bfe98c5a0f
Signed-off-by: Mahesh Patil <maheshp@nvidia.com >
2024-06-07 13:10:54 +00:00
Rakesh Goyal
eb29db2879
nvethernet: ptp support for upcoming chip
...
Bug 4221043
Change-Id: I4689259e48705aa975ec33dddaba8fd7e941d304
Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/nvethernet-docs/+/2968051
Tested-by: Sanath Kumar Gampa <sgampa@nvidia.com >
Reviewed-by: Mahesh Patil <maheshp@nvidia.com >
Reviewed-by: Ashutosh Jha <ajha@nvidia.com >
Reviewed-by: svcacv <svcacv@nvidia.com >
2024-06-07 13:10:54 +00:00
Mahesh Patil
7e2c08add0
nvethernet: Allow more than 31 l2 filter index
...
Ported from -
https://git-master.nvidia.com/r/c/nvethernet-docs/+/3027949
Bug 4297989
Change-Id: Ic978dc44dd2d16b03effc5322d2470a238c7ccc9
Signed-off-by: Mahesh Patil <maheshp@nvidia.com >
2024-06-07 13:10:54 +00:00
Nagaraj Annaiah
a0d0c09294
osd: Add FRP and L2 support for t264
...
Ported from -
https://git-master.nvidia.com/r/c/nvethernet-docs/+/3004699
Bug 4334269
Change-Id: I66d2071e8ead23b99657590f731e3584653ea2b3
2024-06-07 13:10:54 +00:00
Sanath Kumar Gampa
77315f1197
nvethernet: Defature MACSEC debug buffer for T264
...
Ported from -
https://git-master.nvidia.com/r/c/nvethernet-docs/+/3016482
Bug 4134804
Change-Id: I9f5023d6dd6598bd666d4dbe68bc92106da10908
2024-06-07 13:10:54 +00:00
Sanath Kumar Gampa
6be26babe2
Nvethernet: Split MACSEC sysfs nodes
...
As PAGE_SIZE is not sufficient to accommodate 48 SC channel.
Split some of the nodes to Tx and Rx.
Ported from -
https://git-master.nvidia.com/r/c/nvethernet-docs/+/2931105
Bug 4361623
Change-Id: I487e67058fa9528ae36880bb57ad848ba7d8c56a
Signed-off-by: Sanath Kumar Gampa <sgampa@nvidia.com >
2024-06-07 13:10:54 +00:00
Rakesh Goyal
4cd40b0b3b
nvethernet: T26X MAC_Address0_High reg AE bit
...
In T26X, MAC_Address0_High reg AE bit R/W, so changing
UC and BC address indexing to 0 and 1.
Ported from -
https://git-master.nvidia.com/r/c/nvethernet-docs/+/2987634
Bug 4325242
Change-Id: Id2e6d757ceee750a31bf1fdf3821bc5dd892f08b
Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com >
2024-06-07 13:10:54 +00:00
Sanath Kumar Gampa
62e5a277df
nvethernet: Adding support for encryption and confidentiality offset support
...
Ported from -
https://git-master.nvidia.com/r/c/nvethernet-docs/+/2935715
Bug 4193186
Change-Id: I3b8a20bc4df975f5d74d614c7cea1b91bd42b597
Signed-off-by: Sanath Kumar Gampa <sgampa@nvidia.com >
2024-06-07 13:10:54 +00:00
Mahesh Patil
501aeb6edc
nvethernet: Macsec Bring up on T264
...
Ported from -
https://git-master.nvidia.com/r/c/nvethernet-docs/+/2904856
Bug 4122114
Change-Id: I3be0d8c545f4edac678f5444044aa5ccd54b08fe
Signed-off-by: Mahesh Patil <maheshp@nvidia.com >
2024-06-07 13:10:54 +00:00
Mahesh Patil
2b4c6bc2fb
nvethernet: match stats count to num of vdma
...
In T164 MTL Q numbers are not same as VDMA, so change
ether_xtra_stat_counters to match VDMA number
Ported from -
https://git-master.nvidia.com/r/c/nvethernet-docs/+/2992110
Bug 4316080
Change-Id: Id8e4f1b37f4aa6d84e4faa0c2b03c42d1cfd4cc2
Signed-off-by: Mahesh Patil <maheshp@nvidia.com >
2024-06-07 13:10:54 +00:00
Mahesh Patil
90a31dac49
nvethernet: Add T264 changes to include 48 filters
...
Add support to include 48 filters for T264 from feature register
Ported from -
https://git-master.nvidia.com/r/c/linux-nv-oot/+/3148383
Bug 4291865
Change-Id: Ic3df0db74dc86bebcacff2f77238f1a6bcf38657
Signed-off-by: Mahesh Patil <maheshp@nvidia.com >
2024-06-07 13:10:54 +00:00
Mahesh Patil
0e5f26d308
nvethernet: Enable RSS feature for T264
...
Ported from -
https://git-master.nvidia.com/r/c/nvethernet-docs/+/2981671
Bug 4291539
Change-Id: I9568635d04d9198a073e2c6758953a16ba408cb4
Signed-off-by: Mahesh Patil <maheshp@nvidia.com >
2024-06-07 13:10:54 +00:00
Mahesh Patil
2a77d85ced
nvethernet: Remove Rx channel0 WAR fix
...
MGBE NET07 bit file fixes Rx Channel 0 data
tranfer not working issue. Removing WAR fix
Ported from -
https://git-master.nvidia.com/r/c/nvethernet-docs/+/2972125
Bug 4182455
Change-Id: I0774dc47eee15246989dfbd8c09f0bc001b2a15c
Signed-off-by: Mahesh Patil <maheshp@nvidia.com >
2024-06-07 13:10:54 +00:00
Mahesh Patil
5edac49a28
nvethernet: T264 Enable 20 VDMA channel support
...
Ported from -
https://git-master.nvidia.com/r/c/nvethernet-docs/+/2940794
Bug 4043836
Change-Id: I763bfdaa78082de035219e10ef1c131bdbba5e35
Signed-off-by: Mahesh Patil <maheshp@nvidia.com >
2024-06-07 13:10:54 +00:00
Manish Bhardwaj
e44802987e
vsc: fix out of bound memory access
...
kernel panic when doing a IOCTL on UFS virtual partition
with pass thru enabled. IOCTL require larger space than
the mempool size (512KB) and the len check fails and leads
to a out-of-bound memory access.
Bug 4683333
Change-Id: Ie8d13bbed13a257e73087c9472054aa4083cf3eb
Signed-off-by: Manish Bhardwaj <mbhardwaj@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3151274
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com >
Tested-by: Tonny Liang <tonnyl@nvidia.com >
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
Reviewed-by: Tonny Liang <tonnyl@nvidia.com >
Reviewed-by: Sanjith T D <std@nvidia.com >
2024-06-06 09:05:58 -07:00
Rakesh Goyal
2a104ca84d
nvethernet: T264 VDMA feature and initial bring up
...
Bug 4043836
Ported from the change -
https://git-master.nvidia.com/r/c/nvethernet-docs/+/2896006
Change-Id: I844112cc71e387f6ae04c2cc7f64b71abb4283fd
Signed-off-by: Mahesh Patil <maheshp@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3149289
Tested-by: Seema Khowala <seemaj@nvidia.com >
Reviewed-by: Ashutosh Jha <ajha@nvidia.com >
Reviewed-by: Michael Hsu <mhsu@nvidia.com >
Reviewed-by: Bhadram Varka <vbhadram@nvidia.com >
Tested-by: Bhadram Varka <vbhadram@nvidia.com >
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
2024-06-05 02:51:08 -07:00
Laxman Dewangan
e7777958d3
r8126: Fix typo in the object name
...
Fix typo in object name for the driver of r8126.
Bug 4478230
Change-Id: I20e0d3f9ad2074ea4ca69eb8bf108272ba4e3e8d
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3149558
Tested-by: Seema Khowala <seemaj@nvidia.com >
Reviewed-by: svcacv <svcacv@nvidia.com >
Reviewed-by: Revanth Kumar Uppala <ruppala@nvidia.com >
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
Tested-by: Revanth Kumar Uppala <ruppala@nvidia.com >
Tested-by: Bitan Biswas <bbiswas@nvidia.com >
2024-06-04 12:03:30 -07:00
Santosh BS
776ab71140
gpu: host1x-nvhost: fetch host1x data based on instance
...
Get the right host1x data pointer according to the instance passed.
Bug 4505161
Jira NVGPU-11046
Change-Id: I2bf671236a2fb3a89c87c22d2d7b5f81cf035524
Signed-off-by: Santosh BS <santoshb@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3149447
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com >
Tested-by: Seema Khowala <seemaj@nvidia.com >
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
2024-06-04 12:03:25 -07:00
Ketan Patil
dc9b7b572c
video: tegra: nvmap: Correct the data type
...
When granule_size of type u32 and size is more than 4GB (i.e. value
having more than 32 bits), then ALIGN_GRANULE_SIZE would return
incorrect value due to ~(GRANULE_SIZE - 1), as this would be in 32
bits. Hence change the granule size's data type to size_t, so that the
above value is not restricted to 32 bits.
Bug 4650102
Change-Id: If44f2663b6a4735c193d3a80b233b53d70772335
Signed-off-by: Ketan Patil <ketanp@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3149162
Reviewed-by: Sachin Nikam <snikam@nvidia.com >
Tested-by: Bitan Biswas <bbiswas@nvidia.com >
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
2024-06-03 09:20:36 -07:00
Asha Talambedu
e670902c1f
nvadsp: Fix typo in irq parsing
...
While parsing irqs from dt, one of the condition employs
wrong count due to typo. Fixed the same
Bug 4165898
Bug 3916054
Change-Id: I4d3225a47eea3410bb0074d0c7af1d28714c8b38
Signed-off-by: Asha Talambedu <atalambedu@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3148652
Tested-by: Ashish Mhetre <amhetre@nvidia.com >
Reviewed-by: svcacv <svcacv@nvidia.com >
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
Tested-by: Viswanath L <viswanathl@nvidia.com >
Reviewed-by: Viswanath L <viswanathl@nvidia.com >
2024-05-31 15:54:47 -07:00
Ian Grissom
7e861f8a9e
misc: mods: update from Perforce and MODS KD RIST
...
* Updates misc/mods from Perforce
* Adds support for updated ATF RIST SMCs
Change-Id: I84975bb5dee6775ae415167d78799ecd38cb888f
Signed-off-by: Ian Grissom <igrissom@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3146201
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
Reviewed-by: Chris Dragan <kdragan@nvidia.com >
Tested-by: Dipen Patel <dipenp@nvidia.com >
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com >
2024-05-31 10:58:28 -07:00
Srinivas Ramachandran
70999e5756
nvethernet: Enable Rx csum offload only for EQOS
...
Issue: Rx csum offload can be safely enabled
for EQOS as there is reliable HW sequence to
ensure data validity when processing descriptors
which are SW owned.
Fix: Enable Rxcsum for eqos.
Bug 4486046
Change-Id: Ic3ef7317cfc9d22c0756afc6dfc9f98ce6743977
Signed-off-by: Srinivas Ramachandran <srinivasra@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3126197
(cherry picked from commit 7e908f2f0bce0650b21c64fddb31401f190c26df)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3146940
Reviewed-by: Ashutosh Jha <ajha@nvidia.com >
Tested-by: Hareesh Kesireddy <hkesireddy@nvidia.com >
Reviewed-by: Hareesh Kesireddy <hkesireddy@nvidia.com >
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
Tested-by: Amlan Kundu <akundu@nvidia.com >
2024-05-31 02:18:48 -07:00
Viswanath L
8862f64e15
nvadsp: Remove __init from probe functions
...
Sections placed in __init are freed after module load, which
causes kernel panic in certain flows. __init attribute adds no
value for loadable modules and hence removed.
Bug 4165898
Bug 3682950
Change-Id: I43eea5ed4e8a527e7b372c2b29322fe2aa67ea63
Signed-off-by: Viswanath L <viswanathl@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3144493
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
Reviewed-by: Mohan kumar <mkumard@nvidia.com >
Reviewed-by: Dara Ramesh <dramesh@nvidia.com >
Tested-by: Ashish Mhetre <amhetre@nvidia.com >
2024-05-30 12:34:25 -07:00
Revanth Kumar Uppala
4c39ed9cb5
ethernet: Add dummy driver for r8126
...
r8126 driver build is disabled on K6.9 and later. This is
causing the packaging failure where module is not available.
Add dummy driver when real driver is not available to make
packaging success.
Bug 4478230
Change-Id: I1b83fe1c3f30a9f825631650ca2520d720ef07c6
Signed-off-by: Revanth Kumar Uppala <ruppala@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3144344
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
2024-05-30 02:48:47 -07:00
Revanth Kumar Uppala
ce70fe6f92
r8126: Enable PTP support
...
Enable PTP support for r8126 ethernet driver
Bug 4478230
Change-Id: I1aa31abb92bb9c8536854149e12cbb8aadf47112
Signed-off-by: Revanth Kumar Uppala <ruppala@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3145172
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
Tested-by: Bitan Biswas <bbiswas@nvidia.com >
2024-05-28 18:57:17 -07:00
Mallikarjun Kasoju
3049af901c
ufs: Do not use clk_m clock
...
clk_m clock is only T23x chips.
Kept condition accordingly to use clk_m
clocks in T23x chips only.
Bug 4199271
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com >
Change-Id: I12259bddfec91b54504bb70356e0fc29a72f067d
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3145425
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
2024-05-28 10:33:29 -07:00
Mallikarjun Kasoju
d260c69c83
ufs: Do not use mphy_force_ls_mode clock
...
mphy_force_ls_mode clock is only T23x chips.
Kept condition accordingly to use mphy_force_ls_mode
clocks in T23x chips only.
Bug 4199271
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com >
Change-Id: I9b176ec6b1a9fd0ea0d52e857eb011197ef9234e
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3145424
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
2024-05-28 10:33:19 -07:00
Mallikarjun Kasoju
0475230ef4
ufs: Do not use mphy_l0_tx_2x_symb clock
...
mphy_l0_tx_2x_symb clock is only for T23x chips.
Kept condition accordingly to use mphy_l0_tx_2x_symb
clocks in T23x chips only.
Bug 4199271
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com >
Change-Id: Ice48db41a45da763cfe4af18cc1440c59fb20b38
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3145422
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
Tested-by: Bitan Biswas <bbiswas@nvidia.com >
2024-05-28 10:33:09 -07:00
Mallikarjun Kasoju
fee74728d3
ufs: Do not use TX_MUX_SYMB_DIV and TX_MUX_SYMB_DIV
...
TEGRA234_CLK_MPHY_L0_TX_MUX_SYMB_DIV and TEGRA234_CLK_MPHY_L0_RX_MUX_SYMB_DIV clock are
only for T23x chips. Kept condition accordingly to use them in T23x chips only.
Bug 4199271
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com >
Change-Id: I228b9da7c92628e3dfce82f571b5aaf0f73427a5
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3143258
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
Reviewed-by: Bibek Basu <bbasu@nvidia.com >
Reviewed-by: Andy Sobczyk <asobczyk@nvidia.com >
2024-05-23 08:49:05 -07:00
Santosh BS
566858f37f
gpu: host1x: multi device support
...
Update the node names to support multi device config.
Bug 4505161
Jira NVGPU-11046
Signed-off-by: Santosh BS <santoshb@nvidia.com >
Change-Id: Id5cc345d9ee2eab96e0c999c9e6b510642a398d9
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3142192
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com >
2024-05-23 08:48:35 -07:00