lkml.org 
[lkml]   [2004]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] readX_relaxed interface
    On Thu, Jan 15, 2004 at 12:49:13PM -0800, Jesse Barnes wrote:
    > Based on the PIO ordering disucssion, I've come up with the following
    > patch. It has the potential to help any platform that has seperate PIO
    > and DMA channels, and allows them to be reorderd wrt each other.

    This is only significant for DMA writes (inbound) vs. PIO Read returns.
    The ZX1 platforms have reordering enabled for outbound DMA (vs PIO
    writes) since last summer.

    Outside the context of PCI-X Relaxed Ordering, this violates PCI
    ordering rules. Any patches to drivers *using* the new readb()
    variants in effect work around this violation. I"m ok with that - just
    want it to be clear.

    PCI-X support will need a different interface
    (eg pcix_enable_relaxed_ordering()) to support
    it's form of "Relaxed Ordering".

    > Some
    > SGI MIPS platforms, as well as the SGI Altix (aka sn2) platform behave
    > this way, and will thus benefit from this patch.
    >
    > It adds a new PIO read routine for PIOs that don't have to be ordered
    > wrt DMA on the system.
    >
    > If it looks ok, I'll add in macros for the other arches and send it out
    > for inclusion.

    It looks ok to me.

    thanks,
    grant
    -
    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: 2005-03-22 14:00    [W:0.034 / U:0.208 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site