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

Adam Ford aford173 at gmail.com
Thu Nov 8 20:29:54 CET 2018


On Thu, Nov 8, 2018 at 12:41 PM Andreas Kemnade <andreas at kemnade.info> wrote:
>
> 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.
> > > >

I have been following this thread which had me run some experiments of
my own using a DM3730 and a WiFi chip with the SDIO interface.  Can
you tell me what you did to measure this performance difference?  I'd
like to run some tests on my hardware to see if the same applies to my
boards too.

thanks,

adam

> > > > 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


More information about the Letux-kernel mailing list