]> git.baikalelectronics.ru Git - kernel.git/commit
s390/cio: use kmem_cache for extended measurement block allocation
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Mon, 7 Sep 2015 17:53:01 +0000 (19:53 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 14 Oct 2015 12:32:04 +0000 (14:32 +0200)
commitbe29c0b12a28375aead4632ff1728cda3fbfb3ae
tree2c3e886bb15514cbc29d0bfb5948c8a6dbbdee48
parentc34cfd1eb2d69ab5290ba2de2bd11d2d7d1061aa
s390/cio: use kmem_cache for extended measurement block allocation

Extended measurement blocks need to be 64 byte aligned. To achieve that
128 bytes for each measurement block are allocated and an align callback
returns a 64 byte aligned address inside this area.

Replace this code with kmem_cache allocations.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Reviewed-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/cmf.c