linux-uconsole/arch/s390
Michael Holzheu 3b21a0b468 s390/hypfs: Use get_free_page() instead of kmalloc to ensure page alignment
commit 237d6e6884 upstream.

Since commit d86bd1bece ("mm/slub: support left redzone") it is no longer
guaranteed that kmalloc(PAGE_SIZE) returns page aligned memory.

After the above commit we get an error for diag224 because aligned
memory is required. This leads to the following user visible error:

 # mount none -t s390_hypfs /sys/hypervisor/
 mount: unknown filesystem type 's390_hypfs'

 # dmesg | grep hypfs
 hypfs.cccfb8: The hardware system does not provide all functions
               required by hypfs
 hypfs.7a79f0: Initialization of hypfs failed with rc=-61

Fix this problem and use get_free_page() instead of kmalloc() to get
correctly aligned memory.

Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-11-18 10:48:34 +01:00
..
appldata s390: appldata: drop owner assignment from platform_drivers 2014-10-20 16:20:13 +02:00
boot s390/boot/decompression: disable floating point in decompressor 2015-09-29 14:45:10 +02:00
configs s390/defconfig: set SCSI_DH=y 2015-10-01 10:48:36 +02:00
crypto s390/crypto: provide correct file mode at device register. 2016-09-15 08:27:46 +02:00
hypfs s390/hypfs: Use get_free_page() instead of kmalloc to ensure page alignment 2016-11-18 10:48:34 +01:00
include s390/mm: fix gmap tlb flush issues 2016-10-28 03:01:34 -04:00
kernel Revert "s390/kdump: Clear subchannel ID to signal non-CCW/SCSI IPL" 2016-08-16 09:30:49 +02:00
kvm KVM: s390: correct fprs on SIGP (STOP AND) STORE STATUS 2016-03-16 08:42:58 -07:00
lib s390/bitops: remove 31 bit related comments 2015-10-14 14:32:15 +02:00
mm s390/mm: fix gmap tlb flush issues 2016-10-28 03:01:34 -04:00
net s390/bpf: reduce maximum program size to 64 KB 2016-06-24 10:18:19 -07:00
numa s390/numa: write kernel message when emu_size has been increased 2015-10-14 14:31:59 +02:00
oprofile s390/oprofile: fix compile error 2015-07-01 09:34:39 +02:00
pci s390/pci_dma: fix DMA table corruption with > 4 TB main memory 2016-09-15 08:27:45 +02:00
defconfig s390: new default configuration 2015-06-25 09:39:25 +02:00
Kbuild s390/numa: add core infrastructure 2015-08-03 18:40:25 +02:00
Kconfig IOMMU Updates for Linux v4.4 2015-11-05 16:12:10 -08:00
Kconfig.debug
Makefile s390/sclp: convert early sclp console code to C 2015-07-29 09:11:39 +02:00