[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v3 4/6] xen/PMU: Describe vendor-specific PMU registers

On 07/04/2014 06:41 AM, David Vrabel wrote:
On 03/07/14 20:14, Boris Ostrovsky wrote:
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

I trust that the hardware bit are correct.

Reviewed-by: David Vrabel <david.vrabel@xxxxxxxxxx>

Although I wonder if a lookup table might be better than the chain of ifs.

I'll see if I can do that (while keeping code readable).


(Thanks for strim pointer, I didn't know we had one)

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.