diff options
author | Halil Pasic <pasic@linux.ibm.com> | 2019-07-24 00:51:55 +0200 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2019-07-26 13:36:12 +0200 |
commit | 1a2dcff881059dedc14fafc8a442664c8dbd60f1 (patch) | |
tree | fa84090e78308c2588d76de59c26a88204ed246a /arch/s390/include/uapi/asm/ptrace.h | |
parent | 9779048d71b18ea85c067a85b648cebb2d29858e (diff) |
s390/dma: provide proper ARCH_ZONE_DMA_BITS value
On s390 ZONE_DMA is up to 2G, i.e. ARCH_ZONE_DMA_BITS should be 31 bits.
The current value is 24 and makes __dma_direct_alloc_pages() take a
wrong turn first (but __dma_direct_alloc_pages() recovers then).
Let's correct ARCH_ZONE_DMA_BITS value and avoid wrong turns.
Signed-off-by: Halil Pasic <pasic@linux.ibm.com>
Reported-by: Petr Tesarik <ptesarik@suse.cz>
Fixes: c61e9637340e ("dma-direct: add support for allocation from ZONE_DMA and ZONE_DMA32")
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'arch/s390/include/uapi/asm/ptrace.h')
0 files changed, 0 insertions, 0 deletions