30 Sep, 2013

1 commit

  • Currently copy_from_oldmem() is not able to copy to virtual memory.
    When using kexec pre-allocated ELF header, copy_from_oldmem()
    is used to copy the ELF notes information to vmalloc buffers.

    So fix this and use the new function copy_from_realmem() that allows
    copying also to vmalloc memory.

    Signed-off-by: Michael Holzheu
    Signed-off-by: Martin Schwidefsky

    Michael Holzheu
     

12 Sep, 2013

3 commits

  • Modify the s390 copy_oldmem_page() and remap_oldmem_pfn_range() function
    for zfcpdump to read from the HSA memory if memory below HSA_SIZE bytes is
    requested. Otherwise real memory is used.

    Signed-off-by: Michael Holzheu
    Cc: HATAYAMA Daisuke
    Cc: Jan Willeke
    Cc: Vivek Goyal
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Michael Holzheu
     
  • Introduce the s390 specific way to map pages from oldmem. The memory area
    below OLDMEM_SIZE is mapped with offset OLDMEM_BASE. The other old memory
    is mapped directly.

    Signed-off-by: Jan Willeke
    Signed-off-by: Michael Holzheu
    Cc: HATAYAMA Daisuke
    Cc: Vivek Goyal
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Willeke
     
  • Exchange the old relocate mechanism with the new arch function call
    override mechanism that allows to create the ELF core header in the 2nd
    kernel.

    Signed-off-by: Michael Holzheu
    Cc: HATAYAMA Daisuke
    Cc: Jan Willeke
    Cc: Vivek Goyal
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Michael Holzheu
     

18 Jul, 2013

1 commit


03 May, 2013

1 commit


02 May, 2013

1 commit

  • The current memory detection loop will detect all present memory of
    a machine. This is true even if the user specified the "mem=" parameter
    on the kernel command line.
    This can be a problem since the memory detection may cause a fully
    populated host page table for the guest, even for those parts of the
    memory that the guest will never use afterwards.

    So fix this and only detect memory up to a user supplied "mem=" limit
    if specified.

    Reported-by: Michael Johanssen
    Reviewed-by: Michael Holzheu
    Signed-off-by: Heiko Carstens
    Signed-off-by: Martin Schwidefsky

    Heiko Carstens
     

26 Sep, 2012

1 commit


11 Mar, 2012

1 commit

  • In order to allow kdump based stand-alone dump, some information
    has to be passed from the old kernel to the new dump kernel. This
    is done via a the struct "os_info" that contains the following fields:
    * crashkernel base and size
    * reipl block
    * vmcoreinfo
    * init function
    A pointer to os_info is stored at a well known storage location
    and the whole structure as well as all fields are secured with
    checksums.

    Signed-off-by: Michael Holzheu
    Signed-off-by: Martin Schwidefsky

    Michael Holzheu
     

25 Feb, 2012

1 commit


30 Oct, 2011

2 commits

  • Currently it can happen that the pre-allocated ELF header contains a wrong
    memory map which would result in errors when copying /proc/vmcore.
    In order to still get a valid vmcore, we (temporarily) disable the error
    checking in copy_oldmem_page(). This will then produce zero pages for those
    memory regions.

    Signed-off-by: Michael Holzheu
    Signed-off-by: Martin Schwidefsky

    Michael Holzheu
     
  • This patch provides the architecture specific part of the s390 kdump
    support.

    Signed-off-by: Michael Holzheu
    Signed-off-by: Martin Schwidefsky

    Michael Holzheu