OSDN Git Service

powerpc/pseries/iommu: Create defines for operations in ibm, ddw-applicable
authorLeonardo Bras <leobras.c@gmail.com>
Wed, 5 Aug 2020 03:04:52 +0000 (00:04 -0300)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 8 Sep 2020 12:57:11 +0000 (22:57 +1000)
commitcac3e629086f1b2e31c87a6c9b0130d29843ae86
treebd32a85324b712bc1392e02dd1c8f51a7f094ed5
parent51a1588154cb1ddc4fe8fa786324dca398f1a458
powerpc/pseries/iommu: Create defines for operations in ibm, ddw-applicable

Create defines to help handling ibm,ddw-applicable values, avoiding
confusion about the index of given operations.

Signed-off-by: Leonardo Bras <leobras.c@gmail.com>
Tested-by: David Dai <zdai@linux.vnet.ibm.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200805030455.123024-2-leobras.c@gmail.com
arch/powerpc/platforms/pseries/iommu.c