1. 04 Jul, 2016 2 commits
    • Heiko Carstens's avatar
      s390: have unique symbol for __switch_to address · 46210c44
      Heiko Carstens authored
      After linking there are several symbols for the same address that the
      __switch_to symbol points to. E.g.:
      
      000000000089b9c0 T __kprobes_text_start
      000000000089b9c0 T __lock_text_end
      000000000089b9c0 T __lock_text_start
      000000000089b9c0 T __sched_text_end
      000000000089b9c0 T __switch_to
      
      When disassembling with "objdump -d" this results in a missing
      __switch_to function. It would be named __kprobes_text_start
      instead. To unconfuse objdump add a nop in front of the kprobes text
      section. That way __switch_to appears again.
      
      Obviously this solution is sort of a hack, since it also depends on
      link order if this works or not. However it is the best I can come up
      with for now.
      Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      46210c44
    • Heiko Carstens's avatar
      s390/cpuinfo: show maximum thread id · 10f4954a
      Heiko Carstens authored
      Expose the maximum thread id with /proc/cpuinfo.
      With the new line the output looks like this:
      
      vendor_id       : IBM/S390
      bogomips per cpu: 20325.00
      max thread id   : 1
      
      With this new interface it is possible to always tell the correct
      number of cpu threads potentially being used by the kernel.
      Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      10f4954a
  2. 28 Jun, 2016 19 commits
  3. 15 Jun, 2016 4 commits
  4. 14 Jun, 2016 3 commits
  5. 13 Jun, 2016 12 commits