• Linus Walleij's avatar
    parisc: Use the generic IO helpers · 437b6b35
    Linus Walleij authored
    This enables the parisc to use <asm-generic/io.h> to fill in the
    missing (undefined) [read|write]sq I/O accessor functions.
    
    This is needed if parisc[64] ever wants to uses CONFIG_REGMAP_MMIO
    which has been patches to use accelerated _noinc accessors
    such as readsq/writesq that parisc64, while being a 64bit platform,
    as of now not yet provide.
    
    This comes with the requirement that everything the architecture
    already provides needs to be defined, rather than just being,
    say, static inline functions.
    
    Bite the bullet and just provide the definitions and make it work.
    Compile-tested on parisc32 and parisc64. Drop some of the __raw
    functions that now get implemented in <asm-generic/io.h>.
    Reported-by: default avatarkernel test robot <lkp@intel.com>
    Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
    Reviewed-by: default avatarArnd Bergmann <arnd@arndb.de>
    Cc: James E.J. Bottomley <James.Bottomley@HansenPartnership.com>
    Cc: Helge Deller <deller@gmx.de>
    Cc: linux-parisc@vger.kernel.org
    Cc: linux-arch@vger.kernel.org
    Cc: Mark Brown <broonie@kernel.org>
    Cc: John David Anglin <dave.anglin@bell.net>
    Link: https://lore.kernel.org/linux-arm-kernel/62fcc351.hAyADB%2FY8JTxz+kh%25lkp@intel.com/Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    437b6b35
io.h 6.68 KB