From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: V4L/ARM: videobuf-dma-contig no longer works on my ARM machine (was: [PATCH v3] SoC Camera: add driver for OMAP1 camera interface)
Date: Sat, 9 Apr 2011 08:16:24 +0100 [thread overview]
Message-ID: <20110409071624.GE5573@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <201104090333.52312.jkrzyszt@tis.icnet.pl>
On Sat, Apr 09, 2011 at 03:33:39AM +0200, Janusz Krzysztofik wrote:
> Since there were no actual problems reported before, I suppose the old
> code, which was passing to remap_pfn_range() a physical page number
> calculated from dma_alloc_coherent() privided dma_handle, worked
> correctly on all platforms actually using videobud-dma-config. Now, on
> my ARM machine, a completely different, then completely wrong physical
> address, calculated as virt_to_phys(dma_alloc_coherent()), is used
> instead of the dma_handle, which causes the machine to hang.
virt_to_phys(dma_alloc_coherent()) is and always has been invalid, and
will break on several architectures apart from ARM.
next prev parent reply other threads:[~2011-04-09 7:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <201009301335.51643.jkrzyszt@tis.icnet.pl>
[not found] ` <Pine.LNX.4.64.1103231056360.6836@axis700.grange>
2011-04-09 1:33 ` V4L/ARM: videobuf-dma-contig no longer works on my ARM machine (was: [PATCH v3] SoC Camera: add driver for OMAP1 camera interface) Janusz Krzysztofik
2011-04-09 7:16 ` Russell King - ARM Linux [this message]
2011-04-09 15:10 ` V4L/ARM: videobuf-dma-contig no longer works on my ARM machine Janusz Krzysztofik
2011-04-09 16:42 ` Jiri Slaby
2011-04-13 10:20 ` Janusz Krzysztofik
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=20110409071624.GE5573@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--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).