Browse code

linux-esx: Fix pci hardcodding for SVGA. Enable acpi by default. Disable efifb.

YustasSwamp authored on 2015/09/18 12:13:52
Showing 3 changed files
... ...
@@ -184,7 +184,7 @@ by Arjan van de Ven <arjan@linux.intel.com>
184 184
 +					*sz = 0xfffffff1;
185 185
 +                        		return 1;
186 186
 +				case 0x14:
187
-+					*sz = 0xf8000000;
187
++					*sz = 0xfc000000;
188 188
 +					return 1;
189 189
 +				case 0x18:
190 190
 +					*sz = 0xff800000;
... ...
@@ -1857,7 +1857,7 @@ CONFIG_FB_DEFERRED_IO=y
1857 1857
 # CONFIG_FB_VGA16 is not set
1858 1858
 # CONFIG_FB_UVESA is not set
1859 1859
 CONFIG_FB_VESA=y
1860
-CONFIG_FB_EFI=y
1860
+# CONFIG_FB_EFI is not set
1861 1861
 # CONFIG_FB_N411 is not set
1862 1862
 # CONFIG_FB_HGA is not set
1863 1863
 # CONFIG_FB_OPENCORES is not set
... ...
@@ -90,9 +90,10 @@ cp -v System.map        %{buildroot}/boot/system.map-esx-%{version}
90 90
 cp -v .config            %{buildroot}/boot/config-esx-%{version}
91 91
 cp -r Documentation/*        %{buildroot}%{_defaultdocdir}/linux-esx-%{version}
92 92
 
93
+# TODO: noacpi acpi=off noapic pci=conf1,nodomains pcie_acpm=off pnpacpi=off
93 94
 cat > %{buildroot}/boot/%{name}-%{version}-%{release}.cfg << "EOF"
94 95
 # 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 quiet nordrand noreplace-smp cpu_init_udelay=0 noacpi acpi=off noapic pci=conf1,nodomains pcie_acpm=off pnpacpi=off
96
+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
96 97
 photon_linux=/boot/vmlinuz-esx-%{version}
97 98
 EOF
98 99
 
... ...
@@ -121,9 +122,9 @@ ln -sf %{name}-%{version}-%{release}.cfg /boot/photon.cfg
121 121
 
122 122
 %changelog
123 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).
124
+-   Fix for 05- patch (SVGA mem size)
125 125
 -   Compile out: pci hotplug, sched smt.
126
--   Compile in kernel: vmware balloon & vmci, efi fb.
126
+-   Compile in kernel: vmware balloon & vmci.
127 127
 -   Module for efi vars.
128 128
 *   Fri Sep 4 2015 Alexey Makhalov <amakhalov@vmware.com> 4.2.0-2
129 129
 -   Hardcoded poweroff (direct write to piix4), no ACPI is required.