If in that situation the affinity mask for a single vector is not created, every caller has to handle the special case. There is no reason why the mask cannot be created, so remove the check for a single vector and create the mask. Fixes: c66d4bd ("genirq/affinity: Add new call...
static void __init gic_dist_init(struct gic_chip_data *gic) { unsigned int i; u32 cpumask; unsigned int gic_irqs = gic->gic_irqs; void __iomem *base = gic_data_dist_base(gic); #if defined (CONFIG_SMP) && defined (CONFIG_ARCH_S5P6818_REV) cpumask = 0xff; /* transfer inter...
irqchip/riscv-imsic: Fix boot time update effective affinity warning Apr 14, 2024 irq-riscv-imsic-state.c irqchip: Add RISC-V incoming MSI controller early driver Mar 26, 2024 irq-riscv-imsic-state.h irqchip/riscv-imsic: Add device MSI domain support for platform devices Mar 26, 20...
*/ gic_irqs = readl_relaxed(gic_data_dist_base(gic) + GIC_DIST_CTR) & 0x1f; gic_irqs = (gic_irqs + 1) * 32; printk("~~~ %s() gic_irqs:%d\n", __func__, gic_irqs); if (gic_irqs > 1020) gic_irqs = 1020; gic_irqs = NR_IRQS; gic->gic_irqs = gic_irqs; printk...
update_cpumasks_hierpdate_cpumasks_hier - Update effective cpumasks and tasks in the subtree*@cs: the cpuset to consider*@tmp: temp variables for calculating effective_cpus & partition setup* When congifured cpumask is changed, the effective cpumasks of this cpuset ...
(IRQTF_AFFINITY, &action->thread_flags); } #ifdef CONFIG_GENERIC_IRQ_EFFECTIVE_AFF_MASK static void irq_validate_effective_affinity(struct irq_data *data) { const struct cpumask *m = irq_data_get_effective_affinity_mask(data); struct irq_chip *chip = irq_data_get_irq_chip(data); if...
IRQBALANCE_BANNED_INTERRUPTS Space seperated list of integer irq’s which irqbalance should ignore and never change the affinity of. i.e. export IRQBALANCE_BANNED_INTERRUPTS="205 217 225" NOTES The purpose of irqbalance is to distribute interrupts accross cpus in an smp system such that cache...
affinity; #ifdef CONFIG_GENERIC_PENDING_IRQ if (irqd_is_setaffinity_pending(&desc->irq_data)) mask = desc->pending_mask; #endif break; case EFFECTIVE: case EFFECTIVE_LIST: #ifdef CONFIG_GENERIC_IRQ_EFFECTIVE_AFF_MASK mask = irq_data_get_effective_affinity_mask(&desc->irq_data); break;...