linux/include
Helge Deller 879bc2d279 hil/parisc: Disable HIL driver when it gets stuck
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>
2020-10-22 22:44:35 +02:00
..
acpi pci-v5.10-changes 2020-10-22 12:41:00 -07:00
asm-generic Kbuild updates for v5.10 2020-10-22 13:13:57 -07:00
clocksource
crypto X.509: Fix modular build of public_key_sm2 2020-10-08 16:39:14 +11:00
drm sound updates for 5.10 2020-10-15 11:07:44 -07:00
dt-bindings This pull request contains zero diff to the core framework. It is a collection 2020-10-22 12:53:28 -07:00
keys
kunit linux-kselftest-kunit-5.10-rc1 2020-10-18 14:45:59 -07:00
kvm
linux hil/parisc: Disable HIL driver when it gets stuck 2020-10-22 22:44:35 +02:00
math-emu
media
memory
misc
net docs updates for v5.10-rc1 2020-10-16 15:02:21 -07:00
pcmcia
ras mm,hwpoison: introduce MF_MSG_UNSPLIT_THP 2020-10-16 11:11:17 -07:00
rdma RDMA: Explicitly pass in the dma_device to ib_register_device 2020-10-16 13:53:46 -03:00
scsi SCSI misc on 20201013 2020-10-14 15:15:35 -07:00
soc networking changes for the 5.10 merge window 2020-10-15 18:42:13 -07:00
sound ASoC: Updates for v5.10 2020-10-12 16:08:57 +02:00
target
trace The siginificant new ext4 feature this time around is Harshad's new 2020-10-22 10:31:08 -07:00
uapi VFIO updates for v5.10-rc1 2020-10-22 13:00:44 -07:00
vdso
video
xen xen: branch for v5.10-rc1b 2020-10-20 09:24:01 -07:00