[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 03/22] target/arm: Add MTE system registers
From: |
Laurent Desnogues |
Subject: |
Re: [Qemu-devel] [PATCH v4 03/22] target/arm: Add MTE system registers |
Date: |
Fri, 8 Mar 2019 11:37:45 +0100 |
On Fri, Mar 8, 2019 at 11:31 AM Laurent Desnogues
<address@hidden> wrote:
>
> Hello,
>
> On Thu, Mar 7, 2019 at 6:09 PM Richard Henderson
> <address@hidden> wrote:
[...]
> > +static CPAccessResult access_mte(CPUARMState *env, const ARMCPRegInfo *ri,
> > + bool isread)
> > +{
> > + int el = arm_current_el(env);
> > +
> > + if (el < 2 &&
> > + arm_feature(env, ARM_FEATURE_EL2) &&
> > + !(arm_hcr_el2_eff(env) & HCR_ATA)) {
> > + return CP_ACCESS_TRAP_EL2;
> > + }
>
> arm_hcr_el2_eff seems to be clearing HCR_ATA bit. I think it needs to
> be updated.
Forget that. I read it wrong and that's my test that is buggy!
Perhaps the comment about ARMv8.4 in arm_hcr_el2_eff should be updated?
Sorry,
Laurent
- [Qemu-devel] [PATCH v4 00/22] target/arm: Implement ARMv8.5-MemTag, system mode, Richard Henderson, 2019/03/07
- [Qemu-devel] [PATCH v4 01/22] target/arm: Add MTE_ACTIVE to tb_flags, Richard Henderson, 2019/03/07
- [Qemu-devel] [PATCH v4 02/22] target/arm: Extract TCMA with ARMVAParameters, Richard Henderson, 2019/03/07
- [Qemu-devel] [PATCH v4 07/22] target/arm: Implement ADDG, SUBG instructions, Richard Henderson, 2019/03/07
- [Qemu-devel] [PATCH v4 05/22] target/arm: Suppress tag check for sp+offset, Richard Henderson, 2019/03/07
- [Qemu-devel] [PATCH v4 04/22] target/arm: Add helper_mte_check{1, 2}, Richard Henderson, 2019/03/07
- [Qemu-devel] [PATCH v4 09/22] target/arm: Implement the SUBP instruction, Richard Henderson, 2019/03/07
- [Qemu-devel] [PATCH v4 03/22] target/arm: Add MTE system registers, Richard Henderson, 2019/03/07
- [Qemu-devel] [PATCH v4 08/22] target/arm: Implement the GMI instruction, Richard Henderson, 2019/03/07
- [Qemu-devel] [PATCH v4 06/22] target/arm: Implement the IRG instruction, Richard Henderson, 2019/03/07
- [Qemu-devel] [PATCH v4 21/22] target/arm: Add allocation tag storage for system mode, Richard Henderson, 2019/03/07
- [Qemu-devel] [PATCH v4 20/22] target/arm: Create a TLB entry for tag physical address space, Richard Henderson, 2019/03/07
- [Qemu-devel] [PATCH v4 15/22] target/arm: Clean address for DC ZVA, Richard Henderson, 2019/03/07
- [Qemu-devel] [PATCH v4 19/22] target/arm: Create tagged ram when MTE is enabled, Richard Henderson, 2019/03/07
- [Qemu-devel] [PATCH v4 17/22] target/arm: Set PSTATE.TCO on exception entry, Richard Henderson, 2019/03/07
- [Qemu-devel] [PATCH v4 22/22] target/arm: Enable MTE, Richard Henderson, 2019/03/07
- [Qemu-devel] [PATCH v4 18/22] target/arm: Cache the Tagged bit for a page in MemTxAttrs, Richard Henderson, 2019/03/07
- [Qemu-devel] [PATCH v4 14/22] target/arm: Implement the access tag cache flushes, Richard Henderson, 2019/03/07