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/0116-Initialize-ata-before-graphics.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/0116-Initialize-ata-before-graphics.patch')
-rw-r--r-- | patches/boot_time_opt/0116-Initialize-ata-before-graphics.patch | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/patches/boot_time_opt/0116-Initialize-ata-before-graphics.patch b/patches/boot_time_opt/0116-Initialize-ata-before-graphics.patch new file mode 100644 index 0000000..9bc70d6 --- /dev/null +++ b/patches/boot_time_opt/0116-Initialize-ata-before-graphics.patch | |||
@@ -0,0 +1,47 @@ | |||
1 | From a8f79e6e347a5d884ea8d351631a6f6e899060cc Mon Sep 17 00:00:00 2001 | ||
2 | From: Arjan van de Ven <arjan@linux.intel.com> | ||
3 | Date: Thu, 2 Jun 2016 23:36:32 -0500 | ||
4 | Subject: [PATCH 116/126] Initialize ata before graphics | ||
5 | |||
6 | ATA init is the long pole in the boot process, and its asynchronous. | ||
7 | move the graphics init after it so that ata and graphics initialize | ||
8 | in parallel | ||
9 | --- | ||
10 | drivers/Makefile | 11 ++++++----- | ||
11 | 1 file changed, 6 insertions(+), 5 deletions(-) | ||
12 | |||
13 | diff --git a/drivers/Makefile b/drivers/Makefile | ||
14 | index d242d3514d30..b73656e2caa0 100644 | ||
15 | --- a/drivers/Makefile | ||
16 | +++ b/drivers/Makefile | ||
17 | @@ -61,14 +61,9 @@ obj-y += char/ | ||
18 | # iommu/ comes before gpu as gpu are using iommu controllers | ||
19 | obj-$(CONFIG_IOMMU_SUPPORT) += iommu/ | ||
20 | |||
21 | -# gpu/ comes after char for AGP vs DRM startup and after iommu | ||
22 | -obj-y += gpu/ | ||
23 | |||
24 | obj-$(CONFIG_CONNECTOR) += connector/ | ||
25 | |||
26 | -# i810fb and intelfb depend on char/agp/ | ||
27 | -obj-$(CONFIG_FB_I810) += video/fbdev/i810/ | ||
28 | -obj-$(CONFIG_FB_INTEL) += video/fbdev/intelfb/ | ||
29 | |||
30 | obj-$(CONFIG_PARPORT) += parport/ | ||
31 | obj-$(CONFIG_NVM) += lightnvm/ | ||
32 | @@ -82,6 +77,12 @@ obj-$(CONFIG_IDE) += ide/ | ||
33 | obj-$(CONFIG_SCSI) += scsi/ | ||
34 | obj-y += nvme/ | ||
35 | obj-$(CONFIG_ATA) += ata/ | ||
36 | + | ||
37 | +# gpu/ comes after char for AGP vs DRM startup and after iommu | ||
38 | +obj-y += gpu/ | ||
39 | +# i810fb and intelfb depend on char/agp/ | ||
40 | +obj-$(CONFIG_FB_I810) += video/fbdev/i810/ | ||
41 | +obj-$(CONFIG_FB_INTEL) += video/fbdev/intelfb/ | ||
42 | obj-$(CONFIG_TARGET_CORE) += target/ | ||
43 | obj-$(CONFIG_MTD) += mtd/ | ||
44 | obj-$(CONFIG_SPI) += spi/ | ||
45 | -- | ||
46 | 2.15.0 | ||
47 | |||