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>
Replacing normal pointers by smart pointers in temperature module of L0 sysman.
Related-To: LOCI-2810
Signed-off-by: Singh, Prasoon <prasoon.singh@intel.com>
- The 'paramInfo' for the sensor type ZES_TEMP_SENSORS_MEMORY has been
corrected from TemperatureDomainPackage to TemperatureDomainHBM.
- The ULTs for temperature have been enabled for windows.
Related-To: LOCI-3149
Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
Add platform check to read pmt offsets corresponding to
tile instead of root node for single tile devices.
Related-To: LOCI-2575
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
With this change, init for sysman Temperature API would not be done
during zeInit.
Rather init and thereby Temperature API handle creation would be done
only when user explicitly requests to enumerate handles
using zesDeviceEnumTemperatureSensors.
Modification to temperature ULTs
Related-To: LOCI-3127
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
This change -
- Add support for memoryGetBandwidth API
- Update temperature offsets
- Update ULTs accordingly
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
This change updates Temperature APIs to get correct current
temperature based on updated PMT interface.
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
This change does the following:
- As per latest spec, update zesDevicePciGetBars API to report
correct number of bars.
- Cleanup to remove environment variable check while creating
temperature handles.
Change-Id: I4f86210093e3d142183a01bef89417ef9d9fde9b
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
Updated all the getHandle routines to use the following
algorithm:
n = min(*pCount, available)
if (*pCount == 0 || *pCount > available) {
*pCount = available;
}
if (pArrayn != nullptr) {
for(i = 0; i < n; i++) {
pArray[i] = handle[i];
}
}
Change-Id: I3b2a2170c2b52d1651bddae4f85f361fd86167a0
Signed-off-by: Bill Jordan <bill.jordan@intel.com>
Add support for Platform Monitoring Technology,
and read temperature and energy counters.
Change-Id: Ic2c79e902400148cc538267c498fc1d0185c81f8
Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
In this Change:
- Initialize local variables used in pci source.
- Move setting of temperature handle's type to constructor of
TemperatureImp class as temperature handle's type is used in
init() of TemperatureImp class.
- Allow only ENOENT errno at the end of FsAccess::listDirectory function.
Because in this function all directory entries will be read in a
loop. And loop will exit only after readdir() finished reading
all entries in directory and thus readdir() will exit, when it fails
reading any further entry. Thus system will return ENOENT for readdir.
Change-Id: Ibd3ac3f841b114fd87edea1410750b33f3a14e5b
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
Create two handles for Global and Compute temperature
sensors.
Change-Id: I5da90135a803df71372c9c4be9dc891ca64fc214
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
-- add ULT support to validate temperature APIs.
Change-Id: I32bb576f81859f0f7ee22f9a63b0d1a8f192f790
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>