summaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2024-01-19 12:19:29 +0100
committerHeiko Carstens <hca@linux.ibm.com>2024-02-09 13:58:15 +0100
commit343c8a564583d9166ddacd2ade1f917eb8ea37cc (patch)
tree7eca332f3252762d44400c8dda9230fb8a5f8332 /drivers/s390/cio
parents390/cio: remove unneeded DMA zone allocation (diff)
downloadlinux-343c8a564583d9166ddacd2ade1f917eb8ea37cc.tar.xz
linux-343c8a564583d9166ddacd2ade1f917eb8ea37cc.zip
s390/cmf: remove unneeded DMA zone allocation
The address of the measurement block can be anywhere in 64 bit absolute space. See description of the schm instruction in the Principles of Operation. Therefore remove the GFP_DMA flag when allocating the block. Acked-by: Alexander Gordeev <agordeev@linux.ibm.com> Reviewed-by: Vineeth Vijayan <vneethv@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'drivers/s390/cio')
-rw-r--r--drivers/s390/cio/cmf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/s390/cio/cmf.c b/drivers/s390/cio/cmf.c
index 5584aa46c94e..6a6e61ceb3c1 100644
--- a/drivers/s390/cio/cmf.c
+++ b/drivers/s390/cio/cmf.c
@@ -501,8 +501,7 @@ static int alloc_cmb(struct ccw_device *cdev)
WARN_ON(!list_empty(&cmb_area.list));
spin_unlock(&cmb_area.lock);
- mem = (void*)__get_free_pages(GFP_KERNEL | GFP_DMA,
- get_order(size));
+ mem = (void *)__get_free_pages(GFP_KERNEL, get_order(size));
spin_lock(&cmb_area.lock);
if (cmb_area.mem) {