Invoking FwDeviceInit from several modules without closing
igsc device result in memory leak.
Add support to invoke FwDeviceInit only during creation of fw util
interface.
Related-To: LOCI-3204
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
With this change, init for sysman Engine API would not be done during zeInit.
init and thereby Engine API handle creation would be done only
when user explicitly requests to enumerate handles
using zesDeviceEnumEngineGroups
Related-To: LOCI-3127
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
This change:
- prevents writing memory out of the range of the destination buffer
- prevents calling strlen() with non-null terminated c-string
- corrects the logic, which validates passed range to proceed
when real length fits the destination buffer
Related-To: NEO-7264
Signed-off-by: Wrobel, Patryk <patryk.wrobel@intel.com>
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>
- 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>
- Avoid adding the duplicate FWtypes in case of multi GPU devices
Related-To: LOCI-2623
Signed-off-by: Pichika Uday Kiran <pichika.uday.kiran@intel.com>
* 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>
Fix warnings related to unused/uninitialized variables etc.
Change-Id: I2e75ede434442d7b99d6e28253e7811aac205323
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>