From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: [RFC PATCH 2/7] Xen: x86: print max usable RMID during init Date: Mon, 6 Apr 2015 09:48:30 -0400 Message-ID: <20150406134830.GD12596@l.oracle.com> References: <20150404020423.22875.23590.stgit@Solace.station> <20150404021432.22875.34441.stgit@Solace.station> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20150404021432.22875.34441.stgit@Solace.station> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Dario Faggioli Cc: wei.liu2@citrix.com, Ian.Campbell@citrix.com, George.Dunlap@eu.citrix.com, andrew.cooper3@citrix.com, Xen-devel , Dongxiao Xu , JBeulich@suse.com, Chao Peng List-Id: xen-devel@lists.xenproject.org On Sat, Apr 04, 2015 at 04:14:33AM +0200, Dario Faggioli wrote: > Just print it. > > Signed-off-by: Dario Faggioli > --- > xen/arch/x86/psr.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/xen/arch/x86/psr.c b/xen/arch/x86/psr.c > index c902625..0f2a6ce 100644 > --- a/xen/arch/x86/psr.c > +++ b/xen/arch/x86/psr.c > @@ -111,7 +111,8 @@ static void __init init_psr_cmt(unsigned int rmid_max) > for ( rmid = 1; rmid <= psr_cmt->rmid_max; rmid++ ) > psr_cmt->rmid_to_dom[rmid] = DOMID_INVALID; > > - printk(XENLOG_INFO "Cache Monitoring Technology enabled\n"); > + printk(XENLOG_INFO "Cache Monitoring Technology enabled, RMIDs: %u\n", max RMID: ? > + psr_cmt->rmid_max); > } > > /* Called with domain lock held, no psr specific lock needed */ > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel