s390/sclp: Add support for Store Data SCLP interface
authorPeter Oberparleiter <oberpar@linux.vnet.ibm.com>
Mon, 13 Feb 2017 12:38:17 +0000 (13:38 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 22 Feb 2018 14:31:23 +0000 (15:31 +0100)
commit66aec647216f129b8560dba738303a8486481c53
treed2667a9ced4f946c687f0f9feb078694861ff0ca
parent1caf170df9bac49bb198c424aee45f5ecced076a
s390/sclp: Add support for Store Data SCLP interface

Add functions to retrieve data associated with an SCLP Store Data
entity. Automatically retrieve data for the "config" entity during
boot and make that data available to user-space via sysfs:

    /sys/firmware/sclp_sd/config/data
        Reading from this file will return config data contents.

    /sys/firmware/sclp_sd/config/reload
        Writing to this file will cause the latest version of data
        related to the config entity to be read from the SCLP interface.

Generate a KOBJ_CHANGE whenever new data is retrieved.

Signed-off-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/Makefile
drivers/s390/char/sclp.h
drivers/s390/char/sclp_sd.c [new file with mode: 0644]