linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Fwd: Re: [PATCH] arm, da8xx, mmc: set second MMC controllers default queue]
@ 2011-12-07  6:22 Heiko Schocher
       [not found] ` <4EDF061F.7080302-ynQEQJNshbs@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Heiko Schocher @ 2011-12-07  6:22 UTC (permalink / raw)
  To: Sekhar Nori, linux-mmc@vger.kernel.org,
	davinci-linux-open-source@linux.davincidsp.com

Hello Sekhar,

here the forwarded comment from Ido Yariv to my patch. I tried
with current kernel MMC Controller 2 on my am1808 based board
without my fix, and it works fine, so no need for applying my
patch.

Thanks
bye,
Heiko

here the message from Ido:

Betreff: Re: [PATCH] arm, da8xx, mmc: set second MMC controllers default queue
Datum: Mon, 5 Dec 2011 10:35:10 +0200
Von: Ido Yariv <ido@wizery.com>
An: hs@denx.de
CC: juha.kuikka@gmail.com
Referenzen: <1322991210-20486-1-git-send-email-hs@denx.de>	<20111204102741.GL32400@WorkStation>	<4EDC7C00.30603@denx.de>

Hi Heiko,

On Dec 5, 2011 10:08 AM, "Heiko Schocher" <hs@denx.de> wro
> Ok ... patch not longer needed, but isn't it better to setup here
> immediately the right values? If so, I can sent a v2 with your
> suggested comment change.

These are just default values which will get overwritten later on, so im
not sure if it matters much. I guess it wouldn't hurt to use default_queue
instead of queue 1.

In any case, if you do chose to submit v2, the commit message should also
be changed if it doesnt really fix anything.

Thanks,
Ido.


-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [Fwd: Re: [PATCH] arm, da8xx, mmc: set second MMC controllers default queue]
       [not found] ` <4EDF061F.7080302-ynQEQJNshbs@public.gmane.org>
@ 2011-12-07 16:20   ` Rajashekhara, Sudhakar
  2011-12-08  6:56     ` Heiko Schocher
  0 siblings, 1 reply; 3+ messages in thread
From: Rajashekhara, Sudhakar @ 2011-12-07 16:20 UTC (permalink / raw)
  To: hs-ynQEQJNshbs@public.gmane.org, Nori, Sekhar,
	linux-mmc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	davinci-linux-open-source-VycZQUHpC/PFrsHnngEfi1aTQe2KTcn/@public.gmane.org

Hi Heiko,

On Wed, Dec 07, 2011 at 11:52:23, Heiko Schocher wrote:
> Hello Sekhar,
> 
> here the forwarded comment from Ido Yariv to my patch. I tried
> with current kernel MMC Controller 2 on my am1808 based board
> without my fix, and it works fine, so no need for applying my
> patch.
> 
> Thanks
> bye,
> Heiko
> 
> here the message from Ido:
> 
> Betreff: Re: [PATCH] arm, da8xx, mmc: set second MMC controllers default queue
> Datum: Mon, 5 Dec 2011 10:35:10 +0200
> Von: Ido Yariv <ido-Ix1uc/W3ht7QT0dZR+AlfA@public.gmane.org>
> An: hs-ynQEQJNshbs@public.gmane.org
> CC: juha.kuikka-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

I think Ido replied to only you and Juha, that's why even I am not able to see his reply on the list.

> Referenzen: <1322991210-20486-1-git-send-email-hs-ynQEQJNshbs@public.gmane.org>	<20111204102741.GL32400@WorkStation>	<4EDC7C00.30603-ynQEQJNshbs@public.gmane.org>
> 
> Hi Heiko,
> 
> On Dec 5, 2011 10:08 AM, "Heiko Schocher" <hs-ynQEQJNshbs@public.gmane.org> wro
> > Ok ... patch not longer needed, but isn't it better to setup here
> > immediately the right values? If so, I can sent a v2 with your
> > suggested comment change.
> 
> These are just default values which will get overwritten later on, so im
> not sure if it matters much. I guess it wouldn't hurt to use default_queue
> instead of queue 1.
> 

It would have helped if you posted the complete message here but I figured
this out. I assume that Ido's explanation is as below:

EDMA channel is allocated in MMC driver through the call to
edma_alloc_channel() api and the last argument passed to this api is the
event queue number. Currently the event queue number being passed is
EVENTQ_DEFAULT. Inside edma_alloc_channel() there is a call to
map_dmach_queue() which also takes event queue number as argument.
map_dmach_queue() function initializes the event queue number to
default_queue (being passed from platform data), if it is EVENTQ_DEFAULT.

I wanted to know why MMC/SD was not working initially for you even with
this piece of code? 

> In any case, if you do chose to submit v2, the commit message should also
> be changed if it doesnt really fix anything.

I would still say, your patch is the clean way of addressing the issue.
May be you can modify the commit message as Ido has pointed out.

Sekhar, do you have any comments?

Thanks,
Sudhakar

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Fwd: Re: [PATCH] arm, da8xx, mmc: set second MMC controllers default queue]
  2011-12-07 16:20   ` Rajashekhara, Sudhakar
@ 2011-12-08  6:56     ` Heiko Schocher
  0 siblings, 0 replies; 3+ messages in thread
From: Heiko Schocher @ 2011-12-08  6:56 UTC (permalink / raw)
  To: Rajashekhara, Sudhakar
  Cc: Nori, Sekhar, linux-mmc@vger.kernel.org,
	davinci-linux-open-source@linux.davincidsp.com

Hello Rajashekhara,

Rajashekhara, Sudhakar wrote:
> On Wed, Dec 07, 2011 at 11:52:23, Heiko Schocher wrote:
>> Hello Sekhar,
>>
>> here the forwarded comment from Ido Yariv to my patch. I tried
>> with current kernel MMC Controller 2 on my am1808 based board
>> without my fix, and it works fine, so no need for applying my
>> patch.
>>
>> Thanks
>> bye,
>> Heiko
>>
>> here the message from Ido:
>>
>> Betreff: Re: [PATCH] arm, da8xx, mmc: set second MMC controllers default queue
>> Datum: Mon, 5 Dec 2011 10:35:10 +0200
>> Von: Ido Yariv <ido@wizery.com>
>> An: hs@denx.de
>> CC: juha.kuikka@gmail.com
> 
> I think Ido replied to only you and Juha, that's why even I am not able to see his reply on the list.

Ah, yes, you are right, sorry missed that ...

>> Referenzen: <1322991210-20486-1-git-send-email-hs@denx.de>	<20111204102741.GL32400@WorkStation>	<4EDC7C00.30603@denx.de>
>>
>> Hi Heiko,
>>
>> On Dec 5, 2011 10:08 AM, "Heiko Schocher" <hs@denx.de> wro
>>> Ok ... patch not longer needed, but isn't it better to setup here
>>> immediately the right values? If so, I can sent a v2 with your
>>> suggested comment change.
>> These are just default values which will get overwritten later on, so im
>> not sure if it matters much. I guess it wouldn't hurt to use default_queue
>> instead of queue 1.
>>
> 
> It would have helped if you posted the complete message here but I figured
> this out. I assume that Ido's explanation is as below:

Hmm.. that was the complete message ...

> EDMA channel is allocated in MMC driver through the call to
> edma_alloc_channel() api and the last argument passed to this api is the
> event queue number. Currently the event queue number being passed is
> EVENTQ_DEFAULT. Inside edma_alloc_channel() there is a call to
> map_dmach_queue() which also takes event queue number as argument.
> map_dmach_queue() function initializes the event queue number to
> default_queue (being passed from platform data), if it is EVENTQ_DEFAULT.

Yep, fully correct.

> I wanted to know why MMC/SD was not working initially for you even with
> this piece of code? 

Because I tested with Linux-3.1 where this patch wasn't included ...

>> In any case, if you do chose to submit v2, the commit message should also
>> be changed if it doesnt really fix anything.
> 
> I would still say, your patch is the clean way of addressing the issue.
> May be you can modify the commit message as Ido has pointed out.

Ok, send a v2, thanks!

> Sekhar, do you have any comments?

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-12-08  6:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-07  6:22 [Fwd: Re: [PATCH] arm, da8xx, mmc: set second MMC controllers default queue] Heiko Schocher
     [not found] ` <4EDF061F.7080302-ynQEQJNshbs@public.gmane.org>
2011-12-07 16:20   ` Rajashekhara, Sudhakar
2011-12-08  6:56     ` Heiko Schocher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).