Skip to content

x86: Trust firmware a bit more about presence of 8042

Dmitry Torokhov linux-input lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4x86/init: add i8042 state to the platform dataarch/x86/include/asm/x86_init.h arch/x86/kernel/acpi/boot.c arch/x86/kernel/platform-quirks.c+30 -00 replies
2/4Input: i8042 - trust firmware a bit more when probing on X86drivers/input/serio/i8042-x86ia64io.h+7 -30 replies
3/4x86/init: remove i8042_detect() form platform opsarch/x86/include/asm/x86_init.h arch/x86/kernel/x86_init.c arch/x86/platform/ce4100/ce4100.c +1 more+0 -170 replies
4/4x86/init: fix a couple typos in arch/x86/include/asm/x86_init.harch/x86/include/asm/x86_init.h+3 -30 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMarcos Paulo de SouzaTakashi Iwai
SeriesA-b T-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] x86: Trust firmware a bit more about presence of 8042

Hi,

Historically we did not trust PNP data regarding keyboard controllers on X86, but more and more boards get upset with us if they try to tell us that there is no keyboard controller and we still go and try to poke at where we think it might be. To work around this issue let's have a bit more faith in BIOS data, and if [lack] of PNP devices for mouse and keyboard matches whet firmware (basically ACPI FADT) tells us, let's abort i8042 probe.

We add a new flag (enum) to x86_platform.legacy structure so we can distinguish between cases where platform/subarch never has 8042 (such as MID platform) and cases where firmware says that it is not there, so that i8042 driver can either abort immediately or go and check for presence of PNP devices. We also remove x86_platform.i8042_detect() as it is no longer used (platforms can set value of x86_platform.legacy.i8042 as needed in quirks).

If you are OK with arch/x86 changes please apply together with the input part.

Thanks,
Dmitry

Dmitry Torokhov (4):
x86/init: add i8042 state to the platform data
Input: i8042 - trust firmware a bit more when probing on X86 x86/init: remove i8042_detect() form platform ops x86/init: fix a couple typos in arch/x86/include/asm/x86_init.h

 arch/x86/include/asm/x86_init.h         | 26 +++++++++++++++++++++-----
 arch/x86/kernel/acpi/boot.c             |  7 +++++++
 arch/x86/kernel/platform-quirks.c       |  5 +++++
 arch/x86/kernel/x86_init.c              |  2 --
 arch/x86/platform/ce4100/ce4100.c       |  6 ------
 arch/x86/platform/intel-mid/intel-mid.c |  7 -------
 drivers/input/serio/i8042-x86ia64io.h   | 10 +++++++---
 7 files changed, 40 insertions(+), 23 deletions(-)
Signature · 1 line
2.8.0.rc3.226.g39d4020