summaryrefslogtreecommitdiff
path: root/kernel/sys.c
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2020-10-19 16:57:50 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-11-05 11:07:05 +0100
commitd26626433878c26d4e3575e4096e855c1ee4b51d (patch)
treecb160c1add5111fa755076ff047fc0007d0c3f7c /kernel/sys.c
parent693d923af550737aa8db51faf34ac7fe8bc28ba0 (diff)
hil/parisc: Disable HIL driver when it gets stuck
commit 879bc2d27904354b98ca295b6168718e045c4aa2 upstream. When starting a HP machine with HIL driver but without an HIL keyboard or HIL mouse attached, it may happen that data written to the HIL loop gets stuck (e.g. because the transaction queue is full). Usually one will then have to reboot the machine because all you see is and endless output of: Transaction add failed: transaction already queued? In the higher layers hp_sdc_enqueue_transaction() is called to queued up a HIL packet. This function returns an error code, and this patch adds the necessary checks for this return code and disables the HIL driver if further packets can't be sent. Tested on a HP 730 and a HP 715/64 machine. Signed-off-by: Helge Deller <deller@gmx.de> Cc: <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/sys.c')
0 files changed, 0 insertions, 0 deletions