target/ppc: rework AIL logic in interrupt delivery
commit8b7e6b07a46809a75b857d30ae47e697e0f9b724
authorNicholas Piggin <npiggin@gmail.com>
Sat, 1 May 2021 07:24:34 +0000 (1 17:24 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 4 May 2021 03:12:02 +0000 (4 13:12 +1000)
treee22d6fe44ec2d565b09f9cf2d0e784daa0fa1fb4
parent7468e2c8428d5455ae3efff929dc152bbbe8e6e9
target/ppc: rework AIL logic in interrupt delivery

The AIL logic is becoming unmanageable spread all over powerpc_excp(),
and it is slated to get even worse with POWER10 support.

Move it all to a new helper function.

Reviewed-by: Cédric Le Goater <clg@kaod.org>
Tested-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Message-Id: <20210501072436.145444-2-npiggin@gmail.com>
[dwg: Corrected tab indenting]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr_hcall.c
target/ppc/cpu.h
target/ppc/excp_helper.c
target/ppc/translate_init.c.inc