From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH v7 13/14] tools: add tools support for Intel CAT Date: Fri, 8 May 2015 14:38:33 +0100 Message-ID: <1431092313.2660.452.camel@citrix.com> References: <1431075415-21917-1-git-send-email-chao.p.peng@linux.intel.com> <1431075415-21917-14-git-send-email-chao.p.peng@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1431075415-21917-14-git-send-email-chao.p.peng@linux.intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Chao Peng Cc: keir@xen.org, stefano.stabellini@eu.citrix.com, andrew.cooper3@citrix.com, Ian.Jackson@eu.citrix.com, xen-devel@lists.xen.org, will.auld@intel.com, JBeulich@suse.com, wei.liu2@citrix.com, dgdegra@tycho.nsa.gov List-Id: xen-devel@lists.xenproject.org On Fri, 2015-05-08 at 16:56 +0800, Chao Peng wrote: > This is the xc/xl changes to support Intel Cache Allocation > Technology(CAT). > > 'xl psr-hwinfo' is updated to show CAT info and two new commands > for CAT are introduced: > - xl psr-cat-cbm-set [-s socket] > Set cache capacity bitmasks(CBM) for a domain. > - xl psr-cat-show > Show CAT domain information. > > Examples: > [root@vmm-psr vmm]# xl psr-hwinfo --cat > Cache Allocation Technology (CAT): > Socket ID : 0 > L3 Cache : 12288KB > Maximum COS : 15 > CBM length : 12 > Default CBM : 0xfff > > [root@vmm-psr vmm]# xl psr-cat-cbm-set 0 0xff > > [root@vmm-psr vmm]# xl psr-cat-show > Socket ID : 0 > L3 Cache : 12288KB > Default CBM : 0xfff > ID NAME CBM > 0 Domain-0 0xff > > Signed-off-by: Chao Peng > Reviewed-by: Dario Faggioli Acked-by: Ian Campbell