Re: Affinity setting problem for emulated MSI on PLIC

From: Chen Wang
Date: Thu Aug 21 2025 - 02:33:40 EST



On 8/20/2025 3:40 PM, Chen Wang wrote:

[......]
So it might be worth investigating why the two different processing paths in `irq_startup()` cause this problem. I saw that Inochi submitted a patch titled "irqchip/sifive-plic: Respect mask state when setting affinity." Can we assume that simply applying this patch will resolve the current issues with the SG2044? Do we also need to consider introducing changes to the startup/shutdown functions of the plic?

Sorry, please ignore my question. I looked at the patch again today and it is still necessary to introduce startup/shutdown for plic.

Thanks,

Chen

[......]