powerpc/64s/exception: Remove confusing IEARLY option
authorNicholas Piggin <npiggin@gmail.com>
Tue, 25 Feb 2020 17:35:22 +0000 (03:35 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 1 Apr 2020 02:42:11 +0000 (13:42 +1100)
commitd73a10cbf98f868586e907ef9d953f9fc7ae369c
treea0357e01a753fa046f6b212179d53b68dc452a1b
parent9600f261acaaabd476d7833cec2dd20f2919f1a0
powerpc/64s/exception: Remove confusing IEARLY option

Replace IEARLY=1 and IEARLY=2 with IBRANCH_COMMON, which controls if
the entry code branches to a common handler; and IREALMODE_COMMON,
which controls whether the common handler should remain in real mode.

These special cases no longer avoid loading the SRR registers, there
is no point as most of them load the registers immediately anyway.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200225173541.1549955-14-npiggin@gmail.com
arch/powerpc/kernel/exceptions-64s.S