Patch "fgraph: Change the name of cpuhp state to "fgraph:online"" has been added to the 6.11-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    fgraph: Change the name of cpuhp state to "fgraph:online"

to the 6.11-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     fgraph-change-the-name-of-cpuhp-state-to-fgraph-onli.patch
and it can be found in the queue-6.11 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit e204b547f6b05e54b8b0936e0d6f6ccb8a7e5e93
Author: Steven Rostedt <rostedt@xxxxxxxxxxx>
Date:   Thu Oct 24 22:29:44 2024 -0400

    fgraph: Change the name of cpuhp state to "fgraph:online"
    
    [ Upstream commit a574e7f80e86c740e241c762923f50077b2c2a30 ]
    
    The cpuhp state name given to cpuhp_setup_state() is "fgraph_idle_init"
    which doesn't really conform to the names that are used for cpu hotplug
    setups. Instead rename it to "fgraph:online" to be in line with other
    states.
    
    Cc: Mark Rutland <mark.rutland@xxxxxxx>
    Cc: Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxxxx>
    Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
    Link: https://lore.kernel.org/20241024222944.473d88c5@xxxxxxxxxxxxxxxxxxxx
    Suggested-by: Masami Hiramatsu <mhiramat@xxxxxxxxxx>
    Fixes: 2c02f7375e658 ("fgraph: Use CPU hotplug mechanism to initialize idle shadow stacks")
    Signed-off-by: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/kernel/trace/fgraph.c b/kernel/trace/fgraph.c
index cd1c2946018c8..69e226a48daa9 100644
--- a/kernel/trace/fgraph.c
+++ b/kernel/trace/fgraph.c
@@ -1255,7 +1255,7 @@ int register_ftrace_graph(struct fgraph_ops *gops)
 	guard(mutex)(&ftrace_lock);
 
 	if (!fgraph_initialized) {
-		ret = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "fgraph_idle_init",
+		ret = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "fgraph:online",
 					fgraph_cpu_init, NULL);
 		if (ret < 0) {
 			pr_warn("fgraph: Error to init cpu hotplug support\n");




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux