diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2014-01-24 09:18:52 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2014-01-24 09:40:59 +0100 |
commit | 07be0382097027cde68d9268cc628741069b5762 (patch) | |
tree | fee25ed4434d1d3d1d670b53065864ccc12c0d18 /arch/s390/include/asm/sclp.h | |
parent | fded4329da9e8486b434d6c4aceab1ab3f433d8a (diff) | |
download | op-kernel-dev-07be0382097027cde68d9268cc628741069b5762.zip op-kernel-dev-07be0382097027cde68d9268cc628741069b5762.tar.gz |
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>
Diffstat (limited to 'arch/s390/include/asm/sclp.h')
-rw-r--r-- | arch/s390/include/asm/sclp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/include/asm/sclp.h b/arch/s390/include/asm/sclp.h index 220e171..abaca22 100644 --- a/arch/s390/include/asm/sclp.h +++ b/arch/s390/include/asm/sclp.h @@ -54,6 +54,7 @@ int sclp_chp_read_info(struct sclp_chp_info *info); void sclp_get_ipl_info(struct sclp_ipl_info *info); bool __init sclp_has_linemode(void); bool __init sclp_has_vt220(void); +bool sclp_has_sprp(void); int sclp_pci_configure(u32 fid); int sclp_pci_deconfigure(u32 fid); int memcpy_hsa(void *dest, unsigned long src, size_t count, int mode); |