Skip to content
  • Eric Farman's avatar
    3d651996
    pc-bios: s390x: Clear out leftover S390EP string · 3d651996
    Eric Farman authored
    
    
    A Linux binary will have the string "S390EP" at address 0x10008,
    which is important in getting the guest up off the ground. In the
    case of a reboot (specifically chreipl going to a new device),
    we should defer to the PSW at address zero for the new config,
    which will re-write "S390EP" from the new image.
    
    Let's clear it out at this point so that a reipl to, say, a DASD
    passthrough device drives the IPL path from scratch without disrupting
    disrupting the order of operations for other boots.
    
    Rather than hardcoding the address of this magic (again), let's
    define it somewhere so that the two users are visibly related.
    
    Signed-off-by: default avatarEric Farman <farman@linux.ibm.com>
    Message-Id: <20201120160117.59366-3-farman@linux.ibm.com>
    Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
    3d651996
    pc-bios: s390x: Clear out leftover S390EP string
    Eric Farman authored
    
    
    A Linux binary will have the string "S390EP" at address 0x10008,
    which is important in getting the guest up off the ground. In the
    case of a reboot (specifically chreipl going to a new device),
    we should defer to the PSW at address zero for the new config,
    which will re-write "S390EP" from the new image.
    
    Let's clear it out at this point so that a reipl to, say, a DASD
    passthrough device drives the IPL path from scratch without disrupting
    disrupting the order of operations for other boots.
    
    Rather than hardcoding the address of this magic (again), let's
    define it somewhere so that the two users are visibly related.
    
    Signed-off-by: default avatarEric Farman <farman@linux.ibm.com>
    Message-Id: <20201120160117.59366-3-farman@linux.ibm.com>
    Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
Loading