[lkml]   [2010]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] ARM: allow, but warn, when issuing ioremap() on RAM
    On Sat, 9 Oct 2010, Arnd Bergmann wrote:

    > On Saturday 09 October 2010 13:59:45 Felipe Contreras wrote:
    > > I know of tidspbridge, in my original mail I listed some links, one
    > > which mentions: sh_mobile_ceu_camera, maybe i.MX31 users of the
    > > mx3_camera driver: pcm037 and mx31moboard.
    > >
    > >
    > sh_mobile_ceu_camera looks fine on mainline. It only remaps
    > the mmio registers, so no problem there. No arm platform even
    > declares the device, so the report must be with an external tree.
    > The mx3_camera driver also looks fine, there is only one ioremap
    > in there, which is completely sane.

    Arnd, the drivers are fine, they just use the videobuf-dma-contig.c
    driver, which calls dma_alloc_coherent(). But the platforms, that use
    those drivers reserve that memory from system RAM dma_alloc_coherent(NULL,
    ...) and dma_declare_coherent_memory(), and this is what breaks currently.
    As Felipe and Uwe in another mail in this thread mention, there are
    currently two platforms in the mainline, that do this. mx1, mx2, omap1 and
    mach-shmobile platforms are potentially affected too.

    Guennadi Liakhovetski, Ph.D.
    Freelance Open-Source Software Developer

     \ /
      Last update: 2010-10-09 21:01    [W:0.019 / U:11.808 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site