WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

Re: [Xen-ia64-devel] cpu ops

On Mon, Apr 07, 2008 at 05:25:54PM +0800, Dong, Eddie wrote:
> In current approach, we have cpu ops like eoi/set_tpr/get_tpr,/set_itm
> /set_kr0/set_kr2.../set_kr7 etc.
> I think there is another simple alternative is to simply export
> setreg/getreg 
> for cpu ops.
> 
> The benefit of this could be:
>       1: Simple in pv_ops I/F
>       2: hypervisor neutral. Today we only virtualize around 15 AR/CR
> read/write,
>       But future it may extends since different Hypervisor may do in
> different way.

Sounds reasonable.
Although it would result in big switch, presumably we can eliminate
runtime switch cost by specifically handling setreg/getreg which 
might complicate binay patch slightly.

-- 
yamahata

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

<Prev in Thread] Current Thread [Next in Thread>