]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
powerpc/xive: rename xive_poke_esb() in xive_esb_read()
authorCédric Le Goater <clg@kaod.org>
Wed, 30 Aug 2017 19:46:12 +0000 (21:46 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 2 Sep 2017 11:02:36 +0000 (21:02 +1000)
commit59fc2724e45dfea849336108c602e93ea880a18f
tree9a48b56627cced9e5dae5c2325212aafd8e76bb2
parenteac1e731b59ee3b5f5e641a7765c7ed41ed26226
powerpc/xive: rename xive_poke_esb() in xive_esb_read()

xive_poke_esb() is performing a load/read so it is better named as
xive_esb_read() as we will need to introduce a xive_esb_write()
routine. Also use the XIVE_ESB_LOAD_EOI offset when EOI'ing LSI
interrupts.

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