1. 09 11月, 2017 1 次提交
  2. 29 9月, 2017 6 次提交
  3. 17 2月, 2017 1 次提交
    • P
      s390: kernel: Audit and remove any unnecessary uses of module.h · 3994a52b
      Paul Gortmaker 提交于
      Historically a lot of these existed because we did not have
      a distinction between what was modular code and what was providing
      support to modules via EXPORT_SYMBOL and friends.  That changed
      when we forked out support for the latter into the export.h file.
      
      This means we should be able to reduce the usage of module.h
      in code that is obj-y Makefile or bool Kconfig.  The advantage
      in doing so is that module.h itself sources about 15 other headers;
      adding significantly to what we feed cpp, and it can obscure what
      headers we are effectively using.
      
      Since module.h was the source for init.h (for __init) and for
      export.h (for EXPORT_SYMBOL) we consider each change instance
      for the presence of either and replace as needed.  Build testing
      revealed some implicit header usage that was fixed up accordingly.
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      3994a52b
  4. 25 12月, 2016 1 次提交
  5. 17 10月, 2016 1 次提交
  6. 15 6月, 2016 1 次提交
  7. 02 3月, 2016 1 次提交
  8. 18 12月, 2015 1 次提交
    • M
      s390/dis: Fix handling of format specifiers · 272fa59c
      Michael Holzheu 提交于
      The print_insn() function returns strings like "lghi %r1,0". To escape the
      '%' character in sprintf() a second '%' is used. For example "lghi %%r1,0"
      is converted into "lghi %r1,0".
      
      After print_insn() the output string is passed to printk(). Because format
      specifiers like "%r" or "%f" are ignored by printk() this works by chance
      most of the time. But for instructions with control registers like
      "lctl %c6,%c6,780" this fails because printk() interprets "%c" as
      character format specifier.
      
      Fix this problem and escape the '%' characters twice.
      
      For example "lctl %%%%c6,%%%%c6,780" is then converted by sprintf()
      into "lctl %%c6,%%c6,780" and by printk() into "lctl %c6,%c6,780".
      Signed-off-by: NMichael Holzheu <holzheu@linux.vnet.ibm.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      272fa59c
  9. 27 11月, 2015 1 次提交
  10. 25 3月, 2015 1 次提交
    • H
      s390: remove 31 bit support · 5a79859a
      Heiko Carstens 提交于
      Remove the 31 bit support in order to reduce maintenance cost and
      effectively remove dead code. Since a couple of years there is no
      distribution left that comes with a 31 bit kernel.
      
      The 31 bit kernel also has been broken since more than a year before
      anybody noticed. In addition I added a removal warning to the kernel
      shown at ipl for 5 minutes: a960062e ("s390: add 31 bit warning
      message") which let everybody know about the plan to remove 31 bit
      code. We didn't get any response.
      
      Given that the last 31 bit only machine was introduced in 1999 let's
      remove the code.
      Anybody with 31 bit user space code can still use the compat mode.
      Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      5a79859a
  11. 22 1月, 2015 1 次提交
    • M
      s390: add SMT support · 10ad34bc
      Martin Schwidefsky 提交于
      The multi-threading facility is introduced with the z13 processor family.
      This patch adds code to detect the multi-threading facility. With the
      facility enabled each core will surface multiple hardware threads to the
      system. Each hardware threads looks like a normal CPU to the operating
      system with all its registers and properties.
      
      The SCLP interface reports the SMT topology indirectly via the maximum
      thread id. Each reported CPU in the result of a read-scp-information
      is a core representing a number of hardware threads.
      
      To reflect the reduced CPU capacity if two hardware threads run on a
      single core the MT utilization counter set is used to normalize the
      raw cputime obtained by the CPU timer deltas. This scaled cputime is
      reported via the taskstats interface. The normal /proc/stat numbers
      are based on the raw cputime and are not affected by the normalization.
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      10ad34bc
  12. 08 1月, 2015 1 次提交
  13. 09 10月, 2014 1 次提交
  14. 24 10月, 2013 3 次提交
  15. 07 5月, 2013 1 次提交
  16. 17 4月, 2013 1 次提交
  17. 28 2月, 2013 1 次提交
  18. 14 2月, 2013 1 次提交
  19. 30 11月, 2012 1 次提交
    • J
      s390/pci: base support · cd248341
      Jan Glauber 提交于
      Add PCI support for s390, (only 64 bit mode is supported by hardware):
      - PCI facility tests
      - PCI instructions: pcilg, pcistg, pcistb, stpcifc, mpcifc, rpcit
      - map readb/w/l/q and writeb/w/l/q to pcilg and pcistg instructions
      - pci_iomap implementation
      - memcpy_fromio/toio
      - pci_root_ops using special pcilg/pcistg
      - device, bus and domain allocation
      Signed-off-by: NJan Glauber <jang@linux.vnet.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      cd248341
  20. 23 11月, 2012 1 次提交
  21. 26 9月, 2012 4 次提交
  22. 30 7月, 2012 1 次提交
  23. 26 7月, 2012 1 次提交
  24. 20 7月, 2012 2 次提交
  25. 29 3月, 2012 1 次提交
  26. 27 12月, 2011 1 次提交
    • H
      [S390] disassembler: mark exception causing instructions · 2fa1d4fc
      Heiko Carstens 提交于
      If an exception happens the PSW either points to the instruction that
      caused the exception or to the instruction that follows the exception
      causing instruction, depending on the exception type.
      Since the inkernel disassembler adds a ">" in front of the disassembly
      many people assume incorrectly that the instruction that is pointed to
      must be the cause of the exception. To make people aware that this is
      not necessarily the case add a different character in front of the
      disassembled instruction that precedes the current instructions.
      
      The output now looks like this:
      
      Krnl PSW : 0704200180000000 0000000000120de8 (test_function+0x0/0x100)
                 R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:0 AS:0 CC:2 PM:0 EA:3
      Krnl GPRS: 000003ff00000000 0000000000120de4 000000000091bb40 0000000000000001
                 000003fffd2ea000 0000000030fb7df8 0000000030fb7f10 000003ffffa113c8
                 000000000091bb40 000003fffd2ea000 0000000000000002 0000000030fb7f10
                 000000003f290240 0000000000606220 00000000002cfb5c 0000000030fb7d58
      Krnl Code: 0000000000120ddc: b90400a9           lgr     %r10,%r9
                 0000000000120de0: a7f4ff88           brc     15,120cf0
                #0000000000120de4: a7f40001           brc     15,120de6
                >0000000000120de8: a7f13f80           tmll    %r15,16256
                 0000000000120dec: eb8ff0580024       stmg    %r8,%r15,88(%r15)
                 0000000000120df2: a7840001           brc     8,120df4
                 0000000000120df6: b90400ef           lgr     %r14,%r15
                 0000000000120dfa: a7fbffb8           aghi    %r15,-72
      Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      2fa1d4fc
  27. 27 7月, 2011 1 次提交
  28. 26 5月, 2011 1 次提交
  29. 10 5月, 2011 1 次提交