1. 11 11月, 2015 1 次提交
  2. 25 6月, 2015 1 次提交
    • M
      s390/kdump: fix nosmt kernel parameter · 1592a8e4
      Michael Holzheu 提交于
      It turned out that SIGP set-multi-threading can only be done once.
      Therefore switching to a different MT level after switching to
      sclp.mtid_prev in the dump case fails.
      
      As a symptom specifying the "nosmt" parameter currently fails for
      the kdump kernel and the kernel starts with multi-threading enabled.
      
      So fix this and issue diag 308 subcode 1 call after collecting the
      CPU states for the dump. Also enhance the diag308_reset() function to
      be usable also with enabled lowcore protection and prefix register != 0.
      After the reset it is possible to switch the MT level again. We have
      to do the reset very early in order not to kill the already initialized
      console. Therefore instead of kmalloc() the corresponding memblock
      functions have to be used. To avoid copying the sclp cpu code into
      sclp_early, we now use the simple sigp loop method for CPU detection.
      Signed-off-by: NMichael Holzheu <holzheu@linux.vnet.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      1592a8e4
  3. 09 10月, 2014 1 次提交
    • M
      s390/kdump: add support for vector extension · a62bc073
      Michael Holzheu 提交于
      With this patch for kdump the s390 vector registers are stored into the
      prepared save areas in the old kernel and into the REGSET_VX_LOW and
      REGSET_VX_HIGH ELF notes for /proc/vmcore in the new kernel.
      
      The NT_S390_VXRS_LOW note contains the lower halves of the first 16 vector
      registers 0-15. The higher halves are stored in the floating point register
      ELF note.  The NT_S390_VXRS_HIGH contains the full vector registers 16-31.
      
      The kernel provides a save area for storing vector register in case of
      machine checks. A pointer to this save are is stored in the CPU lowcore
      at offset 0x11b0. This save area is also used to save the registers for
      kdump. In case of a dumped crashed kdump those areas are used to extract
      the registers of the production system.
      
      The vector registers for remote CPUs are stored using the "store additional
      status at address" SIGP. For the dump CPU the vector registers are stored
      with the VSTM instruction.
      
      With this patch also zfcpdump stores the vector registers.
      Reviewed-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: NMichael Holzheu <holzheu@linux.vnet.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      a62bc073
  4. 01 9月, 2014 1 次提交
  5. 24 10月, 2013 2 次提交
  6. 11 3月, 2012 1 次提交
    • M
      [S390] kernel: Add z/VM LGR detection · 3ab121ab
      Michael Holzheu 提交于
      Currently the following mechanisms are available to move active
      Linux on System z instances between machines:
      * z/VM 6.2 SSI (Single System Image)
      * Suspend/resume
      For moving Linux instances in this patch the term LGR (Linux Guest
      Relocation) is used. Because such an operation is critical, it
      should be detectable from Linux. With this patch for both, a live
      system and a kernel dump, the information about LGRs is accessible.
      To identify a guest, stsi and stfle data is used. A new function
      lgr_info_log() compares the current data (lgr_info_cur) with the
      last recorded one (lgr_info_last). In case the two data sets differ,
      lgr_info_cur is logged to the "lgr" s390dbf.
      
      The following trigger points call lgr_info_log():
      * panic
      * die
      * kdump
      * LGR timer
      * PSW restart
      * QDIO recovery
      * resume
      
      This patch also changes the s390dbf hex_ascii view. Now only printable ASCII
      characters are shown.
      Reviewed-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: NMichael Holzheu <holzheu@linux.vnet.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      3ab121ab
  7. 30 10月, 2011 1 次提交
  8. 03 8月, 2011 1 次提交
  9. 11 9月, 2009 1 次提交
  10. 02 8月, 2008 1 次提交
  11. 01 8月, 2008 1 次提交
  12. 14 7月, 2008 1 次提交
  13. 26 1月, 2008 2 次提交
    • M
      [S390] Use diag308 subcodes 3 and 6 for reboot and dump when possible. · 48657d22
      Michael Holzheu 提交于
      This patch fixes a problem with the following scenario:
       1. Linux booted from DASD "A"
       2. Reboot from DASD "B" using "/sys/firmware/reipl/ccw/device"
       3. Reboot DASD "B"
      Without this patch in step 3 on newer s390 systems under LPAR instead of
      DASD "B", DASD "A" will be booted. The reason is that in step 2 we use CCW
      reipl and in step 3 we use DIAG308 (subcode 3) reipl. DIAG308 does not
      notice the CCW reipl and still thinks that it has to reboot DASD "A".
      Before applying this fix, ensure to have MCF RJ9967101E or z9 GA3 base driver
      installed.
      Signed-off-by: NMichael Holzheu <holzheu@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      48657d22
    • M
      [S390] kernel: Shutdown Actions Interface · 99ca4e58
      Michael Holzheu 提交于
      In case of a kernel panic it is currently possible to specify that a dump
      should be created, the system should be rebooted or stopped. Virtual sysfs
      files under the directory /sys/firmware/ are used for that configuration.
      In addition to that, there are kernel parameters 'vmhalt', 'vmpoff'
      and 'vmpanic', which can be used to specify z/VM commands, which are
      automatically executed in case of halt, power off or a kernel panic.
      This patch combines both functionalities and allows to specify the z/VM CP
      commands also via sysfs attributes. In addition to that, it enhances the
      existing handling of shutdown triggers (e.g. halt or panic) and associated
      shutdown actions (e.g. dump or reipl) and makes it more flexible.
      Signed-off-by: NMichael Holzheu <holzheu@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      99ca4e58
  14. 10 5月, 2007 1 次提交
  15. 27 4月, 2007 2 次提交
  16. 19 3月, 2007 1 次提交
  17. 06 3月, 2007 1 次提交
  18. 21 2月, 2007 1 次提交