[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v7 39/42] target/arm: Enable MTE
From: |
Richard Henderson |
Subject: |
Re: [PATCH v7 39/42] target/arm: Enable MTE |
Date: |
Thu, 18 Jun 2020 10:35:22 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 |
On 6/18/20 9:39 AM, Peter Maydell wrote:
>> t = cpu->isar.id_aa64pfr1;
>> t = FIELD_DP64(t, ID_AA64PFR1, BT, 1);
>> + t = FIELD_DP64(t, ID_AA64PFR1, MTE, 2);
>> cpu->isar.id_aa64pfr1 = t;
>
> If we don't actually have tagged memory yet should we really
> set the MTE field to 2 rather than 1 ?
Well, we reduce that later in arm_cpu_realizefn.
But perhaps this patch should be sorted after patch 41.
r~
- [PATCH v7 34/42] target/arm: Handle TBI for sve scalar + int memory ops, (continued)
- [PATCH v7 34/42] target/arm: Handle TBI for sve scalar + int memory ops, Richard Henderson, 2020/06/02
- [PATCH v7 33/42] target/arm: Add mte helpers for sve scalar + int ff/nf loads, Richard Henderson, 2020/06/02
- [PATCH v7 36/42] target/arm: Complete TBI clearing for user-only for SVE, Richard Henderson, 2020/06/02
- [PATCH v7 37/42] target/arm: Implement data cache set allocation tags, Richard Henderson, 2020/06/02
- [PATCH v7 35/42] target/arm: Add mte helpers for sve scatter/gather memory ops, Richard Henderson, 2020/06/02
- [PATCH v7 38/42] target/arm: Set PSTATE.TCO on exception entry, Richard Henderson, 2020/06/02
- [PATCH v7 39/42] target/arm: Enable MTE, Richard Henderson, 2020/06/02
- [PATCH v7 40/42] target/arm: Cache the Tagged bit for a page in MemTxAttrs, Richard Henderson, 2020/06/02
- [PATCH v7 41/42] target/arm: Create tagged ram when MTE is enabled, Richard Henderson, 2020/06/02
- [PATCH v7 42/42] target/arm: Add allocation tag storage for system mode, Richard Henderson, 2020/06/02
- Re: [PATCH v7 00/42] target/arm: Implement ARMv8.5-MemTag, system mode, no-reply, 2020/06/02
- Re: [PATCH v7 00/42] target/arm: Implement ARMv8.5-MemTag, system mode, Peter Maydell, 2020/06/19