fix: Read pci config space on demand.

Storing config space during sysman init might result in
providing inappropriate properties as config space can be
modified.

Read config space whenever properties are queried.

Related-To: LOCI-4513

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
This commit is contained in:
Bellekallu Rajkiran
2023-06-20 12:04:18 +00:00
committed by Compute-Runtime-Automation
parent f9a58b5544
commit 6994106c1f
15 changed files with 434 additions and 259 deletions

View File

@@ -13,8 +13,6 @@
#include "level_zero/sysman/source/firmware_util/sysman_firmware_util.h"
#include <linux/pci_regs.h>
namespace L0 {
namespace Sysman {
const std::string LinuxDiagnosticsImp::deviceDir("device");