linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Remove WARN_ON in save_processor_state
@ 2023-05-25  2:55 Song Shuai
  2023-05-25  2:55 ` [PATCH 1/4] ARM: hibernate: remove " Song Shuai
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Song Shuai @ 2023-05-25  2:55 UTC (permalink / raw)
  To: catalin.marinas, will, paul.walmsley, palmer, aou, chris,
	jcmvbkbc, songshuaishuai, steven.price, vincenzo.frascino, pcc,
	wangxiang, ajones, conor.dooley, jeeheng.sia, leyfoon.tan
  Cc: linux, linux-arm-kernel, linux-kernel, linux-riscv

During hibernation or restoration, freeze_secondary_cpus
checks num_online_cpus via BUG_ON, and the subsequent
save_processor_state also does the checking with WARN_ON.

So remove the unnecessary checking in save_processor_state
for ARM,arm64,riscv,xtensa architechtures.


Song Shuai (4):
  ARM: hibernate: remove WARN_ON in save_processor_state
  arm64: hibernate: remove WARN_ON in save_processor_state
  riscv: hibernate: remove WARN_ON in save_processor_state
  xtensa: hibernate: remove WARN_ON in save_processor_state

 arch/arm/kernel/hibernate.c    | 1 -
 arch/arm64/kernel/hibernate.c  | 1 -
 arch/riscv/kernel/hibernate.c  | 1 -
 arch/xtensa/kernel/hibernate.c | 1 -
 4 files changed, 4 deletions(-)

-- 
2.20.1


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

end of thread, other threads:[~2023-06-08 17:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-25  2:55 [PATCH 0/4] Remove WARN_ON in save_processor_state Song Shuai
2023-05-25  2:55 ` [PATCH 1/4] ARM: hibernate: remove " Song Shuai
2023-05-25  2:55 ` [PATCH 2/4] arm64: " Song Shuai
2023-06-05 14:28   ` Will Deacon
2023-06-07  3:00     ` Song Shuai
2023-06-08 17:26       ` Will Deacon
2023-05-25  2:55 ` [PATCH 3/4] riscv: " Song Shuai
2023-05-25  2:55 ` [PATCH 4/4] xtensa: " Song Shuai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).