Browse code

linux-esx: reduce boot time. efi fb. disable pci(e)hp.

YustasSwamp authored on 2015/09/18 08:20:49
Showing 2 changed files
... ...
@@ -402,7 +402,7 @@ CONFIG_SWIOTLB=y
402 402
 CONFIG_IOMMU_HELPER=y
403 403
 # CONFIG_MAXSMP is not set
404 404
 CONFIG_NR_CPUS=32
405
-CONFIG_SCHED_SMT=y
405
+# CONFIG_SCHED_SMT is not set
406 406
 CONFIG_SCHED_MC=y
407 407
 CONFIG_PREEMPT_NONE=y
408 408
 # CONFIG_PREEMPT_VOLUNTARY is not set
... ...
@@ -567,7 +567,6 @@ CONFIG_PCI_DIRECT=y
567 567
 CONFIG_PCI_DOMAINS=y
568 568
 # CONFIG_PCI_CNB20LE_QUIRK is not set
569 569
 CONFIG_PCIEPORTBUS=y
570
-CONFIG_HOTPLUG_PCI_PCIE=y
571 570
 # CONFIG_PCIEAER is not set
572 571
 # CONFIG_PCIEASPM is not set
573 572
 CONFIG_PCI_BUS_ADDR_T_64BIT=y
... ...
@@ -587,10 +586,7 @@ CONFIG_PCI_LABEL=y
587 587
 #
588 588
 # CONFIG_ISA_DMA_API is not set
589 589
 # CONFIG_PCCARD is not set
590
-CONFIG_HOTPLUG_PCI=y
591
-# CONFIG_HOTPLUG_PCI_ACPI is not set
592
-# CONFIG_HOTPLUG_PCI_CPCI is not set
593
-# CONFIG_HOTPLUG_PCI_SHPC is not set
590
+# CONFIG_HOTPLUG_PCI is not set
594 591
 # CONFIG_RAPIDIO is not set
595 592
 # CONFIG_X86_SYSFB is not set
596 593
 
... ...
@@ -1148,7 +1144,7 @@ CONFIG_BLK_DEV_RAM_DAX=y
1148 1148
 # CONFIG_SENSORS_APDS990X is not set
1149 1149
 # CONFIG_HMC6352 is not set
1150 1150
 # CONFIG_DS1682 is not set
1151
-CONFIG_VMWARE_BALLOON=m
1151
+CONFIG_VMWARE_BALLOON=y
1152 1152
 # CONFIG_BMP085_I2C is not set
1153 1153
 # CONFIG_USB_SWITCH_FSA9480 is not set
1154 1154
 # CONFIG_SRAM is not set
... ...
@@ -1172,7 +1168,7 @@ CONFIG_VMWARE_BALLOON=m
1172 1172
 # Altera FPGA firmware download module
1173 1173
 #
1174 1174
 # CONFIG_ALTERA_STAPL is not set
1175
-CONFIG_VMWARE_VMCI=m
1175
+CONFIG_VMWARE_VMCI=y
1176 1176
 
1177 1177
 #
1178 1178
 # Intel MIC Bus Driver
... ...
@@ -1861,7 +1857,7 @@ CONFIG_FB_DEFERRED_IO=y
1861 1861
 # CONFIG_FB_VGA16 is not set
1862 1862
 # CONFIG_FB_UVESA is not set
1863 1863
 CONFIG_FB_VESA=y
1864
-# CONFIG_FB_EFI is not set
1864
+CONFIG_FB_EFI=y
1865 1865
 # CONFIG_FB_N411 is not set
1866 1866
 # CONFIG_FB_HGA is not set
1867 1867
 # CONFIG_FB_OPENCORES is not set
... ...
@@ -2302,7 +2298,7 @@ CONFIG_DMI_SCAN_MACHINE_NON_EFI_FALLBACK=y
2302 2302
 #
2303 2303
 # EFI (Extensible Firmware Interface) Support
2304 2304
 #
2305
-# CONFIG_EFI_VARS is not set
2305
+CONFIG_EFI_VARS=m
2306 2306
 CONFIG_EFI_ESRT=y
2307 2307
 CONFIG_EFI_RUNTIME_WRAPPERS=y
2308 2308
 
... ...
@@ -2,7 +2,7 @@
2 2
 Summary:        Kernel
3 3
 Name:        linux-esx
4 4
 Version:    4.2.0
5
-Release:    2%{?dist}
5
+Release:    3%{?dist}
6 6
 License:    GPLv2
7 7
 URL:        http://www.kernel.org/
8 8
 Group:        System Environment/Kernel
... ...
@@ -92,7 +92,7 @@ cp -r Documentation/*        %{buildroot}%{_defaultdocdir}/linux-esx-%{version}
92 92
 
93 93
 cat > %{buildroot}/boot/%{name}-%{version}-%{release}.cfg << "EOF"
94 94
 # GRUB Environment Block
95
-photon_cmdline=init=/lib/systemd/systemd tsc=reliable no_timer_check rcupdate.rcu_expedited=1 rootfstype=ext4 rw systemd.show_status=0 elevator=noop cpu_init_udelay=0 quiet
95
+photon_cmdline=init=/lib/systemd/systemd tsc=reliable no_timer_check rcupdate.rcu_expedited=1 rootfstype=ext4 rw systemd.show_status=0 elevator=noop quiet nordrand noreplace-smp cpu_init_udelay=0 noacpi acpi=off noapic pci=conf1,nodomains pcie_acpm=off pnpacpi=off
96 96
 photon_linux=/boot/vmlinuz-esx-%{version}
97 97
 EOF
98 98
 
... ...
@@ -120,10 +120,15 @@ ln -sf %{name}-%{version}-%{release}.cfg /boot/photon.cfg
120 120
 /lib/modules/%{version}-esx/build
121 121
 
122 122
 %changelog
123
-*   Fri Sep 4 2015 Alexey Makhalov <amakhalov@vmware.com> 4.2-2
123
+*   Thu Sep 17 2015 Alexey Makhalov <amakhalov@vmware.com> 4.2.0-3
124
+-   More cmdline options to boot up faster (one of the is disable acpi).
125
+-   Compile out: pci hotplug, sched smt.
126
+-   Compile in kernel: vmware balloon & vmci, efi fb.
127
+-   Module for efi vars.
128
+*   Fri Sep 4 2015 Alexey Makhalov <amakhalov@vmware.com> 4.2.0-2
124 129
 -   Hardcoded poweroff (direct write to piix4), no ACPI is required.
125 130
 -   sd.c: Lower log level for "Assuming drive cache..." message.
126
-*   Tue Sep 1 2015 Alexey Makhalov <amakhalov@vmware.com> 4.2-1
131
+*   Tue Sep 1 2015 Alexey Makhalov <amakhalov@vmware.com> 4.2.0-1
127 132
 -   Update to linux-4.2.0. Enable CONFIG_EFI
128 133
 *   Fri Aug 28 2015 Alexey Makhalov <amakhalov@vmware.com> 4.1.3-5
129 134
 -   Added MD/LVM/DM modules.