diff options
author | Martin Borg <martin.borg@enea.com> | 2018-03-23 14:01:03 +0100 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2018-03-26 09:57:31 +0200 |
commit | c4bd5f6e084a6ced2c7a2f76798d0a34947ffeb7 (patch) | |
tree | e46d5f9bceca1947817b7739d366aa44faea9be1 /patches/boot_time_opt/0101-i8042-decrease-debug-message-level-to-info.patch | |
parent | dfc8946f58bbf4aa3a345c4fb5d5895502936edd (diff) | |
download | enea-kernel-cache-c4bd5f6e084a6ced2c7a2f76798d0a34947ffeb7.tar.gz |
boot_time_opt: update host boot time optimization patches for 4.14
The new patches are based on:
https://github.com/clearlinux-pkgs/linux-lts
commit 5595fe425a52af6734235a1a953b6b03210060ec
Signed-off-by: Martin Borg <martin.borg@enea.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'patches/boot_time_opt/0101-i8042-decrease-debug-message-level-to-info.patch')
-rw-r--r-- | patches/boot_time_opt/0101-i8042-decrease-debug-message-level-to-info.patch | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/patches/boot_time_opt/0101-i8042-decrease-debug-message-level-to-info.patch b/patches/boot_time_opt/0101-i8042-decrease-debug-message-level-to-info.patch new file mode 100644 index 0000000..4c1eb69 --- /dev/null +++ b/patches/boot_time_opt/0101-i8042-decrease-debug-message-level-to-info.patch | |||
@@ -0,0 +1,65 @@ | |||
1 | From 4139c54430520b0afbcedf5306d62ae49e285688 Mon Sep 17 00:00:00 2001 | ||
2 | From: Arjan van de Ven <arjan@linux.intel.com> | ||
3 | Date: Tue, 23 Jun 2015 01:26:52 -0500 | ||
4 | Subject: [PATCH 101/126] i8042: decrease debug message level to info | ||
5 | |||
6 | Author: Arjan van de Ven <arjan@linux.intel.com> | ||
7 | |||
8 | Signed-off-by: Miguel Bernal Marin <miguel.bernal.marin@linux.intel.com> | ||
9 | Signed-off-by: Jose Carlos Venegas Munoz <jos.c.venegas.munoz@intel.com> | ||
10 | --- | ||
11 | drivers/input/serio/i8042.c | 10 +++++----- | ||
12 | 1 file changed, 5 insertions(+), 5 deletions(-) | ||
13 | |||
14 | diff --git a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c | ||
15 | index 824f4c1c1f31..a8cd9072481c 100644 | ||
16 | --- a/drivers/input/serio/i8042.c | ||
17 | +++ b/drivers/input/serio/i8042.c | ||
18 | @@ -601,7 +601,7 @@ static int i8042_enable_kbd_port(void) | ||
19 | if (i8042_command(&i8042_ctr, I8042_CMD_CTL_WCTR)) { | ||
20 | i8042_ctr &= ~I8042_CTR_KBDINT; | ||
21 | i8042_ctr |= I8042_CTR_KBDDIS; | ||
22 | - pr_err("Failed to enable KBD port\n"); | ||
23 | + pr_info("Failed to enable KBD port\n"); | ||
24 | return -EIO; | ||
25 | } | ||
26 | |||
27 | @@ -620,7 +620,7 @@ static int i8042_enable_aux_port(void) | ||
28 | if (i8042_command(&i8042_ctr, I8042_CMD_CTL_WCTR)) { | ||
29 | i8042_ctr &= ~I8042_CTR_AUXINT; | ||
30 | i8042_ctr |= I8042_CTR_AUXDIS; | ||
31 | - pr_err("Failed to enable AUX port\n"); | ||
32 | + pr_info("Failed to enable AUX port\n"); | ||
33 | return -EIO; | ||
34 | } | ||
35 | |||
36 | @@ -712,7 +712,7 @@ static int __init i8042_check_mux(void) | ||
37 | i8042_ctr &= ~I8042_CTR_AUXINT; | ||
38 | |||
39 | if (i8042_command(&i8042_ctr, I8042_CMD_CTL_WCTR)) { | ||
40 | - pr_err("Failed to disable AUX port, can't use MUX\n"); | ||
41 | + pr_info("Failed to disable AUX port, can't use MUX\n"); | ||
42 | return -EIO; | ||
43 | } | ||
44 | |||
45 | @@ -935,7 +935,7 @@ static int i8042_controller_selftest(void) | ||
46 | do { | ||
47 | |||
48 | if (i8042_command(¶m, I8042_CMD_CTL_TEST)) { | ||
49 | - pr_err("i8042 controller selftest timeout\n"); | ||
50 | + pr_info("i8042 controller selftest timeout\n"); | ||
51 | return -ENODEV; | ||
52 | } | ||
53 | |||
54 | @@ -957,7 +957,7 @@ static int i8042_controller_selftest(void) | ||
55 | pr_info("giving up on controller selftest, continuing anyway...\n"); | ||
56 | return 0; | ||
57 | #else | ||
58 | - pr_err("i8042 controller selftest failed\n"); | ||
59 | + pr_info("i8042 controller selftest failed\n"); | ||
60 | return -EIO; | ||
61 | #endif | ||
62 | } | ||
63 | -- | ||
64 | 2.15.0 | ||
65 | |||