[PATCH] arm64/sme: Move storage of reg_smidr to __cpuinfo_store_cpu()

Mark Brown broonie at kernel.org
Mon Dec 16 04:17:54 PST 2024


On Sat, Dec 14, 2024 at 10:56:13AM +0000, Marc Zyngier wrote:

> I don't understand the need to single out SMIDR_EL1. It seems to only
> make things even more fragile than they already are by adding more
> synchronisation phases.

> Why isn't the following a good enough fix? It makes it plain that
> boot_cpu_data is only a copy of CPU0's initial boot state.

That would work but it's not clear to me that that is what the intent is
here.  The current ordering seemed like a strange enough decision to be
deliberate, though I couldn't identify the reasoning.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20241216/684e9a22/attachment.sig>


More information about the linux-arm-kernel mailing list