1. Aug 16, 2019
  2. Aug 15, 2019
    • Arnd Bergmann's avatar
      ARM: orion/mvebu: unify debug-ll virtual addresses · 3584be9e
      Arnd Bergmann authored
      In a multiplatform configuration, enabling DEBUG_LL breaks booting
      on all platforms with incompatible settings. In case of the Marvell
      platforms of the Orion/MVEBU family, the physical addresses are
      all the same, we just map them at different virtual addresses,
      which makes it impossible to run a kernel with DEBUG_LL enabled on
      a combination of the merged mvebu and the legacy boardfile based
      platforms.
      
      This is easily solved by using the same virtual address everywhere.
      I picked the address that is already used by mach-mvebu for UART0:
      0xfec12000. All these platforms have a 1MB region with their internal
      registers, almost always at physical address 0xf1000000, so I'm
      updating the iotable for that entry.
      
      In case of mach-dove, this is slightly trickier, as the existing
      mapping is 8MB and a second 8MB mapping is already at the 0xfec00000
      address. I have verified from the datasheet that the last 7MB of the
      physical mapping are "reserved" and nothing in Linux tries to use
      it either. I'm putting this 1MB mapping at the same address as the
      others, and the second 8MB register area immediately before that.
      
      Link: https://lore.kernel.org/r/20190731195713.3150463-14-arnd@arndb.de
      Link: https://lore.kernel.org/linux-arm-kernel/87si3eb1z8.fsf@free-electrons.com/
      
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      3584be9e
    • Arnd Bergmann's avatar
      ARM: dove: clean up mach/*.h headers · ce78179e
      Arnd Bergmann authored
      This is a simple move of all header files that are no longer
      included by anything else from the include/mach directory
      to the platform directory itself as preparation for
      multiplatform support.
      
      The mach/uncompress.h headers are left in place for now,
      and are mildly modified to be independent of the other
      headers. They will be removed entirely when ARCH_MULTIPLATFORM
      gets enabled and they become obsolete.
      
      Rather than updating the path names inside of the comments
      of each header, I delete those comments to avoid having to
      update them again, should they get moved or copied another
      time.
      
      Link: https://lore.kernel.org/r/20190731195713.3150463-13-arnd@arndb.de
      
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarAndrew Lunn <andrew@lunn.ch>
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      ce78179e
  3. Aug 14, 2019
  4. Aug 13, 2019
  5. Aug 12, 2019
  6. Aug 11, 2019