[SeaBIOS] [PATCH v3 0/3] fix PS/2 keyboard initialization failures

Volker Rümelin posted 3 patches 2 years, 10 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
src/stacks.c | 20 +++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)
[SeaBIOS] [PATCH v3 0/3] fix PS/2 keyboard initialization failures
Posted by Volker Rümelin 2 years, 10 months ago
Hi,

I wrote a few patches for qemu [1] and patch 10/11 exposes a bug
in seabios.

Sometimes the PS/2 keyboard initialization fails and seabios
doesn't detect the keyboard. This patch fixes the PS/2 keyboard
initialization.

I wouldn't be surprised if my patch also fixes PS/2 keyboard
initialization problems on bare metal. A few bug reports look
very similar to what I see on my computer with qemu.

With best regards,
Volker

v2:
Kevin suggested to call check_irqs() in run_thread().

v3:
Add a new patch to fix the asm constraints in run_thread(). The
changes are required for the next patch.

Kevin suggested to call check_irqs() after the new thread ran in
run_thread().
Fixed an error in the commit message.

Call check_irqs() after switch_next() in yield().

[1]https://lists.nongnu.org/archive/html/qemu-devel/2021-05/msg02152.html

Volker Rümelin (3):
   stacks: fix asm constraints in run_thread()
   stacks: call check_irqs() in run_thread()
   stacks: call check_irqs() after switch_next()

  src/stacks.c | 20 +++++++++++++-------
  1 file changed, 13 insertions(+), 7 deletions(-)

-- 
2.26.2

_______________________________________________
SeaBIOS mailing list -- seabios@seabios.org
To unsubscribe send an email to seabios-leave@seabios.org