From: Martin Schwidefsky Date: Mon, 6 Feb 2017 14:56:14 +0000 (+0100) Subject: s390/sclp: single increment assignment control X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=45be0a02f8110a13502fac6167a893c7c0eff432;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git s390/sclp: single increment assignment control Set a new option bit of the attach command to speed up memory hotplug. Signed-off-by: Martin Schwidefsky --- diff --git a/drivers/s390/char/sclp_cmd.c b/drivers/s390/char/sclp_cmd.c index b9c5522b8a68..dff8b94871f0 100644 --- a/drivers/s390/char/sclp_cmd.c +++ b/drivers/s390/char/sclp_cmd.c @@ -252,6 +252,7 @@ static int sclp_attach_storage(u8 id) if (!sccb) return -ENOMEM; sccb->header.length = PAGE_SIZE; + sccb->header.function_code = 0x40; rc = sclp_sync_request_timeout(0x00080001 | id << 8, sccb, SCLP_QUEUE_INTERVAL); if (rc)