Patch "irqchip/gic-v3: Always trust the managed affinity provided by the core code" has been added to the 5.10-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

    irqchip/gic-v3: Always trust the managed affinity provided by the core code

to the 5.10-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:
     irqchip-gic-v3-always-trust-the-managed-affinity-provided-by-the-core-code.patch
and it can be found in the queue-5.10 subdirectory.

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


>From foo@baz Wed Nov 30 06:09:36 PM CET 2022
From: Luiz Capitulino <luizcap@xxxxxxxxxx>
Date: Mon, 28 Nov 2022 17:08:34 +0000
Subject: irqchip/gic-v3: Always trust the managed affinity provided by the core code
To: <stable@xxxxxxxxxxxxxxx>, <maz@xxxxxxxxxx>
Cc: <tglx@xxxxxxxxxxxxx>, <lcapitulino@xxxxxxxxx>, Luiz Capitulino <luizcap@xxxxxxxxxx>
Message-ID: <c5c925684a4f35e61e75581ec0e8c64cc4cf683a.1669655291.git.luizcap@xxxxxxxxxx>

From: Luiz Capitulino <luizcap@xxxxxxxxxx>

From: Marc Zyngier <maz@xxxxxxxxxx>

commit 3f893a5962d31c0164efdbf6174ed0784f1d7603 upstream.

Now that the core code has been fixed to always give us an affinity
that only includes online CPUs, directly use this affinity when
computing a target CPU.

Signed-off-by: Marc Zyngier <maz@xxxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Link: https://lore.kernel.org/r/20220405185040.206297-4-maz@xxxxxxxxxx

Signed-off-by: Luiz Capitulino <luizcap@xxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
 drivers/irqchip/irq-gic-v3-its.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/irqchip/irq-gic-v3-its.c
+++ b/drivers/irqchip/irq-gic-v3-its.c
@@ -1615,7 +1615,7 @@ static int its_select_cpu(struct irq_dat
 
 		cpu = cpumask_pick_least_loaded(d, tmpmask);
 	} else {
-		cpumask_and(tmpmask, irq_data_get_affinity_mask(d), cpu_online_mask);
+		cpumask_copy(tmpmask, aff_mask);
 
 		/* If we cannot cross sockets, limit the search to that node */
 		if ((its_dev->its->flags & ITS_FLAGS_WORKAROUND_CAVIUM_23144) &&


Patches currently in stable-queue which might be from luizcap@xxxxxxxxxx are

queue-5.10/genirq-take-the-proposed-affinity-at-face-value-if-force-true.patch
queue-5.10/genirq-always-limit-the-affinity-to-online-cpus.patch
queue-5.10/genirq-msi-shutdown-managed-interrupts-with-unsatifiable-affinities.patch
queue-5.10/irqchip-gic-v3-always-trust-the-managed-affinity-provided-by-the-core-code.patch



[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