Vishnu Mandalapu
09bf300e40
drivers: tegra: virt: runtime frequency
...
- Add support to change VM profiler frequency in rumtime.
Jira HYP-19279
Signed-off-by: Vishnu Reddy Mandalapu <vmandalapu@nvidia.com >
Change-Id: I2b260fff61addbd5e2bd53d9b16e441506bdf2d6
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3222316
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3252176
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
Reviewed-by: Daniel Kudrow <dkudrow@nvidia.com >
Reviewed-by: svcacv <svcacv@nvidia.com >
Reviewed-by: Alexey Lugovskoy <alugovskoy@nvidia.com >
2025-07-24 10:19:15 +00:00
Manish Bhardwaj
9f909306a0
kernel-oot: update driver license to GPL
...
Bug 5065840
Change-Id: If5f1783d8168af51c8964ff5605e8a04993973d6
Signed-off-by: Manish Bhardwaj <mbhardwaj@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3289957
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
Reviewed-by: Jon Hunter <jonathanh@nvidia.com >
2025-07-24 10:19:13 +00:00
Jon Hunter
005cbe4462
virt: hvc_sysfs: Another build fix for Linux v6.13
...
In Linux v6.13, commit 94a20fb9af16 ("sysfs: treewide: constify
attribute callback of bin_attribute::mmap()") changed the type of
the 'struct bin_attribute' argument of the bin_attribute:mmap function
pointer to const.
One instance of this change has already been fixed in the hvc_sysfs
driver but another case was recently introduced breaking the build for
Linux v6.13. Fix this in the same way as the previous instance.
Bug 4985113
Bug 4991705
Change-Id: I7f68138f3b484ebfe7a4ff5032c7b4365865f248
Signed-off-by: Jon Hunter <jonathanh@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3287044
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
Reviewed-by: Manish Bhardwaj <mbhardwaj@nvidia.com >
2025-07-24 10:19:13 +00:00
Manish Bhardwaj
ed5b67aa73
nvidia-oot: add support for nvlog buffer
...
Using this patch we have done below changes :-
- exposed buf_count, buf_size, region_size to userspace
via sysfs node to read meta data related to nvlog buffers
- mmap nvlog buffer to the userspace
Bug 4985113
Change-Id: If5824f7199d63364847eecffd0f490213d2acda0
Signed-off-by: Manish Bhardwaj <mbhardwaj@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3268716
Reviewed-by: Suresh Venkatachalam <skathirampat@nvidia.com >
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com >
2025-07-24 10:19:13 +00:00
Jon Hunter
66ddf2ba6f
virt: hvc_sysfs: Fix build for Linux v6.13
...
In Linux v6.13, commit 94a20fb9af16 ("sysfs: treewide: constify
attribute callback of bin_attribute::mmap()") changed the type of the
'struct bin_attribute' argument of the bin_attribute:mmap function
pointer to const. Use conftest to detect if this argument is const or
not in the kernel the driver is being compiled against to fix the build.
Bug 4991705
Change-Id: I791d6c9dde50f1444d0339ebd8a18434045f9026
Signed-off-by: Jon Hunter <jonathanh@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3261699
Reviewed-by: Manish Bhardwaj <mbhardwaj@nvidia.com >
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
2025-07-24 10:19:11 +00:00
Vishnu Mandalapu
d539245685
drivers: virt: hvc sysfs
...
- Previously numbers are appended to the sysfs name to solve
the duplicate name issue. Now this issue is fixed as name
is changed by server owners. so remove the numbers from
sysfs name.
Jira HYP-15378
Change-Id: I3384583182520ccd53ea895d799c1e8debc07705
Signed-off-by: Vishnu Mandalapu <vmandalapu@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2998182
Reviewed-by: Anil Varma Biruduraju <abiruduraju@nvidia.com >
Reviewed-by: Vipin Kumar <vipink@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3002432
Reviewed-by: Kiran Puttur <kputtur@nvidia.com >
2023-10-27 01:03:07 -07:00
Manish Bhardwaj
61f67509a8
hvc_sysfs: delete kernel object
...
delete kernel object if driver initialization
gets failed
Bug 4080433
Change-Id: Iabe0cabf32a067224f6e17a5e54a1c7d90161c16
Signed-off-by: Manish Bhardwaj <mbhardwaj@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2921795
Reviewed-by: Suresh Venkatachalam <skathirampat@nvidia.com >
Reviewed-by: Sandeep Trasi <strasi@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2023-06-24 07:26:30 -07: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
Manish Bhardwaj
b791c2e35c
nvidia-oot: port tegra hv_sysfs driver
...
Using this patch we are adding support for
tegra hv_sysfs driver in oot kernel.
JIRA ESLC-6885
Signed-off-by: Manish Bhardwaj <mbhardwaj@nvidia.com >
Change-Id: Iaf944fe07b85173fb25489769176ab60e4fa9243
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2763831
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-10-01 10:49:23 -07:00