Commit Graph

38 Commits

Author SHA1 Message Date
Puneeth Kumar Reddy D
183d82b021 Changes made to the print statement.
Signed-off-by: Puneeth Kumar Reddy D <puneeth.kumar.reddy.devarinti@intel.com>
2022-09-29 12:47:16 +02:00
Bellekallu Rajkiran
50f9564a18 Add support to test device reset for specific device
Related-To: LOCI-3392

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-09-06 17:12:25 +02:00
Puneeth Kumar Reddy D
dcbf5150dc Modify zello_sysman pci properties logging
Add logging of PCI properties to decimal or hex
based on the type of the property.

Related-To: LOCI-3378

Signed-off-by: Puneeth Kumar Reddy D <puneeth.kumar.reddy.devarinti@intel.com>
2022-09-01 10:50:19 +02:00
Bellekallu Rajkiran
6fe263d0a3 Update zello_sysman bb test for power module
Add support for getPowerLimitsExt and setPowerLimitsExt.

Related-To: LOCI-3195

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-08-03 09:09:19 +02:00
Bellekallu Rajkiran
599553d86c Add ECC test support to zello_sysman
Related-To: LOCI-3195

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-07-28 16:42:56 +02:00
Bari, Pratik
2942a48ce8 Fix for zello_sysman properties bug
The unsigned char values are typecast to unsigned int during cout
operation.

Related-To: LOCI-3267

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2022-07-18 19:09:24 +02:00
Mateusz Jablonski
4ee27f11c0 CMake: disallow variable-length-array
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-06-27 23:22:08 +02:00
Mayank Raghuwanshi
3900cfaf8c Update zello_sysman cli to set performance factor
Related-To: LOCI-3108

Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2022-06-09 13:07:22 +02:00
Artur Harasimiuk
819e0f5515 style: configure readability-identifier-naming.LocalVariableCase
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-16 12:39:44 +02:00
Vilvaraj, T J Vivek
47f7b4f509 sysman: clean up code duplication for reset
warm and cold reset are common functionality,
the code is being moved to the common sysman implementation
from diagnostics specific files.

Related-To: LOCI-1908
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
2022-03-31 14:10:39 +02:00
Jitendra Sharma
c54152bbbc Sysman: Add support to check whether resizable PCI BAR is enabled
Related-To: LOCI-2414

Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-08-09 19:37:16 +02:00
Jitendra Sharma
478edfc0e4 Sysman: Add support to check if resizable Bar supported
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-07-27 08:13:08 +02:00
Vilvaraj, T J Vivek
c2ab7fcf70 add memType and Memory channel support to systemInfo
use the updated systemInfo to acquire Memory Type.


Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2021-07-22 18:38:39 +02:00
Jaime Arteaga
753b0d82d5 Correctly initialize descriptors and property structs in black box tests
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-06-28 22:49:10 +02:00
Mayank Raghuwanshi
a19eab36fb Modify handle create handle implementation for sysman engine
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2021-06-22 18:41:03 +02:00
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
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
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
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
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
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
Mayank Raghuwanshi
61c08c052f Implement zesDriverEventListenEx
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2021-04-17 04:25:35 +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
Mayank Raghuwanshi
0f973f146e Implement zesRasGetConfig and zesRasSetConfig
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2021-03-02 16:07:01 +01:00
Jitendra Sharma
3597093758 Update Temperature APIs to get correct temperature
This change updates Temperature APIs to get correct current
temperature based on updated PMT interface.

Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-02-06 18:39:58 +01:00
Vilvaraj, T J Vivek
b41a8d29dd Sysman: add firmware flash API (#1368)
* Sysman: add firmware flash API

Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>

* Sysman: fixed windows implementation of firmware flash API.

Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>

* add unit tests to test flashing.

Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>

* sysman: add firmware flashing support to zello sysman

Signed-off-by: T J Vivek Vilvaraj <t.j.vivek.vilvaraj@intel.com>

* sysman: added progress update function to firmware flash API

Signed-off-by: T J Vivek Vilvaraj <t.j.vivek.vilvaraj@intel.com>
2021-01-22 19:55:40 +01:00
Mayank Raghuwanshi
5cd5705239 Implement clear option for zesRasGetState
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2021-01-21 15:00:13 +01:00
Vilvaraj, T J Vivek
bddc63e8bd add firmware flashing utility interface
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
2020-12-22 09:10:11 +01:00
Mayank Raghuwanshi
328ef7a6f6 Update zello sysman for ras module
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2020-12-16 15:25:01 +01:00
William Jordan
4732a4e692 Level 0 Sysman FabricPort updates.
Add fabric port routines to zello_sysman.
Add subdevice support to FabricPort routines.
Update source paths for additional FabricPort development.

Signed-off-by: William Jordan <bill.jordan@intel.com>
2020-12-01 05:38:06 +01:00
Vilvaraj, T J Vivek
53b1dded2f Sysman zesPowerGetProperties() implementation.
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
2020-11-24 11:48:37 +01:00
Jitendra Sharma
f4158e10ff Add support for DEVICE_DETACH and DEVICE_ATTACH sysman events
Change-Id: I2da57ec50a0f3e87499660d37fa248a06f9fdb08
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-11-04 03:31:32 +01:00
Jitendra Sharma
6cce17e9a0 Add boiler plate support for sysman event API
Change-Id: I046620abb9943b2283215a5d2d85d71dcb8b98be
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-10-21 10:20:00 +05:30
Jitendra Sharma
cfb1fec19a Implement sysman power set/get limit APIs
Change-Id: I35232902cf96d20594adbd128064c362cf154711
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-10-06 17:33:11 +02:00
Kanhaiya
da3bc90df3 Cleaning the zello_sysman.
Change-Id: If9eef0404b0b3f550ad222e148923fda8367bdbd
Signed-off-by: Kanhaiya <kanhaiya.singh@intel.com>
2020-10-06 16:57:55 +02:00
Bill Jordan
909107cab6 Fix zesDeviceReset for Spec version 1.
This patch does the following:
- Fixes a bug in FsAccess::listDirectory that could return
ZE_RESULT_UNKNOWN_ERROR when no error has occurred.
- Fixes a bug in zesDeviceReset that would reset the device
if force was set to false, even if the device was in use.
- Fixes a bug in zesDeviceReset that would reset the device
if force was set to false without closing the file descriptor.
- Added a releaseResources method method to Device object.
This method does the same thing as the DeviceImp
destructor except it does not free the DeviceImp object
and it does not free the SysmanDeviceImp object.
- Added the releaseResources methods to Mock<Device> object.
- Moved the reset of the debugger out of DriverHandleImp
destructor and into DeviceImp releaseResources.
- Added a releaseEngine method to the EngineHandleContext. This
method frees all the Engine handles.
- On reset, I call the Devcie->releaseResources and
EngineHandleContext->releaseEngines before resetting the device.
- Added a -r (--reset) option to zello_sysman so I
could easily test resets.

With these patches, the L0 Sysman CTS for zesDeviceReset
both pass.

Change-Id: I31fad1b27bc5cc6befe31cd6f9319748e2683424
2020-10-05 19:55:14 +02:00
Jitendra Sharma
77f88f9a96 Add Subdevice support for sysman scheduler API
Change-Id: I7b2222645d93346cfd3bfd3b6561dbe21154b61f
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-09-29 16:30:20 +02:00
Matias A. Cabral
0f020b6da7 New Sysman black box test
Sysman test to exercise Sysman APIs and show system info

Change-Id: I16c1d93eb73d54925a113bc6035100654764779c
Signed-off-by: Matias A. Cabral <matias.a.cabral@intel.com>
2020-09-04 03:49:17 +02:00