ppc/pnv: Fix NMI system reset SRR1 value
commitfe837714f3462e02e856d441ea6e9a6a0aad4695
authorNicholas Piggin <npiggin@gmail.com>
Thu, 7 May 2020 11:48:24 +0000 (7 21:48 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 27 May 2020 05:27:25 +0000 (27 15:27 +1000)
treeb6902c86008e69532373a45eeda7d66a941cf321
parentddc760832fa8cf5e93b9d9e6e854a5114ac63510
ppc/pnv: Fix NMI system reset SRR1 value

Commit a77fed5bd926 ("ppc/pnv: Add support for NMI interface") got the
SRR1 setting wrong for sresets that hit outside of power-save states.

Fix this, better documenting the source for the bit definitions.

Fixes: 01b552b05b0f ("ppc/pnv: Add support for NMI interface")
Cc: Cédric Le Goater <clg@kaod.org>
Cc: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Message-Id: <20200507114824.788942-1-npiggin@gmail.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
[dwg: Fixed up some tab indentation]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/pnv.c