s390/sclp: single increment assignment control
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 6 Feb 2017 14:56:14 +0000 (15:56 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 26 Jul 2017 06:25:13 +0000 (08:25 +0200)
Set a new option bit of the attach command to speed up memory
hotplug.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/sclp_cmd.c

index b9c5522b8a680c0a7a49a2c3196d8b7215803b40..dff8b94871f0c341389fe0e22c398e003cac1725 100644 (file)
@@ -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)