Commit Graph

71 Commits

Author SHA1 Message Date
Puneeth Kumar Reddy, Devarinti
03bfea0ef5 feature: add debug logs to firmware module for new sysman implementation
Related-To: LOCI-3877

Signed-off-by: Puneeth Kumar Reddy, Devarinti <puneeth.kumar.reddy.devarinti@intel.com>
2023-07-24 09:22:55 +02:00
Puneeth Kumar Reddy, Devarinti
ff6f64d9be feature(sysman): add debug logs to ras module for zesInit
Related-To: LOCI-3880

Signed-off-by: Puneeth Kumar Reddy, Devarinti <puneeth.kumar.reddy.devarinti@intel.com>
2023-07-20 15:17:24 +02:00
Mayank Raghuwanshi
af6798f257 feature: Add support for 64 bit memory counters for zesInit
Related-To: LOCI-4613, LOCI-4612

Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2023-07-20 11:04:24 +02:00
Compute-Runtime-Validation
5c60b4d973 Revert "feature: Add support for Media frequncy Domain on linux"
This reverts commit 085293b230.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-07-20 03:04:52 +02:00
Mayank Raghuwanshi
085293b230 feature: Add support for Media frequncy Domain on linux
Related-To: LOCI-4552

Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2023-07-19 16:43:27 +02:00
Artur Harasimiuk
9524b65b51 refactor: remove unused code
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2023-07-19 12:00:40 +02:00
Bari, Pratik
16b56b9a6f feature(sysman): New shared directory in the sysman code.
The files containing the new 'SysmanKmdInterface' has been moved into
the new 'shared' directory in the existing sysman directory. More files
are to be added in this directory which will be used by all the sysman
modules in the sysman and tools directories.

Related-To: LOCI-4649

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-07-18 16:06:31 +02:00
Artur Harasimiuk
faa8907344 refactor: remove unused code
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2023-07-18 14:52:43 +02:00
Bellekallu Rajkiran
461ecc9b3b fix(sysman): Align board number string sequence
Related-To: LOCI-4631

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-07-17 16:07:43 +02:00
Kulkarni, Ashwin Kumar
ed972bb21c feature(sysman): supports pci module for zesInit windows
Related-To: LOCI-4204

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-07-14 02:28:32 +02:00
Puneeth Kumar Reddy, Devarinti
6f29e3b100 feature(sysman): add debug logs to power module for zesInit
Related-To: LOCI-3879

Signed-off-by: Puneeth Kumar Reddy, Devarinti <puneeth.kumar.reddy.devarinti@intel.com>
2023-07-13 17:46:30 +02:00
Bari, Pratik
b9837ef068 feature(sysman): Added changes for Porting Frequency API
The new classes SysmanKmdInterface, SysmanKmdInterfaceI915 and
SysmanKmdInterfaceXe have been introduced.
A map is maintained in the SysmanKmdInterfaceI915 and
SysmanKmdInterfaceXe class for the sysfs file names.
The access specifier of the function getDrmVersion has been changed from
protected to public so as to use it in the sysman code. This is required
for the SysmanKmdInterface pointer to point to the
SysmanKmdInterfaceI915 and SysmanKmdInterfaceXe accordingly.
The ULTs have been added for the new sysfs file path corresponding to
the i915 and the Xe driver.

Related-To: LOCI-4399

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-07-13 08:41:05 +02:00
Puneeth Kumar Reddy, Devarinti
d61961227c feature: add debug logs for fabricport for new sysman implementation
Related-To: LOCI-3882

Signed-off-by: Puneeth Kumar Reddy, Devarinti <puneeth.kumar.reddy.devarinti@intel.com>
2023-07-13 08:00:43 +02:00
Puneeth Kumar Reddy, Devarinti
c6e0e397c6 feature: add debug logs for ecc module for new sysman implementation
Related-To: LOCI-3878

Signed-off-by: Puneeth Kumar Reddy, Devarinti <puneeth.kumar.reddy.devarinti@intel.com>
2023-07-06 15:39:28 +02:00
Kulkarni, Ashwin Kumar
358a53c43b feature(sysman): enables ecc module for zesInit windows
Related-To: LOCI-4207

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-07-05 11:16:51 +02:00
Kulkarni, Ashwin Kumar
c1371eea9f feature(sysman): supports firmware and RAS modules for zesInit
Related-To: LOCI-4197

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-07-05 10:30:48 +02:00
Bellekallu Rajkiran
6994106c1f fix: Read pci config space on demand.
Storing config space during sysman init might result in
providing inappropriate properties as config space can be
modified.

Read config space whenever properties are queried.

Related-To: LOCI-4513

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-07-01 00:37:38 +02:00
Aravind Gopalakrishnan
ba4c4a5af0 feature(sysman): Retrieve uuid for Sysman device properties
- Abstracts product helpers logic for uuid
- Add UUID retrieval for Linux for Sysman via zesInit path

Related-To: LOCI-4137

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2023-06-26 19:17:21 +02:00
Kulkarni, Ashwin Kumar
73b40a49dc fix(sysman): Enables zesInit flow without setting ZES_ENABLE_SYSMAN
Related-To: LOCI-4458

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-06-23 11:01:36 +02:00
Bellekallu Rajkiran
fe4330e588 feature(sysman): Add support for events module
- Port events module to new sysman design
- Add events ULTs for new sysman interface

Related-To: LOCI-4120

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-06-21 07:06:43 +02:00
Bari, Pratik
a15e8a9679 feature: Added changes for Porting Memory API with XE driver
The Memory Info object is used in the getState function for memory.
Some of the ULTS in the memory modules has been modified.
A function to return the sysfs nodes for the Memory address range has
been added in the IoctlHelper class corresponding to the XE and i915
driver.

Related-To: LOCI-4397

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-06-20 21:38:17 +02:00
Mayank Raghuwanshi
ac01d02247 feature: Add support for frequency media domain for windows
Related-To: LOCI-4287

Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2023-06-19 06:19:10 +02:00
Kulkarni, Ashwin Kumar
befb9fca58 feature: enables memory module to support zesInit flow
Related-To: LOCI-4198

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-06-14 20:39:21 +02:00
Kumar, Shubham
c99a08bea8 feature: Support for Fan module using zesinint on windows
Added ULTs for Fan module in new sysman implementation
Added support for Fan in zello_sysman

Related-To: LOCI-4409, LOCI-4412

Signed-off-by: Kumar, Shubham <shubham.kumar@intel.com>
2023-06-13 02:12:20 +02:00
Bari, Pratik
112bbec6e9 feature(sysman): Add support for the Diagnostics APIs
Added support for the Diagnostics APIs in the new sysman design
Added ULTs for the Diagnostics APIs in the new sysman design

Related-To: LOCI-4247

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-06-09 09:57:26 +02:00
Kulkarni, Ashwin Kumar
24495b5954 feature(sysman): Support Global Operations module for windows zesInit
Related-To: LOCI-4194

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-06-08 19:23:27 +02:00
Kulkarni, Ashwin Kumar
bc719ad80e feature(sysman): supports performance module for zesInit windows
Related-To: LOCI-4205

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-06-06 08:40:51 +02:00
Jitendra Sharma
365ea7a178 feature: Add support for enabling compute unit debug mode
Add support for enabling compute unit debug mode in sysman
which is not initialized by core.

Related-To: LOCI-4370

Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2023-06-05 12:37:35 +02:00
Bellekallu Rajkiran
3c072a6cd1 fix: WA for VF bar resource allocation post Warm reset
On Warm reset, With default bar size set by bios, VF bar
allocation is getting failed because of bug in pci driver
which impacts SRIOV functionality.

Resize VF bar size for succesful allocation of VF bar
post warm reset.

Related-To: LOCI-4481

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-06-02 13:16:34 +02:00
shubham kumar
501c8e87d7 fix: rename files under sysman to make them unique
Related-To: LOCI-4383

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2023-05-30 10:23:15 +02:00
Mateusz Jablonski
82ed9e9a96 refactor: simplify L0 tools/sysman headers
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-05-29 10:59:25 +02:00
Jitendra Sharma
e800cae7f9 fix: Restrict sysman usage without initializing it
This change is to tacke situation when user tries to invoke
zesDriverGet without successfully calling zesInit.

Related-To: LOCI-4447

Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2023-05-25 17:04:59 +02:00
Mayank Raghuwanshi
d0d5a03be7 feature: Add support for Experimental zexSysmanMemoryGetBandwidth
Related-To: LOCI-3838

Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2023-05-25 00:46:07 +02:00
Bari, Pratik
f9703f25b0 feature(sysman): Added support for PCI APIs
Added support for PCI APIs in the new sysman design
Added ULTs for the PCI APIs in the new sysman design

Related-To: LOCI-4319

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-05-18 07:48:14 +02:00
Aravind Gopalakrishnan
7b27d7cf41 fix(sysman): Minor fixes to RAS module
- check for empty set

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2023-05-17 18:58:47 +02:00
Bari, Pratik
af2c61c54b feature(sysman): Added support for Performance APIs
Added support for the Performance APIs in the new sysman design.
Added ULTs for the Performance APIs in the new sysman design.
In the black box test for performance, the API to compute the number
of sub devices has been changed in order to get the sub device count
regardless of the sysman initialization using zeInit or zesInit.

Related-To: LOCI-4294

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-05-16 06:59:29 +02:00
Kumar, Shubham
e8e2bdc900 feature: Support for Engine APIs with zesinit
Related-To: LOCI-4199

Signed-off-by: Kumar, Shubham <shubham.kumar@intel.com>
2023-05-16 05:37:39 +02:00
Kulkarni, Ashwin Kumar
29c4a12b75 feature: supports sysman temperature module for zesInit
Related-To: LOCI-4203

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-05-12 17:13:42 +02:00
Aravind Gopalakrishnan
826abf338a feature(sysman): Add support for RAS module
- Port RAS module to new sysman design
- Add RAS ULTs for new sysman interface

Related-To: LOCI-4246

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2023-05-09 19:44:51 +02:00
Kulkarni, Ashwin Kumar
46919d3e91 feature: Supports frequency APIs with zesinit
Related-To: LOCI-4196

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-05-02 05:07:11 +02:00
Bellekallu Rajkiran
c55c1b4276 refactor(sysman): Remove support for Array and scan diagnostics
Related-To: LOCI-4323

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-05-01 05:30:36 +02:00
Bari, Pratik
4647564cc9 feature(sysman): Added support for Temperature APIs
Added support for the Temperature APIs in the new sysman design.
Added ULTs for the Temperature APIs in the new sysman design.

Related-To: LOCI-4293

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-04-27 16:45:23 +02:00
Mayank Raghuwanshi
9cc5763800 fix: Revert spec 1.5 RAS changes from Sysman
Related-To: LOCI-4351

Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2023-04-27 05:29:33 +02:00
Fabian Zwolinski
e2e00413a8 Apply CamelCase for class and struct names
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2023-04-24 15:36:27 +02:00
Mayank Raghuwanshi
b733d56a36 Make calls to igsc from Sysman thread safe
Related-To: LOCI-4325

Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2023-04-21 15:51:27 +02:00
Kulkarni, Ashwin Kumar
c93b084a4b Change return code for APIs with no support in windows
Related-To: LOCI-3863

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-04-21 07:28:20 +02:00
Bari, Pratik
e03b1581b9 Added support for the ECC APIs
- Added support for the ECC APIs in the new sysman design.
- Added ULTs for the ECC APIs in the new sysman design.

Related-To: LOCI-4244

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-04-14 07:17:12 +02:00
Singh, Prasoon
0165f6158c [Sysman] Replace normal pointers with smart pointers (13/n)
Replacing normal pointers by smart pointers in scheduler module
of LO sysman(zesinit).

Related-To: LOCI-2810

Signed-off-by: Singh, Prasoon <prasoon.singh@intel.com>
2023-04-10 23:14:00 +02:00
Kulkarni, Ashwin Kumar
d0fb5a6e51 Support Windows Sysman initialization
Support for Initialization using zesInit
Support Power module using new sysman initialization

Related-To: LOCI-4134

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-04-10 06:59:47 +02:00
Bari, Pratik
f8623fadaf Added support for Standby APIs
- Added support for the Standby APIs in the new sysman design.
- Added ULTs for the Standby APIs in the new sysman design.

Related-To: LOCI-4097

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-04-10 06:54:50 +02:00