lkml.org 
[lkml]   [2019]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.19 003/243] sparc64: implement ioremap_uc
    Date
    From: Tuowen Zhao <ztuowen@gmail.com>

    commit 38e45d81d14e5f78cd67922596b1c37b4c22ec74 upstream.

    On sparc64, the whole physical IO address space is accessible using
    physically addressed loads and stores. *_uc does nothing like the
    others.

    Cc: <stable@vger.kernel.org> # v4.19+
    Reported-by: kbuild test robot <lkp@intel.com>
    Signed-off-by: Tuowen Zhao <ztuowen@gmail.com>
    Acked-by: David S. Miller <davem@davemloft.net>
    Signed-off-by: Lee Jones <lee.jones@linaro.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    arch/sparc/include/asm/io_64.h | 1 +
    1 file changed, 1 insertion(+)

    --- a/arch/sparc/include/asm/io_64.h
    +++ b/arch/sparc/include/asm/io_64.h
    @@ -409,6 +409,7 @@ static inline void __iomem *ioremap(unsi
    }

    #define ioremap_nocache(X,Y) ioremap((X),(Y))
    +#define ioremap_uc(X,Y) ioremap((X),(Y))
    #define ioremap_wc(X,Y) ioremap((X),(Y))
    #define ioremap_wt(X,Y) ioremap((X),(Y))


    \
     
     \ /
      Last update: 2019-12-11 16:17    [W:3.671 / U:0.228 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site