Commit Graph

427 Commits

Author SHA1 Message Date
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
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
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
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
davidoli
2a4f00fd5e Add Windows metrics ULTs
Signed-off-by: davidoli <david.olien@intel.com>
2021-03-05 07:32:41 +01:00
Aravind Gopalakrishnan
db892eaa95 Revert "Use device allocation for events if host visibility not set"
This reverts commit b204a4f135.

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2021-03-05 03:31:17 +01:00
Mateusz Hoppe
6356de6511 Add debug api handlers 2
Related-To: NEO-4554

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-03-04 12:45:40 +01:00
Vilvaraj, T J Vivek
1bf331c282 sysman:add ULT to Global operations
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
2021-03-02 21:28:40 +01:00
Mayank Raghuwanshi
0f973f146e Implement zesRasGetConfig and zesRasSetConfig
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2021-03-02 16:07:01 +01:00
Adam Cetnerowski
0c035cfcc9 ULT renaming: Sysman Memory tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2021-03-02 15:24:48 +01:00
Adam Cetnerowski
6a543a15e1 ULT renaming: Sysman Linux tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2021-03-02 11:35:36 +01:00
Adam Cetnerowski
ce33aafbcb ULT renaming: Sysman Misc tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2021-03-02 11:35:23 +01:00
Mateusz Hoppe
a4102fb812 Add subdirectories in blackbox tests Cmakelists.txt
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-03-01 15:49:46 +01:00