its_set_affinity函数在irq-gic-v3-its.c:还会调用irq_data_update_effective_affinity设置活动affinity。代表当前是那个核来接受中断。 [root@localhost ~]# cat /proc/irq/57/smp_affinity_list 1,3,6 [root@localhost ~]# cat /proc/irq/57/effective_affinity_list 3 1. 2. 3. 4. 5....
* @affinity: IRQ affinity on SMP. If this is an IPI * related irq, then this is the mask of the * CPUs to which an IPI can be sent.* @effective_affinity: The effective IRQ affinity on SMP as some irq * chips do not allow multi CPU destinations.*...
irq_data_update_effective_affinity(d, mask_val); return IRQ_SET_MASK_OK; }11 changes: 7 additions & 4 deletions 11 drivers/irqchip/irq-gic-v3.c Original file line numberDiff line numberDiff line change @@ -873,6 +873,7 @@ static int __gic_update_rdist_properties(struct redist_...
};int__initearly_irq_init(void){intcount, i, node = first_online_node;structirq_desc *desc; init_irq_default_affinity(); printk(KERN_INFO"NR_IRQS:%d\n", NR_IRQS); desc = irq_desc; count = ARRAY_SIZE(irq_desc); printk("~~~ %s() irq_desc count:%d, call desc_set_defaults()...
KeRevertToUserGroupAffinityThread function KERNEL_CET_CONTEXT structure KERNEL_SOFT_RESTART_NOTIFICATION structure KeSaveExtendedProcessorState function KeSaveFloatingPointState function KeSetCoalescableTimer function KeSetEvent function KeSetImportanceDpc function KeSetPriorityThread function KeSetSystemAffinityThread...
{ int count, i, node = first_online_node; struct irq_desc *desc; init_irq_default_affinity(); printk(KERN_INFO "NR_IRQS:%d\n", NR_IRQS); desc = irq_desc; count = ARRAY_SIZE(irq_desc); printk("~~~ %s() irq_desc count:%d, call desc_set_defaults()\n", \ __func__, ...
We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {...
[cpu], reg); irq_data_update_effective_affinity(d, cpumask_of(cpu)); return IRQ_SET_MASK_OK_DONE; diff --git a/drivers/irqchip/irq-riscv-intc.c b/drivers/irqchip/irq-riscv-intc.c index a6f97fa6ff69..8017f6d32d52 100644 --- a/drivers/irqchip/irq-riscv-intc.c +++ b/...
/ kernel / irq / irqdesc.c v6 v6.13 v6.12 v6.12.6 v6.12.5 v6.12.4 v6.12.3 v6.12.2 v6.12.1 v6.12 v6.12-rc7 v6.12-rc6 v6.12-rc5 v6.12-rc4 v6.12-rc3 v6.12-rc2 v6.12-rc1 v6.11 v6.10 v6.9 v6.8 ...
wq_update_unbound_numawq_update_unbound_numa - update NUMA affinity of a wq for CPU hot[un]plug*@wq: the target workqueue*@cpu: the CPU coming up or going down*@online: whether @cpu is coming up or going down* This function is to be called from %CPU_DOWN_PREPARE, %CPU_ONLINE ...