lkml.org 
[lkml]   [2010]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH v2] sata_sil24: Use memory barriers before issuing commands
    From
    On Fri, 11 Jun 2010 10:41:46 +0100
    Catalin Marinas <catalin.marinas@arm.com> wrote:

    > On Fri, 2010-06-11 at 02:38 +0100, Nick Piggin wrote:
    > > On Thu, Jun 10, 2010 at 06:43:03PM -0600, Robert Hancock wrote:
    > > > IMHO, it would be better for the platform code to ensure that MMIO
    > > > access was strongly ordered with respect to each other and to RAM
    > > > access. Drivers are just too likely to get this wrong, especially
    > > > when x86, the most tested platform, doesn't have such issues.
    > >
    > > The plan is to make all platforms do this. writes should be
    > > strongly ordered with memory. That serves to keep them inside
    > > critical sections as well.
    >
    > Are there any public references to this discussion? Maybe a
    > Documentation/ file (or update the memory-barriers.txt one would be
    > useful).

    I guess,

    http://marc.info/?t=121185223900001&r=1&w=2


    \
     
     \ /
      Last update: 2010-06-14 02:39    [W:0.020 / U:62.308 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site