qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-arm] [PATCH v2] don't hardcode EL1 in extended_addresses_enabl


From: Peter Maydell
Subject: Re: [Qemu-arm] [PATCH v2] don't hardcode EL1 in extended_addresses_enabled
Date: Tue, 31 Oct 2017 17:19:29 +0000

On 31 October 2017 at 17:07, Stefano Stabellini <address@hidden> wrote:
> Sorry Peter, I copy/pasted the values from arm32/page.h instead of
> arm64/page.h in Xen :-/
>
> Xen is running at EL2, 64-bit (aarch64). The ATS instruction is "at
> s1e2r", used to translate Xen virtual addresses into physical addresses.
> This is what breaks.

Thanks. OK, so if we change the line in do_ats_write() from
     if (extended_addresses_enabled(env)) {
to
     if (arm_s1_regime_using_lpae_format(env, mmu_idx)) {

does that fix your problem?

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]