1. 28 5月, 2014 1 次提交
  2. 20 5月, 2014 1 次提交
  3. 12 5月, 2014 1 次提交
  4. 28 4月, 2014 34 次提交
  5. 23 4月, 2014 3 次提交
    • A
      powerpc: Fix SMP issues with ppc64le ABIv2 · 2751b628
      Anton Blanchard 提交于
      There is no need to put a function descriptor in
      __secondary_hold_spinloop. Use ppc_function_entry to get the
      instruction address and put it in __secondary_hold_spinloop instead.
      
      Also fix an issue where we assumed cur_cpu_spec held a function
      descriptor.
      Signed-off-by: NAnton Blanchard <anton@samba.org>
      2751b628
    • U
      powerpc: Fix unsafe accesses to parameter area in ELFv2 · 752a6422
      Ulrich Weigand 提交于
      Some of the assembler files in lib/ make use of the fact that in the
      ELFv1 ABI, the caller guarantees to provide stack space to save the
      parameter registers r3 ... r10.  This guarantee is no longer present
      in ELFv2 for functions that have no variable argument list and no
      more than 8 arguments.
      
      Change the affected routines to temporarily store registers in the
      red zone and/or the top of their own stack frame (in the space
      provided to save r31 .. r29, which is actually not used in these
      routines).
      
      In opal_query_takeover, simply always allocate a stack frame;
      the routine is not performance critical.
      Signed-off-by: NUlrich Weigand <ulrich.weigand@de.ibm.com>
      Signed-off-by: NAnton Blanchard <anton@samba.org>
      752a6422
    • A
      powerpc: Remove superflous function descriptors in assembly only code · ad0289e4
      Anton Blanchard 提交于
      We have a number of places where we load the text address of a local
      function and indirectly branch to it in assembly. Since it is an
      indirect branch binutils will not know to use the function text
      address, so that trick wont work.
      
      There is no need for these functions to have a function descriptor
      so we can replace it with a label and remove the dot symbol.
      Signed-off-by: NAnton Blanchard <anton@samba.org>
      ad0289e4