summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powernv/smp.c
diff options
context:
space:
mode:
authorGavin Shan <gwshan@linux.vnet.ibm.com>2016-05-03 07:41:33 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2016-05-11 13:54:21 +0200
commitacce971c0e72c63cc2247e2412375e13a0be1ee1 (patch)
treedf20d6b39c14030b6c3c0931f87d308355ae9870 /arch/powerpc/platforms/powernv/smp.c
parentpowerpc/powernv/ioda1: Rename pnv_pci_ioda_setup_dma_pe() (diff)
downloadlinux-acce971c0e72c63cc2247e2412375e13a0be1ee1.tar.xz
linux-acce971c0e72c63cc2247e2412375e13a0be1ee1.zip
powerpc/powernv/ioda1: Introduce PNV_IODA1_DMA32_SEGSIZE
Currently, there is one macro (TCE32_TABLE_SIZE) representing the TCE table size for one DMA32 segment. The constant representing the DMA32 segment size (1 << 28) is still used in the code. This defines PNV_IODA1_DMA32_SEGSIZE representing one DMA32 segment size. the TCE table size can be calcualted when the page has fixed 4KB size. So all the related calculation depends on one macro (PNV_IODA1_DMA32_SEGSIZE). No logical changes introduced. Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Reviewed-By: Alistair Popple <alistair@popple.id.au> Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/powernv/smp.c')
0 files changed, 0 insertions, 0 deletions