diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2020-02-10 17:27:37 +0100 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2020-02-11 20:15:42 +0100 |
commit | 27dc0700c3be7c681cea03c5230b93d02f623492 (patch) | |
tree | 58fa694de310f5e7a4eded85d3798b796e51beb2 /samples | |
parent | Merge tag 'vfio-ccw-20200206' of https://git.kernel.org/pub/scm/linux/kernel/... (diff) | |
download | linux-27dc0700c3be7c681cea03c5230b93d02f623492.tar.xz linux-27dc0700c3be7c681cea03c5230b93d02f623492.zip |
s390/uv: Fix handling of length extensions
The query parameter block might contain additional information and can
be extended in the future. If the size of the block does not suffice we
get an error code of rc=0x100. The buffer will contain all information
up to the specified size and the hypervisor/guest simply do not need the
additional information as they do not know about the new data. That
means that we can (and must) accept rc=0x100 as success.
Cc: stable@vger.kernel.org
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Fixes: 5abb9351dfd9 ("s390/uv: introduce guest side ultravisor code")
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions