From: Alexander Gordeev Date: Fri, 8 Mar 2024 14:54:46 +0000 (+0100) Subject: s390/sysinfo: allow response buffer in normal memory X-Git-Tag: v6.9-rc1~53^2~40 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4dc890df63996c4b18bcebfbd69b141a0beb5d03;p=thirdparty%2Fkernel%2Flinux.git s390/sysinfo: allow response buffer in normal memory As provided with commit cd4386a931b63 ("s390/cpcmd,vmcp: avoid GFP_DMA allocations") the Diagnose Code 8 response buffer does not have to be below 2GB. Reviewed-by: Heiko Carstens Signed-off-by: Alexander Gordeev Signed-off-by: Heiko Carstens --- diff --git a/arch/s390/kernel/sysinfo.c b/arch/s390/kernel/sysinfo.c index 1b1be3110cfc1..2be30a96696a3 100644 --- a/arch/s390/kernel/sysinfo.c +++ b/arch/s390/kernel/sysinfo.c @@ -397,7 +397,7 @@ static void service_level_vm_print(struct seq_file *m, { char *query_buffer, *str; - query_buffer = kmalloc(1024, GFP_KERNEL | GFP_DMA); + query_buffer = kmalloc(1024, GFP_KERNEL); if (!query_buffer) return; cpcmd("QUERY CPLEVEL", query_buffer, 1024, NULL);