[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] [Patch] Enable SMEP CPU feature support for XEN itself



> > 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.
> 
> Yeah, and we can't do leaf 7.0 detect in generic_identify. Or will again set 
> SMEP in
> capabilities, but it should be ok.

I tried to not do leaf 7.0 detect on AP booting code, but system behaves 
abnormally
(not hang, but "su -" never returns, after just revert the change, it runs 
well).

While at this point I want to focus on SMEP logic, we can make the improvements,
to move such initialization to BP code only, later.  Also it makes no much 
sense to only
move disable_smep that way, we should move all such variables.

Thanks!
-Xin

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.