From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: [RFC PATCH 2/7] Xen: x86: print max usable RMID during init Date: Sat, 04 Apr 2015 04:14:33 +0200 Message-ID: <20150404021432.22875.34441.stgit@Solace.station> References: <20150404020423.22875.23590.stgit@Solace.station> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20150404020423.22875.23590.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: Xen-devel Cc: wei.liu2@citrix.com, Ian.Campbell@citrix.com, George.Dunlap@eu.citrix.com, andrew.cooper3@citrix.com, Dongxiao Xu , JBeulich@suse.com, Chao Peng List-Id: xen-devel@lists.xenproject.org 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", + psr_cmt->rmid_max); } /* Called with domain lock held, no psr specific lock needed */