Re: [PATCH] genirq/affinity: show managed irq affinity correctly

2020-08-15 Thread Marc Zyngier
On 2020-08-13 09:08, Thomas Gleixner wrote: Yunfeng Ye writes: [...] You are looking at the wrong file. /proc/irq/$IRQ/smp_affinity* is the possible mask. If you want to know to which CPU an interrupt is affine then look at /proc/irq/$IRQ/effective_affinity* If effective_affinity* is not

Re: [PATCH] genirq/affinity: show managed irq affinity correctly

2020-08-13 Thread Thomas Gleixner
Yunfeng Ye writes: > The "managed_irq" for isolcpus is supported after the commit > 11ea68f553e2 ("genirq, sched/isolation: Isolate from handling managed > interrupts"), but the interrupt affinity shown in proc directory is > still the original affinity. > > So modify the interrupt affinity

[PATCH] genirq/affinity: show managed irq affinity correctly

2020-08-11 Thread Yunfeng Ye
The "managed_irq" for isolcpus is supported after the commit 11ea68f553e2 ("genirq, sched/isolation: Isolate from handling managed interrupts"), but the interrupt affinity shown in proc directory is still the original affinity. So modify the interrupt affinity correctly for managed_irq.