[Letux-kernel] omap_hsmmc + gta04 + sdio irq + runtime_suspend + 4 bit = trouble

Andreas Kemnade andreas at kemnade.info
Thu Nov 8 19:40:26 CET 2018


On Thu, 8 Nov 2018 09:06:37 -0800
Tony Lindgren <tony at atomide.com> wrote:

> * Andreas Kemnade <andreas at kemnade.info> [181106 21:37]:
> > Hi Tony,
> > 
> > On Tue, 6 Nov 2018 12:39:14 -0800
> > Tony Lindgren <tony at atomide.com> wrote:
> >   
> > > * Andreas Kemnade <andreas at kemnade.info> [181106 20:24]:  
> > > > Mainline kernel gives only about 100KByte/s, with sdio irqs I get >
> > > > 1000KByte/s.    
> > > 
> > > That does not sound right at all. To me it sounds like the SDIO
> > > irq is not working at all during runtime for your SoC? Is that  
> > 
> > no wakeirq, no sdio irq:
Maybe this could be misunderstood:
If you do not specify a wakeirq, sdio irq handling is not enabled at all:

> >         ret = omap_hsmmc_configure_wake_irq(host);
> >         if (!ret)
> >                 mmc->caps |= MMC_CAP_SDIO_IRQ;  
> 

We are using this here to have at least decent performance, low latency and reliable
802.11 psmode (and therefore dramatically reduced power consumption of wifi module):
http://git.goldelico.com/?p=letux-kernel.git;a=blobdiff;f=drivers/mmc/host/omap_hsmmc.c;h=bbfcef54b88cb534a49b1542e60c99e545a9e8a0;hp=68760d4a5d3da1a53c655d1b33f1c2237273d136;hb=44c8fc73ad8291c821855eaa88c13d5f9f2920f7;hpb=b48b43ee804e840de2e666873675d158b8219473

Regards,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20181108/7a41772f/attachment.asc>


More information about the Letux-kernel mailing list