Skip to content

Commit 343c8a5

Browse files
committed
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]>
1 parent a3a64a4 commit 343c8a5

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)