Cédric Le Goater baa45b1710 spapr/xive: remove redundant check in spapr_match_nvt()
spapr_match_nvt() is a XIVE operation and is used by the machine to
look for a matching target when an event notification is being
delivered. An assert checks that spapr_match_nvt() is called only when
the machine has selected the XIVE interrupt mode but it is redundant
with the XIVE_PRESENTER() dynamic cast.

Apply the cast to spapr->active_intc and remove the assert.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20200106163207.4608-1-clg@kaod.org>
Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2020-01-08 11:01:59 +11:00
..
2019-08-16 13:31:52 +02:00
2020-01-06 14:08:04 +00:00
2020-01-07 16:25:00 +00:00
2019-12-17 09:01:14 +01:00
2020-01-07 16:25:00 +00:00
2019-08-16 13:31:52 +02:00
2020-01-06 14:51:51 +00:00
2019-12-16 13:04:46 +01:00
2019-12-17 19:33:52 +01:00
2019-12-16 10:46:34 +00:00
2019-08-16 13:31:53 +02:00
2019-12-17 19:33:51 +01:00
2019-08-16 13:31:53 +02:00
2020-01-08 11:01:59 +11:00
2020-01-07 16:25:00 +00:00
2019-10-28 19:06:47 +01:00
2019-08-16 13:31:52 +02:00
2019-08-16 13:31:53 +02:00
2019-10-18 20:38:10 -07:00
2019-12-17 09:01:14 +01:00
2019-12-17 09:01:14 +01:00