Mateusz Jablonski
bcaa62bed3
build: refactor linux kernel headers
...
Add cmake flags to provide path to headers to drm / i915 /i915 prelim / xe
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-28 14:48:09 +01:00
Jitendra Sharma
96abe38c6d
feature: Implement getElfSize and getElfData methods for XE eudebug
...
Related-To: NEO-8407
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2024-03-28 12:32:18 +01:00
Mateusz Jablonski
1f96e6e251
fix: update uapi headers version to 6.8.1
...
source of files: https://git.kernel.org/stable/h/v6.8.1
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-26 16:08:32 +01:00
Jitendra Sharma
f0bdd5765b
refactor: share acknowledgeEvent code for I915 and XE
...
Also remove not needed resumeImp and interruptImp methods
from level_zero/tools/source/debug/linux/xe/debug_session.h
The correct implementation is in DebugSessionLinux and
the overrides in DebugSessionLinuxXe are not needed
Related-To: NEO-8407
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2024-03-22 18:45:58 +01:00
Jitendra Sharma
b8c27ddb20
feature: Implement VM_BIND EU debug event for XE
...
Related-To: NEO-8407
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2024-03-22 15:02:49 +01:00
Brandon Yates
df54d67f40
feature: Implement SBA and module debug access for xe debugger
...
Reuse code from i915 implementation for accesing SBA, module debug,
and context save area
Related-to: NEO-9161
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2024-03-22 10:50:02 +01:00
Brandon Yates
7f8bac7703
fix: Remove Xe Debug stubs for read/writeMemory
...
The correct implementation is in DebugSessionLinux and
the overrides in DebugSessionLinuxXe are not needed
Related-to: NEO-9669
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2024-03-20 08:43:28 +01:00
Joshua Santosh Ranjan
06fcdd28f3
feature: add debug flag for metrics logs
...
Related-To: NEO-10125
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2024-03-19 12:33:26 +01:00
Mateusz Jablonski
a2742492ab
feature: enable xe drm detection by default
...
driver is built with xe drm support by default
added cmake flag to control xe eu debug API support
NEO_ENABLE_XE_EU_DEBUG_SUPPORT
This flag is disabled by default and uapi-eu-debug headers are not
needed for driver compilation as these headers are not a part of
upstream kernel yet.
Related-To: NEO-10780
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-19 08:47:13 +01:00
Mateusz Jablonski
19dcc80e44
Revert "build: enable xe drm detection by default"
...
This reverts commit 973757a58d .
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-18 09:04:59 +01:00
Neil R. Spruit
b5f8a38f19
feature: Enable Per IP euStall Functionality
...
Related-To: NEO-10220
Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com >
2024-03-14 16:49:52 +01:00
Joshua Santosh Ranjan
a730cf17c0
fix: fix static initialization in zello metrics
...
Related-To: NEO-10764
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2024-03-14 08:25:42 +01:00
Joshua Santosh Ranjan
9ad5445a72
refactor: make all metric and group have a metric source
...
Related-To: NEO-8783
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2024-03-12 21:20:40 +01:00
Mateusz Jablonski
3722130f04
test: correct printing device uuid in zello_sysman
...
cout cannot print uint8_t as numeric value
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-12 15:28:47 +01:00
Bellekallu Rajkiran
072304296c
feature: Remove support for min power limit property
...
Max limit to be same as default power limit.
Related-To: NEO-10525
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2024-03-11 15:30:56 +01:00
Mateusz Jablonski
973757a58d
build: enable xe drm detection by default
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-11 14:29:20 +01:00
Joshua Santosh Ranjan
c6bcdf8c7b
fix(sysman): correct the error number for fd overflow
...
Related-To: NEO-10513
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2024-03-08 13:52:32 +01:00
Mateusz Hoppe
5e15543b14
test: improve unit tests - use virtual file system
...
- use virtualFileSystem in ULTs, writeDataToFile() does not create file
but instead saves filename. Call to fileExists() checks if file was
previously written
Related-To: NEO-7006
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-03-08 13:34:19 +01:00
Compute-Runtime-Validation
b44725b371
Revert "feature: Remove support for min power limit property"
...
This reverts commit cb924cfe6e .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-03-07 20:29:35 +01:00
Jitendra Sharma
e1e1c0d046
feature: Implement metadata create event handling in XE
...
Related-To: NEO-8407
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2024-03-07 14:26:48 +01:00
Joshua Santosh Ranjan
ba5c6f32b3
feature: return error when file handles are exhaused in sysman engine
...
Related-To: NEO-10513
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2024-03-07 09:15:20 +01:00
Bellekallu Rajkiran
cb924cfe6e
feature: Remove support for min power limit property
...
Max limit to be same as default power limit.
Related-To: NEO-10525
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2024-03-05 17:23:54 +01:00
Zbigniew Zdanowicz
b37c57c92b
feature: add wait command list argument
...
Related-To: NEO-10065
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-03-05 15:44:20 +01:00
Bari, Pratik
0f8dd5e6c9
fix(sysman): Changes in the Engine BB Test
...
- The core API used in the Engine Black Box tests is replaced.
Related-To: NEO-10536
Signed-off-by: Bari, Pratik <pratik.bari@intel.com >
2024-03-04 11:10:42 +01:00
Joshua Santosh Ranjan
a3e60acc8f
refactor: refactor metric programmable to use open source
...
Related-To: NEO-10451
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2024-03-01 06:36:25 +01:00
Bellekallu Rajkiran
a023b40c90
fix: Synchronize power property retrievals
...
Related-To: NEO-10525
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2024-02-28 12:09:56 +01:00
Mateusz Motyl
d642528e86
refactor: 32-bit stream markers support
...
Signed-off-by: Mateusz Motyl <mateusz.motyl@intel.com >
2024-02-28 09:42:51 +01:00
Bari, Pratik
317e4d84d4
fix(sysman): Changes in the Device Reset Implementation
...
- The unbind and bind operations in the device reset are now used
for the FLR and Cold Reset and not for Warm reset.
Related-To: NEO-10452
Signed-off-by: Bari, Pratik <pratik.bari@intel.com >
2024-02-28 09:27:52 +01:00
Bari, Pratik
b55e5ddc87
feature(sysman): Add L3 Fabric Error in Sysman Dir
...
- Added the Display error category in the tools code as well.
- Added the index increment logic for the tools code as well.
Related-To: NEO-10362
Signed-off-by: Bari, Pratik <pratik.bari@intel.com >
2024-02-28 08:48:08 +01:00
Kulkarni, Ashwin Kumar
0ebaf7e1e2
fix(sysman): enables memory health indicator for supported platforms only
...
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com >
2024-02-27 12:40:22 +01:00
Jitendra Sharma
5c4be8df54
fix: Ensure after EU_CONTROL IOCTL, bitmask ptr is not null
...
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2024-02-26 10:07:09 +01:00
Jitendra Sharma
2c10f5639e
feature: Implement thread control and att event handling for xe
...
Related-To: NEO-9673
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2024-02-23 16:15:59 +01:00
Compute-Runtime-Validation
40cea2f6fe
Revert "feature: Implement thread control and att event handling for xe"
...
This reverts commit fb73fad6d7 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-02-23 05:00:21 +01:00
Jitendra Sharma
fb73fad6d7
feature: Implement thread control and att event handling for xe
...
Related-To: NEO-9673
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2024-02-22 15:24:35 +01:00
Joshua Santosh Ranjan
14cf315bda
refactor(sysman): optimize use of fd handles in engine module
...
Related-To: NEO-10449
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2024-02-21 19:17:31 +01:00
Kulkarni, Ashwin Kumar
a207c73c58
fix(sysman): set init values for pci link speed params
...
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com >
2024-02-21 15:52:45 +01:00
Brandon Yates
0f817d1db4
refactor: Move debugger IsaAllocation to common linux code
...
-replace i915 event with generic EventToAck type
-Move isamap to common Client Connection
-Move isa memory access functions to common linux imp
Related-to: NEO-9669
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2024-02-21 12:04:31 +01:00
Jitendra Sharma
f56babb2a9
refactor: Move common attention handling EuDebug code out of prelim
...
Move common attention handling code from prelim in common linux
debug_session(.h/.cpp) files.
This common code could be shared to handle attention events for
prelim and xe driver based Eu Debug
Related-To: NEO-9673
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2024-02-19 14:49:30 +01:00
Brandon Yates
0fb6f4bf3f
refactor: make Debugger ClientConnection common for xe/i915
...
- Add base ClientConnection type and derived i915/xe types
- Add accessor function fo retreive ClientConnection
- Move getElfOffset to common linux code
- Add accessor functions for getElfSize and getElfData
Related-to: NEO-9669
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2024-02-15 11:27:10 +01:00
Brandon Yates
1e3d57b29a
refactor: Move Debugger Mem Access to generic linux implementation
...
Related-to: NEO-9669
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2024-02-13 18:56:00 +01:00
Jitendra Sharma
ff604bda1b
feature: Implement thread control for debugger in XE
...
Related-To: NEO-9668
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2024-02-12 19:46:28 +01:00
Brandon Yates
ea7ae7564f
feature: Implement read/writeGpuMemory for Xe debugger
...
- makes prelim read/writeGpuMemory generic
- Implements Xe specific ioctls and fsyncs
- Refactors dbg IoctlHelper to use shared base class
for Xe and i915
Related-to: NEO-9668
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2024-02-08 22:09:59 +01:00
Kulkarni, Ashwin Kumar
11f76277c8
feature(sysman): adds firmware flash progress api support
...
Related-To: NEO-9297
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com >
2024-02-08 10:23:24 +01:00
Jitendra Sharma
d69bb8ac15
refactor: Move common debugger methods out of prelim directory
...
Related-To: NEO-9668
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2024-02-06 12:45:58 +01:00
Bari, Pratik
00d36b5cee
feature(sysman): Added L3 Fabric Errors
...
Related-To: NEO-8560
Signed-off-by: Bari, Pratik <pratik.bari@intel.com >
2024-02-06 10:18:47 +01:00
Jitendra Sharma
adef8fbc8d
feature: Implement Process entry/exit event with xe
...
Related-To: NEO-9671
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2024-02-06 08:40:34 +01:00
Brandon Yates
9636c2f0d5
fix: Avoid double free when freeing sip kernels
...
Reset sipKernels unique_ptr when freeing
Related-to: NEO-8402
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2024-01-25 08:45:45 +01:00
Jitendra Sharma
e8ca729002
feature: Add support to handle DRM_XE_EUDEBUG_EVENT_VM event
...
Related-To: NEO-8407
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2024-01-24 15:57:32 +01:00
Jitendra Sharma
b34e8646ac
feature: Implement Xe Eu debug Open and Exec Queue events
...
Related-To: NEO-8407
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2024-01-23 08:04:21 +01:00
Filip Hazubski
b91c5e6605
ci: update config files
...
Add reviewer joshua.santosh.ranjan@intel.com to level_zero/sysman config
Add reviewer jitendra.sharma@intel.com to level_zero/sysman config
Add reviewer jitendra.sharma@intel.com to level_zero/tools config
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2024-01-22 11:45:10 +01:00