ppc/spapr: H_ENTER_NESTED should restore host XER ca field
commitcb2f6c3d69ea5b5bdc37c8330266ab67db629fc5
authorNicholas Piggin <npiggin@gmail.com>
Tue, 20 Jun 2023 10:57:34 +0000 (20 20:57 +1000)
committerCédric Le Goater <clg@kaod.org>
Sun, 25 Jun 2023 20:41:30 +0000 (25 22:41 +0200)
treea815b6b9033d370b9769a490f5836ddd0b8de538
parentc4550e6e9824c3fb5ee980cc8c9b175b8baf3d1a
ppc/spapr: H_ENTER_NESTED should restore host XER ca field

Fix missing env->ca restore when going from L2 back to the host.

Fixes: 120f738a467 ("spapr: implement nested-hv capability for the virtual hypervisor")
Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/ppc/spapr_hcall.c