Hi Andrew, On 24/06/2019 17:24, Andrew Cooper wrote:
ARM64's find_next_bit() explicitly copes with offset >= size, and while I don't speak ARM asm well enough to work out whether _find_first_bit_le() copes with offset == size, the vgic.c code definitely expects it to function in this way.
I looked at the instance of find_* in arch/arm/vgic.c. AFAICT, all of them will always be called with offset < size. Could you point which one you think will relies on offset == size?
Cheers, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel