Commit Graph

335 Commits

Author SHA1 Message Date
Jitendra Sharma
18e95c51f5 Add support for Sysman Fabric port health event
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-06-16 11:47:54 +02:00
Kacper Nowak
ca4068aafc Create shared libult_common object library
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2021-06-12 09:46:42 +02:00
Jitendra Sharma
52f736c048 In PMT init, check for validity of every Telem node
In PMT init, check if telem sysfs directory entry belong to the
GPU device.

Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-06-09 09:21:33 +02:00
Igor Venevtsev
3f068eeca2 L0: rename EXTENSIONS to PUBLIC_EXTENTIONS in CmakeLists.txt
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2021-06-07 21:49:22 +02:00
Mateusz Hoppe
e9a43f1f66 Add readModuleDebugArea() method
Related-To: NEO-5940

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-06-07 15:26:22 +02:00
Jaroslaw Chodor
b80a51e5bf Adding wsl_compute_helper
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-06-07 14:36:21 +02:00
Mayank Raghuwanshi
770a6676a4 Remove handles for retrieving min temperature values
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2021-06-07 08:29:21 +02:00
Artur Harasimiuk
a4b2543b38 cmake cleanup
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-06-01 10:24:51 +02:00
Vilvaraj, T J Vivek
d1e8f859d4 sysman: add multi-Device Support for diagnostics
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
2021-05-27 11:48:16 +02:00
Jitendra Sharma
72a0621dc2 Enhance zello_sysman to validate performance factor
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-05-26 12:14:22 +02:00
Kacper Nowak
f883376e61 Move test configuration files to shared/common directory
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2021-05-25 16:12:31 +02:00
Jaroslaw Chodor
67aa1ad7ec Refactoring HwDeviceId
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-05-24 21:38:20 +02:00
Jaroslaw Chodor
0e9aa45e46 Improving OS abstraction
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-05-23 21:40:37 +02:00
Jitendra Sharma
7bec5d5d3b fix seg fault arising when execute zello_sysman firmware
Seg fault is coming when execute zello_sysman firmware without
any argument. This change fixes it.

Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-05-22 22:55:36 +02:00
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
Vilvaraj, T J Vivek
3cbb981ba0 sysman: add test to validate device State
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
2021-05-12 14:35:48 +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
Jitendra Sharma
9332095bba Print PCI address function also in zello_sysman PCI test
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-05-07 22:00:46 +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
T J Vivek Vilvaraj
8bdf9828b0 sysman fix cmakeList error
Signed-off-by: T J Vivek Vilvaraj <t.j.vivek.vilvaraj@intel.com>
2021-04-28 07:44:17 +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
Jitendra Sharma
8a6247d82d Implement ze_device_memory_properties_t.maxClockRate
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-04-19 22:36:26 +02:00
Compute-Runtime-Validation
b5545c2a50 Revert "Implement ze_device_memory_properties_t.maxClockRate"
This reverts commit c3b63bd8a2.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-04-17 10:21:25 +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
c3b63bd8a2 Implement ze_device_memory_properties_t.maxClockRate
Current implementation of ze_device_memory_properties_t.maxClockRate
is providing max dynamic frequency of GPU not the max memory frequency.
This change fixes that issue.

Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-04-16 09:12:29 +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
William Jordan
d2b6d7f241 Fix blackbox zello_sysman output for fabric ports
Code was outputing 1 byte fields as characters instead of numbers.

Signed-off-by: William Jordan <bill.jordan@intel.com>
2021-04-10 02:58:25 +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
Daniel Enriquez
b604ce4da5 Sysman for Windows: Adding break from Listen.
Breaking from the Listen call via registerEvents(0).

Signed-off-by: Daniel Enriquez <daniel.enriquez.montanez@intel.com>
2021-04-09 02:28:47 +02:00