Messages in this thread | | | Date | Mon, 20 Sep 2021 16:31:33 +0100 | From | Catalin Marinas <> | Subject | Re: [PATCH 3/5] arm64: mte: CPU feature detection for Asymm MTE |
| |
On Mon, Sep 13, 2021 at 09:14:22AM +0100, Vincenzo Frascino wrote: > diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c > index f8a3067d10c6..a18774071a45 100644 > --- a/arch/arm64/kernel/cpufeature.c > +++ b/arch/arm64/kernel/cpufeature.c > @@ -2317,6 +2317,16 @@ static const struct arm64_cpu_capabilities arm64_features[] = { > .sign = FTR_UNSIGNED, > .cpu_enable = cpu_enable_mte, > }, > + { > + .desc = "Asymmetric Memory Tagging Extension",
I'd give this a better name as it's not entirely clear what it does. In the ARM ARM this is described as "asymmetric Tag Check Fault handling". Maybe just rename it to "Asymmetric MTE Tag Check Fault". Similarly in the Kconfig if you added one.
Otherwise:
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
| |