mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH RESEND] arm64: paravirt: Mark steal_acc as __initdata
@ 2026-11-12 19:35 Thorsten Blum
  2026-11-24 11:33 ` Catalin Marinas
  0 siblings, 1 reply; 2+ messages in thread
From: Thorsten Blum @ 2026-11-12 19:35 UTC (permalink / raw)
  To: Juergen Gross, Ajay Kaher, Alexey Makhalov,
	Broadcom internal kernel review list, Catalin Marinas,
	Will Deacon, Mark Rutland
  Cc: Thorsten Blum, virtualization, x86, linux-arm-kernel, linux-kernel

steal_acc is only written by parse_no_stealacc() and read by
pv_time_init(), both of which are __init functions.

Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Thorsten Blum <blum@kernel.org>
---
 arch/arm64/kernel/paravirt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/kernel/paravirt.c b/arch/arm64/kernel/paravirt.c
index 30bf61d031eb..ef77fcab7f61 100644
--- a/arch/arm64/kernel/paravirt.c
+++ b/arch/arm64/kernel/paravirt.c
@@ -31,7 +31,7 @@ struct pv_time_stolen_time_region {
 
 static DEFINE_PER_CPU(struct pv_time_stolen_time_region, stolen_time_region);
 
-static bool steal_acc = true;
+static bool steal_acc __initdata = true;
 static int __init parse_no_stealacc(char *arg)
 {
 	steal_acc = false;

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH RESEND] arm64: paravirt: Mark steal_acc as __initdata
  2026-11-12 19:35 [PATCH RESEND] arm64: paravirt: Mark steal_acc as __initdata Thorsten Blum
@ 2026-11-24 11:33 ` Catalin Marinas
  0 siblings, 0 replies; 2+ messages in thread
From: Catalin Marinas @ 2026-11-24 11:33 UTC (permalink / raw)
  To: Thorsten Blum
  Cc: Juergen Gross, Ajay Kaher, Alexey Makhalov,
	Broadcom internal kernel review list, Will Deacon, Mark Rutland,
	virtualization, x86, linux-arm-kernel, linux-kernel

On Thu, Nov 12, 2026 at 08:35:14PM +0100, Thorsten Blum wrote:
> steal_acc is only written by parse_no_stealacc() and read by
> pv_time_init(), both of which are __init functions.
> 
> Reviewed-by: Juergen Gross <jgross@suse.com>
> Signed-off-by: Thorsten Blum <blum@kernel.org>

Acked-by: Catalin Marinas <catalin.marinas@arm.com>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-24 11:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-12 19:35 [PATCH RESEND] arm64: paravirt: Mark steal_acc as __initdata Thorsten Blum
2026-11-24 11:33 ` Catalin Marinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®