[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87o8uveoye.fsf@nanos.tec.linutronix.de>
Date: Wed, 22 Jan 2020 11:59:53 +0100
From: Thomas Gleixner <tglx@...utronix.de>
To: John Garry <john.garry@...wei.com>
Cc: Marc Zyngier <maz@...nel.org>,
"linux-kernel\@vger.kernel.org" <linux-kernel@...r.kernel.org>,
chenxiang <chenxiang66@...ilicon.com>
Subject: Re: About irq_create_affinity_masks() for a platform device driver
John,
John Garry <john.garry@...wei.com> writes:
> Would there be any issue with a SCSI platform device driver referencing
> this function?
>
> So I have a multi-queue platform device, and I want to spread interrupts
> over all possible CPUs, just like we can do for PCI MSI vectors. This
> topic was touched on in [0].
>
> And, if so it's ok, could we export that same symbol?
I think you will need something similar to what we have in the pci/msi
code, but that shouldn't be in your device driver. So I'd rather create
platform infrastructure for this and export that.
Thanks,
tglx
Powered by blists - more mailing lists