irqchip/loongson-eiointc: Fix irq affinity setting
authorHuacai Chen <chenhuacai@loongson.cn>
Thu, 4 Aug 2022 02:54:21 +0000 (10:54 +0800)
committerMarc Zyngier <maz@kernel.org>
Thu, 4 Aug 2022 09:04:03 +0000 (10:04 +0100)
commite260cfe6fb503292f183a43b51177664b222435d
tree9b8ea2332f086b227ca5223590138f7e27f54697
parentb0a4ab7ca4ce993d1cc51cbc85e9f341c729a3d4
irqchip/loongson-eiointc: Fix irq affinity setting

In multi-node case, csr_any_send() should set EIOINTC_REG_ENABLE of
the first core of target node, not the first core of the whole.

Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220804025421.211958-1-chenhuacai@loongson.cn
drivers/irqchip/irq-loongson-eiointc.c