1. 13 8月, 2011 1 次提交
    • S
      ARM: 7012/1: Set proper TEXT_OFFSET for newer MSMs · 9e775ad1
      Stephen Boyd 提交于
      MSMs post 8x50 have 2Mb at the beginning of RAM reserved for
      shared memory. Since the kernel hasn't typically been told this
      RAM exists, PHYS_OFFSET has been set to 0xN0200000 and the memory
      atags passed to the kernel have matched. This doesn't play nicely
      with things such as AUTO_ZRELADDR, which doesn't work at all, and
      dynamic phys to virt, which requires an MSM specific workaround.
      
      Work around these issues by telling the kernel RAM starts at
      0xN0000000 (it actually does) and fixup the atags from the
      bootloader (if necessary) to say the same. In addition, make sure
      to set TEXT_OFFSET at least 2Mb beyond the start of RAM so that
      the kernel doesn't end up being decompressed into shared memory.
      
      After doing this, AUTO_ZRELADDR should work on MSM with no
      problems and ARM_PATCH_PHYS_VIRT_16BIT should no longer be
      necessary.
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      Acked-by: NNicolas Pitre <nicolas.pitre@linaro.org>
      Acked-by: NDavid Brown <davidb@codeaurora.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      9e775ad1
  2. 18 2月, 2011 1 次提交
  3. 22 1月, 2011 1 次提交
  4. 09 10月, 2010 1 次提交
  5. 14 5月, 2010 2 次提交
  6. 28 11月, 2008 1 次提交
    • N
      [ARM] remove a common set of __virt_to_bus definitions · b5ee9002
      Nicolas Pitre 提交于
      Let's provide an overridable default instead of having every machine
      class define __virt_to_bus and __bus_to_virt to the same thing.  What
      most platforms are using is bus_addr == phys_addr so such is the default.
      
      One exception is ebsa110 which has no DMA what so ever, so the actual
      definition is not important except only for proper compilation.  Also
      added a comment about the special footbridge bus translation.
      
      Let's also remove comments alluding to set_dma_addr which is not
      (and should not) be commonly used.
      Signed-off-by: NNicolas Pitre <nico@marvell.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      b5ee9002
  7. 07 8月, 2008 1 次提交
  8. 26 1月, 2008 1 次提交