[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 20 Aug 2018 21:43:43 -0400
From: Boris Ostrovsky <boris.ostrovsky@...cle.com>
To: Pu Wen <puwen@...on.cn>, tglx@...utronix.de, mingo@...hat.com,
hpa@...or.com, x86@...nel.org, thomas.lendacky@....com,
bp@...en8.de, pbonzini@...hat.com, jgross@...e.com,
JBeulich@...e.com
Cc: linux-arch@...r.kernel.org, xen-devel@...ts.xenproject.org,
linux-kernel@...r.kernel.org
Subject: Re: [Xen-devel] [PATCH v4 12/16] x86/xen: enable Hygon support to Xen
On 08/19/2018 12:13 PM, Pu Wen wrote:
> To make Xen works functionly on Hygon platforms, reuse AMD's Xen support
> code path for Hygon.
>
> There are six core performance events counters per thread, so there are
> six MSRs for these counters(0-5). Also there are four legacy PMC MSRs,
> they are alias of the counters(0-3).
>
> In this version of kernel Hygon use the lagacy and safe versions of MSR
> access. It works fine when VPMU enabled in Xen on Hygon platforms by
> testing with perf.
>
> Signed-off-by: Pu Wen <puwen@...on.cn>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@...cle.com>
Powered by blists - more mailing lists