1. 03 8月, 2010 1 次提交
  2. 27 7月, 2010 1 次提交
  3. 23 7月, 2010 1 次提交
  4. 14 7月, 2010 1 次提交
  5. 12 7月, 2010 1 次提交
    • M
      powerpc/fsl-booke: Fix address issue when using relocatable kernels · 77154a20
      Matthew McClintock 提交于
      When booting a relocatable kernel it needs to jump to the correct
      start address, which for BookE parts is usually unchanged
      regardless of the physical memory offset.
      
      Recent changes cause problems with how we calculate the start
      address, it was always adding the RMO into the start address
      which is incorrect. This patch only adds in the RMO offset
      if we are in the kexec code path, as it needs the RMO to work
      correctly.
      
      Instead of adding the RMO offset in in the common code path, we
      can just set r6 to the RMO offset in the kexec code path instead
      of to zero, and finally perform the masking in the common code
      path
      Signed-off-by: NMatthew McClintock <msm@freescale.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      77154a20
  6. 08 7月, 2010 5 次提交
  7. 15 6月, 2010 3 次提交
    • M
      powerpc: rtas_flash needs to use rtas_data_buf · bd2b64a1
      Milton Miller 提交于
      When trying to flash a machine via the update_flash command, Anton received the
      following error:
      
          Restarting system.
          FLASH: kernel bug...flash list header addr above 4GB
      
      The code in question has a comment that the flash list should be in
      the kernel data and therefore under 4GB:
      
              /* NOTE: the "first" block list is a global var with no data
               * blocks in the kernel data segment.  We do this because
               * we want to ensure this block_list addr is under 4GB.
               */
      
      Unfortunately the Kconfig option is marked tristate which means the variable
      may not be in the kernel data and could be above 4GB.
      
      Instead of relying on the data segment being below 4GB, use the static
      data buffer allocated by the kernel for use by rtas.  Since we don't
      use the header struct directly anymore, convert it to a simple pointer.
      Reported-By: NAnton Blanchard <anton@samba.org>
      Signed-Off-By: Milton Miller <miltonm@bga.com
      Tested-By: NAnton Blanchard <anton@samba.org>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      bd2b64a1
    • C
      powerpc: Unconditionally enabled irq stacks · f1ba9a5b
      Christoph Hellwig 提交于
      Irq stacks provide an essential protection from stack overflows through
      external interrupts, at the cost of two additionals stacks per CPU.
      
      Enable them unconditionally to simplify the kernel build and prevent
      people from accidentally disabling them.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      f1ba9a5b
    • M
      powerpc/kexec: Wait for online/possible CPUs only. · b636f137
      Matt Evans 提交于
      kexec_perpare_cpus_wait() iterates i through NR_CPUS to check
      paca[i].kexec_state of each to make sure they have quiesced.
      However now we have dynamic PACA allocation, paca[NR_CPUS] is not necessarily
      valid and we overrun the array;  spurious "cpu is not possible, ignoring"
      errors result.  This patch iterates for_each_online_cpu so stays
      within the bounds of paca[] -- and every CPU is now 'possible'.
      Signed-off-by: NMatt Evans <matt@ozlabs.org>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      b636f137
  8. 12 6月, 2010 1 次提交
  9. 09 6月, 2010 3 次提交
  10. 02 6月, 2010 1 次提交
  11. 31 5月, 2010 1 次提交
  12. 28 5月, 2010 1 次提交
  13. 25 5月, 2010 3 次提交
  14. 22 5月, 2010 3 次提交
  15. 21 5月, 2010 14 次提交