On Tue, 8 Jan 2019 at 22:32, Richard Henderson <richard.hender...@linaro.org> wrote: > > Split out functions to extract the virtual address parameters. > Let the functions choose T0 or T1 address space half, if present. > Extract (most of) the control bits that vary between EL or Tx. > > Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
> + top_bits = sextract64(address, inputsize, addrsize - inputsize); I've just run into an assertion here running an aarch32 guest that uses LPAE, because addrsize == inputsize == 32, and sextract64() insists on a non-zero length... thanks -- PMM