[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v8 41/45] target/arm: Always pass cacheattr to get_phys_addr
From: |
Peter Maydell |
Subject: |
Re: [PATCH v8 41/45] target/arm: Always pass cacheattr to get_phys_addr |
Date: |
Thu, 25 Jun 2020 13:56:40 +0100 |
On Tue, 23 Jun 2020 at 20:37, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> We need to check the memattr of a page in order to determine
> whether it is Tagged for MTE. Between Stage1 and Stage2,
> this becomes simpler if we always collect this data, instead
> of occasionally being presented with NULL.
>
> Use the nonnull attribute to allow the compiler to check that
> all pointer arguments are non-null.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
thanks
-- PMM
- Re: [PATCH v8 38/45] target/arm: Complete TBI clearing for user-only for SVE, (continued)
[PATCH v8 40/45] target/arm: Set PSTATE.TCO on exception entry, Richard Henderson, 2020/06/23
[PATCH v8 39/45] target/arm: Implement data cache set allocation tags, Richard Henderson, 2020/06/23
[PATCH v8 37/45] target/arm: Add mte helpers for sve scatter/gather memory ops, Richard Henderson, 2020/06/23
[PATCH v8 42/45] target/arm: Cache the Tagged bit for a page in MemTxAttrs, Richard Henderson, 2020/06/23
[PATCH v8 41/45] target/arm: Always pass cacheattr to get_phys_addr, Richard Henderson, 2020/06/23
- Re: [PATCH v8 41/45] target/arm: Always pass cacheattr to get_phys_addr,
Peter Maydell <=
[PATCH v8 43/45] target/arm: Create tagged ram when MTE is enabled, Richard Henderson, 2020/06/23
[PATCH v8 44/45] target/arm: Add allocation tag storage for system mode, Richard Henderson, 2020/06/23
[PATCH v8 45/45] target/arm: Enable MTE, Richard Henderson, 2020/06/23
Re: [PATCH v8 00/45] target/arm: Implement ARMv8.5-MemTag, system mode, Derrick McKee, 2020/06/23