[alsa-devel] [PATCH 1/7] ASoC: amd: No need PCI-MSI interrupts

Deucher, Alexander Alexander.Deucher at amd.com
Thu Oct 17 15:56:21 CEST 2019


> -----Original Message-----
> From: RAVULAPATI, VISHNU VARDHAN RAO
> <Vishnuvardhanrao.Ravulapati at amd.com>
> Sent: Thursday, October 17, 2019 5:33 AM
> To: Mark Brown <broonie at kernel.org>; Deucher, Alexander
> <Alexander.Deucher at amd.com>
> Cc: RAVULAPATI, VISHNU VARDHAN RAO
> <Vishnuvardhanrao.Ravulapati at amd.com>; Liam Girdwood
> <lgirdwood at gmail.com>; Jaroslav Kysela <perex at perex.cz>; Takashi Iwai
> <tiwai at suse.com>; Mukunda, Vijendar <Vijendar.Mukunda at amd.com>;
> Maruthi Srinivas Bayyavarapu <Maruthi.Bayyavarapu at amd.com>; Colin Ian
> King <colin.king at canonical.com>; Dan Carpenter
> <dan.carpenter at oracle.com>; moderated list:SOUND - SOC LAYER /
> DYNAMIC AUDIO POWER MANAGEM... <alsa-devel at alsa-project.org>; open
> list <linux-kernel at vger.kernel.org>
> Subject: Re: [PATCH 1/7] ASoC: amd: No need PCI-MSI interrupts
> 
> 
> 
> On 11/10/19 3:03 AM, vishnu wrote:
> > Hi,
> > Please find my inline comments.
> >
> > Thanks,
> > Vishnu
> >
> > On 01/10/19 10:59 PM, Mark Brown wrote:
> >> On Tue, Oct 01, 2019 at 05:23:43PM +0000, Deucher, Alexander wrote:
> >>
> >>>> ACP-PCI controller driver does not depends msi interrupts.
> >>>> So removed msi related pci functions which have no use and does not
> >>>> impact on existing functionality.
> >>
> >>> In general, however, aren't MSIs preferred to legacy interrupts?
> >>
> >> As I understand it.  Or at the very least I'm not aware of any
> >> situation where they're harmful.  It'd be good to have a clear
> >> explanation of why we're removing the support.
> >
> > Actually our device is audio device and it does not depends on MSI`s.
> > So we thought to remove it as it has no purpose or meaning to have
> > this code in our audio based ACP-PCI driver.
> >
> >>> Doesn't the driver have to opt into MSI support?  As such, won't
> >>> removing this code effectively disable MSI support?
> >>
> >> Yes.
> >
> >
> 
> Hi Mark,
> 
> Any updates on this patch.

You are removing functionality from the driver with no rational as to why it's necessary.  What's the point of this patch?  Does it fix a particular issue?  If not, I suggest just dropping it.  The hw supports MSIs, why not use them?

Alex



More information about the Alsa-devel mailing list