1. 15 5月, 2013 2 次提交
    • H
      s390/ftrace: fix mcount adjustment · aca91209
      Heiko Carstens 提交于
      Tony Jones reported that the ftrace self tests on s390 do not work:
      
      <6>Testing dynamic ftrace ops #1: (0 0 0 0 0) FAILED!
      <6>Testing tracer irqsoff:
      <3>failed to start irqsoff tracer
      <4>.. no entries found ..FAILED!
      <6>Testing tracer wakeup:
      <3>failed to start wakeup tracer
      <4>.. no entries found ..FAILED!
      <6>Testing tracer function_graph:
      <4>Failed to init function_graph tracer, init returned -19
      <4>FAILED!
      
      This happens because we forgot to adjust the instruction pointer that gets
      passed to the ftrace trace function by MCOUNT_INSN_SIZE.
      
      In addition change MCOUNT_INSN_SIZE to the correct value on 31 bit.
      It only worked so far because the to be patched instruction was identical.
      Reported-by: NTony Jones <tonyj@suse.com>
      Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      aca91209
    • C
      s390: fix gmap_ipte_notifier vs. software dirty pages · bb4b42ce
      Christian Borntraeger 提交于
      On heavy paging load some guest cpus started to loop in gmap_ipte_notify.
      This was visible as stalled cpus inside the guest. The gmap_ipte_notifier
      tries to map a user page and then made sure that the pte is valid and
      writable. Turns out that with the software change bit tracking the pte
      can become read-only (and only software writable) if the page is clean.
      Since we loop in this code, the page would stay clean and, therefore,
      be never writable again.
      Let us just use fixup_user_fault, that guarantees to call handle_mm_fault.
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      bb4b42ce
  2. 07 5月, 2013 3 次提交
  3. 05 5月, 2013 11 次提交
  4. 04 5月, 2013 2 次提交
  5. 03 5月, 2013 9 次提交
  6. 02 5月, 2013 13 次提交