[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [Patch] Enable SMEP CPU feature support for XEN itself
- To: "Li, Xin" <xin.li@xxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxxxx>, "Yang, Wei Y" <wei.y.yang@xxxxxxxxx>
- From: Keir Fraser <keir.xen@xxxxxxxxx>
- Date: Thu, 02 Jun 2011 20:24:24 +0100
- Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
- Delivery-date: Thu, 02 Jun 2011 12:25:06 -0700
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=lxkUzXCVH8s/hXuT9Fyvcb8sGGu095cEGLRyKAJMCI0sI1n5NXXbMmcpuoaDpZhLPa F1XBeEiL2Em+73Y1O3SOv04Ah3iHNmOZyAVOEqVgBRRfU7ubzIKvcQwu4i0AJs0ko8Bu S9UZwhViTW5NUYTFV1+YA7/vuR1eEmjT2dUW0=
- List-id: Xen developer discussion <xen-devel.lists.xensource.com>
- Thread-index: AcwhKSFqC1+9aLNySkqezZkJGvVaUgACElDwAApQ4SE=
- Thread-topic: [Xen-devel] [Patch] Enable SMEP CPU feature support for XEN itself
On 02/06/2011 15:36, "Li, Xin" <xin.li@xxxxxxxxx> wrote:
>> } else
>>> setup_clear_cpu_cap(X86_FEATURE_SMEP);
>
> This needs to be done on APs too. Thus I think we still need define
> setup_smep as __cpuinit.
The whole point of setup_clear_cpu_cap() is that it only needs to run on the
BP and the change gets picked up by every AP automatically as it boots.
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|