All of lore.kernel.org
 help / color / mirror / Atom feed
* your patch "x86, 8042: Enable A20 using KBC to fix S3 resume on some MSI laptops"
@ 2013-01-14  8:08 Jan Beulich
  2013-01-14  8:29 ` Ondrej Zary
  0 siblings, 1 reply; 6+ messages in thread
From: Jan Beulich @ 2013-01-14  8:08 UTC (permalink / raw)
  To: linux; +Cc: dmitry.torokhov, hpa, Alan Cox, Rafael J. Wysocki, linux-kernel

Ondrej,

I see two problems with this patch: For one, on a system without
i8042 the code at the place it got inserted ought to incur a stall of
1s (50us * I8042_CTL_TIMEOUT [10000] * 2). I believe that this
code should not be run before i8042_controller_check() completed
successfully, but at the very least the second call to
i8042_command() should be conditional upon the first being
successful (effectively halving the stall).

Second, considering that enabling A20 (even if just in a fake way),
is a core system operation, I don't think it belongs into a driver
that is only optionally present in the kernel.

Jan


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-01-16  1:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-14  8:08 your patch "x86, 8042: Enable A20 using KBC to fix S3 resume on some MSI laptops" Jan Beulich
2013-01-14  8:29 ` Ondrej Zary
2013-01-14  8:37   ` Jan Beulich
2013-01-14  8:54     ` Ondrej Zary
2013-01-14  9:02       ` Jan Beulich
2013-01-16  1:16         ` H. Peter Anvin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.