[PATCH 05/14] powerpc/pseries: 4GB exception handler offsets

Nicholas Piggin nicholas.piggin at gmail.com
Fri Jul 22 17:52:30 AEST 2016


On Thu, 21 Jul 2016 14:34:10 +0000
David Laight <David.Laight at ACULAB.COM> wrote:

> From: Nicholas Piggin
> > Sent: 21 July 2016 07:44  
> ...
> > @@ -739,7 +739,8 @@ kvmppc_skip_Hinterrupt:
> >   * Ensure that any handlers that get invoked from the exception
> > prologs
> >   * above are below the first 64KB (0x10000) of the kernel image
> > because
> >   * the prologs assemble the addresses of these handlers using the
> > - * LOAD_HANDLER macro, which uses an ori instruction.
> > + * LOAD_HANDLER_4G macro, which uses an ori instruction. Care must
> > also
> > + * be taken because relative branches can only address 32K in each
> > direction. */  
> 
> That comment now looks wrong.

You're right, I'll correct it.

Thanks,
Nick


More information about the Linuxppc-dev mailing list