> -----Original Message----- > From: linux-ia64-owner@xxxxxxxxxxxxxxx > [mailto:linux-ia64-owner@xxxxxxxxxxxxxxx] On Behalf Of Takao Indoh > Sent: 2006年9月6日 17:23 > To: Keith Owens > Cc: fastboot@xxxxxxxxxxxxxx; linux-ia64@xxxxxxxxxxxxxxx > Subject: Re: [PATCH]IA64 kexec/kdump patch for INIT > > On Wed, 06 Sep 2006 18:06:53 +0900, Takao Indoh wrote: > > >>>+ /* change region of gp to region5 */ > >>>+ asm volatile ("movl gp=__gp"::: "memory"); > >> > >>Why? gp is already pointing at the kernel code before we enter > >>ia64_init_handler(). > > > >The purpose of this code is just changing region of gp from region7 to > >region5. For example, if gp is e000000004ace170, I want to change gp to > ~~~~~~~~~~~~~~~~e000000000ace170 > Sorry, I mistook address... > > > Regards, > Takao Indoh > You don't need to set gp here. Control page does not use GP, and purgatory code will set GP to a physical address which was pre-calculated at the time of crash kernel loading. Thanks Zou Nan hai > > - > To unsubscribe from this list: send the line "unsubscribe linux-ia64" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html - To unsubscribe from this list: send the line "unsubscribe linux-ia64" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |