Re: [RFC PATCH v2 13/26] KVM: arm64: Enable access to sanitized CPU features at EL2
From: Marc Zyngier <maz@kernel.org>
Date: 2021-01-13 17:28:34
Also in:
kvmarm, linux-devicetree, lkml
From: Marc Zyngier <maz@kernel.org>
Date: 2021-01-13 17:28:34
Also in:
kvmarm, linux-devicetree, lkml
On 2021-01-13 14:35, Quentin Perret wrote:
On Wednesday 13 Jan 2021 at 14:23:03 (+0000), Quentin Perret wrote:quoted
Good point, that would be nice indeed. Can I use that from outside an __init function?Just gave it a go, and the answer to this appears to be yes, surprisingly -- I was expecting a compile-time warning similar to what we get when non-__init code calls into __init, but that doesn't seem to trigger here. Anyways, I'll add the annotation in v3.
That's surprising. I'd definitely expect something to explode...
Do you have CONFIG_DEBUG_SECTION_MISMATCH=y?
M.
--
Jazz is not dead. It just smells funny...
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel