Re: [PATCH v3 1/2] rpmsg: glink: smem: Use device name as IRQ name
Konrad Dybcio <[email protected]> Mon, 20 Jul 2026 16:00:37 +0200
| Newsgroups | org.kernel.vger.linux-remoteproc,org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On 7/20/26 3:25 PM, Chunkai Deng wrote: > A SoC typically has multiple remoteprocs (ADSP, MPSS, CDSP, etc.), each > registering its own SMEM GLINK instance. With the static name "glink-smem" > all instances appear identically in /proc/interrupts, making it impossible > to associate an IRQ with a specific remote processor. > > Pass dev_name(&smem->dev) to devm_request_irq() instead. The device name > is already set to "<parent>:<edge-node>" which uniquely identifies each > instance without requiring an additional field in the driver struct. > > Reviewed-by: Dmitry Baryshkov <[email protected]> > Signed-off-by: Chunkai Deng <[email protected]> > --- Reviewed-by: Konrad Dybcio <[email protected]> Konrad