summaryrefslogtreecommitdiff
path: root/arch/powerpc/kvm/book3s_64_vio.c
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <aik@ozlabs.ru>2018-07-17 17:19:12 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2018-07-18 16:17:07 +1000
commit1463edca6734d42ab4406fa2896e20b45478ea36 (patch)
treeed638bb0b8e1a83288d196343a9f38a35ad11b12 /arch/powerpc/kvm/book3s_64_vio.c
parent941d810725ad48cc21948f4cff8cf70fa2a67cf9 (diff)
vfio/spapr: Use IOMMU pageshift rather than pagesize
The size is always equal to 1 page so let's use this. Later on this will be used for other checks which use page shifts to check the granularity of access. This should cause no behavioral change. Cc: stable@vger.kernel.org # v4.12+ Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Acked-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kvm/book3s_64_vio.c')
0 files changed, 0 insertions, 0 deletions