From: viresh kumar <viresh.kumar@st.com>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: Linus WALLEIJ <linus.walleij@stericsson.com>,
Armando VISCONTI <armando.visconti@st.com>,
Shiraz HASHIM <shiraz.hashim@st.com>,
viresh kumar <viresh.linux@gmail.com>,
"spi-devel-general@lists.sourceforge.net"
<spi-devel-general@lists.sourceforge.net>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>
Subject: Re: spi/spi-pl022: Query on working of DMA mode
Date: Thu, 4 Aug 2011 09:09:39 +0530 [thread overview]
Message-ID: <4E3A147B.9060305@st.com> (raw)
In-Reply-To: <CACRpkdYk-jGCfYFjyOX9Lb=krG2A894wW7_Th4EjYgKi7CJaLQ@mail.gmail.com>
On 08/03/2011 08:28 PM, Linus Walleij wrote:
>> > Here, allocation is requested with GFP_KERNEL flag, from a tasklet.
>> > Which gives following crash logs:
> What happens if you replace it with GFP_NOWAIT?
>
> That should work for everybody.
>
> Or you could remove the tasklet allover and replace it with a workqueue.
>
Ok. I will fix this and include in my patchset.
>> > Is DMA mode working in your case?
> Yes, magically :-/
But how? Don't you have any message with more than one transfer in it?
--
viresh
WARNING: multiple messages have this Message-ID (diff)
From: viresh.kumar@st.com (viresh kumar)
To: linux-arm-kernel@lists.infradead.org
Subject: spi/spi-pl022: Query on working of DMA mode
Date: Thu, 4 Aug 2011 09:09:39 +0530 [thread overview]
Message-ID: <4E3A147B.9060305@st.com> (raw)
In-Reply-To: <CACRpkdYk-jGCfYFjyOX9Lb=krG2A894wW7_Th4EjYgKi7CJaLQ@mail.gmail.com>
On 08/03/2011 08:28 PM, Linus Walleij wrote:
>> > Here, allocation is requested with GFP_KERNEL flag, from a tasklet.
>> > Which gives following crash logs:
> What happens if you replace it with GFP_NOWAIT?
>
> That should work for everybody.
>
> Or you could remove the tasklet allover and replace it with a workqueue.
>
Ok. I will fix this and include in my patchset.
>> > Is DMA mode working in your case?
> Yes, magically :-/
But how? Don't you have any message with more than one transfer in it?
--
viresh
next prev parent reply other threads:[~2011-08-04 3:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-03 11:32 spi/spi-pl022: Query on working of DMA mode viresh kumar
2011-08-03 11:32 ` viresh kumar
2011-08-03 14:58 ` Linus Walleij
2011-08-03 14:58 ` Linus Walleij
2011-08-04 3:39 ` viresh kumar [this message]
2011-08-04 3:39 ` viresh kumar
2011-08-04 10:16 ` Linus Walleij
2011-08-04 10:16 ` Linus Walleij
2011-08-04 10:22 ` viresh kumar
2011-08-04 10:22 ` viresh kumar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E3A147B.9060305@st.com \
--to=viresh.kumar@st.com \
--cc=armando.visconti@st.com \
--cc=linus.walleij@linaro.org \
--cc=linus.walleij@stericsson.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=shiraz.hashim@st.com \
--cc=spi-devel-general@lists.sourceforge.net \
--cc=viresh.linux@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.