1. 24 10月, 2013 1 次提交
  2. 22 10月, 2013 1 次提交
    • M
      s390/time: correct use of store clock fast · 8c071b0f
      Martin Schwidefsky 提交于
      The result of the store-clock-fast (STCKF) instruction is a bit fuzzy.
      It can happen that the value stored on one CPU is smaller than the value
      stored on another CPU, although the order of the stores is the other
      way around. This can cause deltas of get_tod_clock() values to become
      negative when they should not be.
      
      We need to be more careful with store-clock-fast, this patch partially
      reverts git commit e4b7b4238e666682555461fa52eecd74652f36bb "time:
      always use stckf instead of stck if available". The get_tod_clock()
      function now uses the store-clock-extended (STCKE) instruction.
      get_tod_clock_fast() can be used if the fuzziness of store-clock-fast
      is acceptable e.g. for wait loops local to a CPU.
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      8c071b0f
  3. 29 7月, 2013 5 次提交
  4. 18 7月, 2013 2 次提交
  5. 15 7月, 2013 1 次提交
    • R
      s390: Replace weird use of PTR_RET. · 228b8221
      Rusty Russell 提交于
      Saves repeating "(void __force *)__uptr" but it's less clear.  Using
      the output of PTR_RET() to determine the error rather than just
      testing IS_ERR() is odd.
      
      For example, I *assume* __gptr_to_uptr() never returns NULL?  Because
      the __ret would be 0 for the old code.  The new version is clearer, IMHO:
      it would try to get_user() on that address.
      
      If you hate this variant, I can just s/PTR_RET/PTR_ERR_OR_ZERO/ instead.
      
      Cc: Christian Borntraeger <borntraeger@de.ibm.com>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      Acked-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      228b8221
  6. 21 6月, 2013 7 次提交
  7. 17 6月, 2013 4 次提交
  8. 03 6月, 2013 1 次提交
  9. 21 5月, 2013 4 次提交
  10. 19 5月, 2013 1 次提交
  11. 17 4月, 2013 1 次提交
  12. 02 4月, 2013 10 次提交
  13. 18 3月, 2013 1 次提交
  14. 08 3月, 2013 1 次提交