Re: [Xen-devel] [PATCH v3 1/8] x86: clean up psr boot parameter parsing

2015-03-26 Thread Andrew Cooper
On 26/03/15 12:38, Chao Peng wrote: Change type of opt_psr from bool to int so more psr features can fit. Introduce a new routine to parse bool parameter so that both cmt and future psr features like cat can use it. Signed-off-by: Chao Peng --- Changes in v3: * Set "off" value explicity if req

[Xen-devel] [PATCH v3 1/8] x86: clean up psr boot parameter parsing

2015-03-26 Thread Chao Peng
Change type of opt_psr from bool to int so more psr features can fit. Introduce a new routine to parse bool parameter so that both cmt and future psr features like cat can use it. Signed-off-by: Chao Peng --- Changes in v3: * Set "off" value explicity if requested. --- xen/arch/x86/psr.c | 40 +