Thread (79 messages) 79 messages, 4 authors, 2026-03-06

Re: [PATCH v9 27/30] KVM: arm64: selftests: Remove spurious check for single bit safe values

From: Ben Horgan <ben.horgan@arm.com>
Date: 2026-01-13 10:05:26
Also in: kvm, kvmarm, linux-arm-kernel, linux-kselftest, lkml

Hi Mark,

On 12/23/25 01:21, Mark Brown wrote:
get_safe_value() currently asserts that bitfields it is generating a safe
value for must be more than one bit wide but in actual fact it should
always be possible to generate a safe value to write to a bitfield even if
it is just the current value and the function correctly handles that.
Remove the assert.

Fixes: bf09ee918053e ("KVM: arm64: selftests: Remove ARM64_FEATURE_FIELD_BITS and its last user")
Signed-off-by: Mark Brown <broonie@kernel.org>
Yes, this assert was unneeded.

Reviewed-by: Ben Horgan <ben.horgan@arm.com>

Thanks,

Ben
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help