Skip to contentSkip to conversation

x86: detect and initialize Cache QoS Monitoring feature

PATCH Jan Beulich 1 participant 1 message Mar 31, 2014

lore
Share & tools
lore
#0 lore raw
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_max gets determined).

Okay, will add one ASSERT() to validate this condition.

And btw, please fix your multi-line comment style.

Jan