On Thu, 2 Nov 2017, [email protected] wrote: > From: Kan Liang <[email protected]> > > As of Skylake Server, there are a number of free-running counters in > each IIO Box that collect counts for per box IO clocks and per Port > Input/Output x BW/Utilization. > > The free running counter is read-only and always active. Counting will > be suspended only when the IIO Box is powered down. > > There are three types of IIO free running counters on Skylake server, IO > CLOCKS counter, BANDWIDTH counters and UTILIZATION counters. > IO CLOCKS counter is to count IO clocks. > BANDWIDTH counters are to count inbound(PCIe->CPU)/outbound(CPU->PCIe) > bandwidth. > UTILIZATION counters are to count input/output utilization. > > The bit width of the free running counters is 36-bits. > > Signed-off-by: Kan Liang <[email protected]>
Assumed that all the magic numbers are correct: Reviewed-by: Thomas Gleixner <[email protected]>

