Re: [PATCH RFC v10 07/22] arm64: Initialize POR_EL1 register on cpu_resume()
From: Mark Brown
Date: Thu Nov 12 2026 - 10:33:56 EST
On Thu, Nov 12, 2026 at 01:14:01PM +0000, Yeoreum Yun wrote:
> On Thu, Nov 12, 2026 at 01:02:16PM +0000, Mark Brown wrote:
> > Possibly just have one before writing TCR2_EL1 rather than for each of
> > the indvididual features, that's harder to mess up?
> I'm not sure that's necessarily better, as we'd end up executing an isb()
> even when POE or other features aren't enabled.
> Wouldn't it be better to execute an isb() only when needed?
OTOH it seemed like we'd repeatedly omitted them where we needed them,
and we'd end up issuing multiple barriers this way. But Kevin pointed
out that the second one needs to be where it is anyway so it doesn't
matter.
Attachment:
signature.asc
Description: PGP signature