Re: [GIT pull] x86/urgent for v6.11-rc3
From: Linus Torvalds
Date: Sun Aug 11 2024 - 13:31:24 EST
On Sun, 11 Aug 2024 at 06:58, Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
>
> - Don't make acpi_mp_wake_mailbox not read only after init [..]
I assume there's one negation too many there, and it should just be
"Don't make acpi_mp_wake_mailbox read-only".
Also, while parsing the merge message and looking at the patch to make
sure I got it right, it struck me that it would have been really nice
to have found this "non-init function writes to __ro_after_init
variable" automatically.
Sadly, our section analysis is purely based on "this section has a
reference to that other section", and thus cannot see what kind of
access it is. And I'm not seeing how to try to figure that kind of
thing out without lots of work (ie objtool kind of stuff), so I guess
we're stuck with figuring these things out manually.
Oh well.
Linus