diff options
| author | David Hildenbrand <[email protected]> | 2021-05-03 12:12:44 +0000 |
|---|---|---|
| committer | Heiko Carstens <[email protected]> | 2021-05-04 17:10:56 +0000 |
| commit | b208108638c4bd3215792415944467c36f5dfd97 (patch) | |
| tree | b18fb71bab9c3e8db7ac871f9300c610565f453d /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | |
| parent | s390/entry: add support for syscall stack randomization (diff) | |
| download | kernel-b208108638c4bd3215792415944467c36f5dfd97.tar.gz kernel-b208108638c4bd3215792415944467c36f5dfd97.zip | |
s390: fix detection of vector enhancements facility 1 vs. vector packed decimal facility
The PoP documents:
134: The vector packed decimal facility is installed in the
z/Architecture architectural mode. When bit 134 is
one, bit 129 is also one.
135: The vector enhancements facility 1 is installed in
the z/Architecture architectural mode. When bit 135
is one, bit 129 is also one.
Looks like we confuse the vector enhancements facility 1 ("EXT") with the
Vector packed decimal facility ("BCD"). Let's fix the facility checks.
Detected while working on QEMU/tcg z14 support and only unlocking
the vector enhancements facility 1, but not the vector packed decimal
facility.
Fixes: 2583b848cad0 ("s390: report new vector facilities")
Cc: Vasily Gorbik <[email protected]>
Signed-off-by: David Hildenbrand <[email protected]>
Reviewed-by: Christian Borntraeger <[email protected]>
Reviewed-by: Cornelia Huck <[email protected]>
Reviewed-by: Janosch Frank <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Heiko Carstens <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c')
0 files changed, 0 insertions, 0 deletions
