Re: [PATCH v13 6/7] arm64: mte: Report async tag faults before suspend

From: Vincenzo Frascino
Date: Fri Feb 12 2021 - 08:13:07 EST




On 2/12/21 12:30 PM, Lorenzo Pieralisi wrote:
>> However, I have a question. We are relying on context switch to set
>> sctlr_el1_tfc0 right ? If that's the case, till the thread resuming from
>> low power switches context we are running with SCTLR_EL1_TCF0 not
>> reflecting the actual value.
> Forget this, we obviously restore sctlr_el1 on resume (cpu_do_resume()).
>
> With the line above removed:
>
> Reviewed-by: Lorenzo Pieralisi <lorenzo.pieralisi@xxxxxxx>
>

Thanks Lorenzo, I will remove the register write in the next version and add
your tag.

--
Regards,
Vincenzo