powerpc/xive: introduce xive_esb_write()
commit99f122573e76376088019d7c3a44744e62db9415
authorCédric Le Goater <clg@kaod.org>
Wed, 30 Aug 2017 19:46:13 +0000 (30 21:46 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 2 Sep 2017 11:02:36 +0000 (2 21:02 +1000)
treec1ee7789bf7c54a4f95b736adcd7ada62222d9ac
parent59fc2724e45dfea849336108c602e93ea880a18f
powerpc/xive: introduce xive_esb_write()

Some source support MMIO stores on the ESB page to perform EOI. Let's
introduce a specific routine for this case even if this should be the
only use of it.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/sysdev/xive/common.c