[PATCH 05/14] powerpc/pseries: 4GB exception handler offsets
David.Laight at ACULAB.COM
Fri Jul 22 00:34:10 AEST 2016
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.
More information about the Linuxppc-dev