14 Feb, 2008

2 commits

  • This patch is a fix to make sure readsN/writesN are used over insN/outsN for
    ioreadN_rep/iowriteN_rep.

    The current state of the sh io code is that mmio operations like readN/writeN
    and ioreadN/iowriteN are unaffected by the value of generic_io_base. This is
    different fom port based io like inN/outN which gets adjusted using the value
    in generic_io_base.

    Without this patch ioreadN_rep/iowriteN_rep get their addresses adjusted.
    The address for mmio access is adjusted using generic_io_base. This is wrong.
    The ata core code currently crashes if generic_io_base is set.

    This patch changes ioreadN_rep/iowriteN_rep to follow the same rules as the
    rest of the mmio operations, ie don't adjust using generic_io_base.

    Signed-off-by: Magnus Damm
    Acked-by: Katsuya MATSUBARA
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • The idea is that we want to get rid of the in/out/readb/writeb callbacks from
    the machvec and replace that with simple inline read and write operations to
    memory. Fast and simple for most hardware devices (think pci).

    Some devices require special treatment though - like 16-bit only CF devices -
    so we need to have some method to hook in callbacks.

    This patch makes it possible to add a per-device trap generating filter. This
    way we can get maximum performance of sane hardware - which doesn't need this
    filter - and crappy hardware works but gets punished by a performance hit.

    V2 changes things around a bit and replaces io access callbacks with a
    simple minimum_bus_width value. In the future we can add stride as well.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     

28 Jan, 2008

4 commits


17 Oct, 2007

1 commit

  • dma_cache_(wback|inv|wback_inv) were the earliest attempt on a generalized
    cache managment API for I/O purposes. Originally it was basically the raw
    MIPS low level cache API exported to the entire world. The API has
    suffered from a lack of documentation, was not very widely used unlike it's
    more modern brothers and can easily be replaced by dma_cache_sync. So
    remove it rsp. turn the surviving bits back into an arch private API, as
    discussed on linux-arch.

    Signed-off-by: Ralf Baechle
    Acked-by: Paul Mundt
    Acked-by: Paul Mackerras
    Acked-by: David S. Miller
    Acked-by: Kyle McMartin
    Acked-by: Haavard Skinnemoen
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ralf Baechle
     

21 Sep, 2007

1 commit


26 Jul, 2007

1 commit


31 May, 2007

1 commit

  • Several errors were spotted during building for custom config (SMP
    included). Although SMP still does not compile (no ipi and
    __smp_call_function) and does not work, this looks a bit cleaner.
    Some other errors obtained via gcc-4.1.0 build.

    Signed-off-by: Evgeniy Polyakov
    Signed-off-by: Paul Mundt

    Evgeniy Polyakov
     

12 Oct, 2006

1 commit

  • There's nothing arch-specific about check_signature(), so move it to
    . Use a cross between the Alpha and i386 implementations as
    the generic one.

    Signed-off-by: Matthew Wilcox
    Acked-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Matthew Wilcox
     

27 Sep, 2006

3 commits


26 Apr, 2006

1 commit


24 Mar, 2006

1 commit


17 Jan, 2006

1 commit

  • This introduces a few changes in the way that the I/O routines are defined on
    SH, specifically so that things like the iomap API properly wrap through the
    machvec for board-specific quirks.

    In addition to this, the old p3_ioremap() work is converted to a more generic
    __ioremap() that will map through the PMB if it's available, or fall back on
    page tables for everything else.

    An alpha-like IO_CONCAT is also added so we can start to clean up the
    board-specific io.h mess, which will be handled in board update patches..

    Signed-off-by: Paul Mundt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Paul Mundt
     

17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds