Added a FabricDevice object that all FabricPort objects have access
to. Although we don't provide library routines for the user to
access a FabricDevice level object, one exists. And the FabricPort
objects will need to coordinate with the device level object
to get perform operations.
Change-Id: Ief307a312187e8bc5c566bcf4af5b50ecc171aee
Signed-off-by: Bill Jordan <bill.jordan@intel.com>
XML parsing for linux only, hanging off the OsSysmanImp object.
Change-Id: I473dc8dde0611cc13f38a2c0b59e839fced2e59e
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>
- added dual handle support for RAS Correctable and Uncorrectable Errors.
- added reset counter for RAS.
- added Os Specific ULT for RAS
Change-Id: Ia10115bf6720ab211f549571e810ec0d6c0801ec
- Changed Global Driver to be a void * to avoid auto add of Global
Driver Destructor to run before destruction of other L0 data structures
that might be enqueued to destory in static object destructors.
- Added register of library unload driverdestructor to cleanup
driver/device as the last destructor run.
Change-Id: I8ba6c5c27424b942a86a2613edd52fc682ab1c64
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
If after reading clients directory, while actually trying to
access the individual clients file, we receive a error
ZET_RESULT_ERROR_NOT_AVAILABLE, then it means that this process/client
might be killed/removed. Hence dont return error to user.
Instead simply skip that client's traversal further and move on
to next available client.
Change-Id: If86610a89d7b2421fd85560e5a223391b76d78a0
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>
If system reports incorrect PCI width, then check width against valid
value, and report correct PCI width accordingly.
Change-Id: I56f8fe96785ccd22032860d55dd96b81d5fc53f7
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
Update the Linux os class not allow copying
by usage of NEO::NonCopyableClass.
Change-Id: Icc0d40eaa83d7a46ec0d48a5fc9deb5c57c0e3f8
Signed-off-by: macabral <matias.a.cabral@intel.com>
-- add ULT support to validate temperature APIs.
Change-Id: I32bb576f81859f0f7ee22f9a63b0d1a8f192f790
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
This change:
- Fixes the problem of last character truncted from strings returned
by zetSysmanDeviceGetProperties() API.
- Fix ULT to validate them.
- Return UNSUPPORTED_FEATURE in case zetSysmanProcessesGetState()
fails to find required sysfs nodes in filesystem.
Change-Id: I4b18688c13b1971a1654a41a5a0ef1949330ed10
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
Metric Tracer can use Metrics Library to generate gpu commands
for Metric Tracer marker. Closing Metrics Library will force it to reintialize,
so Metric Query can use Linux time based sampling stream exclusively
(needed to activate metric set or to obtain context switch/triggered reports).
Change-Id: I3105febfbbd78b537ef0688d1b9c08ab54f9a875
This change does the following:
- Implement API zetSysmanProcessesGetState.
- Implement ULT to validate zetSysmanProcessesGetState's implementation
- Redesign ULTs for zetSysmanDeviceGetProperties to mock only OS specific
classes, and validate zetSysmanDeviceGetProperties's implementation end
to end.
- Some bug fixes in code that are caught by these new ULTs
Change-Id: I4a83789771d32978576ff62859628df2c0c795ad
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
1. Disable oa configuration cache on Linux.
2. Do not allow to create mertic query during tracer usage and vice versa.
Change-Id: I139416a92ac8604c8b46b254b533abf6038c2351
- Redesign the ULT to implement OSSpecific ULT by mocking only sysfs
- Fixing the Engine type "RCS" to use by default
Change-Id: I551374ab02da03fe2e4168fd6a30aa8ccaf3dd3e
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
- by Mocking sysfs class and implementing OSSpecific(Linux)
Change-Id: I2eabf24e44e92b72e73bc323206776440b330b83
Signed-off-by: SaiKishore Konda <saikishore.konda@intel.com>