]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
s390/hypfs: add interface for diagnose 0x304
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 24 Jan 2014 08:18:52 +0000 (09:18 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 24 Jan 2014 08:40:59 +0000 (09:40 +0100)
commit07be0382097027cde68d9268cc628741069b5762
treefee25ed4434d1d3d1d670b53065864ccc12c0d18
parentfded4329da9e8486b434d6c4aceab1ab3f433d8a
s390/hypfs: add interface for diagnose 0x304

To provide access to the set-partition-resource-parameter interface
to user space add a new attribute to hypfs/debugfs:
 * s390_hypsfs/diag_304
The data for the query-partition-resource-parameters command can
be access by a read on the attribute. All other diagnose 0x304
requests need to be submitted via ioctl with CAP_SYS_ADMIN rights.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Documentation/ioctl/ioctl-number.txt
arch/s390/hypfs/Makefile
arch/s390/hypfs/hypfs.h
arch/s390/hypfs/hypfs_dbfs.c
arch/s390/hypfs/hypfs_sprp.c [new file with mode: 0644]
arch/s390/hypfs/inode.c
arch/s390/include/asm/sclp.h
arch/s390/include/uapi/asm/hypfs.h [new file with mode: 0644]
drivers/s390/char/sclp_cmd.c