RE: [Xen-ia64-devel] pv_ops: move binary patching to later after CPU initialization

2008-03-27 Thread Dong, Eddie
Isaku Yamahata wrote: > I guess you just followed x86 way, but delaying until check_bug() > is too late for IA64 case because of at least ia64_get_cpuid(). No. Binary patching is just optimization, while pv_ops hook is installed at very beginning. > At this moment I'm not sure how late binary pat

Re: [Xen-ia64-devel] pv_ops: move binary patching to later after CPU initialization

2008-03-27 Thread Isaku Yamahata
I guess you just followed x86 way, but delaying until check_bug() is too late for IA64 case because of at least ia64_get_cpuid(). At this moment I'm not sure how late binary patching can be delayed, though. Presumably it is necessary to revise boot protocol. Renaming xen_paravirt_patch() to xen_pa

[Xen-ia64-devel] pv_ops: move binary patching to later after CPU initialization

2008-03-26 Thread Dong, Eddie
arch/ia64/kernel/paravirt.c |8 +++- arch/ia64/kernel/paravirt_core.c | 17 ++--- arch/ia64/kernel/paravirt_entry.c |3 ++- arch/ia64/kernel/setup.c |3 +++ arch/ia64/xen/paravirt_xen.c |8 +--- arch/ia64/xen/xen_pv_ops.c|4 ++