This is inspired by the discussion in https://bugs.launchpad.net/qemu/+bug/1840922
Previously I suggested a new CPUClass hook, but when I went to implement that seemed like overkill. r~ Richard Henderson (2): linux-user: Pass CPUState to MAX_RESERVED_VA linux-user/arm: Adjust MAX_RESERVED_VA for M-profile linux-user/arm/target_cpu.h | 24 ++++++++++++++++++--- linux-user/main.c | 43 +++++++++++++++++++++---------------- 2 files changed, 46 insertions(+), 21 deletions(-) -- 2.17.1