lkml.org 
[lkml]   [2018]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [Xen-devel] [PATCH v4 12/16] x86/xen: enable Hygon support to Xen
From
Date
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@hygon.cn>

Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>


\
 
 \ /
  Last update: 2018-08-21 03:44    [W:0.103 / U:0.652 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site