]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/PMU: Describe vendor-specific PMU registers
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Mon, 10 Aug 2015 20:34:35 +0000 (16:34 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 30 Nov 2015 19:39:17 +0000 (14:39 -0500)
commit754a67bf6d816e449688d46e2989f97756baf0ce
treef91e93e76db377357b57374821ccf596f7283fe7
parent446983f38ec11e3962acaaca7bb0d1741dc999c5
xen/PMU: Describe vendor-specific PMU registers

AMD and Intel PMU register initialization and helpers that determine
whether a register belongs to PMU.

This and some of subsequent PMU emulation code is somewhat similar to
Xen's PMU implementation.

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
(cherry picked from commit e27b72df01109c689062caeba1defa013b759e0e)
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/pmu.c