Home
last modified time | relevance | path

Searched hist:dbf2091aba8abc312dbab931b12ebc4ff213ffd6 (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/pc-bios/s390-ccw/
H A Dsclp.cdiff dbf2091aba8abc312dbab931b12ebc4ff213ffd6 Fri Feb 23 09:43:17 CST 2018 Collin L. Walling <walling@linux.vnet.ibm.com> s390-ccw: set cp_receive mask only when needed and consume pending service irqs

It is possible while waiting for multiple types of external
interrupts that we might have pending irqs remaining between
irq consumption and irq-type disabling. Those interrupts
could potentially propagate to the guest after IPL completes
and cause unwanted behavior.

As it is today, the SCLP will only recognize write events that
are enabled by the control program's send and receive masks. To
limit the window for, and prevent further irqs from, ASCII
console events (specifically keystrokes), we should only enable
the control program's receive mask when we need it.

While we're at it, remove assignment of the (non control program)
send and receive masks, as those are actually set by the SCLP.

Signed-off-by: Collin L. Walling <walling@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
H A Dmenu.cdiff dbf2091aba8abc312dbab931b12ebc4ff213ffd6 Fri Feb 23 09:43:17 CST 2018 Collin L. Walling <walling@linux.vnet.ibm.com> s390-ccw: set cp_receive mask only when needed and consume pending service irqs

It is possible while waiting for multiple types of external
interrupts that we might have pending irqs remaining between
irq consumption and irq-type disabling. Those interrupts
could potentially propagate to the guest after IPL completes
and cause unwanted behavior.

As it is today, the SCLP will only recognize write events that
are enabled by the control program's send and receive masks. To
limit the window for, and prevent further irqs from, ASCII
console events (specifically keystrokes), we should only enable
the control program's receive mask when we need it.

While we're at it, remove assignment of the (non control program)
send and receive masks, as those are actually set by the SCLP.

Signed-off-by: Collin L. Walling <walling@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
H A Ds390-ccw.hdiff dbf2091aba8abc312dbab931b12ebc4ff213ffd6 Fri Feb 23 09:43:17 CST 2018 Collin L. Walling <walling@linux.vnet.ibm.com> s390-ccw: set cp_receive mask only when needed and consume pending service irqs

It is possible while waiting for multiple types of external
interrupts that we might have pending irqs remaining between
irq consumption and irq-type disabling. Those interrupts
could potentially propagate to the guest after IPL completes
and cause unwanted behavior.

As it is today, the SCLP will only recognize write events that
are enabled by the control program's send and receive masks. To
limit the window for, and prevent further irqs from, ASCII
console events (specifically keystrokes), we should only enable
the control program's receive mask when we need it.

While we're at it, remove assignment of the (non control program)
send and receive masks, as those are actually set by the SCLP.

Signed-off-by: Collin L. Walling <walling@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>