x86: detect and initialize Cache QoS Monitoring feature
Quoted 11 lines
Quoted 9 lines
Quoted 1 line · On 31.03.14 at 17:33, <[email protected]> wrote:
From: Jan Beulich [mailto:[email protected]]
Review
Quoted 4 lines
Quoted 1 line
Quoted 1 line · On 26.03.14 at 07:35, <[email protected]> wrote:
(quoted diff) +3
-0+ /* According to Intel SDM, the possible maximum rmid number is 2^10 = 1024, + * thus one page is enough to hold cqm->rmid_to_dom structure */ + cqm->rmid_to_dom = alloc_xenheap_page();But please validate that this condition is being met (not necessarily here, perhaps rather where
rmid_maxgets determined).Okay, will add one
ASSERT()to validate this condition.
And btw, please fix your multi-line comment style.
Jan