Re: [PATCH V2] mmc: sdhci: supporting PCI MSI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 13, 2013 at 01:55:08PM +0800, Jackey Shen wrote:
> > >> What about we only call pci_enable_msi in sdhci-pci.c and then assign
> > >> host->irq appropriately before calling sdhci_add_host, will that work?
> > >> The only difference would be, request_irq will have SHARED flag, but I
> > >> suppose that's not a problem.
> > >>
> > > There are 2 points for this part:
> > > 1. fall back to legacy interrupt right after MSI request fails;
> > 
> > If we call pci_enable_msi somewhere in sdhci_pci_probe_slot, then if it
> > failed, we can also fall back I suppose?
> > 
> Yes, it is. 
> But, sdhci_pci_disable_msi should be kept since pci_disable_msi is
> pci bus releted and better not used in sdhci.c.
> So, enable msi and disable msi are NOT symmetric in style.
> What's your opinion?

Sorry for missing word.
So, enable msi and disable msi are NOT symmetric in style.

Thanks,
Jackey

 

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux