Skip to content

Commit 28369f6

Browse files
committed
disable BDX IRP and IIO PMU
Change-Id: If95d0b7d7e628ac77ed8d3651909c5c38055cf61
1 parent 1be76b6 commit 28369f6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/cpucounters.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2456,7 +2456,7 @@ void PCM::initUncorePMUsDirect()
24562456
}
24572457
}
24582458
}
2459-
auto findPCICFGPMU = [](uint32 did,
2459+
auto findPCICFGPMU = [](const uint32 did,
24602460
const int s,
24612461
const uint32 CtlOffset,
24622462
const std::vector<uint32> & CounterControlOffsets,
@@ -2491,10 +2491,12 @@ void PCM::initUncorePMUsDirect()
24912491
{
24922492
switch (cpu_model)
24932493
{
2494+
#if 0
24942495
case BDX:
24952496
irpPMUs[s][0] = findPCICFGPMU(0x6f2a, s, 0xF4, {0xD8, 0xDC, 0xE0, 0xE4}, {0xA0, 0xB0, 0xB8, 0xC0});
24962497
iioPMUs[s][0] = findPCICFGPMU(0x6f34, s, 0xF4, {0xD8, 0xDC, 0xE0, 0xE4}, {0xA0, 0xA8, 0xB0, 0xB8});
24972498
break;
2499+
#endif
24982500
}
24992501
}
25002502

0 commit comments

Comments
 (0)