The distance from the SGUnit to the Root port is constant.
calculating the Rootport and Cardbus based on this observation.
the root port and card bus are used by Warmreset function to
preserve the PCI config space.
Resolves: LOCI-2899
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
MMIO will store SBA tracking buffer address for current context.
This change helps in extracting this address and use to read SBA virtual
register.
Related-To: NEO-6765
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
Modify PCI interface to get max speed and width from
pci config space.
Related-To: LOCI-3137
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
This patch fixes multiple metric cacheing for sub-devices when
sub-device is enumerated before root-device
Fixes : LOCI-3161
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
the scpoe of the restorer is till the LinuxSysmanImp is deleted.
Ideally the scope of restorer needs to be function level.
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
- Fix missing ACKs for VM BIND events when module was created
before debugger attaches
Related-To: NEO-6960
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This patch fixes issue when metrics library is released, then the implicit
scaling flag is reset. The issue would make further requests to MDAPI not to
perform implicit scaling specific handling.
Releated-To: LOCI-3163
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
convert the present system of calling Inc/Dec of
execution environment to a more elegant solution
Resolves: LOCI-3165
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
The following modifications were done as part of the fix
for warm reset.
1. Release sysman resources before quiscenting the GPU.
2. Add additional checks to confirm quiscenting of the GPU
before launching the diagnostics tests.
3. Fixed warm reset with wait time to allow the changes to be
propagated to the entire GPU PCI tree.
4. Modified the ULT's completely to avoid the usage of MOCKS.
5. Made Diagnostics handle creation per-device from per-SubDevice.
Related-To: LOCI-3053
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
This patch fixes issue related to domains not cleared during
deactivation which causes incorrect accesses.
Related-To: LOCI-3150
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
- reading events must not be blocked, for example by other ioctls
- by moving event reading to another thread, handling events is not
blocking event reading
Related-To: NEO-7019
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
Set performance factor to half of max performance factor when
multiplier scale is 0.5.
Add ULTs to verify the same.
Related-To: LOCI-3026
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
This patch adds support for Implicit Scaling for
EuStallSampling Metric group
Related-To: LOCI-2760
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
- single slice devices need subslice remapping
- convert api thread ids to physical ids within specific device index
Related-To: NEO-6950
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
- new feature, enabled with PRELIM build
- implementation of debug session for linux
- move ResourceClass enum from Drm to drm_debug.h
Resolves: NEO-6814
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@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>