1. 20 7月, 2016 1 次提交
  2. 15 7月, 2016 1 次提交
    • M
      arm64: add better and more generic spin-table support · 6b6024ea
      Masahiro Yamada 提交于
      There are two enable methods supported by ARM64 Linux; psci and
      spin-table.  The latter is simpler and helpful for quick SoC bring
      up.  My main motivation for this patch is to improve the spin-table
      support, which allows us to boot an ARMv8 system without the ARM
      Trusted Firmware.
      
      Currently, we have multi-entry code in arch/arm/cpu/armv8/start.S
      and the spin-table is supported in a really ad-hoc way, and I see
      some problems:
      
        - We must hard-code CPU_RELEASE_ADDR so that it matches the
          "cpu-release-addr" property in the DT that comes from the
          kernel tree.
      
        - The Documentation/arm64/booting.txt in Linux requires that
          the release address must be zero-initialized, but it is not
          cared by the common code in U-Boot.  We must do it in a board
          function.
      
        - There is no systematic way to protect the spin-table code from
          the kernel.  We are supposed to do it in a board specific manner,
          but it is difficult to predict where the spin-table code will be
          located after the relocation.  So, it also makes difficult to
          hard-code /memreserve/ in the DT of the kernel.
      
      So, here is a patch to solve those problems; the DT is run-time
      modified to reserve the spin-table code (+ cpu-release-addr).
      Also, the "cpu-release-addr" property is set to an appropriate
      address after the relocation, which means we no longer need the
      hard-coded CPU_RELEASE_ADDR.
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      6b6024ea
  3. 25 6月, 2016 1 次提交
  4. 14 5月, 2015 3 次提交
  5. 09 3月, 2015 1 次提交
    • T
      ARM: PSCI: Rework the DT handler slightly · dd09f7e7
      Tom Rini 提交于
      The way the PSCI DT update happens currently means we pull in
      <asm/armv7.h> everywhere, including on ARMv8 and that in turn brings in
      <asm/io.h> for some non-PSCI related things that header needs to deal
      with.
      
      To fix this, we rework the hook slightly.  A good portion of
      arch/arm/cpu/armv7/virt-dt.c is common looking and I hope that when PSCI
      is needed on ARMv8 we can re-use this by and large.  So rename the
      current hook to psci_update_dt(), move the prototype to <asm/psci.h> and
      add an #ifdef that will make re-use later easier.
      Reported-by: NYork Sun <yorksun@freescale.com>
      Cc: Marc Zyngier <marc.zyngier@arm.com>
      Cc: York Sun <yorksun@freescale.com>
      Cc: Ian Campbell <ijc@hellion.org.uk>
      Cc: Hans de Goede <hdegoede@redhat.com>
      Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
      Signed-off-by: NTom Rini <trini@konsulko.com>
      Acked-by: NYork Sun <yorksun@freescale.com>
      dd09f7e7
  6. 28 7月, 2014 2 次提交
  7. 24 7月, 2013 1 次提交
  8. 15 5月, 2013 1 次提交
  9. 20 10月, 2010 1 次提交
  10. 26 8月, 2009 1 次提交
  11. 01 4月, 2006 1 次提交
  12. 11 10月, 2004 1 次提交
  13. 09 9月, 2002 2 次提交
  14. 27 8月, 2002 1 次提交
  15. 28 12月, 2000 1 次提交
  16. 14 12月, 2000 1 次提交
  17. 13 11月, 2000 1 次提交