[lkml]   [2006]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Opinion on ordering of writel vs. stores to RAM
    From: Benjamin Herrenschmidt <>
    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
    More majordomo info at
    Please read the FAQ at

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