Skip to content
  1. May 11, 2014
  2. May 05, 2014
  3. Apr 28, 2014
  4. Apr 23, 2014
  5. Apr 14, 2014
  6. Apr 11, 2014
  7. Apr 09, 2014
  8. Apr 08, 2014
  9. Apr 07, 2014
    • Uwe Kleine-König's avatar
      Kconfig: rename HAS_IOPORT to HAS_IOPORT_MAP · ce816fa8
      Uwe Kleine-König authored
      
      
      If the renamed symbol is defined lib/iomap.c implements ioport_map and
      ioport_unmap and currently (nearly) all platforms define the port
      accessor functions outb/inb and friend unconditionally.  So
      HAS_IOPORT_MAP is the better name for this.
      
      Consequently NO_IOPORT is renamed to NO_IOPORT_MAP.
      
      The motivation for this change is to reintroduce a symbol HAS_IOPORT
      that signals if outb/int et al are available.  I will address that at
      least one merge window later though to keep surprises to a minimum and
      catch new introductions of (HAS|NO)_IOPORT.
      
      The changes in this commit were done using:
      
      	$ git grep -l -E '(NO|HAS)_IOPORT' | xargs perl -p -i -e 's/\b((?:CONFIG_)?(?:NO|HAS)_IOPORT)\b/$1_MAP/'
      
      Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      ce816fa8
    • Nicolas Pitre's avatar
      ARM: 8009/1: dcscb.c: remove call to outer_flush_all() · c9d347e0
      Nicolas Pitre authored
      
      
      Strictly speaking this call is a no-op on the platform where dcscb.c is
      used since it only has architected caches.  The call was there as a hint
      to people inspired by this code when writing their own backend, but the
      hint might not always be correct.
      
      For example, if a PL310 were to be used it wouldn't be safe to call
      the regular outer_flush_all() as atomic instructions for locking
      are involved in that case and those instructions cannot be assumed to
      still be operational after v7_exit_coherency_flush() has returned.
      Given no other CPUs (in the cluster) should be running at that point
      then standard concurrency concerns wouldn't apply.
      
      So let's simply kill this call for now and enhance the existing comment.
      
      Signed-off-by: default avatarNicolas Pitre <nico@linaro.org>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      c9d347e0
Loading