Jitendra Sharma
e1458fc95c
To avoid seg fault, add null check before deleting PMT objects
...
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2021-05-18 12:37:15 +02:00
lgotszal
3bd4bca911
Copyright header update
...
Dates corrected in copyright headers to reflect original publication date
(2018 for OpenCL, 2020 for Level Zero).
Signed-off-by: lgotszal <lukasz.gotszald@intel.com >
2021-05-17 20:38:19 +02:00
Mateusz Hoppe
734e22857e
Add RootDebugSession
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-05-16 14:47:10 +02:00
Jitendra Sharma
5f41e00909
In PMT telem directory ignore entry whose suffix is not "telem"
...
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2021-05-14 16:08:42 +02:00
Pawel Cieslak
5eae946fe3
Do not override LD_LIBRARY_PATH when running tests
...
Related-To: NEO-5632
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com >
2021-05-14 11:57:26 +02:00
Jaroslaw Chodor
3ae75b39fb
Changing win dev discovery to DXCoreAdapterFactory
...
Second try - keeping legacy path as fallback
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com >
2021-05-13 22:31:48 +02:00
Mayank Raghuwanshi
1c3107fc7e
Update sysman engine and scheduler as per lastest spec
...
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com >
2021-05-12 14:51:21 +02:00
Jitendra Sharma
4c6e38c9e5
Reorganize sysman memory API OS specific files
...
Reorganize sysman memory OS specific files such that
embargo memory files related to OS, would get compiled
independent of SUPPORT_DG1 flag.
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2021-05-12 14:36:44 +02:00
Compute-Runtime-Validation
5d90594d9d
Revert "Changing win dev discovery to DXCoreAdapterFactory"
...
This reverts commit 83143c4318 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2021-05-11 12:40:03 +02:00
Compute-Runtime-Validation
dd6653892e
Revert "Move SVM allocs memory manager to L0::Context (1/N)"
...
This reverts commit 9080e2ee5b .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2021-05-09 12:37:44 +02:00
Jaime Arteaga
9080e2ee5b
Move SVM allocs memory manager to L0::Context (1/N)
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-05-07 22:17:10 +02:00
Jaime Arteaga
5f0e4f8e2a
Revert "Move memory managers to L0::Context (1/N)"
...
This reverts commit 9ce887b8b53a787a7e0a0d808c96e295655ae57b.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-05-06 04:56:09 +02:00
Jaime Arteaga
1f1fbb193b
Move memory managers to L0::Context (1/N)
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-05-05 23:01:42 +02:00
Kanhaiya Singh
5a911c9809
ULT coverage gap on Sysman PCI
...
Signed-off-by: Kanhaiya Singh <kanhaiya.singh@intel.com >
2021-05-05 21:50:31 +02:00
Vilvaraj, T J Vivek
24a745f4bd
sysman:add support for Diagnostis API.
...
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com >
2021-05-04 20:37:38 +02:00
Jaroslaw Chodor
83143c4318
Changing win dev discovery to DXCoreAdapterFactory
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com >
2021-04-30 15:57:35 +02:00
vinod krishna
66f0dc5564
Metrics ULT Conditional coverage of metric_enumeration_imp.cpp
...
Resolves: LOCI-2220
Signed-off-by: vinod krishna <vinod.krishna@intel.com >
2021-04-28 09:50:25 +02:00
Daniel Enriquez
0afe6b2caa
Extend Support for memory on Sysman for iGFX
...
Changing from discrete to iGFX the Memory Module support.
Signed-off-by: Daniel Enriquez <daniel.enriquez.montanez@intel.com >
2021-04-27 07:16:13 +02:00
Mayank Raghuwanshi
a92798ec4f
Improve Pmu Ult's such that syscalls are not called directly
...
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com >
2021-04-23 20:02:40 +02:00
Mateusz Hoppe
6594119afb
Add debugSession interfaces
...
Related-To: NEO-4516
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-04-21 08:21:27 +02:00
Mayank Raghuwanshi
17565be417
Retrieve model name and vendor name for sysman zesDeviceGetProperties
...
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com >
2021-04-20 16:30:44 +02:00
Vilvaraj, T J Vivek
699b504378
sysman: add support to enable IFR status.
...
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com >
2021-04-20 15:27:09 +02:00
Mateusz Hoppe
eb03fd7603
Add startAsyncThread interface to DebugSession
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-04-20 11:24:02 +02:00
Mayank Raghuwanshi
61c08c052f
Implement zesDriverEventListenEx
...
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com >
2021-04-17 04:25:35 +02:00
Jitendra Sharma
46c51cb8a9
Sysman device reset stability fix
...
Close PMT, and PMU fds created during Sysman's init before calling
device reset.
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2021-04-15 11:53:10 +02:00
vinod krishna
7b974f0ecb
Metrics ULT for Metric Groups activate, deactivate & WaitForReports functions.
...
Resolves: LOCI-2190
Signed-off-by: vinod krishna <vinod.krishna@intel.com >
2021-04-14 23:00:20 +02:00
Bartosz Dunajski
45b005161a
Dont create VM IDs if not supported
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-04-14 10:51:56 +02:00
Piotr Maciejewski
08210f8be5
Fix for Metric Api test that attempts OS (fstat) function.
...
Signed-off-by: Piotr Maciejewski <piotr.maciejewski@intel.com >
2021-04-09 17:29:23 +02:00
Mateusz Hoppe
a24735b4fd
Revert "sysman: add basic steps for IFR status"
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-04-08 20:35:15 +02:00
Mateusz Hoppe
a2cbb4f859
Add readEvent method to DebugSession
...
Related-To: NEO-4556
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-04-08 17:55:54 +02:00
Vilvaraj, T J Vivek
b56b204f3e
sysman: add basic steps for IFR status.
...
In field repair status information is needed as part of Device
reset status
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com >
2021-04-07 16:21:26 +02:00
Mateusz Hoppe
223a42c3c7
Refactor DebugSession creation
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-04-07 14:40:02 +02:00
Kanhaiya Singh
33ba9f45b1
Fix the sysman code by replacing "Unknown" with "unknown"
...
Signed-off-by: Kanhaiya Singh <kanhaiya.singh@intel.com >
2021-04-06 09:41:43 +02:00
Mateusz Hoppe
671d916c70
Add Debugger specific log print macros
...
- use DebuggerLogBitmask while printing logs for SBA tracking
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-04-02 15:00:55 +02:00
Spruit, Neil R
7a3095c273
Report failure given Compiler Library Load failed for L0
...
- Return ZE_RESULT_ERROR_DEPENDENCY_UNAVAILABLE given the Compiler
cannot be loaded.
- Print dlopen and LoadLibrary error strings given Debug Print Messages
are enabled.
Related-To: LOCI-1313
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2021-04-01 23:01:38 +02:00
Mateusz Hoppe
95b9880385
Add initialize() to DebugSession
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-04-01 16:51:31 +02:00
vinod krishna
8db55b246b
ULT for GetMetricType
...
Resolves: LOCI-2163
Signed-off-by: vinod krishna <vinod.krishna@intel.com >
2021-04-01 07:18:40 +02:00
Jitendra Sharma
022f139bd5
Add ult for uncovered branches in Sysman memory API and PMT interface
...
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2021-03-30 20:29:32 +02:00
vinod krishna
9cbfbd1d53
Functional ULT Coverage for LoadMetricDiscovery
...
Resolves: LOCI-2164
Signed-off-by: vinod krishna <vinod.krishna@intel.com >
2021-03-29 19:17:30 +02:00
Kamil Diedrich
7d64d8e00e
Unify reading pci paths
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2021-03-29 15:59:09 +02:00
Mayank Raghuwanshi
a9ab9f0789
Fix for absence of busy node for clients
...
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com >
2021-03-29 14:20:27 +02:00
Mayank Raghuwanshi
027a916107
Improve code coverage for Pmu Interface
...
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com >
2021-03-26 09:08:52 +01:00
Jaime Arteaga
0dc73ad686
Isolate host allocations with respect to context
...
Related-To: LOCI-1996
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-03-25 06:15:59 +01:00
Mayank Raghuwanshi
d89b51edd3
Update sysman events API for bug fixes
...
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com >
2021-03-23 09:34:42 +01:00
Mayank Raghuwanshi
faac0a82ef
Update pmu interface
...
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com >
2021-03-22 14:31:31 +01:00
Mateusz Hoppe
1544c6d001
Split getDebugSession and createDebugSession logic
...
Related-To: NEO-4554
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-03-19 15:38:36 +01:00
Vilvaraj, T J Vivek
9ed68131c3
sysman: add ULT to check Device Reset
...
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com >
2021-03-19 05:41:35 +01:00
Vilvaraj, T J Vivek
457d05420d
sysman: add diagnostics boilerplate code
...
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com >
2021-03-19 05:33:20 +01:00
Jitendra Sharma
249f7e45cc
Adding more features to Sysman's memory and Temperature APIs
...
This change -
- Add support for memoryGetBandwidth API
- Update temperature offsets
- Update ULTs accordingly
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2021-03-15 18:01:52 +01:00
Piotr Maciejewski
aa05b5adb4
L0 and Ocl Metric Api sub device support
...
Signed-off-by: Piotr Maciejewski <piotr.maciejewski@intel.com >
2021-03-15 17:14:55 +01:00