aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/Kconfig
diff options
context:
space:
mode:
authorHalil Pasic <pasic@linux.ibm.com>2019-04-02 18:47:29 +0200
committerHeiko Carstens <heiko.carstens@de.ibm.com>2019-06-15 12:24:56 +0200
commitbb99332a2b558e1f28b4c5011f9ea3b46f1c8806 (patch)
treef6412179ed9826c356de539543164a32206cb76a /arch/s390/Kconfig
parents390/mm: force swiotlb for protected virtualization (diff)
downloadlinux-dev-bb99332a2b558e1f28b4c5011f9ea3b46f1c8806.tar.xz
linux-dev-bb99332a2b558e1f28b4c5011f9ea3b46f1c8806.zip
s390/cio: introduce DMA pools to cio
To support protected virtualization cio will need to make sure the memory used for communication with the hypervisor is DMA memory. Let us introduce one global pool for cio. Our DMA pools are implemented as a gen_pool backed with DMA pages. The idea is to avoid each allocation effectively wasting a page, as we typically allocate much less than PAGE_SIZE. Signed-off-by: Halil Pasic <pasic@linux.ibm.com> Reviewed-by: Sebastian Ott <sebott@linux.ibm.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Reviewed-by: Michael Mueller <mimu@linux.ibm.com> Tested-by: Michael Mueller <mimu@linux.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to '')
-rw-r--r--arch/s390/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig
index 35bb76491600..fdb4246265a5 100644
--- a/arch/s390/Kconfig
+++ b/arch/s390/Kconfig
@@ -190,6 +190,7 @@ config S390
select ARCH_HAS_SCALED_CPUTIME
select HAVE_NMI
select SWIOTLB
+ select GENERIC_ALLOCATOR
config SCHED_OMIT_FRAME_POINTER