mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
s390/zcrypt: Provide target domain for EP11 cprbs to scheduling function
The scheduling function will get an extension which will process the target_id value from an EP11 cprb. This patch extracts the value during preparation of the ap message. Signed-off-by: Jürgen Christ <jchrist@linux.ibm.com> Signed-off-by: Harald Freudenberger <freude@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
This commit is contained in:
committed by
Vasily Gorbik
parent
252a1ff777
commit
1024063eff
@@ -1021,7 +1021,7 @@ static long _zcrypt_send_ep11_cprb(bool userspace, struct ap_perms *perms,
|
||||
struct ep11_target_dev *targets;
|
||||
unsigned short target_num;
|
||||
unsigned int wgt = 0, pref_wgt = 0;
|
||||
unsigned int func_code;
|
||||
unsigned int func_code, domain;
|
||||
struct ap_message ap_msg;
|
||||
int cpen, qpen, qid = 0, rc = -ENODEV;
|
||||
struct module *mod;
|
||||
@@ -1058,7 +1058,7 @@ static long _zcrypt_send_ep11_cprb(bool userspace, struct ap_perms *perms,
|
||||
}
|
||||
}
|
||||
|
||||
rc = prep_ep11_ap_msg(userspace, xcrb, &ap_msg, &func_code);
|
||||
rc = prep_ep11_ap_msg(userspace, xcrb, &ap_msg, &func_code, &domain);
|
||||
if (rc)
|
||||
goto out_free;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user