From mboxrd@z Thu Jan 1 00:00:00 1970 From: He Chen Subject: Re: [PATCH v4 4/4] docs: add document to introduce CDP command Date: Fri, 25 Sep 2015 17:29:33 +0800 Message-ID: <20150925092933.GC12290@HE> References: <1442482536-12024-1-git-send-email-he.chen@linux.intel.com> <1442482536-12024-5-git-send-email-he.chen@linux.intel.com> <1443093722.10338.292.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZfPJb-0008Bx-SC for xen-devel@lists.xenproject.org; Fri, 25 Sep 2015 09:29:15 +0000 Content-Disposition: inline In-Reply-To: <1443093722.10338.292.camel@citrix.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: Ian Campbell Cc: wei.liu2@citrix.com, stefano.stabellini@eu.citrix.com, andrew.cooper3@citrix.com, ian.jackson@eu.citrix.com, jbeulich@suse.com, chao.p.peng@linux.intel.com, xen-devel@lists.xenproject.org, keir@xen.org List-Id: xen-devel@lists.xenproject.org On Thu, Sep 24, 2015 at 12:22:02PM +0100, Ian Campbell wrote: > On Thu, 2015-09-17 at 17:35 +0800, He Chen wrote: > > Add new CDP options with CAT commands in xl interface man page. > > Add description of CDP in xl-psr.markdown. > > It would have been fine to include this in the previous patch by the way. > You mean include both xl man page and xl-psr.markdown in the previous patch? Or just only xl man page? > > +code or data CBM for the domain, CDP feature must be enabled and CBM type > > +options need to be specified when setting CBM. > > I asked on patch 3 whether these options were mutually exclusive or not, > the answer should be reflected in the documentation too please. > Agreed. Both code and data options can be specified at the same time. I will make it clear in the documentation as possible as I can. > > + > > +When CDP is enabled, > > + > > + * the CAT masks are re-mapped into interleaved pairs of masks for data or code > > + fetches. > > + > > + * the range of COS for CAT is re-indexed, with the lower-half of the COS > > + range available for CDP. > > + > > +CDP allows OS or Hypervisor to partition cache allocation more fine-grained, > > ^the ^in a > > > +code cache and data cache can be specified respectively. With CDP enabled, > > End fine-grained with a full-stop and then: > > The code cache and data cache can be specified separately > > or s/separately/independently/? > > (I think, I'm not 100% sure what you meant by "respectively", so maybe the > suggestion is wrong) > Maybe I make words a little confused here. With CDP enabled, user can specify code cache (or data cache) only, and the other would remain previous value (if no previous value, it would keep as default value). So, I think independently would be fine here.