kernel-hacking-2024-linux-s.../arch
Alexey Kardashevskiy aca6913f55 powerpc/powernv/ioda2: Introduce helpers to allocate TCE pages
This is a part of moving TCE table allocation into an iommu_ops
callback to support multiple IOMMU groups per one VFIO container.

This moves the code which allocates the actual TCE tables to helpers:
pnv_pci_ioda2_table_alloc_pages() and pnv_pci_ioda2_table_free_pages().
These do not allocate/free the iommu_table struct.

This enforces window size to be a power of two.

This should cause no behavioural change.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2015-06-11 15:16:50 +10:00
..
alpha
arc
arm Merge branch 'fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-arm 2015-05-10 11:16:48 -07:00
arm64 arm64: perf: Fix the pmu node name in warning message 2015-04-30 12:11:30 +01:00
avr32
blackfin
c6x
cris
frv
hexagon
ia64
m32r m32r: make flush_cpumask non-volatile. 2015-05-09 11:09:29 -07:00
m68k
metag
microblaze
mips
mn10300
nios2
openrisc
parisc
powerpc powerpc/powernv/ioda2: Introduce helpers to allocate TCE pages 2015-06-11 15:16:50 +10:00
s390 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2015-04-28 09:58:46 -07:00
score
sh
sparc
tile tile: properly use node_isset() on a nodemask_t 2015-04-28 10:36:45 -04:00
um
unicore32
x86 Power management and ACPI fixes for v4.1-rc3 2015-05-07 15:58:00 -07:00
xtensa
.gitignore
Kconfig