From: aaro.koskinen@iki.fi (Aaro Koskinen)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/3] ARM: DMA-Mapping: print warning when atomic coherent allocation fails
Date: Tue, 21 Aug 2012 02:01:05 +0300 [thread overview]
Message-ID: <20120820230058.GA755@harshnoise.musicnaut.iki.fi> (raw)
In-Reply-To: <1345459648-24263-3-git-send-email-m.szyprowski@samsung.com>
Hi,
On Mon, Aug 20, 2012 at 12:47:27PM +0200, Marek Szyprowski wrote:
> @@ -461,6 +461,9 @@ static void *__alloc_from_pool(size_t size, struct page **ret_page)
> bitmap_set(pool->bitmap, pageno, count);
> ptr = pool->vaddr + PAGE_SIZE * pageno;
> *ret_page = pool->page + pageno;
> + } else {
> + pr_err("Atomic coherent pool too small!\n"
> + "Please increase it with coherent_pool= kernel parameter!\n");
This should be rate limited, perhaps even printed only once.
A.
next prev parent reply other threads:[~2012-08-20 23:01 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-20 10:47 [PATCH 0/3] Add code for setting coherent pool size Marek Szyprowski
2012-08-20 10:47 ` [PATCH 1/3] ARM: DMA-Mapping: add function for setting coherent pool size from platform code Marek Szyprowski
2012-08-20 10:47 ` [PATCH 2/3] ARM: DMA-Mapping: print warning when atomic coherent allocation fails Marek Szyprowski
2012-08-20 23:01 ` Aaro Koskinen [this message]
2012-08-21 10:14 ` Marek Szyprowski
2012-08-22 5:30 ` [Linaro-mm-sig] " Hiroshi Doyu
2012-08-22 13:02 ` [PATCH v2] " Marek Szyprowski
2012-08-20 10:47 ` [PATCH 3/3] ARM: Kirkwood: increase atomic coherent pool size Marek Szyprowski
2012-08-20 23:14 ` Aaro Koskinen
2012-08-21 7:31 ` Marek Szyprowski
2012-08-28 18:25 ` Jason Cooper
2012-08-28 18:37 ` Marek Szyprowski
2012-08-28 18:40 ` Jason Cooper
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=20120820230058.GA755@harshnoise.musicnaut.iki.fi \
--to=aaro.koskinen@iki.fi \
--cc=linux-arm-kernel@lists.infradead.org \
/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 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).