Hi Jan, > On 9 Aug 2022, at 4:50 pm, Jan Beulich <jbeul...@suse.com> wrote: > > When passed -1, the function (taking a u16) will look for segment > 0xffff, which might exist. If it exists, we may find (return) the wrong > device. > > Signed-off-by: Jan Beulich <jbeul...@suse.com>
I tested the patch on ARM and it works as expected. Reviewed-by: Rahul Singh <rahul.si...@arm.com> Tested-by: Rahul Singh <rahul.si...@arm.com> Regards, Rahul