s390: add support for ipl devices in subchannel sets > 0
Allow to ipl from CCW based devices residing in any subchannel set. Reviewed-by: Michael Holzheu <holzheu@linux.vnet.ibm.com> Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:

committed by
Martin Schwidefsky

parent
e0bedada3a
commit
18e22a1772
@@ -115,6 +115,20 @@ struct chsc_scpd {
|
||||
u8 data[PAGE_SIZE - 20];
|
||||
} __attribute__ ((packed));
|
||||
|
||||
struct chsc_sda_area {
|
||||
struct chsc_header request;
|
||||
u8 :4;
|
||||
u8 format:4;
|
||||
u8 :8;
|
||||
u16 operation_code;
|
||||
u32 :32;
|
||||
u32 :32;
|
||||
u32 operation_data_area[252];
|
||||
struct chsc_header response;
|
||||
u32 :4;
|
||||
u32 format2:4;
|
||||
u32 :24;
|
||||
} __packed __aligned(PAGE_SIZE);
|
||||
|
||||
extern int chsc_get_ssd_info(struct subchannel_id schid,
|
||||
struct chsc_ssd_info *ssd);
|
||||
@@ -122,6 +136,7 @@ extern int chsc_determine_css_characteristics(void);
|
||||
extern int chsc_init(void);
|
||||
extern void chsc_init_cleanup(void);
|
||||
|
||||
int __chsc_enable_facility(struct chsc_sda_area *sda_area, int operation_code);
|
||||
extern int chsc_enable_facility(int);
|
||||
struct channel_subsystem;
|
||||
extern int chsc_secm(struct channel_subsystem *, int);
|
||||
|
Reference in New Issue
Block a user