aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorBoris Ostrovsky <[email protected]>2011-03-15 12:13:44 -0400
committerIngo Molnar <[email protected]>2011-03-16 14:03:33 +0100
commitb87cf80af3ba4b4c008b4face3c68d604e1715c6 (patch)
treede37fabdc7bc8dc73828469ef989a2cf976d8027 /tools/perf/util/trace-event-scripting.c
parent1d3e09a304e6c4e004ca06356578b171e8735d3c (diff)
x86, AMD: Set ARAT feature on AMD processors
Support for Always Running APIC timer (ARAT) was introduced in commit db954b5898dd3ef3ef93f4144158ea8f97deb058. This feature allows us to avoid switching timers from LAPIC to something else (e.g. HPET) and go into timer broadcasts when entering deep C-states. AMD processors don't provide a CPUID bit for that feature but they also keep APIC timers running in deep C-states (except for cases when the processor is affected by erratum 400). Therefore we should set ARAT feature bit on AMD CPUs. Tested-by: Borislav Petkov <[email protected]> Acked-by: Andreas Herrmann <[email protected]> Acked-by: Mark Langsdorf <[email protected]> Acked-by: Thomas Gleixner <[email protected]> Signed-off-by: Boris Ostrovsky <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions