diff options
author | Jing Zhang <[email protected]> | 2024-01-15 14:02:09 -0800 |
---|---|---|
committer | Oliver Upton <[email protected]> | 2024-01-24 20:52:12 +0000 |
commit | 1cd2b08f7cc4a57cc1b04f62b6349970d13456c3 (patch) | |
tree | 40a19163a608149cab5f1605e7a166212e4b8eca /scripts/gdb/linux/stackdepot.py | |
parent | 6613476e225e090cc9aad49be7fa504e290dd33d (diff) |
KVM: arm64: selftests: Handle feature fields with nonzero minimum value correctly
There are some feature fields with nonzero minimum valid value. Make
sure get_safe_value() won't return invalid field values for them.
Also fix a bug that wrongly uses the feature bits type as the feature
bits sign causing all fields as signed in the get_safe_value() and
get_invalid_value().
Fixes: 54a9ea73527d ("KVM: arm64: selftests: Test for setting ID register from usersapce")
Reported-by: Zenghui Yu <[email protected]>
Reported-by: Itaru Kitayama <[email protected]>
Tested-by: Itaru Kitayama <[email protected]>
Signed-off-by: Jing Zhang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Oliver Upton <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/stackdepot.py')
0 files changed, 0 insertions, 0 deletions