From: Enlin Mu <enlin.mu@linux.dev>
To: tglx@kernel.org, linux-kernel@vger.kernel.org,
enlin.mu@unisoc.com, enlin.mu@linux.dev
Cc: linux-hardening@vger.kernel.org
Subject: [PATCH v2] genirq: Add the entropy pool function to the PPI interrupt handler
Date: Tue, 16 Jun 2026 18:02:11 +0800 [thread overview]
Message-ID: <20260616100211.3068-1-enlin.mu@linux.dev> (raw)
Accelerate the entropy pool initialization process.
The function handle_irq_event_percpu adds entropy pool
initialization, but this logic is missing in the PPI interrupt handler.
I think this was simply an accidental omission.
Signed-off-by: Enlin Mu <enlin.mu@linux.dev>
---
v2:updated the commit message
---
kernel/irq/chip.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c
index de754db414d1..cbbd7e7d1156 100644
--- a/kernel/irq/chip.c
+++ b/kernel/irq/chip.c
@@ -926,6 +926,7 @@ void handle_percpu_devid_irq(struct irq_desc *desc)
trace_irq_handler_entry(irq, action);
res = action->handler(irq, raw_cpu_ptr(action->percpu_dev_id));
trace_irq_handler_exit(irq, action, res);
+ add_interrupt_randomness(irq);
} else {
bool enabled = cpumask_test_cpu(cpu, desc->percpu_enabled);
--
2.39.5
next reply other threads:[~2026-06-16 10:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-16 10:02 Enlin Mu [this message]
2026-06-16 14:27 ` [PATCH v2] genirq: Add the entropy pool function to the PPI interrupt handler Michael Kelley
-- strict thread matches above, loose matches on Subject: below --
2026-06-16 8:17 Enlin Mu
2026-06-16 9:38 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260616100211.3068-1-enlin.mu@linux.dev \
--to=enlin.mu@linux.dev \
--cc=enlin.mu@unisoc.com \
--cc=linux-hardening@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox