lkml.org 
[lkml]   [2006]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: Opinion on ordering of writel vs. stores to RAM
    From
    From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Date: Sat, 09 Sep 2006 17:23:20 +1000

    > I quite like mem_to_io_* (barrier/rb/wb) and io_to_mem_* in fact :) That
    > is probably more talkative to device driver writers and would allow more
    > fine grained barriers.

    I firmly believe that the average driver person is not going
    to be able to get these things right, even if you document it
    in big bold letters in some Documentation/*.txt file.

    This is like the Alpha OSF outb() interface for kernel drivers
    that had something like 8 arguments.

    And even if you define these things, and people start using it,
    only PowerPC and a few other systems (I guess IA64) will ever
    notice when this stuff is done wrong. That's really not a good
    plan from a testing coverage point of view.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-09-09 11:41    [W:0.019 / U:29.992 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site