|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
RE: [Xen-ia64-devel] cpu ops
Isaku Yamahata wrote:
> 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.
I have a patch ready for this based on my previous removed
"paravirt_xxx"/"ia64_native_xxx"
version, I can rebase.
> Although it would result in big switch, presumably we can eliminate
Yes, many switch case. May hurt performance before patching.
> runtime switch cost by specifically handling setreg/getreg which
> might complicate binay patch slightly.
Yes, but eventually the performance will come back after patching.
Eddie.
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|
|
|
|
|