forked from microsoft/WSL2-Linux-Kernel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
objtool/idle: Validate __cpuidle code as noinstr
Idle code is very like entry code in that RCU isn't available. As such, add a little validation. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Tested-by: Tony Lindgren <tony@atomide.com> Tested-by: Ulf Hansson <ulf.hansson@linaro.org> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Frederic Weisbecker <frederic@kernel.org> Link: https://lore.kernel.org/r/20230112195540.373461409@infradead.org
- Loading branch information
Peter Zijlstra
authored and
Ingo Molnar
committed
Jan 13, 2023
1 parent
00717eb
commit 2b5a0e4
Showing
32 changed files
with
27 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,6 @@ SECTIONS | |
HEAD_TEXT | ||
TEXT_TEXT | ||
SCHED_TEXT | ||
CPUIDLE_TEXT | ||
LOCK_TEXT | ||
*(.fixup) | ||
*(.gnu.warning) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,7 +85,6 @@ SECTIONS | |
_stext = .; | ||
TEXT_TEXT | ||
SCHED_TEXT | ||
CPUIDLE_TEXT | ||
LOCK_TEXT | ||
KPROBES_TEXT | ||
IRQENTRY_TEXT | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -175,7 +175,6 @@ SECTIONS | |
ENTRY_TEXT | ||
TEXT_TEXT | ||
SCHED_TEXT | ||
CPUIDLE_TEXT | ||
LOCK_TEXT | ||
KPROBES_TEXT | ||
HYPERVISOR_TEXT | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,6 @@ SECTIONS | |
SOFTIRQENTRY_TEXT | ||
TEXT_TEXT | ||
SCHED_TEXT | ||
CPUIDLE_TEXT | ||
LOCK_TEXT | ||
KPROBES_TEXT | ||
*(.fixup) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,7 +41,6 @@ SECTIONS | |
IRQENTRY_TEXT | ||
SOFTIRQENTRY_TEXT | ||
SCHED_TEXT | ||
CPUIDLE_TEXT | ||
LOCK_TEXT | ||
KPROBES_TEXT | ||
*(.fixup) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,6 @@ SECTIONS | |
.text : { | ||
TEXT_TEXT | ||
SCHED_TEXT | ||
CPUIDLE_TEXT | ||
LOCK_TEXT | ||
KPROBES_TEXT | ||
IRQENTRY_TEXT | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,6 @@ SECTIONS { | |
EXIT_TEXT | ||
EXIT_CALL | ||
SCHED_TEXT | ||
CPUIDLE_TEXT | ||
LOCK_TEXT | ||
KPROBES_TEXT | ||
IRQENTRY_TEXT | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,7 +61,6 @@ SECTIONS | |
.text : { | ||
TEXT_TEXT | ||
SCHED_TEXT | ||
CPUIDLE_TEXT | ||
LOCK_TEXT | ||
KPROBES_TEXT | ||
IRQENTRY_TEXT | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,6 @@ SECTIONS | |
.text : { | ||
TEXT_TEXT | ||
SCHED_TEXT | ||
CPUIDLE_TEXT | ||
LOCK_TEXT | ||
IRQENTRY_TEXT | ||
SOFTIRQENTRY_TEXT | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,7 +52,6 @@ SECTIONS | |
_stext = .; | ||
TEXT_TEXT | ||
SCHED_TEXT | ||
CPUIDLE_TEXT | ||
LOCK_TEXT | ||
KPROBES_TEXT | ||
IRQENTRY_TEXT | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,7 +86,6 @@ SECTIONS | |
TEXT_TEXT | ||
LOCK_TEXT | ||
SCHED_TEXT | ||
CPUIDLE_TEXT | ||
KPROBES_TEXT | ||
IRQENTRY_TEXT | ||
SOFTIRQENTRY_TEXT | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -111,7 +111,6 @@ SECTIONS | |
#endif | ||
NOINSTR_TEXT | ||
SCHED_TEXT | ||
CPUIDLE_TEXT | ||
LOCK_TEXT | ||
KPROBES_TEXT | ||
IRQENTRY_TEXT | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,6 @@ SECTIONS | |
_stext = .; | ||
TEXT_TEXT | ||
SCHED_TEXT | ||
CPUIDLE_TEXT | ||
LOCK_TEXT | ||
KPROBES_TEXT | ||
ENTRY_TEXT | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,7 +42,6 @@ SECTIONS | |
_stext = .; | ||
TEXT_TEXT | ||
SCHED_TEXT | ||
CPUIDLE_TEXT | ||
LOCK_TEXT | ||
KPROBES_TEXT | ||
ENTRY_TEXT | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,7 +42,6 @@ SECTIONS | |
HEAD_TEXT | ||
TEXT_TEXT | ||
SCHED_TEXT | ||
CPUIDLE_TEXT | ||
LOCK_TEXT | ||
KPROBES_TEXT | ||
IRQENTRY_TEXT | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,6 @@ SECTIONS | |
HEAD_TEXT | ||
TEXT_TEXT | ||
SCHED_TEXT | ||
CPUIDLE_TEXT | ||
LOCK_TEXT | ||
KPROBES_TEXT | ||
IRQENTRY_TEXT | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,7 +50,6 @@ SECTIONS | |
HEAD_TEXT | ||
TEXT_TEXT | ||
SCHED_TEXT | ||
CPUIDLE_TEXT | ||
LOCK_TEXT | ||
KPROBES_TEXT | ||
IRQENTRY_TEXT | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,7 +74,6 @@ SECTIONS | |
_stext = .; | ||
TEXT_TEXT | ||
SCHED_TEXT | ||
CPUIDLE_TEXT | ||
LOCK_TEXT | ||
IRQENTRY_TEXT | ||
SOFTIRQENTRY_TEXT | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,6 @@ SECTIONS | |
_stext = .; | ||
TEXT_TEXT | ||
SCHED_TEXT | ||
CPUIDLE_TEXT | ||
LOCK_TEXT | ||
IRQENTRY_TEXT | ||
SOFTIRQENTRY_TEXT | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -129,7 +129,6 @@ SECTIONS | |
HEAD_TEXT | ||
TEXT_TEXT | ||
SCHED_TEXT | ||
CPUIDLE_TEXT | ||
LOCK_TEXT | ||
KPROBES_TEXT | ||
SOFTIRQENTRY_TEXT | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -125,7 +125,6 @@ SECTIONS | |
ENTRY_TEXT | ||
TEXT_TEXT | ||
SCHED_TEXT | ||
CPUIDLE_TEXT | ||
LOCK_TEXT | ||
*(.fixup) | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters