Commit Graph

323 Commits

Author SHA1 Message Date
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
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
Bartosz Dunajski
9cf7651643 Simplify Device classes
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-04-08 19:00:59 +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
Jitendra Sharma
b0f2c76434 In Sysman PMT Fix telemetry node sort logic
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-04-02 07:21:07 +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