All of lore.kernel.org
 help / color / mirror / Atom feed
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] genirq: Add the entropy pool function to the PPI interrupt handler
Date: Tue, 16 Jun 2026 13:50:42 +0800	[thread overview]
Message-ID: <20260616055042.3923-1-enlin.mu@linux.dev> (raw)

Accelerate the entropy pool initialization process

Signed-off-by: Enlin Mu <enlin.mu@linux.dev>
---
 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


             reply	other threads:[~2026-06-16  5:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-16  5:50 Enlin Mu [this message]
2026-06-16  5:59 ` [PATCH] genirq: Add the entropy pool function to the PPI interrupt handler Greg KH
2026-06-16  6:26   ` enlin.mu
2026-06-16  6:48     ` Greg KH
2026-06-16  7:17       ` enlin.mu
2026-06-16  7:24         ` Greg KH
2026-06-16  7:40           ` enlin.mu
2026-06-16  7:49             ` Greg KH
2026-06-16  8:16               ` enlin.mu

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=20260616055042.3923-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.