powerpc/powernv/vas: Define helpers to access MMIO regions
authorSukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Tue, 29 Aug 2017 06:23:34 +0000 (23:23 -0700)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 31 Aug 2017 04:26:30 +0000 (14:26 +1000)
commit180fe15a8299c14f77347c5835c98c2446226ee6
tree6a8817e5eac206225a4aa8b5a261589b469d38fe
parent4dea2d1a927c61114a168d4509b56329ea6effb7
powerpc/powernv/vas: Define helpers to access MMIO regions

Define some helper functions to access the MMIO regions. We use these
in follow-on patches to read/write VAS hardware registers. They are
also used to later issue 'paste' instructions to submit requests to
the NX hardware engines.

Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/vas-window.c