obtained, normal DMKMCH processing continues. If the lock cannot be
obtained,DMKftCH stacks a CPEXBLOK with CPftCBLK set and exits to DMKDSPRU. This CPEXBLOK causes processing to resume at DMKftCHSE with the
global system lock held. Any machine checks that occur before theCPEXBLOK processing has completed are considered recursive machine checks and handled appropriately. If the control program was in control
and thesystem is not to be terminated, the machine check handler saves
statusin the CPEXBLOK, set CPMCHLK and reloads MCOPSW. CPftCHLK is set
to prevent the dispatcherfrom starting any new work on this processor
until themachine check processing has completed. DMKMCH passes control to DMKftCTPT if the system is running in
attached processor mode and a decision has beenmade to terminate the system. In general, if a virtual machine was running when the machine chsck occurred, only that virtual machine is terminated. DMKMCTPT determines if the system can continue and if the processor
can continue. For the attached processor, if themachine check was not
a clock error and the controlprogram was not in control, the virtual machine running at the time of the error is terminated. If the machine check was a clock error on the main processor or the control program was in control on either processor, the other processor is signalled to stop
and store status and a wait statePSW is loaded on the failing
processor. An attemptis made to issue message 610W to the operator
before themain processor is stopped. If the machine check was a clock
error on the attached processor and the controlprogram was not in
control, the main processor is signalled via an external call to
initiate automatic processor recovery with an indicator to continue
processing.
The malfunction alert interrupt handler(DftK!CTftA) receives control from the external second level interrupt handler. If the malfunction
alertcame from the main processor, a 001 wait state PSW is loaded. If
the malfunction alertcame from the attached processorand a virtual machine was in control, an indication is set to terminate the virtual
user and CPAPBPND is set for processor recovery. If the attached
processor wasin supervisor state, message 610W is sent to the operator
and a013 wait state PSi is loaded. If the attached processor was in a wait state, CPAPRPND is set for processor recovery.
Theautomatic processor recovery routine (DftKMCTPB) receives control
from the external SLIH or the dispatcher. If thesystem is to continue
processing, the vary processor offline routne(DftKCPUUP) is called. DMKCPUUP examines the chain of virtual machines for attached processor
affinity and shared segment pointers.Any shared segment pointers for
the attached processor are switched to point to themain processor
shared segments. All the system control blocks and save areas necessary
to run in attached processormode are also freed. The time froa the
first timer request queue elementis placed into the clock comparator
for themain processor. While preserving the maintained fields in the absolute zero area, the main processor's prefix storage area is copied to the absolute zero area
and prefixingis stopped. The attached processor operational flag is turned off in the absolute zero area, and the prefix storage areas for
the main and attached processors are freed. The pages andDISD slots
heldby the attached processor for shared segments are freed by D!KPGT and DMKPTR. A message (194I) is issued, and return is made to DftK!CTPR. For any virtual machines with affinity to the attached processor, DMKMCTPR resets the affinity for each, issues message 6211, and puts the
machine in console functionmode (if the virtual machine is not
disconnected). If a virtualmachine is to be terminated, the virtual machine is reset, messages 616I and 6191 Normal return canses the system to continue processing in uniprocessor mode. 1-176 IBM VM/370 System Logic and Problem Determination--Volume 1
obtained,
global system lock held. Any machine checks that occur before the
and the
status
to prevent the dispatcher
until the
attached processor mode and a decision has been
can continue. For the attached processor, if the
a clock error and the control
and store status and a wait state
processor. An attempt
before the
error on the attached processor and the control
control, the main processor is signalled via an external call to
initiate automatic processor recovery with an indicator to continue
processing.
The malfunction alert interrupt handler
alert
the malfunction alert
user and CPAPBPND is set for processor recovery. If the attached
processor was
and a
The
from the external SLIH or the dispatcher. If the
processing, the vary processor offline routne
affinity and shared segment pointers.
the attached processor are switched to point to the
shared segments. All the system control blocks and save areas necessary
to run in attached processor
first timer request queue element
for the
and prefixing
the main and attached processors are freed. The pages and
held
machine in console function
disconnected). If a virtual