diff options
| author | Heiko Carstens <hca@linux.ibm.com> | 2026-07-31 18:50:02 +0200 |
|---|---|---|
| committer | Vasily Gorbik <gor@linux.ibm.com> | 2026-08-05 15:16:54 +0200 |
| commit | 97d86fc8479eb47b95cc01ddec969c693da287fc (patch) | |
| tree | aa7e562a52a3cdf396069912acf6bd65a6b9ff80 /drivers | |
| parent | e11733826f9779eb954abdcd2b60b273558f1a77 (diff) | |
| download | linux-stable-97d86fc8479eb47b95cc01ddec969c693da287fc.tar.gz linux-stable-97d86fc8479eb47b95cc01ddec969c693da287fc.zip | |
KVM: s390: Remove cond_resched() calls
Since [1] cond_resched() is a no-op on s390. Remove all calls.
This also entirely removes uv_call_sched() and replaces all call sites
with uv_call(), since both functions are identical after the removal
of cond_resched().
[1] commit 7dadeaa6e851 ("sched: Further restrict the preemption modes")
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/s390/char/uvdevice.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/s390/char/uvdevice.c b/drivers/s390/char/uvdevice.c index e6a264c996ce..4d274a2ee84d 100644 --- a/drivers/s390/char/uvdevice.c +++ b/drivers/s390/char/uvdevice.c @@ -224,7 +224,7 @@ static int uvio_attestation(struct uvio_ioctl_cb *uv_ioctl) if (ret) goto out; - uv_call_sched(0, (u64)uvcb_attest); + uv_call(0, (u64)uvcb_attest); uv_ioctl->uv_rc = uvcb_attest->header.rc; uv_ioctl->uv_rrc = uvcb_attest->header.rrc; @@ -291,7 +291,7 @@ static int uvio_add_secret(struct uvio_ioctl_cb *uv_ioctl) ret = 0; uvcb.addr = (u64)asrcb; - uv_call_sched(0, (u64)&uvcb); + uv_call(0, (u64)&uvcb); uv_ioctl->uv_rc = uvcb.header.rc; uv_ioctl->uv_rrc = uvcb.header.rrc; @@ -457,7 +457,7 @@ static int uvio_retr_secret(struct uvio_ioctl_cb *uv_ioctl) uvcb.buf_addr = (u64)buf; uvcb.buf_size = buf_len; - uv_call_sched(0, (u64)&uvcb); + uv_call(0, (u64)&uvcb); if (copy_to_user((__user void *)uv_ioctl->argument_addr, buf, buf_len)) goto err; |
