<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;"><span><div><div><div><br></div><div>The name doesn't really matter that much, 'scope' makes a bit more</div><div>sense, 'type' is consistent with the cache bank specification, I'm fine</div><div>with any.  The big question here was if it is possible to have:</div><div><br></div><div><bank type='unified'></div><div>  <control scope='code'/></div><div>  <control scope='data'/></div><div></bank></div><div><br></div><div>And from what you say, the simple answer is "yes".  So we need to have</div><div>the attribute there in the control element as well.</div></div></div></span></blockquote><div><br></div><div>Dan/Martin</div><div><br></div><div>Could you please advice which should be changed ? LoL</div><div><br></div><div>This is the output if I enabled CDP</div><div><br></div><div><div>    <cache></div><div>      <bank id='0' level='3' type='unified' size='15360' unit='KiB' cpus='0-5'></div><div>        <control min='768' unit='KiB' type='instruction' nallocations='8'/></div><div>        <control min='768' unit='KiB' type='data' nallocations='8'/></div><div>      </bank></div><div>      <bank id='1' level='3' type='unified' size='15360' unit='KiB' cpus='6-11'></div><div>        <control min='768' unit='KiB' type='instruction' nallocations='8'/></div><div>        <control min='768' unit='KiB' type='data' nallocations='8'/></div><div>      </bank></div><div>    </cache></div></div><div><br></div><div>1. change nallocations to allocations/max_allocation?</div><div>2. change type to scope ? </div><div>3. change `instruction` to `code` (with CDP enabled, it called DATA/CODE which is somewhat</div><div>    different from /sys/fs/system/cpu/cpu*/cache/type, and I am now reuse virCacheType defined</div><div>    by Martin, should I define another Type)?</div><div><br></div><div><br></div><blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;"><span><div><div><div><br></div><div>P.S.: It would be clearly visible if you added the test case ;)</div></div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div>