[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251112181318.000064be@huawei.com>
Date: Wed, 12 Nov 2025 18:13:18 +0000
From: Jonathan Cameron <jonathan.cameron@...wei.com>
To: Marc Zyngier <maz@...nel.org>
CC: <linux-kernel@...r.kernel.org>, <linux-arm-kernel@...ts.infradead.org>,
<linux-acpi@...r.kernel.org>, Thomas Gleixner <tglx@...utronix.de>, "Mark
Rutland" <mark.rutland@....com>, Will Deacon <will@...nel.org>, "Rafael J.
Wysocki" <rafael@...nel.org>, Rob Herring <robh@...nel.org>, "Saravana
Kannan" <saravanak@...gle.com>, Greg Kroah-Hartman
<gregkh@...uxfoundation.org>, Sven Peter <sven@...nel.org>, Janne Grunau
<j@...nau.net>, Suzuki K Poulose <suzuki.poulose@....com>, James Clark
<james.clark@...aro.org>, Jinjie Ruan <ruanjinjie@...wei.com>, "Alexandru
Elisei" <alexandru.elisei@....com>
Subject: Re: [PATCH v4 14/26] genirq: Add affinity to percpu_devid interrupt
requests
On Mon, 20 Oct 2025 13:29:31 +0100
Marc Zyngier <maz@...nel.org> wrote:
> Add an affinity field to both the irqaction structure and the interrupt
> request primitives. Nothing is making use of it yet, and the only value
> used it NULL, which is used as a shorthand for cpu_possible_mask.
used is NULL
>
> This will shortly get used with actual affinities.
>
> Tested-by: Will Deacon <will@...nel.org>
> Signed-off-by: Marc Zyngier <maz@...nel.org>
With trivial bit of documentation added
Reviewed-by: Jonathan Cameron <jonathan.cameron@...wei.com>
> ---
> include/linux/interrupt.h | 5 +++--
> kernel/irq/manage.c | 14 ++++++++++----
> 2 files changed, 13 insertions(+), 6 deletions(-)
>
> diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h
> index 0ec1a71ab4e84..52147d5f432b3 100644
> --- a/include/linux/interrupt.h
> +++ b/include/linux/interrupt.h
> @@ -125,6 +125,7 @@ struct irqaction {
> void *dev_id;
> void __percpu *percpu_dev_id;
> };
> + const struct cpumask *affinity;
This structure has kernel-doc that needs an update.
> struct irqaction *next;
> irq_handler_t thread_fn;
> struct task_struct *thread;
Powered by blists - more mailing lists