Define single .clang-tidy configuration with all used checks and use
NOLINT to selectively silence tool. That way cleanup should be easier.
third_part/ has its own configuration that disables clang-tidy for this
folder.
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
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>
In a multi thread environment the access to the external
library needs to be synchronized.
Resolves: LOCI-2871, LOCI-2873
Signed-off-by: T.J.Vivek Vilvaraj <t.j.vivek.vilvaraj@intel.com>
Earlier sysman memory module was using logical subdeviceId
exposed by core to retrieve memory telmetry data, replace
the logical subdeviceId with actual subdeviceId for collecting
telemetry data.
Related-To: LOCI-2828
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
Fixed by avoiding library function access if library is unavailable.
Related-To: LOCI-2719
Signed-off-by: Ranjan, Joshua Santhosh <joshua.santosh.ranjan@intel.com>
Use pread sys call instead of mmap and munmap
to get telemetry info.
Related-To: LOCI-2634
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
Before performing gpu device reset, first all level zero resources
and gpu device specific resources have to be cleaned up. Also as
after device reset, state of gpu device would be lost.
Hence after performing gpu device reset, level zero device have
to be reinitialized by querying gpu device again.
This change is aimed at reinitializing the level zero resources
after gpu device reset, so that user could continue using level zero
devices after device reset.
Related-To: LOCI-2627
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
- There are functions exposed through Firmware Util interface to get
the firmware version and perform firmware flash based on firmware type.
Instead this functionality is being handled with generic functions. Hence
this commit removes the redundant code.
Related-To: LOCI-2568
Signed-off-by: Pichika Uday Kiran <pichika.uday.kiran@intel.com>
igsc context is intialized by the device init call to igsc library.
When resources are freed, the context needs to be closed explicitly
by sysman to force igsc library to free and release the context
within the igsc library.
Related-To:LOCI-2695
Signed-off-by: T J Vivek Vilvaraj <t.j.vivek.vilvaraj@intel.com>
- This commit adds the support of new firmware flashing
- And also added the support in ULTs for the new firmware
flash APIs.
Related-To: LOCI-2381
Signed-off-by: Pichika Uday Kiran <pichika.uday.kiran@intel.com>
- This commit adds the support of new firmware flashing
- And also added the support in ULTs for the new firmware
flash APIs
Related-To: LOCI-2381
Signed-off-by: Pichika Uday Kiran <pichika.uday.kiran@intel.com>
firmware Utils was always enumerating the same firmware
device handle for all sysman devices.
Related-To:LOCI-2609
Signed-off-by: T J Vivek Vilvaraj <t.j.vivek.vilvaraj@intel.com>
- This commit reads the IGSC version from the IGSC config
rather parsing the igsc library path.
Related-To: LOCI-2527
Signed-off-by: Pichika Uday Kiran <pichika.uday.kiran@intel.com>
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>