On Wed, 2017-01-18 at 10:02 +0800, Yi Sun wrote: > This patch implements xl/xc changes to support get HW info > for L2 CAT. > > 'xl psr-hwinfo' is updated to show both L3 CAT and L2 CAT > info. > > Example(on machine which only supports L2 CAT): > Cache Monitoring Technology (CMT): > Enabled         : 0 > Cache Allocation Technology (CAT): L3 > libxl: error: libxl_psr.c:100:libxl__psr_cat_log_err_msg: CAT is not > enabled on the socket: No such file or directory > Failed to get l3 cat info > Cache Allocation Technology (CAT): L2 > Socket ID       : 0 > Maximum COS     : 3 > CBM length      : 8 > Default CBM     : 0xff > I think we settled, in v4, for not having this awkward error message showing itself in this way "only" because of (legitimate!) lack of hardware support for some of the features? https://lists.xenproject.org/archives/html/xen-devel/2017-01/msg00604.html https://lists.xenproject.org/archives/html/xen-devel/2017-01/msg00792.html https://lists.xenproject.org/archives/html/xen-devel/2017-01/msg00797.html Nevertheless, I've had a look at the code, and it looks good to me. Regards, Dario -- <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)