spapr/xive: EQ page should be naturally aligned
commit7f9136f90dd2675c4cee29eed447f9213f94f3e6
authorCédric Le Goater <clg@kaod.org>
Wed, 8 May 2019 17:19:44 +0000 (8 19:19 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 29 May 2019 01:39:44 +0000 (29 11:39 +1000)
treeeac32e09f6061c6100e8a25e4c0f22d4a81f7560
parent4c406ca7345e874f16110734907af970c968d727
spapr/xive: EQ page should be naturally aligned

When the OS configures the EQ page in which to receive event
notifications from the XIVE interrupt controller, the page should be
naturally aligned. Add this check.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20190508171946.657-2-clg@kaod.org>
Reviewed-by: Greg Kurz <groug@kaod.org>
[dwg: Minor change for printf warning on some platforms]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/intc/spapr_xive.c