Re: [Xen-ia64-devel] update linux kernels w/ xen-ia64 cset 9275
Le Jeudi 16 Mars 2006 21:29, Alex Williamson a écrit : Please note, xen-ia64 cset 9275 will break functionality if a new xen images is used with an old xenlinux kernel. Please be sure to update your xenlinux image. Thanks, Or you can set 'privify_en' constant to 1 in arch/ia64/xen/privop.c Tristan. ___ Xen-ia64-devel mailing list Xen-ia64-devel@lists.xensource.com http://lists.xensource.com/xen-ia64-devel
RE: [Xen-ia64-devel] update linux kernels w/ xen-ia64 cset 9275
Hi Alex, I am not very clear about the new Xen image and the old xenlinux kernel standard for. Does xenlinux kernel mean xenU kernel? Best Regards, Yongkang (Kangkang) 永康 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alex Williamson Sent: 2006年3月17日 4:29 To: xen-ia64-devel Subject: [Xen-ia64-devel] update linux kernels w/ xen-ia64 cset 9275 Please note, xen-ia64 cset 9275 will break functionality if a new xen images is used with an old xenlinux kernel. Please be sure to update your xenlinux image. Thanks, Alex -- Alex Williamson HP Linux Open Source Lab ___ Xen-ia64-devel mailing list Xen-ia64-devel@lists.xensource.com http://lists.xensource.com/xen-ia64-devel ___ Xen-ia64-devel mailing list Xen-ia64-devel@lists.xensource.com http://lists.xensource.com/xen-ia64-devel
RE: [Xen-ia64-devel] update linux kernels w/ xen-ia64 cset 9275
On Fri, 2006-03-17 at 09:52 +0800, You, Yongkang wrote: Hi Alex, I am not very clear about the new Xen image and the old xenlinux kernel standard for. Does xenlinux kernel mean xenU kernel? Sorry for being unclear. Tristan's latest changes disable privop handling, requiring xen.gz and dom0 and domU kernels to be updated in parallel. Just be sure to do a make world and update all these at once and you shouldn't hit any problems. Thanks, Alex -- Alex Williamson HP Linux Open Source Lab ___ Xen-ia64-devel mailing list Xen-ia64-devel@lists.xensource.com http://lists.xensource.com/xen-ia64-devel
RE: [Xen-ia64-devel] update linux kernels w/ xen-ia64 cset 9275
KangKang, What that means is you have to run both Xen and XenLinux (both Xen0 XenU) built from the same Cset#. -Fred You, Yongkang wrote: Hi Alex, I am not very clear about the new Xen image and the old xenlinux kernel standard for. Does xenlinux kernel mean xenU kernel? Best Regards, Yongkang (Kangkang) 永康 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alex Williamson Sent: 2006年3月17日 4:29 To: xen-ia64-devel Subject: [Xen-ia64-devel] update linux kernels w/ xen-ia64 cset 9275 Please note, xen-ia64 cset 9275 will break functionality if a new xen images is used with an old xenlinux kernel. Please be sure to update your xenlinux image. Thanks, Alex -- Alex Williamson HP Linux Open Source Lab ___ Xen-ia64-devel mailing list Xen-ia64-devel@lists.xensource.com http://lists.xensource.com/xen-ia64-devel ___ Xen-ia64-devel mailing list Xen-ia64-devel@lists.xensource.com http://lists.xensource.com/xen-ia64-devel ___ Xen-ia64-devel mailing list Xen-ia64-devel@lists.xensource.com http://lists.xensource.com/xen-ia64-devel
RE: [Xen-ia64-devel] update linux kernels w/ xen-ia64 cset 9275
From: You,Yongkang Sent: 2006年3月17日 9:52 Hi Alex, I am not very clear about the new Xen image and the old xenlinux kernel standard for. Does xenlinux kernel mean xenU kernel? I think Alex is talking about some lazy way in daily development, due to fact that xen is updated more frequently than xenlinux for ia64. In that case, sometimes people may only recompile xen after pull latest changesets, and then run it with a xenlinux image compiled previously. Normally changes of structure and interface will need a complete make world. However normally people are not aware which changes require a complete make world. Some mismatch may be exposed easily like something previously runnable immediately fails now. However there're also some potential mismatches may generate weird behavior after long run, like some offset changes. So it's always safe though conservative to make world if time is allowed for developers. Maybe later we need a MODVERSION-like check between xen and xenlinux... :-) Thanks, Kevin Best Regards, Yongkang (Kangkang) 永康 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alex Williamson Sent: 2006年3月17日 4:29 To: xen-ia64-devel Subject: [Xen-ia64-devel] update linux kernels w/ xen-ia64 cset 9275 Please note, xen-ia64 cset 9275 will break functionality if a new xen images is used with an old xenlinux kernel. Please be sure to update your xenlinux image. Thanks, Alex -- Alex Williamson HP Linux Open Source Lab ___ Xen-ia64-devel mailing list Xen-ia64-devel@lists.xensource.com http://lists.xensource.com/xen-ia64-devel ___ Xen-ia64-devel mailing list Xen-ia64-devel@lists.xensource.com http://lists.xensource.com/xen-ia64-devel ___ Xen-ia64-devel mailing list Xen-ia64-devel@lists.xensource.com http://lists.xensource.com/xen-ia64-devel
RE: [Xen-ia64-devel] update linux kernels w/ xen-ia64 cset 9275
Alex/ Tristan Legacy privifiedinsns is being used; please turn on it by default. Pls refer to the attachment. Thanks, -Anthony -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alex Williamson Sent: 2006年3月17日 10:24 To: You, Yongkang Cc: xen-ia64-devel Subject: RE: [Xen-ia64-devel] update linux kernels w/ xen-ia64 cset 9275 On Fri, 2006-03-17 at 09:52 +0800, You, Yongkang wrote: Hi Alex, I am not very clear about the new Xen image and the old xenlinux kernel standard for. Does xenlinux kernel mean xenU kernel? Sorry for being unclear. Tristan's latest changes disable privop handling, requiring xen.gz and dom0 and domU kernels to be updated in parallel. Just be sure to do a make world and update all these at once and you shouldn't hit any problems. Thanks, Alex -- Alex Williamson HP Linux Open Source Lab ___ Xen-ia64-devel mailing list Xen-ia64-devel@lists.xensource.com http://lists.xensource.com/xen-ia64-devel ---BeginMessage--- There are several of these that need to be changed, so let's change all of them the same way at the same time. It is still being used. At least, Dom0 uses pte.e to emulate fc. GLOBAL_ENTRY(xen_fc) 261 movl r8=running_on_xen;; 262 ld4 r8=[r8];; 263 cmp.eq p7,p0=r8,r0;; 264 (p7)fc r32;; 265 (p7)br.ret.sptk.many rp 266 ;; 267 ptc.e r96 // this is a privified fc r32 268 ;; 269 br.ret.sptk.many rp 270 END(xen_fc) Good catch. In fact, there are uses of this for several instructions still in xenlinux/ia64. Grep -sparse for privif to see all(?) of them. I think these never got translated to HYPERPRIVOPs because there was no performance need. But they should be fixed to avoid the possibility of a bug. ---End Message--- ___ Xen-ia64-devel mailing list Xen-ia64-devel@lists.xensource.com http://lists.xensource.com/xen-ia64-devel
RE: [Xen-ia64-devel] update linux kernels w/ xen-ia64 cset 9275
Alex, I am using 9268. But I think all versions are using privified instructions, because this code is in sparse tree. Pls refer to inux-2.6-xen-sparse/include/asm-ia64/xen/privop.h extern unsigned long xen_fc(unsigned long addr); #define ia64_fc(addr) xen_fc((unsigned long)(addr)) extern unsigned long xen_thash(unsigned long addr); #define ia64_thash(addr)xen_thash((unsigned long)(addr)) Thanks, -Anthony -Original Message- From: Alex Williamson [mailto:[EMAIL PROTECTED] Sent: 2006年3月17日 10:46 To: Xu, Anthony Cc: You, Yongkang; xen-ia64-devel Subject: RE: [Xen-ia64-devel] update linux kernels w/ xen-ia64 cset 9275 On Fri, 2006-03-17 at 10:34 +0800, Xu, Anthony wrote: Alex/ Tristan Legacy privifiedinsns is being used; please turn on it by default. Pls refer to the attachment. Anthony, The specific example cited is fixed in xen-ia64 9274. Are there other examples of where privified instructions are still in use? Thanks, Alex -- Alex Williamson HP Linux Open Source Lab ___ Xen-ia64-devel mailing list Xen-ia64-devel@lists.xensource.com http://lists.xensource.com/xen-ia64-devel
RE: [Xen-ia64-devel] update linux kernels w/ xen-ia64 cset 9275
On Fri, 2006-03-17 at 10:55 +0800, Xu, Anthony wrote: Alex, I am using 9268. But I think all versions are using privified instructions, because this code is in sparse tree. Pls refer to inux-2.6-xen-sparse/include/asm-ia64/xen/privop.h extern unsigned long xen_fc(unsigned long addr); #define ia64_fc(addr) xen_fc((unsigned long)(addr)) extern unsigned long xen_thash(unsigned long addr); #define ia64_thash(addr)xen_thash((unsigned long)(addr)) Anthony, Tristan has updated these to use the new hypercalls introduced in xen-ia64 cset 9273. If there still latent uses of privified instructions, I'll be happy to turn the default to enable them, but I believe they are all replaced by the new hypercalls if you do a full build from the latest changeset. Thanks, Alex -- Alex Williamson HP Linux Open Source Lab ___ Xen-ia64-devel mailing list Xen-ia64-devel@lists.xensource.com http://lists.xensource.com/xen-ia64-devel
RE: [Xen-ia64-devel] update linux kernels w/ xen-ia64 cset 9275
Alex, Okay. Thanks for your clarification. :) I usually do the make world for the new Cset. Best Regards, Yongkang (Kangkang) 永康 -Original Message- From: Alex Williamson [mailto:[EMAIL PROTECTED] Sent: 2006年3月17日 10:24 To: You, Yongkang Cc: xen-ia64-devel Subject: RE: [Xen-ia64-devel] update linux kernels w/ xen-ia64 cset 9275 On Fri, 2006-03-17 at 09:52 +0800, You, Yongkang wrote: Hi Alex, I am not very clear about the new Xen image and the old xenlinux kernel standard for. Does xenlinux kernel mean xenU kernel? Sorry for being unclear. Tristan's latest changes disable privop handling, requiring xen.gz and dom0 and domU kernels to be updated in parallel. Just be sure to do a make world and update all these at once and you shouldn't hit any problems. Thanks, Alex -- Alex Williamson HP Linux Open Source Lab ___ Xen-ia64-devel mailing list Xen-ia64-devel@lists.xensource.com http://lists.xensource.com/xen-ia64-devel
RE: [Xen-ia64-devel] update linux kernels w/ xen-ia64 cset 9275
From: Alex Williamson [mailto:[EMAIL PROTECTED] Sent: 2006年3月17日 11:05 To: Xu, Anthony Cc: You, Yongkang; xen-ia64-devel Subject: RE: [Xen-ia64-devel] update linux kernels w/ xen-ia64 cset 9275 Tristan has updated these to use the new hypercalls introduced in xen-ia64 cset 9273. If there still latent uses of privified instructions, I'll be happy to turn the default to enable them, but I believe they are all replaced by the new hypercalls if you do a full build from the latest changeset. Thanks, Alex Got it, they are not in the same patch. -- Alex Williamson HP Linux Open Source Lab ___ Xen-ia64-devel mailing list Xen-ia64-devel@lists.xensource.com http://lists.xensource.com/xen-ia64-devel