Skip to content

Commit 78375f7

Browse files
committed
s390/cmf: remove unneeded DMA zone allocation
JIRA: https://issues.redhat.com/browse/RHEL-86670 commit 343c8a5 Author: Heiko Carstens <[email protected]> Date: Fri Jan 19 12:19:29 2024 +0100 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 <[email protected]> Reviewed-by: Vineeth Vijayan <[email protected]> Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Thomas Huth <[email protected]>
1 parent 72646f8 commit 78375f7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/s390/cio/cmf.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -501,8 +501,7 @@ static int alloc_cmb(struct ccw_device *cdev)
501501
WARN_ON(!list_empty(&cmb_area.list));
502502

503503
spin_unlock(&cmb_area.lock);
504-
mem = (void*)__get_free_pages(GFP_KERNEL | GFP_DMA,
505-
get_order(size));
504+
mem = (void *)__get_free_pages(GFP_KERNEL, get_order(size));
506505
spin_lock(&cmb_area.lock);
507506

508507
if (cmb_area.mem) {

0 commit comments

Comments
 (0)