All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] patches to settle i8042 with Intel MID platforms
@ 2010-07-05 15:03 feng.tang
  2010-07-05 15:03 ` [PATCH v2 1/5] x86: add i8042 pre-detection hook to x86_platform_ops feng.tang
                   ` (6 more replies)
  0 siblings, 7 replies; 18+ messages in thread
From: feng.tang @ 2010-07-05 15:03 UTC (permalink / raw)
  To: linux-kernel, tglx, mingo, hpa, jacob.jun.pan, dtor, randy.dunlap
  Cc: Feng Tang

From: Feng Tang <feng.tang@intel.com>

Hi All,

Some x86 platforms like intel MID platforms don't have i8042 controllers,
and i8042 driver's probe to some non-exist legacy IO ports may hang
the MID processor. 

Current solution for this is add dependency of SERIO_I8042 over
!X86_MRST, then if we build a x86 kernel image with X86_MRST=y,
it won't have i8042 driver support over common x86 platforms.

So we add a i8042 pre-detect hook into x86_platforms ops, so that
i8042 driver can use it to run-time judge whether to go on with
probe process.

Please review these patches.

Thanks,
Feng

Changelog:
	v2:
	   * only call x86_platforms.i8042_detect() for x86 platforms

----------------
Feng Tang (5):
  x86: add i8042 pre-detection hook to x86_platform_ops
  x86, mrst: add i8042_detect API for Moorestwon platform
  Revert "Input: do not force selecting i8042 on Moorestown"
  Revert "Input: fixup X86_MRST selects"
  input: i8042 - add runtime check in x86's i8042_platform_init

 arch/x86/include/asm/x86_init.h       |    2 ++
 arch/x86/kernel/mrst.c                |    7 +++++++
 arch/x86/kernel/x86_init.c            |    4 +++-
 drivers/input/keyboard/Kconfig        |    4 ++--
 drivers/input/mouse/Kconfig           |    2 +-
 drivers/input/serio/Kconfig           |    2 +-
 drivers/input/serio/i8042-x86ia64io.h |    6 ++++++
 7 files changed, 22 insertions(+), 5 deletions(-)


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

end of thread, other threads:[~2010-07-08  7:17 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-05 15:03 [PATCH v2 0/5] patches to settle i8042 with Intel MID platforms feng.tang
2010-07-05 15:03 ` [PATCH v2 1/5] x86: add i8042 pre-detection hook to x86_platform_ops feng.tang
2010-07-08  7:16   ` [tip:x86/urgent] x86: Add " tip-bot for Feng Tang
2010-07-05 15:03 ` [PATCH v2 2/5] x86, mrst: add i8042_detect API for Moorestwon platform feng.tang
2010-07-08  7:16   ` [tip:x86/urgent] x86, mrst: Add " tip-bot for Feng Tang
2010-07-05 15:03 ` [PATCH v2 3/5] Revert "Input: do not force selecting i8042 on Moorestown" feng.tang
2010-07-08  7:16   ` [tip:x86/urgent] " tip-bot for Feng Tang
2010-07-05 15:03 ` [PATCH v2 4/5] Revert "Input: fixup X86_MRST selects" feng.tang
2010-07-08  7:16   ` [tip:x86/urgent] " tip-bot for Feng Tang
2010-07-05 15:03 ` [PATCH v2 5/5] input: i8042 - add runtime check in x86's i8042_platform_init feng.tang
2010-07-07 20:02   ` Luck, Tony
2010-07-08  7:17     ` [tip:x86/urgent] " tip-bot for Feng Tang
2010-07-05 19:45 ` [PATCH v2 0/5] patches to settle i8042 with Intel MID platforms H. Peter Anvin
2010-07-05 20:22   ` Dmitry Torokhov
2010-07-05 20:24     ` H. Peter Anvin
2010-07-05 20:29       ` Dmitry Torokhov
2010-07-07 23:12     ` H. Peter Anvin
2010-07-08  7:15 ` [tip:x86/urgent] x86, platform: Export x86_platform to modules tip-bot for 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.