diff options
author | Adrian Calianu <adrian.calianu@enea.com> | 2021-05-11 09:42:24 +0200 |
---|---|---|
committer | Adrian Calianu <Adrian.Calianu@enea.com> | 2021-05-12 21:56:14 +0100 |
commit | c6e89e8a31eeeb82c5711cba8235e7e55d9be6a8 (patch) | |
tree | 93a3d96c027a437fc9b168d07ab2ad62248d77d1 /patches/boot_time_opt/0109-initialize-ata-before-graphics.patch | |
parent | 7a93e54032bb148a92e16b59736a1b76fedae319 (diff) | |
download | enea-kernel-cache-c6e89e8a31eeeb82c5711cba8235e7e55d9be6a8.tar.gz |
boot_time_opt: update patches to 5.10 kernel
Patches used in boot time optimization are coming from
clearlinux distribution. Update patches correspuding to 5.10
kernel: https://github.com/clearlinux-pkgs/linux/tree/5.10.32-1034
We selected a list of patches from ClearLinux. Those we have
considered risky, unknown impact on functionality have been
avoided.
Change-Id: If01459292a5a383b49944645bd8536d9a62d9de3
Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
Diffstat (limited to 'patches/boot_time_opt/0109-initialize-ata-before-graphics.patch')
-rw-r--r-- | patches/boot_time_opt/0109-initialize-ata-before-graphics.patch | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/patches/boot_time_opt/0109-initialize-ata-before-graphics.patch b/patches/boot_time_opt/0109-initialize-ata-before-graphics.patch new file mode 100644 index 0000000..841a5b3 --- /dev/null +++ b/patches/boot_time_opt/0109-initialize-ata-before-graphics.patch | |||
@@ -0,0 +1,50 @@ | |||
1 | From 0000000000000000000000000000000000000000 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] 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 | 15 ++++++++------- | ||
11 | 1 file changed, 8 insertions(+), 7 deletions(-) | ||
12 | |||
13 | diff --git a/drivers/Makefile b/drivers/Makefile | ||
14 | index 576228037718..cf79337dd279 100644 | ||
15 | --- a/drivers/Makefile | ||
16 | +++ b/drivers/Makefile | ||
17 | @@ -59,15 +59,8 @@ obj-y += char/ | ||
18 | # iommu/ comes before gpu as gpu are using iommu controllers | ||
19 | obj-y += 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 | obj-y += base/ block/ misc/ mfd/ nfc/ | ||
33 | @@ -80,6 +73,14 @@ obj-$(CONFIG_IDE) += ide/ | ||
34 | obj-y += scsi/ | ||
35 | obj-y += nvme/ | ||
36 | obj-$(CONFIG_ATA) += ata/ | ||
37 | + | ||
38 | +# gpu/ comes after char for AGP vs DRM startup and after iommu | ||
39 | +obj-y += gpu/ | ||
40 | + | ||
41 | +# i810fb and intelfb depend on char/agp/ | ||
42 | +obj-$(CONFIG_FB_I810) += video/fbdev/i810/ | ||
43 | +obj-$(CONFIG_FB_INTEL) += video/fbdev/intelfb/ | ||
44 | + | ||
45 | obj-$(CONFIG_TARGET_CORE) += target/ | ||
46 | obj-$(CONFIG_MTD) += mtd/ | ||
47 | obj-$(CONFIG_SPI) += spi/ | ||
48 | -- | ||
49 | https://clearlinux.org | ||
50 | |||