From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-172.mta1.migadu.com (out-172.mta1.migadu.com [95.215.58.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E79CC3A1E9F for ; Tue, 6 Jan 2026 06:17:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767680246; cv=none; b=EWptc1YFYX793epquLpy44tRVy4/ex3/vozrv1oVyLFavqiYPdc3NiJeqLAzSGwra6WVHW0XETUGaKi3o6kABwJRy1jo0E6jeA0ObIAXwgA9YZzBG9VUuernhbuNl1mK7rO0Li/rHGSFlYsZdQWF4+1asJVsXgrhXAJJcbLQe3k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767680246; c=relaxed/simple; bh=DRsDejjLk8ReqDWJF3prYEKc3EGrCs4MAf5BIZE7TS4=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=KNDsLbB5Tk/dGu6Ewwtkx10OryeKUdVXodr/qdDt2q+un2Zkh4xcTDJ1GhURPWLy+I7dX7HlZpFl9GuGee9stafHzEbBkpe/RSCmIYs87a9Q4uR/8DuTnR2DcBE9Cy9K6TljN27EUMHgnbHE1EOmMLeiIGz9Quf90JalgkTZO0I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=Nt1/kGw1; arc=none smtp.client-ip=95.215.58.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="Nt1/kGw1" Message-ID: <252851c4-c7a0-49b1-9fca-f1bac04b588f@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1767680241; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=P5+TBgYEWFRSK5oGN4bKEpG1rQ6eyfoStkgdOUeZyWM=; b=Nt1/kGw17Z0cVMdf3gz20HKioM+leGbzFtBw9TLVs5wlQqAPNodhuEPzQj5OlE0bqVoJ/R hgzAwudzbIDOsp0hbhW5x89qKm7D0e3efYMhtrZO3XSVFzgSW0oNY9W3ynTbbavfNqg6Cz 7nxq2jI6yU9AkbUn7jNrE29PeQnH0NI= Date: Tue, 6 Jan 2026 14:16:57 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH] softirq: Print the function name To: tglx@linutronix.de, bigeasy@linutronix.de, boqun.feng@gmail.com, mingo@kernel.org, ryotkkr98@gmail.com, linux-kernel@vger.kernel.org, enlin.mu@unisoc.com References: <20260105094133.3542-1-enlin.mu@linux.dev> Content-Language: en-US X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: "enlin.mu" In-Reply-To: <20260105094133.3542-1-enlin.mu@linux.dev> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT On 2026/1/5 17:41, Enlin Mu wrote: > Adjust the printing format from the function address to > the function name. > > Signed-off-by: Enlin Mu > Signed-off-by: Enlin Mu > --- > kernel/softirq.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/kernel/softirq.c b/kernel/softirq.c > index 77198911b8dd..68ef18616fb9 100644 > --- a/kernel/softirq.c > +++ b/kernel/softirq.c > @@ -622,7 +622,7 @@ static void handle_softirqs(bool ksirqd) > h->action(); > trace_softirq_exit(vec_nr); > if (unlikely(prev_count != preempt_count())) { > - pr_err("huh, entered softirq %u %s %p with preempt_count %08x, exited with %08x?\n", > + pr_err("huh, entered softirq %u %s %pS with preempt_count %08x, exited with %08x?\n", > vec_nr, softirq_to_name[vec_nr], h->action, > prev_count, preempt_count()); Hi All My test results are as follows: before this patch: [ 49.919574] softirq: huh, entered softirq 1 TIMER 00000000bb45ef3a with preempt_count 00000101, exited with 00000101? after this patch: [ 49.919570] softirq: huh, entered softirq 1 TIMER run_timer_softirq+0x0/0x108 with preempt_count 00000101, exited with 00000102? > preempt_count_set(prev_count);