make it compile
[linux-2.6.git] / kernel.spec
1 #
2 # $Id$
3 # $URL$
4 #
5 # We have to override the new %%install behavior because, well... the kernel is special.
6 %global __spec_install_pre %{___build_pre}
7
8 Summary: The Linux kernel
9
10 # For a stable, released kernel, released_kernel should be 1. For rawhide
11 # and/or a kernel built from an rc or git snapshot, released_kernel should
12 # be 0.
13 %global released_kernel 1
14
15 # Versions of various parts
16
17 # Polite request for people who spin their own kernel rpms:
18 # please modify the "buildid" define in a way that identifies
19 # that the kernel isn't the stock distribution kernel, for example,
20 # by setting the define to ".local" or ".bz123456"
21 #
22 ###-vs-
23 %define buildid .vs2.3.0.36.29.4
24
25 # fedora_build defines which build revision of this kernel version we're
26 # building. Rather than incrementing forever, as with the prior versioning
27 # setup, we set fedora_cvs_origin to the current cvs revision s/1.// of the
28 # kernel spec when the kernel is rebased, so fedora_build automatically
29 # works out to the offset from the rebase, so it doesn't get too ginormous.
30 #
31 # If you're building on a branch, the RCS revision will be something like
32 # 1.1205.1.1.  In this case we drop the initial 1, subtract fedora_cvs_origin
33 # from the second number, and then append the rest of the RCS string as is.
34 # Don't stare at the awk too long, you'll go blind.
35 %define fedora_cvs_origin   1786
36 %define fedora_cvs_revision() %2
37 %global fedora_build %(echo %{fedora_cvs_origin}.%{fedora_cvs_revision $Revision: 1.1948 $} | awk -F . '{ OFS = "."; ORS = ""; print $3 - $1 ; i = 4 ; OFS = ""; while (i <= NF) { print ".", $i ; i++} }')
38
39 # base_sublevel is the kernel version we're starting with and patching
40 # on top of -- for example, 2.6.22-rc7-git1 starts with a 2.6.21 base,
41 # which yields a base_sublevel of 21.
42 %define base_sublevel 32
43
44 ## If this is a released kernel ##
45 %if 0%{?released_kernel}
46
47 # Do we have a -stable update to apply?
48 %define stable_update 11
49 # Is it a -stable RC?
50 %define stable_rc 0
51 # Set rpm version accordingly
52 %if 0%{?stable_update}
53 %define stablerev .%{stable_update}
54 %define stable_base %{stable_update}
55 %if 0%{?stable_rc}
56 # stable RCs are incremental patches, so we need the previous stable patch
57 %define stable_base %(echo $((%{stable_update} - 1)))
58 %endif
59 %endif
60 %define rpmversion 2.6.%{base_sublevel}%{?stablerev}
61
62 ## The not-released-kernel case ##
63 %else
64 # The next upstream release sublevel (base_sublevel+1)
65 %define upstream_sublevel %(echo $((%{base_sublevel} + 1)))
66 # The rc snapshot level
67 %define rcrev 0
68 # The git snapshot level
69 %define gitrev 0
70 # Set rpm version accordingly
71 %define rpmversion 2.6.%{upstream_sublevel}
72 %endif
73 # Nb: The above rcrev and gitrev values automagically define Patch00 and Patch01 below.
74
75 # What parts do we want to build?  We must build at least one kernel.
76 # These are the kernels that are built IF the architecture allows it.
77 # All should default to 1 (enabled) and be flipped to 0 (disabled)
78 # by later arch-specific checks.
79
80 # The following build options are enabled by default.
81 # Use either --without <opt> in your rpmbuild command or force values
82 # to 0 in here to disable them.
83 #
84 # standard kernel
85 %define with_up        %{?_without_up:        0} %{?!_without_up:        1}
86 # kernel-smp (only valid for ppc 32-bit)
87 %define with_smp       %{?_without_smp:       0} %{?!_without_smp:       1}
88 # kernel-kdump
89 %define with_kdump     %{?_without_kdump:     0} %{?!_without_kdump:     1}
90 # kernel-debug
91 %define with_debug     %{?_with_debug:        1} %{?!_with_debug:        0}
92 # kernel-doc
93 %define with_doc       %{?_with_doc:          1} %{?!_with_doc:          0}
94 # kernel-headers
95 %define with_headers   %{?_without_headers:   0} %{?!_without_headers:   1}
96 # kernel-firmware
97 %define with_firmware  %{?_without_firmware:  0} %{?!_without_firmware:  1}
98 # tools/perf
99 %define with_perftool  %{?_without_perftool:  0} %{?!_without_perftool:  1}
100 # perf noarch subpkg
101 %define with_perf      %{?_without_perf:      0} %{?!_without_perf:      1}
102 # kernel-debuginfo
103 %define with_debuginfo %{?_without_debuginfo: 0} %{?!_without_debuginfo: 1}
104 # kernel-bootwrapper (for creating zImages from kernel + initrd)
105 %define with_bootwrapper %{?_without_bootwrapper: 0} %{?!_without_bootwrapper: 1}
106 # Want to build a the vsdo directories installed
107 %define with_vdso_install %{?_without_vdso_install: 0} %{?!_without_vdso_install: 1}
108 # Use dracut instead of mkinitrd for initrd image generation
109 %define with_dracut       %{?_without_dracut:       0} %{?!_without_dracut:       1}
110
111 # Build the kernel-doc package, but don't fail the build if it botches.
112 # Here "true" means "continue" and "false" means "fail the build".
113 %if 0%{?released_kernel}
114 %define doc_build_fail false
115 %else
116 %define doc_build_fail true
117 %endif
118
119 %define rawhide_skip_docs 0
120 %if 0%{?rawhide_skip_docs}
121 %define with_doc 0
122 %endif
123
124 # Additional options for user-friendly one-off kernel building:
125 #
126 # Only build the base kernel (--with baseonly):
127 %define with_baseonly  %{?_with_baseonly:     1} %{?!_with_baseonly:     0}
128 # Only build the smp kernel (--with smponly):
129 %define with_smponly   %{?_with_smponly:      1} %{?!_with_smponly:      0}
130 # Only build the debug kernel (--with dbgonly):
131 %define with_dbgonly   %{?_with_dbgonly:      1} %{?!_with_dbgonly:      0}
132
133 # should we do C=1 builds with sparse
134 %define with_sparse     %{?_with_sparse:      1} %{?!_with_sparse:      0}
135
136 # Set debugbuildsenabled to 1 for production (build separate debug kernels)
137 #  and 0 for rawhide (all kernels are debug kernels).
138 # See also 'make debug' and 'make release'.
139 %define debugbuildsenabled 1
140
141 # Want to build a vanilla kernel build without any non-upstream patches?
142 # (well, almost none, we need nonintconfig for build purposes). Default to 0 (off).
143 %define with_vanilla %{?_with_vanilla: 1} %{?!_with_vanilla: 0}
144
145 # pkg_release is what we'll fill in for the rpm Release: field
146 %if 0%{?released_kernel}
147
148 %if 0%{?stable_rc}
149 %define stable_rctag .rc%{stable_rc}
150 %endif
151 %define pkg_release %{fedora_build}%{?stable_rctag}%{?buildid}%{?dist}
152
153 %else
154
155 # non-released_kernel
156 %if 0%{?rcrev}
157 %define rctag .rc%rcrev
158 %else
159 %define rctag .rc0
160 %endif
161 %if 0%{?gitrev}
162 %define gittag .git%gitrev
163 %else
164 %define gittag .git0
165 %endif
166 %define pkg_release 0.%{fedora_build}%{?rctag}%{?gittag}%{?buildid}%{?dist}
167
168 %endif
169
170 # The kernel tarball/base version
171 %define kversion 2.6.%{base_sublevel}
172
173 %define make_target bzImage
174
175 %define KVERREL %{version}-%{release}.%{_target_cpu}
176 %define hdrarch %_target_cpu
177 %define asmarch %_target_cpu
178
179 %if 0%{!?nopatches:1}
180 %define nopatches 0
181 %endif
182
183 %if %{with_vanilla}
184 %define nopatches 1
185 %endif
186
187 %if %{nopatches}
188 %define with_bootwrapper 0
189 %define variant -vanilla
190 %else
191 %define variant_fedora -fedora
192 %endif
193
194 %define using_upstream_branch 0
195 %if 0%{?upstream_branch:1}
196 %define stable_update 0
197 %define using_upstream_branch 1
198 %define variant -%{upstream_branch}%{?variant_fedora}
199 %define pkg_release 0.%{fedora_build}%{upstream_branch_tag}%{?buildid}%{?dist}
200 %endif
201
202 %if !%{debugbuildsenabled}
203 %define with_debug 0
204 %endif
205
206 %if !%{with_debuginfo}
207 %define _enable_debug_packages 0
208 %endif
209 %define debuginfodir /usr/lib/debug
210
211 # kernel-PAE is only built on i686.
212 %ifarch i686
213 %define with_pae 1
214 %else
215 %define with_pae 0
216 %endif
217
218 # if requested, only build base kernel
219 %if %{with_baseonly}
220 %define with_smp 0
221 %define with_kdump 0
222 %define with_debug 0
223 %endif
224
225 # if requested, only build smp kernel
226 %if %{with_smponly}
227 %define with_up 0
228 %define with_kdump 0
229 %define with_debug 0
230 %endif
231
232 # if requested, only build debug kernel
233 %if %{with_dbgonly}
234 %if %{debugbuildsenabled}
235 %define with_up 0
236 %endif
237 %define with_smp 0
238 %define with_pae 0
239 %define with_xen 0
240 %define with_kdump 0
241 %define with_perftool 0
242 %endif
243
244 %define all_x86 i386 i686
245
246 %if %{with_vdso_install}
247 # These arches install vdso/ directories.
248 %define vdso_arches %{all_x86} x86_64 ppc ppc64
249 %endif
250
251 # Overrides for generic default options
252
253 # only ppc and alphav56 need separate smp kernels
254 %ifnarch ppc alphaev56
255 %define with_smp 0
256 %endif
257
258 # only build kernel-kdump on ppc64
259 # (no relocatable kernel support upstream yet)
260 #FIXME: Temporarily disabled to speed up builds.
261 #ifnarch ppc64
262 %define with_kdump 0
263 #endif
264
265 # don't do debug builds on anything but i686 and x86_64
266 %ifnarch i686 x86_64
267 %define with_debug 0
268 %endif
269
270 # only package docs noarch
271 %ifnarch noarch
272 %define with_doc 0
273 %define with_perf 0
274 %endif
275
276 # don't build noarch kernels or headers (duh)
277 %ifarch noarch
278 %define with_up 0
279 %define with_headers 0
280 %define all_arch_configs kernel-%{version}-*.config
281 %define with_firmware  %{?_without_firmware:  0} %{?!_without_firmware:  1}
282 %endif
283
284 # bootwrapper is only on ppc
285 %ifnarch ppc ppc64
286 %define with_bootwrapper 0
287 %endif
288
289 # sparse blows up on ppc64 alpha and sparc64
290 %ifarch ppc64 ppc alpha sparc64
291 %define with_sparse 0
292 %endif
293
294 # Per-arch tweaks
295
296 %ifarch %{all_x86}
297 %define asmarch x86
298 %define hdrarch i386
299 %define all_arch_configs kernel-%{version}-i?86*.config
300 %define image_install_path boot
301 %define kernel_image arch/x86/boot/bzImage
302 %endif
303
304 %ifarch x86_64
305 %define asmarch x86
306 %define all_arch_configs kernel-%{version}-x86_64*.config
307 %define image_install_path boot
308 %define kernel_image arch/x86/boot/bzImage
309 %endif
310
311 %ifarch ppc64
312 %define asmarch powerpc
313 %define hdrarch powerpc
314 %define all_arch_configs kernel-%{version}-ppc64*.config
315 %define image_install_path boot
316 %define make_target vmlinux
317 %define kernel_image vmlinux
318 %define kernel_image_elf 1
319 %endif
320
321 %ifarch s390x
322 %define asmarch s390
323 %define hdrarch s390
324 %define all_arch_configs kernel-%{version}-s390x.config
325 %define image_install_path boot
326 %define make_target image
327 %define kernel_image arch/s390/boot/image
328 %endif
329
330 %ifarch sparc
331 # We only build sparc headers since we dont support sparc32 hardware
332 %endif
333
334 %ifarch sparc64
335 %define asmarch sparc
336 %define all_arch_configs kernel-%{version}-sparc64*.config
337 %define make_target image
338 %define kernel_image arch/sparc/boot/image
339 %define image_install_path boot
340 %define with_perftool 0
341 %endif
342
343 %ifarch ppc
344 %define asmarch powerpc
345 %define hdrarch powerpc
346 %define all_arch_configs kernel-%{version}-ppc{-,.}*config
347 %define image_install_path boot
348 %define make_target vmlinux
349 %define kernel_image vmlinux
350 %define kernel_image_elf 1
351 %endif
352
353 %ifarch ia64
354 %define all_arch_configs kernel-%{version}-ia64*.config
355 %define image_install_path boot/efi/EFI/redhat
356 %define make_target compressed
357 %define kernel_image vmlinux.gz
358 %endif
359
360 %ifarch alpha alphaev56
361 %define all_arch_configs kernel-%{version}-alpha*.config
362 %define image_install_path boot
363 %define make_target vmlinux
364 %define kernel_image vmlinux
365 %endif
366
367 %ifarch %{arm}
368 %define all_arch_configs kernel-%{version}-arm*.config
369 %define image_install_path boot
370 %define hdrarch arm
371 %define make_target vmlinux
372 %define kernel_image vmlinux
373 %endif
374
375 %if %{nopatches}
376 # XXX temporary until last vdso patches are upstream
377 %define vdso_arches ppc ppc64
378 %endif
379
380 %if %{nopatches}%{using_upstream_branch}
381 # Ignore unknown options in our config-* files.
382 # Some options go with patches we're not applying.
383 %define oldconfig_target loose_nonint_oldconfig
384 %else
385 %define oldconfig_target nonint_oldconfig
386 %endif
387
388 # To temporarily exclude an architecture from being built, add it to
389 # %nobuildarches. Do _NOT_ use the ExclusiveArch: line, because if we
390 # don't build kernel-headers then the new build system will no longer let
391 # us use the previous build of that package -- it'll just be completely AWOL.
392 # Which is a BadThing(tm).
393
394 # We don't build a kernel on i386; we only do kernel-headers there,
395 # and we no longer build for 31bit S390. Same for 32bit sparc and arm.
396 %define nobuildarches i386 s390 sparc %{arm}
397
398 %ifarch %nobuildarches
399 %define with_up 0
400 %define with_smp 0
401 %define with_pae 0
402 %define with_kdump 0
403 %define with_debuginfo 0
404 %define with_perftool 0
405 %define _enable_debug_packages 0
406 %endif
407
408 %define with_pae_debug 0
409 %if %{with_pae}
410 %define with_pae_debug %{with_debug}
411 %endif
412
413 #
414 # Three sets of minimum package version requirements in the form of Conflicts:
415 # to versions below the minimum
416 #
417
418 #
419 # First the general kernel 2.6 required versions as per
420 # Documentation/Changes
421 #
422 %define kernel_dot_org_conflicts  ppp < 2.4.3-3, isdn4k-utils < 3.2-32, nfs-utils < 1.0.7-12, e2fsprogs < 1.37-4, util-linux < 2.12, jfsutils < 1.1.7-2, reiserfs-utils < 3.6.19-2, xfsprogs < 2.6.13-4, procps < 3.2.5-6.3, oprofile < 0.9.1-2
423
424 #
425 # Then a series of requirements that are distribution specific, either
426 # because we add patches for something, or the older versions have
427 # problems with the newer kernel or lack certain things that make
428 # integration in the distro harder than needed.
429 #
430 %define package_conflicts initscripts < 7.23, udev < 063-6, iptables < 1.3.2-1, ipw2200-firmware < 2.4, iwl4965-firmware < 228.57.2, selinux-policy-targeted < 1.25.3-14, squashfs-tools < 4.0, wireless-tools < 29-3
431
432 #
433 # The ld.so.conf.d file we install uses syntax older ldconfig's don't grok.
434 #
435 %define kernel_xen_conflicts glibc < 2.3.5-1, xen < 3.0.1
436
437 %define kernel_PAE_obsoletes kernel-smp < 2.6.17, kernel-xen <= 2.6.27-0.2.rc0.git6.fc10
438 %define kernel_PAE_provides kernel-xen = %{rpmversion}-%{pkg_release}
439
440 %ifarch x86_64
441 %define kernel_obsoletes kernel-xen <= 2.6.27-0.2.rc0.git6.fc10
442 %define kernel_provides kernel-xen = %{rpmversion}-%{pkg_release}
443 %endif
444
445 # We moved the drm include files into kernel-headers, make sure there's
446 # a recent enough libdrm-devel on the system that doesn't have those.
447 %define kernel_headers_conflicts libdrm-devel < 2.4.0-0.15
448
449 #
450 # Packages that need to be installed before the kernel is, because the %post
451 # scripts use them.
452 #
453 %define kernel_prereq  fileutils, module-init-tools, initscripts >= 8.11.1-1, kernel-firmware >= %{rpmversion}-%{pkg_release}, grubby >= 7.0.4-1
454 %if %{with_dracut}
455 %define initrd_prereq  dracut >= 001-7
456 %else
457 %define initrd_prereq  mkinitrd >= 6.0.61-1
458 %endif
459
460 #
461 # This macro does requires, provides, conflicts, obsoletes for a kernel package.
462 #       %%kernel_reqprovconf <subpackage>
463 # It uses any kernel_<subpackage>_conflicts and kernel_<subpackage>_obsoletes
464 # macros defined above.
465 #
466 %define kernel_reqprovconf \
467 Provides: kernel = %{rpmversion}-%{pkg_release}\
468 Provides: kernel-%{_target_cpu} = %{rpmversion}-%{pkg_release}%{?1:.%{1}}\
469 Provides: kernel-drm = 4.3.0\
470 Provides: kernel-drm-nouveau = 15\
471 Provides: kernel-modeset = 1\
472 Provides: kernel-uname-r = %{KVERREL}%{?1:.%{1}}\
473 Requires(pre): %{kernel_prereq}\
474 Requires(pre): %{initrd_prereq}\
475 Requires(post): /sbin/new-kernel-pkg\
476 Requires(preun): /sbin/new-kernel-pkg\
477 Conflicts: %{kernel_dot_org_conflicts}\
478 Conflicts: %{package_conflicts}\
479 %{expand:%%{?kernel%{?1:_%{1}}_conflicts:Conflicts: %%{kernel%{?1:_%{1}}_conflicts}}}\
480 %{expand:%%{?kernel%{?1:_%{1}}_obsoletes:Obsoletes: %%{kernel%{?1:_%{1}}_obsoletes}}}\
481 %{expand:%%{?kernel%{?1:_%{1}}_provides:Provides: %%{kernel%{?1:_%{1}}_provides}}}\
482 # We can't let RPM do the dependencies automatic because it'll then pick up\
483 # a correct but undesirable perl dependency from the module headers which\
484 # isn't required for the kernel proper to function\
485 AutoReq: no\
486 AutoProv: yes\
487 %{nil}
488
489 Name: kernel%{?variant}
490 Group: System Environment/Kernel
491 License: GPLv2
492 URL: http://www.kernel.org/
493 Version: %{rpmversion}
494 Release: %{pkg_release}
495 # DO NOT CHANGE THE 'ExclusiveArch' LINE TO TEMPORARILY EXCLUDE AN ARCHITECTURE BUILD.
496 # SET %%nobuildarches (ABOVE) INSTEAD
497 ExclusiveArch: noarch %{all_x86} x86_64 ppc ppc64 ia64 sparc sparc64 s390x alpha alphaev56 %{arm}
498 ExclusiveOS: Linux
499
500 %kernel_reqprovconf
501 %ifarch x86_64 sparc64
502 Obsoletes: kernel-smp
503 %endif
504
505
506 #
507 # List the packages used during the kernel build
508 #
509 BuildRequires: module-init-tools, patch >= 2.5.4, bash >= 2.03, sh-utils, tar
510 BuildRequires: bzip2, findutils, gzip, m4, perl, make >= 3.78, diffutils, gawk
511 BuildRequires: gcc >= 3.4.2, binutils >= 2.12, redhat-rpm-config
512 BuildRequires: net-tools
513 BuildRequires: xmlto, asciidoc
514 %if %{with_sparse}
515 BuildRequires: sparse >= 0.4.1
516 %endif
517 %if %{with_perftool}
518 BuildRequires: elfutils-libelf-devel zlib-devel binutils-devel
519 %endif
520 BuildConflicts: rhbuildsys(DiskFree) < 500Mb
521
522 %define fancy_debuginfo 0
523 %if %{with_debuginfo}
524 %if 0%{?fedora} >= 8 || 0%{?rhel} >= 6
525 %define fancy_debuginfo 1
526 %endif
527 %endif
528
529 %if %{fancy_debuginfo}
530 # Fancy new debuginfo generation introduced in Fedora 8.
531 BuildRequires: rpm-build >= 4.4.2.1-4
532 %define debuginfo_args --strict-build-id
533 %endif
534
535 Source0: ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-%{kversion}.tar.bz2
536
537 Source11: genkey
538 Source14: find-provides
539 Source15: merge.pl
540
541 Source20: Makefile.config
542 Source21: config-debug
543 Source22: config-nodebug
544 Source23: config-generic
545 Source24: config-rhel-generic
546
547 Source30: config-x86-generic
548 Source31: config-i686-PAE
549
550 Source40: config-x86_64-generic
551
552 Source50: config-powerpc-generic
553 Source51: config-powerpc32-generic
554 Source52: config-powerpc32-smp
555 Source53: config-powerpc64
556
557 Source60: config-ia64-generic
558
559 Source70: config-s390x
560
561 Source90: config-sparc64-generic
562
563 Source100: config-arm
564
565 Source110: config-vserver
566
567 Source200: perf
568
569 # Here should be only the patches up to the upstream canonical Linus tree.
570
571 # For a stable release kernel
572 %if 0%{?stable_update}
573 %if 0%{?stable_base}
574 %define    stable_patch_00  patch-2.6.%{base_sublevel}.%{stable_base}.bz2
575 Patch00: %{stable_patch_00}
576 %endif
577 %if 0%{?stable_rc}
578 %define    stable_patch_01  patch-2.6.%{base_sublevel}.%{stable_update}-rc%{stable_rc}.bz2
579 Patch01: %{stable_patch_01}
580 %endif
581
582 # non-released_kernel case
583 # These are automagically defined by the rcrev and gitrev values set up
584 # near the top of this spec file.
585 %else
586 %if 0%{?rcrev}
587 Patch00: patch-2.6.%{upstream_sublevel}-rc%{rcrev}.bz2
588 %if 0%{?gitrev}
589 Patch01: patch-2.6.%{upstream_sublevel}-rc%{rcrev}-git%{gitrev}.bz2
590 %endif
591 %else
592 # pre-{base_sublevel+1}-rc1 case
593 %if 0%{?gitrev}
594 Patch00: patch-2.6.%{base_sublevel}-git%{gitrev}.bz2
595 %endif
596 %endif
597 %endif
598
599 %if %{using_upstream_branch}
600 ### BRANCH PATCH ###
601 %endif
602
603 Patch02: git-linus.diff
604
605 # we always need nonintconfig, even for -vanilla kernels
606 Patch03: linux-2.6-build-nonintconfig.patch
607
608 # we also need compile fixes for -vanilla
609 Patch04: linux-2.6-compile-fixes.patch
610
611 # build tweak for build ID magic, even for -vanilla
612 Patch05: linux-2.6-makefile-after_link.patch
613
614 ###-vs- http://vserver.13thfloor.at/Experimental/patch-2.6.32.11-vs2.3.0.36.29.4.diff
615 Patch06: patch-2.6.32.11-vs2.3.0.36.29.4.diff
616
617 %if !%{nopatches}
618
619 # revert upstream patches we get via other methods
620 Patch09: linux-2.6-upstream-reverts.patch
621 # Git trees.
622 Patch10: git-cpufreq.patch
623 Patch11: git-bluetooth.patch
624
625 # Standalone patches
626 Patch20: linux-2.6-hotfixes.patch
627
628 Patch21: linux-2.6-tracehook.patch
629 Patch22: linux-2.6-utrace.patch
630
631 # baris - DISABLED PATCHES
632 # Patch30: sched-introduce-SCHED_RESET_ON_FORK-scheduling-policy-flag.patch
633 # Patch31: disable-stackprotector-all.patch
634 # # Intel IOMMU fixes/workarounds
635 # Patch100: linux-2.6-die-closed-source-bios-muppets-die.patch
636 # Patch101: linux-2.6-intel-iommu-updates.patch
637 # Patch102: linux-2.6-iommu-at-zero.patch
638 # Patch103: linux-2.6-iommu-dmar-all-1s.patch
639 # Patch104: linux-2.6-iommu-another-hp-screwup.patch
640 # Patch105: linux-2.6-iommu-sanity-checks-for-intr-remap-too.patch
641 # Patch106: linux-2.6-iommu-hp-cantiga-resume.patch
642 Patch23: linux-2.6-utrace-ptrace.patch
643
644 Patch141: linux-2.6-ps3-storage-alias.patch
645 Patch143: linux-2.6-g5-therm-shutdown.patch
646 Patch144: linux-2.6-vio-modalias.patch
647 Patch147: linux-2.6-imac-transparent-bridge.patch
648
649 Patch150: linux-2.6.29-sparc-IOC_TYPECHECK.patch
650
651 Patch160: linux-2.6-execshield.patch
652
653 Patch250: linux-2.6-debug-sizeof-structs.patch
654 Patch260: linux-2.6-debug-nmi-timeout.patch
655 Patch270: linux-2.6-debug-taint-vm.patch
656 #Patch280: linux-2.6-debug-spinlock-taint.patch
657 Patch300: linux-2.6-driver-level-usb-autosuspend.diff
658 Patch303: linux-2.6-enable-btusb-autosuspend.patch
659 Patch304: linux-2.6-usb-uvc-autosuspend.diff
660 Patch305: linux-2.6-usb-wwan-update.patch
661
662 Patch310: linux-2.6-autoload-wmi.patch
663 # wmi autoload fixes
664 Patch311: wmi-check-find_guid-return-value-to-prevent-oops.patch
665 Patch312: wmi-survive-bios-with-duplicate-guids.patch
666
667 Patch340: linux-2.6-debug-vm-would-have-oomkilled.patch
668 Patch360: linux-2.6-debug-always-inline-kzalloc.patch
669 Patch380: linux-2.6-defaults-pci_no_msi.patch
670 Patch381: linux-2.6-pciehp-update.patch
671 Patch382: linux-2.6-defaults-pciehp.patch
672 Patch383: linux-2.6-defaults-aspm.patch
673 Patch390: linux-2.6-defaults-acpi-video.patch
674 Patch391: linux-2.6-acpi-video-dos.patch
675 Patch450: linux-2.6-input-kill-stupid-messages.patch
676 Patch451: linux-2.6-input-fix-toshiba-hotkeys.patch
677 Patch452: linux-2.6.30-no-pcspkr-modalias.patch
678 Patch454: linux-2.6-input-hid-quirk-egalax.patch
679
680 Patch460: linux-2.6-serial-460800.patch
681
682 Patch470: die-floppy-die.patch
683
684 Patch510: linux-2.6-silence-noise.patch
685 Patch520: linux-2.6.30-hush-rom-warning.patch
686 Patch530: linux-2.6-silence-fbcon-logo.patch
687 Patch531: viafb-neuter-device-table.patch
688 Patch570: linux-2.6-selinux-mprotect-checks.patch
689 Patch580: linux-2.6-sparc-selinux-mprotect-checks.patch
690
691 Patch600: linux-2.6-defaults-alsa-hda-beep-off.patch
692 Patch610: hda_intel-prealloc-4mb-dmabuffer.patch
693
694 Patch670: linux-2.6-ata-quirk.patch
695
696 Patch680: linux-2.6-wireless_-report-reasonable-bitrate-for-MCS-rates-through-wext.patch
697
698 Patch700: linux-2.6.31-nx-data.patch
699 Patch701: linux-2.6.31-modules-ro-nx.patch
700
701 Patch800: linux-2.6-crash-driver.patch
702
703 Patch900: linux-2.6-pci-cacheline-sizing.patch
704
705 Patch1515: lirc-2.6.32.patch
706 Patch1517: hdpvr-ir-enable.patch
707 Patch1520: crystalhd-2.6.34-staging.patch
708
709 # virt + ksm patches
710 Patch1551: linux-2.6-ksm-kvm.patch
711
712 # fbdev multi-card fix
713 Patch1700: linux-2.6-x86-64-fbdev-primary.patch
714
715 # nouveau + drm fixes
716 Patch1810: drm-upgrayedd.patch
717 Patch1811: drm-upgrayed-fixes.patch
718 Patch1813: drm-radeon-pm.patch
719 #Patch1814: drm-nouveau.patch
720 Patch1818: drm-i915-resume-force-mode.patch
721 Patch1819: drm-intel-big-hammer.patch
722 Patch1820: drm-intel-no-tv-hotplug.patch
723 #Patch1821: drm-page-flip.patch
724 # intel drm is all merged upstream
725 Patch1824: drm-intel-next.patch
726
727 Patch1825: drm-intel-acpi-populate-didl.patch
728 Patch1826: drm-intel-make-lvds-work.patch
729 #Patch1827: linux-2.6-intel-agp-clear-gtt.patch
730 Patch1828: drm-nouveau-g80-ctxprog.patch
731 Patch1831: drm-nouveau-tvout-disable.patch
732 Patch1832: drm-nouveau-safetile-getparam.patch
733 Patch1844: drm-nouveau-kconfig.patch
734 Patch1845: drm-nouveau-mutex.patch
735 Patch1846: drm-nouveau-update.patch
736 Patch1847: drm-nouveau-d620.patch
737
738 # kludge to make ich9 e1000 work
739 Patch2000: linux-2.6-e1000-ich9.patch
740
741 # linux1394 git patches
742 Patch2200: linux-2.6-firewire-git-update.patch
743 Patch2201: linux-2.6-firewire-git-pending.patch
744
745 # Quiet boot fixes
746 # silence the ACPI blacklist code
747 Patch2802: linux-2.6-silence-acpi-blacklist.patch
748
749 Patch2899: linux-2.6-v4l-dvb-fixes.patch
750 Patch2900: linux-2.6-v4l-dvb-update.patch
751 Patch2901: linux-2.6-v4l-dvb-experimental.patch
752 Patch2903: linux-2.6-revert-dvb-net-kabi-change.patch
753 Patch2904: linux-2.6-v4l-dvb-rebase-gspca-to-latest.patch
754
755 # fs fixes
756
757 # ext4/quota
758
759 # NFSv4
760 Patch3050: linux-2.6-nfsd4-proots.patch
761 Patch3051: linux-2.6-nfs4-callback-hidden.patch
762
763 # btrfs
764 Patch3100: linux-2.6-btrfs-fix-acl.patch
765
766 # XFS
767 Patch3110: xfs_swap_extents-needs-to-handle-dynamic-fork-offsets.patch
768
769 # VIA Nano / VX8xx updates
770 Patch11010: via-hwmon-temp-sensor.patch
771
772 # patches headed upstream
773 Patch12010: linux-2.6-dell-laptop-rfkill-fix.patch
774 Patch12011: linux-2.6-block-silently-error-unsupported-empty-barriers-too.patch
775 Patch12013: linux-2.6-rfkill-all.patch
776 Patch12020: linux-2.6-cantiga-iommu-gfx.patch
777
778 Patch12200: add-appleir-usb-driver.patch
779
780 # Patches for -stable
781
782 Patch12311: fix-ima-null-ptr-deref.patch
783
784 Patch12315: fix-abrtd.patch
785 Patch12319: vgaarb-fix-userspace-ptr-deref.patch
786
787 # cve-2009-4537 [not upstream]
788 Patch12320: linux-2.6-net-r8169-improved-rx-length-check-errors.patch
789
790 # rhbz#/566565
791 Patch12340: ice1712-fix-revo71-mixer-names.patch
792
793 # rhbz#567530
794 Patch12350: tcp-fix-icmp-rto-war.patch
795
796 # rhbz#572653
797 Patch12370: linux-2.6-b43_-Rewrite-DMA-Tx-status-handling-sanity-checks.patch
798
799 # rhbz#533746
800 Patch12380: ssb_check_for_sprom.patch
801
802 # fix regression caused by dropping these (#571638)
803
804 # fix tg3 + netpoll with backport of  fe234f0e5cbb880792d2d1ac0743cf8c07e9dde3
805
806 # backport iwlwifi fixes (thanks, sgruszka!) -- drop when stable catches-up
807 Patch14600: iwlwifi-fix-nfreed--.patch
808 Patch14601: iwlwifi-reset-card-during-probe.patch
809
810 # ==============================================================================
811 %endif
812
813 BuildRoot: %{_tmppath}/kernel-%{KVERREL}-root
814
815 %description
816 The kernel package contains the Linux kernel (vmlinuz), the core of any
817 Linux operating system.  The kernel handles the basic functions
818 of the operating system: memory allocation, process allocation, device
819 input and output, etc.
820
821
822 %package doc
823 Summary: Various documentation bits found in the kernel source
824 Group: Documentation
825 %description doc
826 This package contains documentation files from the kernel
827 source. Various bits of information about the Linux kernel and the
828 device drivers shipped with it are documented in these files.
829
830 You'll want to install this package if you need a reference to the
831 options that can be passed to Linux kernel modules at load time.
832
833
834 %package headers
835 Summary: Header files for the Linux kernel for use by glibc
836 Group: Development/System
837 Obsoletes: glibc-kernheaders
838 Provides: glibc-kernheaders = 3.0-46
839 %description headers
840 Kernel-headers includes the C header files that specify the interface
841 between the Linux kernel and userspace libraries and programs.  The
842 header files define structures and constants that are needed for
843 building most standard programs and are also needed for rebuilding the
844 glibc package.
845
846 %package firmware
847 Summary: Firmware files used by the Linux kernel
848 Group: Development/System
849 # This is... complicated.
850 # Look at the WHENCE file.
851 License: GPL+ and GPLv2+ and MIT and Redistributable, no modification permitted
852 %if "x%{?variant}" != "x"
853 Provides: kernel-firmware = %{rpmversion}-%{pkg_release}
854 %endif
855 %description firmware
856 Kernel-firmware includes firmware files required for some devices to
857 operate.
858
859 %package bootwrapper
860 Summary: Boot wrapper files for generating combined kernel + initrd images
861 Group: Development/System
862 Requires: gzip
863 %description bootwrapper
864 Kernel-bootwrapper contains the wrapper code which makes bootable "zImage"
865 files combining both kernel and initial ramdisk.
866
867 %package debuginfo-common-%{_target_cpu}
868 Summary: Kernel source files used by %{name}-debuginfo packages
869 Group: Development/Debug
870 %description debuginfo-common-%{_target_cpu}
871 This package is required by %{name}-debuginfo subpackages.
872 It provides the kernel source files common to all builds.
873
874 %package -n perf
875 Summary: Performance monitoring for the Linux kernel
876 Group: Development/System
877 License: GPLv2
878 Requires: libdwarf
879 %description -n perf
880 This package provides the perf shell script, supporting documentation and
881 required libraries for the perf tool shipped in each kernel image subpackage.
882
883 #
884 # This macro creates a kernel-<subpackage>-debuginfo package.
885 #       %%kernel_debuginfo_package <subpackage>
886 #
887 %define kernel_debuginfo_package() \
888 %package %{?1:%{1}-}debuginfo\
889 Summary: Debug information for package %{name}%{?1:-%{1}}\
890 Group: Development/Debug\
891 Requires: %{name}-debuginfo-common-%{_target_cpu} = %{version}-%{release}\
892 Provides: %{name}%{?1:-%{1}}-debuginfo-%{_target_cpu} = %{version}-%{release}\
893 AutoReqProv: no\
894 %description -n %{name}%{?1:-%{1}}-debuginfo\
895 This package provides debug information for package %{name}%{?1:-%{1}}.\
896 This is required to use SystemTap with %{name}%{?1:-%{1}}-%{KVERREL}.\
897 %{expand:%%global debuginfo_args %{?debuginfo_args} -p '/.*/%%{KVERREL}%{?1:\.%{1}}/.*|/.*%%{KVERREL}%{?1:\.%{1}}(\.debug)?' -o debuginfo%{?1}.list}\
898 %{nil}
899
900 #
901 # This macro creates a kernel-<subpackage>-devel package.
902 #       %%kernel_devel_package <subpackage> <pretty-name>
903 #
904 %define kernel_devel_package() \
905 %package %{?1:%{1}-}devel\
906 Summary: Development package for building kernel modules to match the %{?2:%{2} }kernel\
907 Group: System Environment/Kernel\
908 Provides: kernel%{?1:-%{1}}-devel-%{_target_cpu} = %{version}-%{release}\
909 Provides: kernel-devel-%{_target_cpu} = %{version}-%{release}%{?1:.%{1}}\
910 Provides: kernel-devel = %{version}-%{release}%{?1:.%{1}}\
911 Provides: kernel-devel-uname-r = %{KVERREL}%{?1:.%{1}}\
912 AutoReqProv: no\
913 Requires(pre): /usr/bin/find\
914 %description -n kernel%{?variant}%{?1:-%{1}}-devel\
915 This package provides kernel headers and makefiles sufficient to build modules\
916 against the %{?2:%{2} }kernel package.\
917 %{nil}
918
919 #
920 # This macro creates a kernel-<subpackage> and its -devel and -debuginfo too.
921 #       %%define variant_summary The Linux kernel compiled for <configuration>
922 #       %%kernel_variant_package [-n <pretty-name>] <subpackage>
923 #
924 %define kernel_variant_package(n:) \
925 %package %1\
926 Summary: %{variant_summary}\
927 Group: System Environment/Kernel\
928 %kernel_reqprovconf\
929 %{expand:%%kernel_devel_package %1 %{!?-n:%1}%{?-n:%{-n*}}}\
930 %{expand:%%kernel_debuginfo_package %1}\
931 %{nil}
932
933
934 # First the auxiliary packages of the main kernel package.
935 %kernel_devel_package
936 %kernel_debuginfo_package
937
938
939 # Now, each variant package.
940
941 %define variant_summary The Linux kernel compiled for SMP machines
942 %kernel_variant_package -n SMP smp
943 %description smp
944 This package includes a SMP version of the Linux kernel. It is
945 required only on machines with two or more CPUs as well as machines with
946 hyperthreading technology.
947
948 Install the kernel-smp package if your machine uses two or more CPUs.
949
950
951 %define variant_summary The Linux kernel compiled for PAE capable machines
952 %kernel_variant_package PAE
953 %description PAE
954 This package includes a version of the Linux kernel with support for up to
955 64GB of high memory. It requires a CPU with Physical Address Extensions (PAE).
956 The non-PAE kernel can only address up to 4GB of memory.
957 Install the kernel-PAE package if your machine has more than 4GB of memory.
958
959
960 %define variant_summary The Linux kernel compiled with extra debugging enabled for PAE capable machines
961 %kernel_variant_package PAEdebug
962 Obsoletes: kernel-PAE-debug
963 %description PAEdebug
964 This package includes a version of the Linux kernel with support for up to
965 64GB of high memory. It requires a CPU with Physical Address Extensions (PAE).
966 The non-PAE kernel can only address up to 4GB of memory.
967 Install the kernel-PAE package if your machine has more than 4GB of memory.
968
969 This variant of the kernel has numerous debugging options enabled.
970 It should only be installed when trying to gather additional information
971 on kernel bugs, as some of these options impact performance noticably.
972
973
974 %define variant_summary The Linux kernel compiled with extra debugging enabled
975 %kernel_variant_package debug
976 %description debug
977 The kernel package contains the Linux kernel (vmlinuz), the core of any
978 Linux operating system.  The kernel handles the basic functions
979 of the operating system:  memory allocation, process allocation, device
980 input and output, etc.
981
982 This variant of the kernel has numerous debugging options enabled.
983 It should only be installed when trying to gather additional information
984 on kernel bugs, as some of these options impact performance noticably.
985
986
987 %define variant_summary A minimal Linux kernel compiled for crash dumps
988 %kernel_variant_package kdump
989 %description kdump
990 This package includes a kdump version of the Linux kernel. It is
991 required only on machines which will use the kexec-based kernel crash dump
992 mechanism.
993
994
995 %prep
996 # do a few sanity-checks for --with *only builds
997 %if %{with_baseonly}
998 %if !%{with_up}%{with_pae}
999 echo "Cannot build --with baseonly, up build is disabled"
1000 exit 1
1001 %endif
1002 %endif
1003
1004 %if %{with_smponly}
1005 %if !%{with_smp}
1006 echo "Cannot build --with smponly, smp build is disabled"
1007 exit 1
1008 %endif
1009 %endif
1010
1011 # more sanity checking; do it quietly
1012 if [ "%{patches}" != "%%{patches}" ] ; then
1013   for patch in %{patches} ; do
1014     if [ ! -f $patch ] ; then
1015       echo "ERROR: Patch  ${patch##/*/}  listed in specfile but is missing"
1016       exit 1
1017     fi
1018   done
1019 fi 2>/dev/null
1020
1021 patch_command='patch -p1 -F1 -s'
1022 ApplyPatch()
1023 {
1024   local patch=$1
1025   shift
1026   if [ ! -f $RPM_SOURCE_DIR/$patch ]; then
1027     exit 1
1028   fi
1029 %if !%{using_upstream_branch}
1030   if ! egrep "^Patch[0-9]+: $patch\$" %{_specdir}/${RPM_PACKAGE_NAME%%%%%{?variant}}.spec ; then
1031     if [ "${patch:0:10}" != "patch-2.6." ] ; then
1032       echo "ERROR: Patch  $patch  not listed as a source patch in specfile"
1033       exit 1
1034     fi
1035   fi 2>/dev/null
1036 %endif
1037   case "$patch" in
1038   *.bz2) bunzip2 < "$RPM_SOURCE_DIR/$patch" | $patch_command ${1+"$@"} ;;
1039   *.gz) gunzip < "$RPM_SOURCE_DIR/$patch" | $patch_command ${1+"$@"} ;;
1040   *) $patch_command ${1+"$@"} < "$RPM_SOURCE_DIR/$patch" ;;
1041   esac
1042 }
1043
1044 # don't apply patch if it's empty
1045 ApplyOptionalPatch()
1046 {
1047   local patch=$1
1048   shift
1049   if [ ! -f $RPM_SOURCE_DIR/$patch ]; then
1050     exit 1
1051   fi
1052   local C=$(wc -l $RPM_SOURCE_DIR/$patch | awk '{print $1}')
1053   if [ "$C" -gt 9 ]; then
1054     ApplyPatch $patch ${1+"$@"}
1055   fi
1056 }
1057
1058 # we don't want a .config file when building firmware: it just confuses the build system
1059 %define build_firmware \
1060    mv .config .config.firmware_save \
1061    make INSTALL_FW_PATH=$RPM_BUILD_ROOT/lib/firmware firmware_install \
1062    mv .config.firmware_save .config
1063
1064 # First we unpack the kernel tarball.
1065 # If this isn't the first make prep, we use links to the existing clean tarball
1066 # which speeds things up quite a bit.
1067
1068 # Update to latest upstream.
1069 %if 0%{?released_kernel}
1070 %define vanillaversion 2.6.%{base_sublevel}
1071 # non-released_kernel case
1072 %else
1073 %if 0%{?rcrev}
1074 %define vanillaversion 2.6.%{upstream_sublevel}-rc%{rcrev}
1075 %if 0%{?gitrev}
1076 %define vanillaversion 2.6.%{upstream_sublevel}-rc%{rcrev}-git%{gitrev}
1077 %endif
1078 %else
1079 # pre-{base_sublevel+1}-rc1 case
1080 %if 0%{?gitrev}
1081 %define vanillaversion 2.6.%{base_sublevel}-git%{gitrev}
1082 %else
1083 %define vanillaversion 2.6.%{base_sublevel}
1084 %endif
1085 %endif
1086 %endif
1087
1088 # We can share hardlinked source trees by putting a list of
1089 # directory names of the CVS checkouts that we want to share
1090 # with in .shared-srctree. (Full pathnames are required.)
1091 [ -f .shared-srctree ] && sharedirs=$(cat .shared-srctree)
1092
1093 if [ ! -d kernel-%{kversion}/vanilla-%{vanillaversion} ]; then
1094
1095   if [ -d kernel-%{kversion}/vanilla-%{kversion} ]; then
1096
1097     cd kernel-%{kversion}
1098
1099     # Any vanilla-* directories other than the base one are stale.
1100     for dir in vanilla-*; do
1101       [ "$dir" = vanilla-%{kversion} ] || rm -rf $dir &
1102     done
1103
1104   else
1105
1106     # Ok, first time we do a make prep.
1107     rm -f pax_global_header
1108     for sharedir in $sharedirs ; do
1109       if [[ ! -z $sharedir  &&  -d $sharedir/kernel-%{kversion}/vanilla-%{kversion} ]] ; then
1110         break
1111       fi
1112     done
1113     if [[ ! -z $sharedir  &&  -d $sharedir/kernel-%{kversion}/vanilla-%{kversion} ]] ; then
1114 %setup -q -n kernel-%{kversion} -c -T
1115       cp -rl $sharedir/kernel-%{kversion}/vanilla-%{kversion} .
1116     else
1117 %setup -q -n kernel-%{kversion} -c
1118       mv linux-%{kversion} vanilla-%{kversion}
1119     fi
1120
1121   fi
1122
1123 %if "%{kversion}" != "%{vanillaversion}"
1124
1125   for sharedir in $sharedirs ; do
1126     if [[ ! -z $sharedir  &&  -d $sharedir/kernel-%{kversion}/vanilla-%{vanillaversion} ]] ; then
1127       break
1128     fi
1129   done
1130   if [[ ! -z $sharedir  &&  -d $sharedir/kernel-%{kversion}/vanilla-%{vanillaversion} ]] ; then
1131
1132     cp -rl $sharedir/kernel-%{kversion}/vanilla-%{vanillaversion} .
1133
1134   else
1135
1136     cp -rl vanilla-%{kversion} vanilla-%{vanillaversion}
1137     cd vanilla-%{vanillaversion}
1138
1139 # Update vanilla to the latest upstream.
1140 # (non-released_kernel case only)
1141 %if 0%{?rcrev}
1142     ApplyPatch patch-2.6.%{upstream_sublevel}-rc%{rcrev}.bz2
1143 %if 0%{?gitrev}
1144     ApplyPatch patch-2.6.%{upstream_sublevel}-rc%{rcrev}-git%{gitrev}.bz2
1145 %endif
1146 %else
1147 # pre-{base_sublevel+1}-rc1 case
1148 %if 0%{?gitrev}
1149     ApplyPatch patch-2.6.%{base_sublevel}-git%{gitrev}.bz2
1150 %endif
1151 %endif
1152
1153     cd ..
1154
1155   fi
1156
1157 %endif
1158
1159 else
1160   # We already have a vanilla dir.
1161   cd kernel-%{kversion}
1162 fi
1163
1164 if [ -d linux-%{kversion}.%{_target_cpu} ]; then
1165   # Just in case we ctrl-c'd a prep already
1166   rm -rf deleteme.%{_target_cpu}
1167   # Move away the stale away, and delete in background.
1168   mv linux-%{kversion}.%{_target_cpu} deleteme.%{_target_cpu}
1169   rm -rf deleteme.%{_target_cpu} &
1170 fi
1171
1172 cp -rl vanilla-%{vanillaversion} linux-%{kversion}.%{_target_cpu}
1173
1174 cd linux-%{kversion}.%{_target_cpu}
1175
1176 # released_kernel with possible stable updates
1177 %if 0%{?stable_base}
1178 ApplyPatch %{stable_patch_00}
1179 %endif
1180 %if 0%{?stable_rc}
1181 ApplyPatch %{stable_patch_01}
1182 %endif
1183
1184 %if %{using_upstream_branch}
1185 ### BRANCH APPLY ###
1186 %endif
1187
1188 # Drop some necessary files from the source dir into the buildroot
1189 cp $RPM_SOURCE_DIR/config-* .
1190 cp %{SOURCE15} .
1191
1192 # Dynamically generate kernel .config files from config-* files
1193 make -f %{SOURCE20} VERSION=%{version} configs
1194
1195 #if a rhel kernel, apply the rhel config options
1196 %if 0%{?rhel}
1197   for i in %{all_arch_configs}
1198   do
1199     mv $i $i.tmp
1200     ./merge.pl config-rhel-generic $i.tmp > $i
1201     rm $i.tmp
1202   done
1203 %endif
1204
1205 #ApplyOptionalPatch git-linus.diff
1206
1207 # This patch adds a "make nonint_oldconfig" which is non-interactive and
1208 # also gives a list of missing options at the end. Useful for automated
1209 # builds (as used in the buildsystem).
1210 ApplyPatch linux-2.6-build-nonintconfig.patch
1211
1212 ApplyPatch linux-2.6-makefile-after_link.patch
1213
1214 ###-vs-
1215 ApplyPatch patch-2.6.32.11-vs2.3.0.36.29.4.diff
1216
1217 #
1218 # misc small stuff to make things compile
1219 #
1220 ApplyOptionalPatch linux-2.6-compile-fixes.patch
1221
1222 %if !%{nopatches}
1223
1224 # revert patches from upstream that conflict or that we get via other means
1225 ApplyOptionalPatch linux-2.6-upstream-reverts.patch -R
1226
1227 #ApplyOptionalPatch git-cpufreq.patch
1228 #ApplyOptionalPatch git-bluetooth.patch
1229
1230 ApplyPatch linux-2.6-hotfixes.patch
1231
1232 # Roland's utrace ptrace replacement.
1233 ApplyPatch linux-2.6-tracehook.patch
1234
1235 ApplyPatch linux-2.6-utrace.patch -F3
1236 #ApplyPatch linux-2.6-utrace-ptrace.patch
1237
1238 # Architecture patches
1239 # x86(-64)
1240 ApplyPatch via-hwmon-temp-sensor.patch
1241 ApplyPatch linux-2.6-dell-laptop-rfkill-fix.patch
1242
1243 #
1244 # Intel IOMMU
1245 #
1246 # Quiesce USB host controllers before setting up the IOMMU
1247 # baris - DISABLED
1248 # ApplyPatch linux-2.6-die-closed-source-bios-muppets-die.patch
1249 # # Some performance fixes, unify hardware/software passthrough support, and
1250 # # most importantly: notice when the BIOS points us to a region that returns
1251 # # all 0xFF, and claims that there's an IOMMU there.
1252 # ApplyPatch linux-2.6-intel-iommu-updates.patch
1253 # ApplyPatch linux-2.6-iommu-at-zero.patch
1254 # ApplyPatch linux-2.6-iommu-dmar-all-1s.patch
1255 # # Check for RMRRs which end before they start
1256 # ApplyPatch linux-2.6-iommu-another-hp-screwup.patch
1257 # # Apply the 'at zero' and 'all 0xFF' sanity checks for intr_remap too
1258 # ApplyPatch linux-2.6-iommu-sanity-checks-for-intr-remap-too.patch
1259 # # Fix up MMIO BAR for integrated graphics on HP laptops on resume (#536675)
1260 # ApplyPatch linux-2.6-iommu-hp-cantiga-resume.patch
1261 ApplyPatch linux-2.6-cantiga-iommu-gfx.patch
1262
1263 #
1264 # PowerPC
1265 #
1266 ### NOT (YET) UPSTREAM:
1267 # The storage alias patch is Fedora-local, and allows the old 'ps3_storage'
1268 # module name to work on upgrades. Otherwise, I believe mkinitrd will fail
1269 # to pull the module in,
1270 ApplyPatch linux-2.6-ps3-storage-alias.patch
1271 # Alleviate G5 thermal shutdown problems
1272 ApplyPatch linux-2.6-g5-therm-shutdown.patch
1273 # Provide modalias in sysfs for vio devices
1274 ApplyPatch linux-2.6-vio-modalias.patch
1275 # Work around PCIe bridge setup on iSight
1276 ApplyPatch linux-2.6-imac-transparent-bridge.patch
1277
1278 #
1279 # SPARC64
1280 #
1281 ApplyPatch linux-2.6.29-sparc-IOC_TYPECHECK.patch
1282
1283 #
1284 # Exec shield
1285 #
1286 ###-vs- 
1287 #ApplyPatch linux-2.6-execshield.patch -F3
1288
1289 #
1290 # bugfixes to drivers and filesystems
1291 #
1292
1293 # ext4
1294
1295 # xfs
1296 ApplyPatch xfs_swap_extents-needs-to-handle-dynamic-fork-offsets.patch
1297
1298 # btrfs
1299 ###-vs- 
1300 # baris - DISABLED
1301 #ApplyPatch linux-2.6-btrfs-upstream.patch
1302 ApplyPatch linux-2.6-btrfs-fix-acl.patch
1303
1304 # eCryptfs
1305
1306 # NFSv4
1307 ApplyPatch linux-2.6-nfsd4-proots.patch
1308 ApplyPatch linux-2.6-nfs4-callback-hidden.patch
1309
1310 # USB
1311 ApplyPatch linux-2.6-driver-level-usb-autosuspend.diff
1312 ApplyPatch linux-2.6-enable-btusb-autosuspend.patch
1313 ApplyPatch linux-2.6-usb-uvc-autosuspend.diff
1314 ApplyPatch linux-2.6-usb-wwan-update.patch
1315
1316 # WMI
1317 ApplyPatch linux-2.6-autoload-wmi.patch
1318 # autoload fixes
1319 ApplyPatch wmi-check-find_guid-return-value-to-prevent-oops.patch
1320 ApplyPatch wmi-survive-bios-with-duplicate-guids.patch
1321
1322 # ACPI
1323 ApplyPatch linux-2.6-defaults-acpi-video.patch
1324 ApplyPatch linux-2.6-acpi-video-dos.patch
1325
1326 # Various low-impact patches to aid debugging.
1327 ApplyPatch linux-2.6-debug-sizeof-structs.patch
1328 ApplyPatch linux-2.6-debug-nmi-timeout.patch
1329 ApplyPatch linux-2.6-debug-taint-vm.patch
1330 #ApplyPatch linux-2.6-debug-vm-would-have-oomkilled.patch
1331 ApplyPatch linux-2.6-debug-always-inline-kzalloc.patch
1332
1333 #
1334 # PCI
1335 #
1336 # disable message signaled interrupts
1337 ApplyPatch linux-2.6-defaults-pci_no_msi.patch
1338 # update the pciehp driver
1339 #ApplyPatch linux-2.6-pciehp-update.patch
1340 # default to enabling passively listening for hotplug events
1341 #ApplyPatch linux-2.6-defaults-pciehp.patch
1342 # enable ASPM by default on hardware we expect to work
1343 ApplyPatch linux-2.6-defaults-aspm.patch
1344
1345 #
1346 # SCSI Bits.
1347 #
1348
1349 # ALSA
1350 # squelch hda_beep by default
1351 ApplyPatch linux-2.6-defaults-alsa-hda-beep-off.patch
1352 ApplyPatch hda_intel-prealloc-4mb-dmabuffer.patch
1353
1354 # Networking
1355
1356 # Misc fixes
1357 # The input layer spews crap no-one cares about.
1358 ApplyPatch linux-2.6-input-kill-stupid-messages.patch
1359
1360 # stop floppy.ko from autoloading during udev...
1361 ApplyPatch die-floppy-die.patch
1362
1363 # Get away from having to poll Toshibas
1364 #ApplyPatch linux-2.6-input-fix-toshiba-hotkeys.patch
1365
1366 ApplyPatch linux-2.6.30-no-pcspkr-modalias.patch
1367
1368 ApplyPatch linux-2.6-input-hid-quirk-egalax.patch
1369
1370 # Allow to use 480600 baud on 16C950 UARTs
1371 ApplyPatch linux-2.6-serial-460800.patch
1372
1373 # Silence some useless messages that still get printed with 'quiet'
1374 ApplyPatch linux-2.6-silence-noise.patch
1375 ApplyPatch linux-2.6.30-hush-rom-warning.patch
1376
1377 # Make fbcon not show the penguins with 'quiet'
1378 ApplyPatch linux-2.6-silence-fbcon-logo.patch
1379
1380 # don't autoload viafb
1381 ApplyPatch viafb-neuter-device-table.patch
1382
1383 # Fix the SELinux mprotect checks on executable mappings
1384 # ApplyPatch linux-2.6-selinux-mprotect-checks.patch
1385 # Fix SELinux for sparc
1386 #ApplyPatch linux-2.6-sparc-selinux-mprotect-checks.patch
1387
1388 # Changes to upstream defaults.
1389
1390
1391 # ia64 ata quirk
1392 ApplyPatch linux-2.6-ata-quirk.patch
1393
1394 # Report meaningful values for MCS rates through wireless extensions
1395 ApplyPatch linux-2.6-wireless_-report-reasonable-bitrate-for-MCS-rates-through-wext.patch
1396
1397 # Mark kernel data as NX
1398 #ApplyPatch linux-2.6.31-nx-data.patch
1399 # Apply NX/RO to modules
1400 #ApplyPatch linux-2.6.31-modules-ro-nx.patch
1401
1402 # /dev/crash driver.
1403 ApplyPatch linux-2.6-crash-driver.patch
1404
1405 # Determine cacheline sizes in a generic manner.
1406 ApplyPatch linux-2.6-pci-cacheline-sizing.patch
1407
1408 # http://www.lirc.org/
1409 ApplyPatch lirc-2.6.32.patch
1410 # enable IR receiver on Hauppauge HD PVR (v4l-dvb merge pending)
1411 ApplyPatch hdpvr-ir-enable.patch
1412 # Broadcom Crystal HD driver from 2.6.34 staging
1413 ApplyPatch crystalhd-2.6.34-staging.patch
1414
1415 # Add kernel KSM support
1416 # Optimize KVM for KSM support
1417 #ApplyPatch linux-2.6-ksm-kvm.patch
1418
1419 # Assorted Virt Fixes
1420
1421 # Fix block I/O errors in KVM
1422 #ApplyPatch linux-2.6-block-silently-error-unsupported-empty-barriers-too.patch
1423
1424 ApplyPatch linux-2.6-e1000-ich9.patch
1425
1426 ApplyPatch linux-2.6-x86-64-fbdev-primary.patch
1427 # Nouveau DRM + drm fixes
1428 ApplyPatch drm-upgrayedd.patch
1429 ApplyPatch drm-upgrayed-fixes.patch
1430 #ApplyPatch drm-intel-big-hammer.patch
1431 #ApplyPatch drm-intel-no-tv-hotplug.patch
1432 ApplyOptionalPatch drm-intel-next.patch
1433
1434 ApplyPatch drm-intel-acpi-populate-didl.patch
1435 ApplyPatch drm-intel-make-lvds-work.patch
1436 ApplyPatch drm-nouveau-g80-ctxprog.patch
1437 ApplyPatch drm-nouveau-tvout-disable.patch
1438 ApplyPatch drm-nouveau-safetile-getparam.patch
1439 ApplyPatch drm-nouveau-kconfig.patch
1440 ApplyPatch drm-nouveau-update.patch
1441 ApplyPatch drm-nouveau-d620.patch
1442
1443 # linux1394 git patches
1444 #ApplyOptionalPatch linux-2.6-firewire-git-update.patch
1445 #ApplyOptionalPatch linux-2.6-firewire-git-pending.patch
1446
1447 # silence the ACPI blacklist code
1448 ApplyPatch linux-2.6-silence-acpi-blacklist.patch
1449
1450 # V4L/DVB updates/fixes/experimental drivers
1451 #ApplyPatch linux-2.6-v4l-dvb-fixes.patch
1452 #ApplyPatch linux-2.6-v4l-dvb-update.patch
1453 #ApplyPatch linux-2.6-v4l-dvb-experimental.patch
1454 #ApplyPatch linux-2.6-revert-dvb-net-kabi-change.patch
1455 ApplyPatch linux-2.6-v4l-dvb-rebase-gspca-to-latest.patch
1456
1457 # Patches headed upstream
1458 ApplyPatch linux-2.6-rfkill-all.patch
1459
1460 ApplyPatch add-appleir-usb-driver.patch
1461
1462 # Patches for -stable
1463 ApplyPatch fix-ima-null-ptr-deref.patch
1464
1465 ApplyPatch fix-abrtd.patch
1466 ApplyPatch vgaarb-fix-userspace-ptr-deref.patch
1467
1468 # cve-2009-4537
1469 ApplyPatch linux-2.6-net-r8169-improved-rx-length-check-errors.patch
1470
1471 # rhbz#566565
1472 ApplyPatch ice1712-fix-revo71-mixer-names.patch
1473
1474 # rhbz#567530
1475 ApplyPatch tcp-fix-icmp-rto-war.patch
1476
1477 # rhbz#572653
1478 ApplyPatch linux-2.6-b43_-Rewrite-DMA-Tx-status-handling-sanity-checks.patch
1479
1480 # rhbz#533746
1481 ApplyPatch ssb_check_for_sprom.patch
1482
1483 # backport iwlwifi fixes (thanks, sgruszka!) -- drop when stable catches-up
1484 ApplyPatch iwlwifi-fix-nfreed--.patch
1485 ApplyPatch iwlwifi-reset-card-during-probe.patch
1486
1487 # END OF PATCH APPLICATIONS ====================================================
1488
1489 %endif
1490
1491 # Any further pre-build tree manipulations happen here.
1492
1493 chmod +x scripts/checkpatch.pl
1494
1495 # only deal with configs if we are going to build for the arch
1496 %ifnarch %nobuildarches
1497
1498 mkdir configs
1499
1500 # Remove configs not for the buildarch
1501 for cfg in kernel-%{version}-*.config; do
1502   if [ `echo %{all_arch_configs} | grep -c $cfg` -eq 0 ]; then
1503     rm -f $cfg
1504   fi
1505 done
1506
1507 %if !%{debugbuildsenabled}
1508 rm -f kernel-%{version}-*debug.config
1509 %endif
1510
1511 # now run oldconfig over all the config files
1512 for i in *.config
1513 do
1514   mv $i .config
1515   Arch=`head -1 .config | cut -b 3-`
1516 ###-vs- ignore the warnings, due to IPV6 being set to 'm'
1517   make ARCH=$Arch %{oldconfig_target} || :
1518   echo "# $Arch" > configs/$i
1519   cat .config >> configs/$i
1520 done
1521 # end of kernel config
1522 %endif
1523
1524 # get rid of unwanted files resulting from patch fuzz
1525 find . \( -name "*.orig" -o -name "*~" \) -exec rm -f {} \; >/dev/null
1526
1527 cd ..
1528
1529 ###
1530 ### build
1531 ###
1532 %build
1533
1534 %if %{with_sparse}
1535 %define sparse_mflags   C=1
1536 %endif
1537
1538 %if %{fancy_debuginfo}
1539 # This override tweaks the kernel makefiles so that we run debugedit on an
1540 # object before embedding it.  When we later run find-debuginfo.sh, it will
1541 # run debugedit again.  The edits it does change the build ID bits embedded
1542 # in the stripped object, but repeating debugedit is a no-op.  We do it
1543 # beforehand to get the proper final build ID bits into the embedded image.
1544 # This affects the vDSO images in vmlinux, and the vmlinux image in bzImage.
1545 export AFTER_LINK=\
1546 'sh -xc "/usr/lib/rpm/debugedit -b $$RPM_BUILD_DIR -d /usr/src/debug \
1547                                -i $@ > $@.id"'
1548 %endif
1549
1550 cp_vmlinux()
1551 {
1552   eu-strip --remove-comment -o "$2" "$1"
1553 }
1554
1555 BuildKernel() {
1556     MakeTarget=$1
1557     KernelImage=$2
1558     Flavour=$3
1559     InstallName=${4:-vmlinuz}
1560
1561     # Pick the right config file for the kernel we're building
1562     Config=kernel-%{version}-%{_target_cpu}${Flavour:+-${Flavour}}.config
1563     DevelDir=/usr/src/kernels/%{KVERREL}${Flavour:+.${Flavour}}
1564
1565     # When the bootable image is just the ELF kernel, strip it.
1566     # We already copy the unstripped file into the debuginfo package.
1567     if [ "$KernelImage" = vmlinux ]; then
1568       CopyKernel=cp_vmlinux
1569     else
1570       CopyKernel=cp
1571     fi
1572
1573     KernelVer=%{version}-%{release}.%{_target_cpu}${Flavour:+.${Flavour}}
1574     echo BUILDING A KERNEL FOR ${Flavour} %{_target_cpu}...
1575
1576     # make sure EXTRAVERSION says what we want it to say
1577     perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = %{?stablerev}-%{release}.%{_target_cpu}${Flavour:+.${Flavour}}/" Makefile
1578
1579     # if pre-rc1 devel kernel, must fix up SUBLEVEL for our versioning scheme
1580     %if !0%{?rcrev}
1581     %if 0%{?gitrev}
1582     perl -p -i -e 's/^SUBLEVEL.*/SUBLEVEL = %{upstream_sublevel}/' Makefile
1583     %endif
1584     %endif
1585
1586     # and now to start the build process
1587
1588     make -s mrproper
1589     cp configs/$Config .config
1590
1591     Arch=`head -1 .config | cut -b 3-`
1592     echo USING ARCH=$Arch
1593
1594     make -s ARCH=$Arch %{oldconfig_target} > /dev/null
1595     make -s ARCH=$Arch V=1 %{?_smp_mflags} $MakeTarget %{?sparse_mflags}
1596     make -s ARCH=$Arch V=1 %{?_smp_mflags} modules %{?sparse_mflags} || exit 1
1597
1598 %if %{with_perftool}
1599     pushd tools/perf
1600 # make sure the scripts are executable... won't be in tarball until 2.6.31 :/
1601     chmod +x util/generate-cmdlist.sh util/PERF-VERSION-GEN
1602     make -s V=1 %{?_smp_mflags} perf
1603     mkdir -p $RPM_BUILD_ROOT/usr/libexec/
1604     install -m 755 perf $RPM_BUILD_ROOT/usr/libexec/perf.$KernelVer
1605     popd
1606 %endif
1607
1608     # Start installing the results
1609 %if %{with_debuginfo}
1610     mkdir -p $RPM_BUILD_ROOT%{debuginfodir}/boot
1611     mkdir -p $RPM_BUILD_ROOT%{debuginfodir}/%{image_install_path}
1612 %endif
1613     mkdir -p $RPM_BUILD_ROOT/%{image_install_path}
1614     install -m 644 .config $RPM_BUILD_ROOT/boot/config-$KernelVer
1615     install -m 644 System.map $RPM_BUILD_ROOT/boot/System.map-$KernelVer
1616 %if %{with_dracut}
1617     # We estimate the size of the initramfs because rpm needs to take this size
1618     # into consideration when performing disk space calculations. (See bz #530778)
1619     dd if=/dev/zero of=$RPM_BUILD_ROOT/boot/initramfs-$KernelVer.img bs=1M count=20
1620 %else
1621     dd if=/dev/zero of=$RPM_BUILD_ROOT/boot/initrd-$KernelVer.img bs=1M count=5
1622 %endif
1623     if [ -f arch/$Arch/boot/zImage.stub ]; then
1624       cp arch/$Arch/boot/zImage.stub $RPM_BUILD_ROOT/%{image_install_path}/zImage.stub-$KernelVer || :
1625     fi
1626     $CopyKernel $KernelImage \
1627                 $RPM_BUILD_ROOT/%{image_install_path}/$InstallName-$KernelVer
1628     chmod 755 $RPM_BUILD_ROOT/%{image_install_path}/$InstallName-$KernelVer
1629
1630     mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer
1631     # Override $(mod-fw) because we don't want it to install any firmware
1632     # We'll do that ourselves with 'make firmware_install'
1633     make -s ARCH=$Arch INSTALL_MOD_PATH=$RPM_BUILD_ROOT modules_install KERNELRELEASE=$KernelVer mod-fw=
1634 %ifarch %{vdso_arches}
1635     make -s ARCH=$Arch INSTALL_MOD_PATH=$RPM_BUILD_ROOT vdso_install KERNELRELEASE=$KernelVer
1636     if grep '^CONFIG_XEN=y$' .config >/dev/null; then
1637       echo > ldconfig-kernel.conf "\
1638 # This directive teaches ldconfig to search in nosegneg subdirectories
1639 # and cache the DSOs there with extra bit 0 set in their hwcap match
1640 # fields.  In Xen guest kernels, the vDSO tells the dynamic linker to
1641 # search in nosegneg subdirectories and to match this extra hwcap bit
1642 # in the ld.so.cache file.
1643 hwcap 0 nosegneg"
1644     fi
1645     if [ ! -s ldconfig-kernel.conf ]; then
1646       echo > ldconfig-kernel.conf "\
1647 # Placeholder file, no vDSO hwcap entries used in this kernel."
1648     fi
1649     %{__install} -D -m 444 ldconfig-kernel.conf \
1650         $RPM_BUILD_ROOT/etc/ld.so.conf.d/kernel-$KernelVer.conf
1651 %endif
1652
1653     # And save the headers/makefiles etc for building modules against
1654     #
1655     # This all looks scary, but the end result is supposed to be:
1656     # * all arch relevant include/ files
1657     # * all Makefile/Kconfig files
1658     # * all script/ files
1659
1660     rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
1661     rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/source
1662     mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
1663     (cd $RPM_BUILD_ROOT/lib/modules/$KernelVer ; ln -s build source)
1664     # dirs for additional modules per module-init-tools, kbuild/modules.txt
1665     mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/extra
1666     mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/updates
1667     mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/weak-updates
1668     # first copy everything
1669     cp --parents `find  -type f -name "Makefile*" -o -name "Kconfig*"` $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
1670     cp Module.symvers $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
1671     cp System.map $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
1672     if [ -s Module.markers ]; then
1673       cp Module.markers $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
1674     fi
1675     # then drop all but the needed Makefiles/Kconfig files
1676     rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/Documentation
1677     rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts
1678     rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
1679     cp .config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
1680     cp -a scripts $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
1681     if [ -d arch/$Arch/scripts ]; then
1682       cp -a arch/$Arch/scripts $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/%{_arch} || :
1683     fi
1684     if [ -f arch/$Arch/*lds ]; then
1685       cp -a arch/$Arch/*lds $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/%{_arch}/ || :
1686     fi
1687     rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/*.o
1688     rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/*/*.o
1689 %ifarch ppc
1690     cp -a --parents arch/powerpc/lib/crtsavres.[So] $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
1691 %endif
1692     if [ -d arch/%{asmarch}/include ]; then
1693       cp -a --parents arch/%{asmarch}/include $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
1694     fi
1695     mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
1696     cd include
1697     cp -a acpi config crypto keys linux math-emu media mtd net pcmcia rdma rxrpc scsi sound trace video drm asm-generic $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
1698     asmdir=$(readlink asm)
1699     cp -a $asmdir $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/
1700     pushd $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
1701     ln -s $asmdir asm
1702     popd
1703     # Make sure the Makefile and version.h have a matching timestamp so that
1704     # external modules can be built
1705     touch -r $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/Makefile $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/linux/version.h
1706     touch -r $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/.config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/linux/autoconf.h
1707     # Copy .config to include/config/auto.conf so "make prepare" is unnecessary.
1708     cp $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/.config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/config/auto.conf
1709     cd ..
1710
1711     if test -s vmlinux.id; then
1712       cp vmlinux.id $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/vmlinux.id
1713     else
1714       echo >&2 "*** WARNING *** no vmlinux build ID! ***"
1715     fi
1716
1717     #
1718     # save the vmlinux file for kernel debugging into the kernel-debuginfo rpm
1719     #
1720 %if %{with_debuginfo}
1721     mkdir -p $RPM_BUILD_ROOT%{debuginfodir}/lib/modules/$KernelVer
1722     cp vmlinux $RPM_BUILD_ROOT%{debuginfodir}/lib/modules/$KernelVer
1723 %endif
1724
1725     find $RPM_BUILD_ROOT/lib/modules/$KernelVer -name "*.ko" -type f >modnames
1726
1727     # mark modules executable so that strip-to-file can strip them
1728     xargs --no-run-if-empty chmod u+x < modnames
1729
1730     # Generate a list of modules for block and networking.
1731
1732     fgrep /drivers/ modnames | xargs --no-run-if-empty nm -upA |
1733     sed -n 's,^.*/\([^/]*\.ko\):  *U \(.*\)$,\1 \2,p' > drivers.undef
1734
1735     collect_modules_list()
1736     {
1737       sed -r -n -e "s/^([^ ]+) \\.?($2)\$/\\1/p" drivers.undef |
1738       LC_ALL=C sort -u > $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.$1
1739     }
1740
1741     collect_modules_list networking \
1742                          'register_netdev|ieee80211_register_hw|usbnet_probe'
1743     collect_modules_list block \
1744                         'ata_scsi_ioctl|scsi_add_host|scsi_add_host_with_dma|blk_init_queue|register_mtd_blktrans|scsi_esp_register|scsi_register_device_handler'
1745     collect_modules_list drm \
1746                          'drm_open|drm_init'
1747     collect_modules_list modesetting \
1748                          'drm_crtc_init'
1749
1750     # detect missing or incorrect license tags
1751     rm -f modinfo
1752     while read i
1753     do
1754       echo -n "${i#$RPM_BUILD_ROOT/lib/modules/$KernelVer/} " >> modinfo
1755       /sbin/modinfo -l $i >> modinfo
1756     done < modnames
1757
1758     egrep -v \
1759           'GPL( v2)?$|Dual BSD/GPL$|Dual MPL/GPL$|GPL and additional rights$' \
1760           modinfo && exit 1
1761
1762     rm -f modinfo modnames
1763
1764     # remove files that will be auto generated by depmod at rpm -i time
1765     for i in alias alias.bin ccwmap dep dep.bin ieee1394map inputmap isapnpmap ofmap pcimap seriomap symbols symbols.bin usbmap
1766     do
1767       rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.$i
1768     done
1769
1770     # Move the devel headers out of the root file system
1771     mkdir -p $RPM_BUILD_ROOT/usr/src/kernels
1772     mv $RPM_BUILD_ROOT/lib/modules/$KernelVer/build $RPM_BUILD_ROOT/$DevelDir
1773     ln -sf ../../..$DevelDir $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
1774 }
1775
1776 ###
1777 # DO it...
1778 ###
1779
1780 # prepare directories
1781 rm -rf $RPM_BUILD_ROOT
1782 mkdir -p $RPM_BUILD_ROOT/boot
1783
1784 cd linux-%{kversion}.%{_target_cpu}
1785
1786 %if %{with_debug}
1787 BuildKernel %make_target %kernel_image debug
1788 %endif
1789
1790 %if %{with_pae_debug}
1791 BuildKernel %make_target %kernel_image PAEdebug
1792 %endif
1793
1794 %if %{with_pae}
1795 BuildKernel %make_target %kernel_image PAE
1796 %endif
1797
1798 %if %{with_up}
1799 BuildKernel %make_target %kernel_image
1800 %endif
1801
1802 %if %{with_smp}
1803 BuildKernel %make_target %kernel_image smp
1804 %endif
1805
1806 %if %{with_kdump}
1807 BuildKernel vmlinux vmlinux kdump vmlinux
1808 %endif
1809
1810 %if %{with_doc}
1811 # Make the HTML and man pages.
1812 make %{?_smp_mflags} htmldocs mandocs || %{doc_build_fail}
1813
1814 # sometimes non-world-readable files sneak into the kernel source tree
1815 chmod -R a=rX Documentation
1816 find Documentation -type d | xargs chmod u+w
1817 %endif
1818
1819 %if %{with_perf}
1820 pushd tools/perf
1821 make %{?_smp_mflags} man || %{doc_build_fail}
1822 popd
1823 %endif
1824
1825 ###
1826 ### Special hacks for debuginfo subpackages.
1827 ###
1828
1829 # This macro is used by %%install, so we must redefine it before that.
1830 %define debug_package %{nil}
1831
1832 %if %{fancy_debuginfo}
1833 %define __debug_install_post \
1834   /usr/lib/rpm/find-debuginfo.sh %{debuginfo_args} %{_builddir}/%{?buildsubdir}\
1835 %{nil}
1836 %endif
1837
1838 %if %{with_debuginfo}
1839 %ifnarch noarch
1840 %global __debug_package 1
1841 %files -f debugfiles.list debuginfo-common-%{_target_cpu}
1842 %defattr(-,root,root)
1843 %endif
1844 %endif
1845
1846 ###
1847 ### install
1848 ###
1849
1850 %install
1851
1852 cd linux-%{kversion}.%{_target_cpu}
1853
1854 %if %{with_doc}
1855 docdir=$RPM_BUILD_ROOT%{_datadir}/doc/kernel-doc-%{rpmversion}
1856 man9dir=$RPM_BUILD_ROOT%{_datadir}/man/man9
1857
1858 # copy the source over
1859 mkdir -p $docdir
1860 tar -f - --exclude=man --exclude='.*' -c Documentation | tar xf - -C $docdir
1861
1862 # Install man pages for the kernel API.
1863 mkdir -p $man9dir
1864 find Documentation/DocBook/man -name '*.9.gz' -print0 |
1865 xargs -0 --no-run-if-empty %{__install} -m 444 -t $man9dir $m
1866 ls $man9dir | grep -q '' || > $man9dir/BROKEN
1867 %endif # with_doc
1868
1869 %if %{with_perf}
1870 # perf docs
1871 mandir=$RPM_BUILD_ROOT%{_datadir}/man
1872 man1dir=$mandir/man1
1873 pushd tools/perf/Documentation
1874 make install-man mandir=$mandir
1875 popd
1876
1877 pushd $man1dir
1878 for d in *.1; do
1879  gzip $d;
1880 done
1881 popd
1882
1883 # perf shell wrapper and examples
1884 mkdir -p $RPM_BUILD_ROOT/usr/sbin/
1885 cp $RPM_SOURCE_DIR/perf $RPM_BUILD_ROOT/usr/sbin/perf
1886 chmod 0755 $RPM_BUILD_ROOT/usr/sbin/perf
1887 mkdir -p $RPM_BUILD_ROOT%{_datadir}/doc/perf
1888 cp tools/perf/Documentation/examples.txt $RPM_BUILD_ROOT%{_datadir}/doc/perf
1889 %endif # with_perf
1890
1891
1892 %if %{with_headers}
1893 # Install kernel headers
1894 make ARCH=%{hdrarch} INSTALL_HDR_PATH=$RPM_BUILD_ROOT/usr headers_install
1895
1896 # Do headers_check but don't die if it fails.
1897 make ARCH=%{hdrarch} INSTALL_HDR_PATH=$RPM_BUILD_ROOT/usr headers_check \
1898      > hdrwarnings.txt || :
1899 if grep -q exist hdrwarnings.txt; then
1900    sed s:^$RPM_BUILD_ROOT/usr/include/:: hdrwarnings.txt
1901    # Temporarily cause a build failure if header inconsistencies.
1902    # exit 1
1903 fi
1904
1905 find $RPM_BUILD_ROOT/usr/include \
1906      \( -name .install -o -name .check -o \
1907         -name ..install.cmd -o -name ..check.cmd \) | xargs rm -f
1908
1909 # glibc provides scsi headers for itself, for now
1910 rm -rf $RPM_BUILD_ROOT/usr/include/scsi
1911 rm -f $RPM_BUILD_ROOT/usr/include/asm*/atomic.h
1912 rm -f $RPM_BUILD_ROOT/usr/include/asm*/io.h
1913 rm -f $RPM_BUILD_ROOT/usr/include/asm*/irq.h
1914 %endif
1915
1916 %if %{with_firmware}
1917 %{build_firmware}
1918 %endif
1919
1920 %if %{with_bootwrapper}
1921 make DESTDIR=$RPM_BUILD_ROOT bootwrapper_install WRAPPER_OBJDIR=%{_libdir}/kernel-wrapper WRAPPER_DTSDIR=%{_libdir}/kernel-wrapper/dts
1922 %endif
1923
1924
1925 ###
1926 ### clean
1927 ###
1928
1929 %clean
1930 rm -rf $RPM_BUILD_ROOT
1931
1932 ###
1933 ### scripts
1934 ###
1935
1936 #
1937 # This macro defines a %%post script for a kernel*-devel package.
1938 #       %%kernel_devel_post [<subpackage>]
1939 #
1940 %define kernel_devel_post() \
1941 %{expand:%%post %{?1:%{1}-}devel}\
1942 if [ -f /etc/sysconfig/kernel ]\
1943 then\
1944     . /etc/sysconfig/kernel || exit $?\
1945 fi\
1946 if [ "$HARDLINK" != "no" -a -x /usr/sbin/hardlink ]\
1947 then\
1948     (cd /usr/src/kernels/%{KVERREL}%{?1:.%{1}} &&\
1949      /usr/bin/find . -type f | while read f; do\
1950        hardlink -c /usr/src/kernels/*.fc*.*/$f $f\
1951      done)\
1952 fi\
1953 %{nil}
1954
1955 # This macro defines a %%posttrans script for a kernel package.
1956 #       %%kernel_variant_posttrans [<subpackage>]
1957 # More text can follow to go at the end of this variant's %%post.
1958 #
1959 %define kernel_variant_posttrans() \
1960 %{expand:%%posttrans %{?1}}\
1961 /sbin/new-kernel-pkg --package kernel%{?1:-%{1}} --rpmposttrans %{KVERREL}%{?1:.%{1}} || exit $?\
1962 %{nil}
1963
1964 #
1965 # This macro defines a %%post script for a kernel package and its devel package.
1966 #       %%kernel_variant_post [-v <subpackage>] [-r <replace>]
1967 # More text can follow to go at the end of this variant's %%post.
1968 #
1969 %define kernel_variant_post(v:r:) \
1970 %{expand:%%kernel_devel_post %{?-v*}}\
1971 %{expand:%%kernel_variant_posttrans %{?-v*}}\
1972 %{expand:%%post %{?-v*}}\
1973 %{-r:\
1974 if [ `uname -i` == "x86_64" -o `uname -i` == "i386" ] &&\
1975    [ -f /etc/sysconfig/kernel ]; then\
1976   /bin/sed -r -i -e 's/^DEFAULTKERNEL=%{-r*}$/DEFAULTKERNEL=kernel%{?-v:-%{-v*}}/' /etc/sysconfig/kernel || exit $?\
1977 fi}\
1978 %{expand:\
1979 %if %{with_dracut}\
1980 /sbin/new-kernel-pkg --package kernel%{?-v:-%{-v*}} --mkinitrd --dracut --depmod --install %{KVERREL}%{?-v:.%{-v*}} || exit $?\
1981 %else\
1982 /sbin/new-kernel-pkg --package kernel%{?-v:-%{-v*}} --mkinitrd --depmod --install %{KVERREL}%{?-v:.%{-v*}} || exit $?\
1983 %endif}\
1984 #if [ -x /sbin/weak-modules ]\
1985 #then\
1986 #    /sbin/weak-modules --add-kernel %{KVERREL}%{?-v*} || exit $?\
1987 #fi\
1988 %{nil}
1989
1990 #
1991 # This macro defines a %%preun script for a kernel package.
1992 #       %%kernel_variant_preun <subpackage>
1993 #
1994 %define kernel_variant_preun() \
1995 %{expand:%%preun %{?1}}\
1996 /sbin/new-kernel-pkg --rminitrd --rmmoddep --remove %{KVERREL}%{?1:.%{1}} || exit $?\
1997 #if [ -x /sbin/weak-modules ]\
1998 #then\
1999 #    /sbin/weak-modules --remove-kernel %{KVERREL}%{?1} || exit $?\
2000 #fi\
2001 %{nil}
2002
2003 %kernel_variant_preun
2004 %ifarch x86_64
2005 %kernel_variant_post -r (kernel-smp|kernel-xen)
2006 %else
2007 %kernel_variant_post -r kernel-smp
2008 %endif
2009
2010 %kernel_variant_preun smp
2011 %kernel_variant_post -v smp
2012
2013 %kernel_variant_preun PAE
2014 %kernel_variant_post -v PAE -r (kernel|kernel-smp|kernel-xen)
2015
2016 %kernel_variant_preun debug
2017 %kernel_variant_post -v debug
2018
2019 %kernel_variant_post -v PAEdebug -r (kernel|kernel-smp|kernel-xen)
2020 %kernel_variant_preun PAEdebug
2021
2022 if [ -x /sbin/ldconfig ]
2023 then
2024     /sbin/ldconfig -X || exit $?
2025 fi
2026
2027 ###
2028 ### file lists
2029 ###
2030
2031 %if %{with_headers}
2032 %files headers
2033 %defattr(-,root,root)
2034 /usr/include/*
2035 %endif
2036
2037 %if %{with_firmware}
2038 %files firmware
2039 %defattr(-,root,root)
2040 /lib/firmware/*
2041 %doc linux-%{kversion}.%{_target_cpu}/firmware/WHENCE
2042 %endif
2043
2044 %if %{with_bootwrapper}
2045 %files bootwrapper
2046 %defattr(-,root,root)
2047 /usr/sbin/*
2048 %{_libdir}/kernel-wrapper
2049 %endif
2050
2051 # only some architecture builds need kernel-doc
2052 %if %{with_doc}
2053 %files doc
2054 %defattr(-,root,root)
2055 %{_datadir}/doc/kernel-doc-%{rpmversion}/Documentation/*
2056 %dir %{_datadir}/doc/kernel-doc-%{rpmversion}/Documentation
2057 %dir %{_datadir}/doc/kernel-doc-%{rpmversion}
2058 %{_datadir}/man/man9/*
2059 %endif
2060
2061 %if %{with_perf}
2062 %files -n perf
2063 %defattr(-,root,root)
2064 %{_datadir}/doc/perf
2065 /usr/sbin/perf
2066 %{_datadir}/man/man1/*
2067 %endif
2068
2069 # This is %{image_install_path} on an arch where that includes ELF files,
2070 # or empty otherwise.
2071 %define elf_image_install_path %{?kernel_image_elf:%{image_install_path}}
2072
2073 #
2074 # This macro defines the %%files sections for a kernel package
2075 # and its devel and debuginfo packages.
2076 #       %%kernel_variant_files [-k vmlinux] <condition> <subpackage>
2077 #
2078 %define kernel_variant_files(k:) \
2079 %if %{1}\
2080 %{expand:%%files %{?2}}\
2081 %defattr(-,root,root)\
2082 /%{image_install_path}/%{?-k:%{-k*}}%{!?-k:vmlinuz}-%{KVERREL}%{?2:.%{2}}\
2083 /boot/System.map-%{KVERREL}%{?2:.%{2}}\
2084 %if %{with_perftool}\
2085 /usr/libexec/perf.%{KVERREL}%{?2:.%{2}}\
2086 %endif\
2087 #/boot/symvers-%{KVERREL}%{?2:.%{2}}.gz\
2088 /boot/config-%{KVERREL}%{?2:.%{2}}\
2089 %dir /lib/modules/%{KVERREL}%{?2:.%{2}}\
2090 /lib/modules/%{KVERREL}%{?2:.%{2}}/kernel\
2091 /lib/modules/%{KVERREL}%{?2:.%{2}}/build\
2092 /lib/modules/%{KVERREL}%{?2:.%{2}}/source\
2093 /lib/modules/%{KVERREL}%{?2:.%{2}}/extra\
2094 /lib/modules/%{KVERREL}%{?2:.%{2}}/updates\
2095 /lib/modules/%{KVERREL}%{?2:.%{2}}/weak-updates\
2096 %ifarch %{vdso_arches}\
2097 /lib/modules/%{KVERREL}%{?2:.%{2}}/vdso\
2098 /etc/ld.so.conf.d/kernel-%{KVERREL}%{?2:.%{2}}.conf\
2099 %endif\
2100 /lib/modules/%{KVERREL}%{?2:.%{2}}/modules.*\
2101 %if %{with_dracut}\
2102 %ghost /boot/initramfs-%{KVERREL}%{?2:.%{2}}.img\
2103 %else\
2104 %ghost /boot/initrd-%{KVERREL}%{?2:.%{2}}.img\
2105 %endif\
2106 %{expand:%%files %{?2:%{2}-}devel}\
2107 %defattr(-,root,root)\
2108 %verify(not mtime) /usr/src/kernels/%{KVERREL}%{?2:.%{2}}\
2109 /usr/src/kernels/%{KVERREL}%{?2:.%{2}}\
2110 %if %{with_debuginfo}\
2111 %ifnarch noarch\
2112 %if %{fancy_debuginfo}\
2113 %{expand:%%files -f debuginfo%{?2}.list %{?2:%{2}-}debuginfo}\
2114 %else\
2115 %{expand:%%files %{?2:%{2}-}debuginfo}\
2116 %endif\
2117 %defattr(-,root,root)\
2118 %if !%{fancy_debuginfo}\
2119 %if "%{elf_image_install_path}" != ""\
2120 %{debuginfodir}/%{elf_image_install_path}/*-%{KVERREL}%{?2:.%{2}}.debug\
2121 %endif\
2122 %{debuginfodir}/lib/modules/%{KVERREL}%{?2:.%{2}}\
2123 %{debuginfodir}/usr/src/kernels/%{KVERREL}%{?2:.%{2}}\
2124 %endif\
2125 %endif\
2126 %endif\
2127 %endif\
2128 %{nil}
2129
2130
2131 %kernel_variant_files %{with_up}
2132 %kernel_variant_files %{with_smp} smp
2133 %kernel_variant_files %{with_debug} debug
2134 %kernel_variant_files %{with_pae} PAE
2135 %kernel_variant_files %{with_pae_debug} PAEdebug
2136 %kernel_variant_files -k vmlinux %{with_kdump} kdump
2137
2138 # plz don't put in a version string unless you're going to tag
2139 # and build.
2140
2141 %changelog
2142 * Thu Dec 03 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.6-162
2143 - ipv4-fix-null-ptr-deref-in-ip_fragment.patch: null ptr deref
2144   bug fix.
2145
2146 * Thu Dec 03 2009 Dave Airlie <airlied@redhat.com> 2.6.31.6-161
2147 - rv410 LVDS on resume test fix from AMD (#541562)
2148
2149 * Wed Dec 02 2009 John W. Linville <linville@redhat.com> 2.6.31.6-160
2150 - ath9k: add fixes suggested by upstream maintainer
2151
2152 * Wed Dec 02 2009 Dave Airlie <airlied@redhat.com> 2.6.31.6-159
2153 - drm-radeon-misc-fixes.patch: r400 LVDS, r600 digital dpms, cursor fix, tv property
2154
2155 * Wed Dec 02 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31.6-158
2156 - nouveau: more complete lvds script selection on >=G80 (rh#522690, rh#529859)
2157 - nouveau: more complete tmds script selection on >=G80 (rh#537853)
2158 - nouveau: TV detection fixes
2159
2160 * Tue Dec 01 2009 Dave Airlie <airlied@redhat.com> 2.6.31.6-157
2161 - div/0 fix harder (#540593) - also ignore unposted GPUs with no BIOS
2162
2163 * Tue Dec 01 2009 Dave Airlie <airlied@redhat.com> 2.6.31.6-156
2164 - drm-next: fixes LVDS resume on r4xx, div/0 on no bios (#540593)
2165   lockup on tv-out only startup.
2166
2167 * Mon Nov 30 2009 Kyle McMartin <kyle@redhat.com>
2168 - drm-i915-fix-sync-to-vbl-when-vga-is-off.patch: add (rhbz#541670)
2169
2170 * Sun Nov 29 2009 Kyle McMartin <kyle@redhat.com>
2171 - Drop linux-2.6-sysrq-c.patch, made consistent upstream.
2172
2173 * Fri Nov 27 2009 Jarod Wilson <jarod@redhat.com> 2.6.31.6-153
2174 - add device name to lirc_zilog, fixes issues w/multiple target devices
2175 - add lirc_imon pure input mode support for onboard decode devices
2176
2177 * Wed Nov 26 2009 David Woodhouse <David.Woodhouse@intel.com> 2.6.31.6-152
2178 - Fix intel_tv_mode_set oops (#540218)
2179
2180 * Wed Nov 26 2009 David Woodhouse <David.Woodhouse@intel.com> 2.6.31.6-151
2181 - VT-d: Work around yet more HP BIOS brokenness (#536675)
2182
2183 * Wed Nov 25 2009 Kyle McMartin <kyle@redhat.com>
2184 - dlm: fix connection close handling.
2185   Fix by lmb, requested by fabio.
2186
2187 * Wed Nov 25 2009 David Woodhouse <David.Woodhouse@intel.com> 2.6.31.6-149
2188 - VT-d: Work around more HP BIOS brokenness.
2189
2190 * Tue Nov 24 2009 Dave Airlie <airlied@redhat.com> 2.6.31.6-148
2191 - radeon: flush HDP cache on rendering wait - fixes r600 rendercheck failure
2192
2193 * Mon Nov 23 2009 Adam Jackson <ajax@redhat.com>
2194 - drm-default-mode.patch: Default to 1024x768 to match UMS. (#538761)
2195
2196 * Mon Nov 23 2009 Roland McGrath <roland@redhat.com> 2.6.31.6-146
2197 - Fix oops in x86-32 kernel's iret handling for bogus user %cs. (#540580)
2198
2199 * Fri Nov 21 2009 Kyle McMartin <kyle@redhat.com>
2200 - Fix up ssp' highmem fixes with fixes for arm & ppc.
2201
2202 * Thu Nov 20 2009 Chris Wright <chrisw@redhat.com> 2.6.31.6-144
2203 - VT-d: another fallback for another BIOS bug (#524808)
2204
2205 * Thu Nov 19 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31.6-142
2206 - Oops, add new patch to spec file
2207
2208 * Thu Nov 19 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31.6-141
2209 - Lower debug level of fbcon handover messages (rh#538526)
2210
2211 * Thu Nov 19 2009 Dave Airlie <airlied@redhat.com> 2.6.31.6-140
2212 - drm-next-44c83571.patch: oops pulled the wrong tree into my f12 tree
2213
2214 * Thu Nov 19 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31.6-139
2215 - nouveau: s/r fixes on chipsets using bios opcode 0x87
2216 - nouveau: fixes to bios opcode 0x8e
2217 - nouveau: hopefully fix nv1x context switching issues (rh#526577)
2218 - nouveau: support for NVA5 (GeForce G220)
2219 - nouveau: fixes for NVAA support
2220
2221 * Thu Nov 19 2009 Dave Airlie <airlied@redhat.com> 2.6.31.6-138
2222 - drm-next-d56672a9.patch: fix some rn50 cloning issues
2223
2224 * Wed Nov 18 2009 David Woodhouse <David.Woodhouse@intel.com> 2.6.31.6-137
2225 - Actually force the IOMMU not to be used when we detect the HP/Acer bug.
2226
2227 * Tue Nov 17 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.6-136
2228 - ACPI embedded controller fixes from Fedora 11.
2229
2230 * Tue Nov 17 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.6-135
2231 - Scheduler fixes and latency tuning patches from F-11.
2232
2233 * Tue Nov 17 2009 Dave Airlie <airlied@redhat.com> 2.6.31.6-134
2234 - glad to see edid retry patch was compiled.
2235
2236 * Tue Nov 17 2009 Dave Airlie <airlied@redhat.com> 2.6.31.6-133
2237 - drm-next-984d1f3c.patch: rebase with upstream fixes - drop all merged
2238
2239 * Thu Nov 12 2009 Adam Jackson <ajax@redhat.com>
2240 - Actually apply the EDID retry patch
2241 - drm-edid-header-fixup.patch: Fix up some broken EDID headers (#534120)
2242
2243 * Thu Nov 12 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.6-130
2244 - Use ApplyOptionalPatch for v4l and firewire updates.
2245 - Drop unused v4l ABI fix.
2246
2247 * Thu Nov 12 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.6-129
2248 - Linux 2.6.31.6
2249 - Drop merged patches:
2250   linux-2.6-iwlwifi-reduce-noise-when-skb-allocation-fails.patch
2251   linux-2.6-libertas-crash.patch
2252   pci-increase-alignment-to-make-more-space.patch
2253   acpi-revert-attach-device-to-handle-early.patch
2254   ahci-revert-restore-sb600-sata-controller-64-bit-dma.patch
2255   acpi-pci-fix-null-pointer-dereference-in-acpi-get-pci-dev.patch
2256   af_unix-fix-deadlock-connecting-to-shutdown-socket.patch
2257   keys-get_instantiation_keyring-should-inc-the-keyring-refcount.patch
2258   netlink-fix-typo-in-initialization.patch
2259   fs-pipe-null-ptr-deref-fix.patch
2260
2261 * Wed Nov 11 2009 Justin M. Forbes <jforbes@redhat.com> 2.6.31.5-128
2262 - Fix KSM for i686 users. (#532215)
2263 - Add KSM fixes from 2.6.32
2264
2265 * Sun Nov 08 2009 David Woodhouse <David.Woodhouse@intel.com> 2.6.31.5-127
2266 - Apply fix for fallback when HP/Acer BIOS bug detected (#524808)
2267 - Re-enable DMAR.
2268 - Fix libertas crash due to skb pointer bug
2269
2270 * Sat Nov 07 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.5-126
2271 - Re-enable linux-2.6-die-closed-source-bios-muppets-die.patch, DMAR
2272   still defaulting to off.
2273
2274 * Sat Nov 07 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.5-125
2275 - Disable linux-2.6-die-closed-source-bios-muppets-die.patch and
2276   default DMAR to off (can be re-enabled with intel_iommu=on on the
2277   command line due to last minute issues and reversion upstream.)
2278
2279 * Thu Nov 05 2009 Jarod Wilson <jarod@redhat.com>
2280 - Add --with dbgonly rpmbuild option to build only debug kernels
2281
2282 * Thu Nov 05 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-122
2283 - comment out kmap atomic for now, it breaks ppc build
2284
2285 * Thu Nov 05 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-121
2286 - drm-radeon-fix-agp-resume.patch (#531825)
2287
2288 * Thu Nov 05 2009 Kyle McMartin <kyle@redhat.com>
2289 - Add two patches from Soren from mingo/linux-2.6-x86.git to fix
2290   debug_kmap_atomic prints.
2291
2292 * Thu Nov 05 2009 Ben Skeggs <bskeggs@redhat.com>
2293 - nouveau: fix rh#532924
2294
2295 * Wed Nov 04 2009 Kyle McMartin <kyle@redhat.com>
2296 - Make JBD2_DEBUG a toggleable debug setting. Leave it the way it was.
2297   (Double checked resulting configs, don't fret.)
2298
2299 * Wed Nov 04 2009 Adam Jackson <ajax@redhat.com> 2.6.31.5-117
2300 - drm-edid-retry.patch: Try DDC up to four times, like X. (#532957)
2301
2302 * Wed Nov 04 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.5-116
2303 - tg3 bug fixes (#527209)
2304
2305 * Wed Nov 04 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.5-115
2306 - fs/pipe.c: fix null pointer dereference (CVE-2009-3547)
2307
2308 * Wed Nov 04 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31.5-114
2309 - nouveau: provide info userspace needs to handle low memory situations
2310 - nouveau: fix for rh#532711
2311 - nouveau: add option to provide more debug info for rh#532579
2312 - patch only so large because of included register rename
2313
2314 * Tue Nov 03 2009 Adam Jackson <ajax@redhat.com> 2.6.31.5-113
2315 - drm-conservative-fallback-modes.patch: When an output is connected but
2316   fails EDID, only add modes with refresh rates <= 60 (#514600)
2317
2318 * Tue Nov 03 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-112
2319 - drm-r600-lenovo-w500-fix.patch: add second patch from upstream fix
2320
2321 * Tue Nov 03 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-111
2322 - drm-r600-lenovo-w500-fix.patch: fix lenovo w500 acpi video kill laptop dead
2323 - drop aspm r600 patch as correct fix should be in 110
2324
2325 * Tue Nov 03 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-110
2326 - r600: fix for ring setup RMW issue.
2327
2328 * Mon Nov 02 2009 John W. Linville <linville@redhat.com> 2.6.31.5-109
2329 - prism54: remove pci modinfo device table (#447047)
2330
2331 * Mon Nov 02 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.5-108
2332 - Enable acerhdf driver for fan speed control on Acer Aspire One notebook (#532463)
2333
2334 * Mon Nov 02 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-107
2335 - r600: back that out, thanks to yaneti for testing.
2336
2337 * Mon Nov 02 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-106
2338 - r600: ring size guesswork fix.
2339
2340 * Fri Oct 30 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-105
2341 - drm-radeon-agp-font-fix.patch: hopefully fix AGP coherency issue
2342
2343 * Wed Oct 28 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-104
2344 - drm-next-ea1495a6.patch: fix rs400 resume on my test box
2345
2346 * Wed Oct 28 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-103
2347 - drm-next-fc7f7119.patch: fix oops in SS code, fix multi-card, dvo.
2348 - drm-radeon-kms-arbiter-return-ignore.patch: fix arbiter for non-VGA display
2349
2350 * Tue Oct 27 2009 Chuck Ebbert <cebbert@redhat.com>
2351 - Fix oops in VIA padlock-aes code.
2352
2353 * Tue Oct 27 2009 Dave Airlie <airlied@redhat.com>
2354 - kms: add offb handoff patch for ppc to work
2355
2356 * Tue Oct 27 2009 Ben Skeggs <bskeggs@redhat.com>
2357 - drm-nouveau.patch: misc fixes, very initial NVA8 work
2358
2359 * Tue Oct 27 2009 Dave Airlie <airlied@redhat.com>
2360 - fix dd command lines
2361
2362 * Mon Oct 26 2009 Dave Jones <davej@redhat.com>
2363 - Make a 20MB initramfs file so rpm gets its diskspace calculations right. (#530778)
2364
2365 * Mon Oct 26 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-97
2366 - drm: rebase to drm-next, drop palette fix, merged upstream
2367 - drm-intel-big-hammer.patch: drop, proper fix in 2.6.31.5
2368 - drm-disable-r600-aspm.patch: test patch to disable aspm on r600/r700 for now
2369
2370 * Fri Oct 23 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.5-96
2371 - Bump NR_CPUS to 256 on x86_64.
2372 - Add two backports (ugh, just had to go renaming perf counters to events...)
2373   for fixing sysprof with perf.
2374
2375 * Fri Oct 23 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-95
2376 - re enable MSI
2377
2378 * Fri Oct 23 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-94
2379 - disable debug + stackprotector
2380
2381 * Fri Oct 23 2009 Chuck Ebbert <cebbert@redhat.com>
2382 - Linux 2.6.31.5
2383
2384 * Thu Oct 22 2009 Chuck Ebbert <cebbert@redhat.com>
2385 - Fix exploitable OOPS in keyring code. (CVE-2009-3624)
2386 - Fix kernel memory leak to userspace. (CVE-2009-3612)
2387
2388 * Thu Oct 22 2009 Dave Airlie <airlied@redhat.com>  2.6.31.5-91.rc1
2389 - kms: fix palette
2390
2391 * Wed Oct 21 2009 Chuck Ebbert <cebbert@redhat.com>
2392 - Disable powersave by default for AC97 audio devices. (#524414)
2393
2394 * Wed Oct 21 2009 Chuck Ebbert <cebbert@redhat.com>
2395 - Linux 2.6.31.5-rc1
2396 - Remove the merged HP DC7900 workaround from iommu-updates patch.
2397 - Drop merged patch:
2398   linux-2.6-raidlockdep.patch
2399
2400 * Mon Oct 19 2009 Kyle McMartin <kyle@redhat.com>
2401 - af_unix-fix-deadlock-connecting-to-shutdown-socket.patch: fix for
2402   rhbz#529626.
2403
2404 * Sat Oct 17 2009 Chuck Ebbert <cebbert@redhat.com>
2405 - Replace linux-2.6-bluetooth-autosuspend.diff with upstream version.
2406
2407 * Fri Oct 16 2009 Josef Bacik <josef@toxicpanda.com>
2408 - Update btrfs to latest upstream
2409
2410 * Fri Oct 16 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.4-85
2411 - Fix another ACPI boot hang (#513680)
2412
2413 * Fri Oct 16 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31.4-84
2414 - nouveau: more vbios opcodes, minor fixes, hopeful fix for rh#529292
2415
2416 * Wed Oct 14 2009 Roland McGrath <roland@redhat.com> 2.6.31.4-83
2417 - Remove work-around for gcc bug #521991, now fixed.
2418 - Build *docs non-parallel, working around kernel's makefile bugs.
2419
2420 * Wed Oct 14 2009 Peter Jones <pjones@redhat.com>
2421 - Add scsi_register_device_handler to modules.block's symbol list so
2422   we'll have scsi device handlers in installer images.
2423
2424 * Tue Oct 13 2009 Steve Dickson <steved@redhat.com> 2.6.31.4-81
2425 - Fixed hang during NFS installs (bz 528537)
2426
2427 * Tue Oct 13 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.4-80
2428 - Disable 64-bit DMA on SB600 SATA controllers.
2429
2430 * Tue Oct 13 2009 Kyle McMartin <kyle@redhat.com>
2431 - Always build perf docs, regardless of whether we build kernel-doc.
2432   Seems rather unfair to not ship the manpages half the time.
2433   Also, drop BuildRequires %if when not with_doc, the rules about %if
2434   there are f*!&^ing complicated.
2435
2436 * Mon Oct 12 2009 Kyle McMartin <kyle@redhat.com>
2437 - Build the perf manpages properly.
2438
2439 * Mon Oct 12 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.4-77
2440 - Fix boot hang with ACPI on some systems.
2441
2442 * Mon Oct 12 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.4-76
2443 - Linux 2.6.31.4
2444
2445 * Mon Oct 12 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.4-75.rc2
2446 - improve-resource-counter-scalability.patch: Fix scalability issues
2447   on big machines, requested by prarit.
2448
2449 * Mon Oct 12 2009 Jarod Wilson <jarod@redhat.com>
2450 - Fix irq status check bugs in lirc_ene0100
2451
2452 * Mon Oct 12 2009 Chuck Ebbert <cebbert@redhat.com>
2453 - Fix 2.6.31 regression that caused device failures with ACPI enabled.
2454
2455 * Sun Oct 11 2009 Chuck Ebbert <cebbert@redhat.com>
2456 - Linux 2.6.31.4-rc2
2457 - Drop merged patch: linux-2.6-frace-fixes.patch
2458
2459 * Sat Oct 10 2009 Chuck Ebbert <cebbert@redhat.com>
2460 - Make performance counter API available to userspace programs (#527264)
2461
2462 * Sat Oct 10 2009 Dave Jones <davej@redhat.com>
2463 - Drop the NX kernel data patch for now. Causes no-boot on some systems.
2464
2465 * Fri Oct 09 2009 Dave Jones <davej@redhat.com>
2466 - Backport two critical ftrace fixes.
2467   ftrace: check for failure for all conversions
2468   tracing: correct module boundaries for ftrace_release
2469
2470 * Fri Oct 09 2009 Jarod Wilson <jarod@redhat.com>
2471 - Build docs sub-package again
2472
2473 * Thu Oct 08 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.3-67
2474 - Linux 2.6.31.3
2475 - rebase drm-next trivially.
2476 - dropped merged upstream patches,
2477  - linux-2.6-fix-usb-serial-autosuspend.diff
2478  - linux-2.6-iwlagn-modify-digital-SVR-for-1000.patch
2479  - linux-2.6-iwlwifi-Handle-new-firmware-file-with-ucode-build-number-in-header.patch
2480  - linux-2.6-iwlwifi-fix-debugfs-buffer-handling.patch
2481  - linux-2.6-iwlwifi-fix-unloading-driver-while-scanning.patch
2482  - linux-2.6-iwlwifi-remove-deprecated-6000-series-adapters.patch
2483  - linux-2.6-iwlwifi-traverse-linklist-to-find-the-valid-OTP-block.patch
2484  - linux-2.6-iwlwifi-update-1000-series-API-version-to-match-firmware.patch
2485  - linux-2.6-xen-check-efer-fix.patch
2486  - linux-2.6-xen-spinlock-enable-interrupts-only-when-blocking.patch
2487  - linux-2.6-xen-spinlock-stronger-barrier.patch
2488  - linux-2.6-xen-stack-protector-fix.patch
2489  - linux-2.6.31-cpufreq-powernow-k8-oops.patch
2490
2491 * Thu Oct 08 2009 Ben Skeggs <bskeggs@redhat.com>
2492 - ppc: compile nvidiafb as a module only, nvidiafb+nouveau = bang! (rh#491308)
2493
2494 * Thu Oct 08 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31.1-65
2495 - nouveau: {drm-next,context,fbcon,misc} fixes, connector forcing
2496
2497 * Thu Oct 08 2009 Dave Airlie <airlied@redhat.com> 2.6.31.1-64
2498 - rebase latest drm-next, fixes many s/r and r600 problems
2499
2500 * Wed Oct 07 2009 Dave Jones <davej@redhat.com>
2501 - Don't mark the initramfs file as a ghost.
2502
2503 * Wed Oct 07 2009 Dave Jones <davej@redhat.com>
2504 - Enable FUNCTION_GRAPH_TRACER on x86-64.
2505
2506 * Wed Oct 07 2009 Dave Jones <davej@redhat.com>
2507 - Disable CONFIG_IRQSOFF_TRACER on srostedt's recommendation.
2508   (Adds unwanted overhead when not in use).
2509
2510 * Tue Oct  6 2009 Justin M. Forbes <jforbes@redhat.com>
2511 - virtio_blk: add support for cache flush (#526869)
2512
2513 * Fri Oct  2 2009 John W. Linville <linville@redhat.com>
2514 - Backport "iwlwifi: reduce noise when skb allocation fails"
2515
2516 * Wed Sep 30 2009 David Woodhouse <David.Woodhouse@intel.com>
2517 - Update IOMMU code; mostly a bunch more workarounds for broken BIOSes.
2518
2519 * Wed Sep 30 2009 Dave Airlie <airlied@redhat.com> 2.6.31.1-56
2520 - revert all the arjan patches until someone tests them.
2521
2522 * Tue Sep 29 2009 Steve Dickson <steved@redhat.com>  2.6.31.1-55
2523 - Updated the NFS4 pseudo root code with a fix from upstream
2524
2525 * Tue Sep 29 2009 Dave Airlie <airlied@redhat.com> 2.6.31.1-54
2526 - Fix broken capabilties that stopped dbus working due to copy from user
2527   fixups.
2528
2529 * Tue Sep 29 2009 Dave Airlie <airlied@redhat.com> 2.6.31.1-53
2530 - drm-next-4c57edba4.patch: fix r600 dri1 memory leak and r600 bugs
2531
2532 * Mon Sep 28 2009 Dave Jones <davej@redhat.com> 2.6.31.1-52
2533 - Use __builtin_object_size to validate the buffer size for copy_from_user
2534   + associated fixes to various copy_from_user invocations.
2535
2536 * Mon Sep 28 2009 Justin M. Forbes <jmforbes@redhat.com> 2.6.31.1-50
2537 - Increase timeout for xen frontend devices to connect.
2538
2539 * Sat Sep 26 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.1-49
2540 - Add Xen spinlock patches to improve scalability.
2541
2542 * Sat Sep 26 2009 Dave Airlie <airlied@redhat.com> 2.6.31.1-48
2543 - drm-next-8ef8678c8.patch: fix intel/nouveau kms
2544
2545 * Fri Sep 25 2009 Justin M. Forbes <bskeggs@redhat.com> 2.6.31.1-47
2546 - Fix xen guest booting when NX is disabled (#525290)
2547
2548 * Fri Sep 25 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31.1-46
2549 - drm-nouveau.patch: cleanups, fixes, pre-G80 s/r fixes, init rework
2550
2551 * Fri Sep 25 2009 Dave Airlie <airlied@redhat.com> 2.6.31.1-45
2552 - drm-next-adea4796c.patch: fix r600 glxgears
2553
2554 * Fri Sep 25 2009 Dave Airlie <airlied@redhat.com> 2.6.31.1-44
2555 - bump a extra one because I accidentially CVS.
2556
2557 * Thu Sep 24 2009 Dave Airlie <airlied@redhat.com> 2.6.31.1-42
2558 - drm-next update - fix r600 s/r, and command line mode picking and r600 tv
2559
2560 * Thu Sep 24 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.1-41
2561 - Linux 2.6.31.1
2562 - Drop patches merged upstream:
2563     linux-2.6-kvm-vmx-check-cpl-before-emulating-debug-register-access.patch
2564     linux-2.6-use-__pa_symbol-to-calculate-address-of-C-symbol.patch
2565     linux-2.6-kvm-pvmmu-do-not-batch-pte-updates-from-interrupt-context.patch
2566     linux-2.6-scsi-sd-fix-oops-during-scanning.patch
2567     linux-2.6-scsi-sg-fix-oops-in-error-path.patch
2568
2569 * Thu Sep 24 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-40
2570 - Drop the modules-ro-nx patch: it's causing ftrace to be unable
2571   to NOP out module function call tracking. (#524042)
2572
2573 * Wed Sep 23 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-39
2574 - touch initramfs-$foo not dracut-$foo.
2575
2576 * Wed Sep 23 2009 Adam Jackson <ajax@redhat.com> 2.6.31-37
2577 - drm: Fix various buglets in EDID parsing.
2578
2579 * Mon Sep 21 2009 Ben Skeggs <bskeggs@redhat.com>
2580 - nouveau: more on rh#522649, added some useful info to debugfs
2581 - lots of coding style cleanups, which is the reason for the huge commit
2582
2583 * Fri Sep 18 2009 Dave Jones <davej@redhat.com>
2584 - %ghost the dracut initramfs file.
2585
2586 * Thu Sep 17 2009 Hans de Goede <hdegoede@redhat.com>
2587 - Now that we have %%post generation of dracut images we do not need to
2588   Require dracut-kernel anymore
2589
2590 * Thu Sep 17 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-33
2591 - Turn off CONFIG_CC_OPTIMIZE_FOR_SIZE on ppc64 until ld decides to play nice
2592   and generate the save/restore stubs.
2593
2594 * Thu Sep 17 2009 Kristian Høgsberg <krh@redhat.com>
2595 - Drop drm page-flip patch for F12.
2596
2597 * Thu Sep 17 2009 Dave Jones <davej@redhat.com>
2598 - cpuidle: Fix the menu governor to boost IO performance.
2599
2600 * Wed Sep 16 2009 John W. Linville <linville@redhat.com>
2601 - Add a few more iwl1000 support patches.
2602 - Remove support for deprecated iwl6000 parts.
2603
2604 * Wed Sep 16 2009 Eric Paris <eparis@redhat.com>
2605 - Do not check CAP_SYS_MODULE when networking tres to autoload a module
2606
2607 * Wed Sep 16 2009 John W. Linville <linville@redhat.com>
2608 - Add iwl1000 support patches.
2609
2610 * Wed Sep 16 2009 Adam Jackson <ajax@redhat.com>
2611 - Disable hotplug interrupts on TV connectors on i915.
2612
2613 * Wed Sep 16 2009 Dave Jones <davej@redhat.com>
2614 - Fix NULL deref in powernow-k8 driver. (korg #13780)
2615
2616 * Wed Sep 16 2009 Hans de Goede <hdegoede@redhat.com>
2617 - Fix lockdep warning (and potential real deadlock) in mdraid10 code,
2618   requested for -stable, rh#515471
2619
2620 * Wed Sep 16 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31-17
2621 - nouveau: potential fix for rh#522649 + misc other fixes
2622
2623 * Tue Sep 15 2009 Chuck Ebbert <cebbert@redhat.com>
2624 - Add unused-kernel-patches Make target, change some patches to
2625   use ApplyOptionalPatch
2626
2627 * Tue Sep 15 2009 Ben Skeggs <bskeggs@redhat.com>
2628 - nouveau: misc fixes to context-related issues, fixes some severe nv4x bugs
2629
2630 * Tue Sep 15 2009 Ben Skeggs <bskeggs@redhat.com>
2631 - nouveau: temporarily disable fbcon accel, it's racing with ttm
2632
2633 * Mon Sep 14 2009 Steve Dickson <steved@redhat.com>
2634 - Added support for -o v4 mount parsing
2635
2636 * Mon Sep 14 2009 Ben Skeggs <bskeggs@redhat.com>
2637 - nouveau: avoid PFIFO IRQ hardlock, misc LVDS mode fixes, nv5x RAMFC cleanup
2638
2639 * Sun Sep 13 2009 Chuck Ebbert <cebbert@redhat.com>
2640 - SCSI oops fixes requested for -stable
2641
2642 * Fri Sep 11 2009 Dave Jones <davej@redhat.com>
2643 - Apply NX/RO to modules
2644
2645 * Fri Sep 11 2009 Dave Jones <davej@redhat.com>
2646 - Mark kernel data section as NX
2647
2648 * Fri Sep 11 2009 Ben Skeggs <bskeggs@redhat.com>
2649 - nouveau: bring in Matthew Garret's initial switchable graphics support
2650
2651 * Fri Sep 11 2009 Ben Skeggs <bskeggs@redhat.com>
2652 - nouveau: fixed use of strap-based panel mode when required (rh#522649)
2653 - nouveau: temporarily block accel on NVAC chipsets (rh#522361, rh#522575)
2654
2655 * Thu Sep 10 2009 Matthew Garrett <mjg@redhat.com>
2656 - linux-2.6-ahci-export-capabilities.patch: Backport from upstream
2657 - linux-2.6-rtc-show-hctosys.patch: Export the hctosys state of an rtc
2658 - linux-2.6-rfkill-all.patch: Support for keys that toggle all rfkill state
2659
2660 * Thu Sep 10 2009 Ben Skeggs <bskeggs@redhat.com>
2661 - drm-nouveau.patch: add some scaler-only modes for LVDS, GEM/TTM fixes
2662
2663 * Wed Sep 09 2009 Dennis Gilmore <dennis@ausil.us> 2.6.31-2
2664 - touch the dracut initrd file when using %%{with_dracut}
2665
2666 * Wed Sep 09 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-1
2667 - Linux 2.6.31
2668
2669 * Wed Sep 09 2009 Chuck Ebbert <cebbert@redhat.com>
2670 - Enable VXpocket and PDaudioCF PCMCIA sound drivers.
2671
2672 * Wed Sep 09 2009 Hans de Goede <hdegoede@redhat.com>
2673 - Move to %%post generation of dracut initrd, because of GPL issues surrounding
2674   shipping a prebuild initrd
2675 - Require grubby >= 7.0.4-1, for %%post generation
2676
2677 * Wed Sep  9 2009 Steve Dickson <steved@redhat.com>
2678 - Updated the NFS4 pseudo root code to the latest release.
2679
2680 * Wed Sep 09 2009 Justin M. Forbes <jforbes@redhat.com>
2681 - Revert virtio_blk to rotational mode. (#509383)
2682
2683 * Wed Sep 09 2009 Dave Airlie <airlied@redhat.com> 2.6.31-0.219.rc9.git
2684 - uggh lost nouveau bits in page flip
2685
2686 * Wed Sep 09 2009 Dave Airlie <airlied@redhat.com> 2.6.31-0.218.rc9.git2
2687 - fix r600 oops with page flip patch (#520766)
2688
2689 * Wed Sep 09 2009 Ben Skeggs <bskeggs@redhat.com>
2690 - drm-nouveau.patch: fix display resume on pre-G8x chips
2691
2692 * Wed Sep 09 2009 Ben Skeggs <bskeggs@redhat.com>
2693 - drm-nouveau.patch: add getparam to know using tile_flags is ok for scanout
2694
2695 * Wed Sep 09 2009 Chuck Ebbert <cebbert@redhat.com>
2696 - 2.6.31-rc9-git2
2697
2698 * Wed Sep  9 2009 Roland McGrath <roland@redhat.com> 2.6.31-0.214.rc9.git1
2699 - compile with -fno-var-tracking-assignments, work around gcc bug #521991
2700
2701 * Wed Sep 09 2009 Dave Airlie <airlied@redhat.com> 2.6.31-0.213.rc9.git1
2702 - fix two bugs in r600 kms, fencing + mobile lvds
2703
2704 * Tue Sep 08 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31-0.212.rc9.git1
2705 - drm-nouveau.patch: fix ppc build
2706
2707 * Tue Sep 08 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31-0.211.rc9.git1
2708 - drm-nouveau.patch: more misc fixes
2709
2710 * Tue Sep 08 2009 Dave Airlie <airlied@redhat.com> 2.6.31-0.210.rc9.git1
2711 - drm-page-flip.patch: rebase again
2712
2713 * Tue Sep 08 2009 Dave Airlie <airlied@redhat.com> 2.6.31-0.209.rc9.git1
2714 - drm-next.patch: fix r600 signal interruption return value
2715
2716 * Tue Sep 08 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31-0.208.rc9.git1
2717 - drm-nouveau.patch: latest upstream + rebase onto drm-next
2718
2719 * Tue Sep 08 2009 Dave Airlie <airlied@redhat.com> 2.6.31-0.207.rc9.git1
2720 - drm-vga-arb.patch: update to avoid lockdep + add r600 support
2721
2722 * Tue Sep 08 2009 Dave Airlie <airlied@redhat.com> 2.6.31-0.206.rc9.git1
2723 - drm: rebase to drm-next - r600 accel + kms should start working now
2724
2725 * Mon Sep 07 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.205.rc9.git1
2726 - 2.6.31-rc9-git1
2727 - Temporarily hack the drm-next patch so it still applies; the result
2728   should still be safe to build.
2729
2730 * Sat Sep 05 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.204.rc9
2731 - 2.6.31-rc9
2732
2733 * Fri Sep 04 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.203.rc8.git2
2734 - Fix kernel build errors when building firmware by removing the
2735   .config file before that step and restoring it afterward.
2736
2737 * Thu Sep 03 2009 Adam Jackson <ajax@redhat.com>
2738 - drm-ddc-caching-bug.patch: Empty the connector's mode list when it's
2739   disconnected.
2740
2741 * Thu Sep 03 2009 Jarod Wilson <jarod@redhat.com>
2742 - Update hdpvr and lirc_zilog drivers for 2.6.31 i2c
2743
2744 * Thu Sep 03 2009 Justin M.Forbes <jforbes@redhat.com>
2745 - Fix xen guest with stack protector. (#508120)
2746 - Small kvm fixes.
2747
2748 * Wed Sep 02 2009 Adam Jackson <ajax@redhat.com> 2.6.31-0.199.rc8.git2
2749 - drm-intel-pm.patch: Disable by default, too flickery on too many machines.
2750   Enable with i915.powersave=1.
2751
2752 * Wed Sep 02 2009 Dave Jones <davej@redhat.com>
2753 - Add missing scriptlet dependancy. (#520788)
2754
2755 * Tue Sep 01 2009 Adam Jackson <ajax@redhat.com>
2756 - Make DRM less chatty about EDID failures.  No one cares.
2757
2758 * Tue Sep 01 2009 Chuck Ebbert <cebbert@redhat.com>
2759 - 2.6.31-rc8-git2
2760 - Blank out drm-intel-next: entire contents are now upstream.
2761
2762 * Tue Sep 01 2009 Dave Jones <davej@redhat.com>
2763 - Make firmware buildarch noarch. (Suggested by drago01 on irc)
2764
2765 * Tue Sep 01 2009 Jarod Wilson <jarod@redhat.com>
2766 - Fix up lirc_zilog to enable functional IR transmit and receive
2767   on the Hauppauge HD PVR
2768 - Fix audio on PVR-500 when used in same system as HVR-1800 (#480728)
2769
2770 * Sun Aug 30 2009 Chuck Ebbert <cebbert@redhat.com>
2771 - 2.6.31-rc8-git1
2772 - Drop linux-2.6-inotify-accounting.patch, merged upstream.
2773
2774 * Sun Aug 30 2009 Jarod Wilson <jarod@redhat.com>
2775 - fix lirc_imon oops on older devices w/o tx ctrl ep (#520008)
2776
2777 * Fri Aug 28 2009 Eric Paris <eparis@redhat.com> 2.6.31-0.190.rc8
2778 - fix inotify length accounting and send inotify events
2779
2780 * Fri Aug 28 2009 David Woodhouse <David.Woodhouse@intel.com>
2781 - Enable Solos DSL driver
2782
2783 * Fri Aug 28 2009 Chuck Ebbert <cebbert@redhat.com>
2784 - 2.6.31-rc8
2785
2786 * Thu Aug 27 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.185.rc7.git6
2787 - 2.6.31-rc7-git6
2788 - Drop patch merged upstream:
2789   xen-fb-probe-fix.patch
2790
2791 * Thu Aug 27 2009 Adam Jackson <ajax@redhat.com>
2792 - drm-rv710-ucode-fix.patch: Treat successful microcode load on RV710 as,
2793   you know, success. (#519718)
2794
2795 * Thu Aug 27 2009 Chuck Ebbert <cebbert@redhat.com>
2796 - 2.6.31-rc7-git5
2797 - Drop patch linux-2.6-ima-leak.patch, now merged upstream.
2798
2799 * Wed Aug 26 2009 Jarod Wilson <jarod@redhat.com>
2800 - Fix up hdpvr ir enable patch for use w/modular i2c (David Engel)
2801
2802 * Wed Aug 26 2009 Eric Paris <eparis@redhat.com>
2803 - fix iint_cache leak in IMA code
2804   drop the ima=0 patch
2805
2806 * Wed Aug 26 2009 Justin M. Forbes <jforbes@redhat.com>
2807 - Fix munlock with KSM (#516909)
2808 - Re-enable KSM
2809
2810 * Wed Aug 26 2009 Chuck Ebbert <cebbert@redhat.com>
2811 - 2.6.31-rc7-git4
2812 - Drop patches merged upstream:
2813   xen-x86-fix-stackprotect.patch
2814   xen-x86-no-stackprotect.patch
2815
2816 * Wed Aug 26 2009 Adam Jackson <ajax@redhat.com>
2817 - drm-intel-next.patch: Update, various output setup fixes.
2818
2819 * Wed Aug 26 2009 David Woodhouse <David.Woodhouse@intel.com>
2820 - Make WiMAX modular (#512070)
2821
2822 * Tue Aug 25 2009 Kyle McMartin <kyle@redhat.com>
2823 - allow-disabling-ima.diff: debugging patch... adds ima=0 kernel
2824   param to disable initialization of IMA.
2825
2826 * Tue Aug 25 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31-0.174.rc7.git2
2827 - drm-nouveau.patch: upstream update, pre-nv50 tv-out + misc fixes
2828
2829 * Tue Aug 25 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.173.rc7.git2
2830 - Fix Xen boot (#508120)
2831
2832 * Tue Aug 25 2009 Dave Airlie <airlied@redhat.com>
2833 - pull in drm-next tree + rebase around it
2834
2835 * Mon Aug 24 2009 Chuck Ebbert <cebbert@redhat.com>
2836 - 2.6.31-rc7-git2
2837
2838 * Mon Aug 24 2009 Chuck Ebbert <cebbert@redhat.com>
2839 - 2.6.31-rc7-git1
2840
2841 * Sat Aug 22 2009 Chuck Ebbert <cebbert@redhat.com>
2842 - 2.6.31-rc7
2843
2844 * Thu Aug 20 2009 Mark McLoughlin <markmc@redhat.com>
2845 - Disable LZMA for xen (#515831)
2846
2847 * Thu Aug 20 2009 Chuck Ebbert <cebbert@redhat.com>
2848 - 2.6.31-rc6-git5
2849 - Fix up drm-r600-kms.patch
2850 - Drop fix-perf-make-man-failure.patch
2851
2852 * Wed Aug 19 2009 Chuck Ebbert <cebbert@redhat.com>
2853 - 2.6.31-rc6-git5
2854 - Revert linux-2.6-debug-vm-would-have-oomkilled.patch to v1.2
2855   because upstream changes to oom-kill.c were all reverted.
2856
2857 * Tue Aug 18 2009 Kyle McMartin <kyle@redhat.com>
2858 - Fix up perf so that it builds docs now that they are fixed.
2859 - with_docs disables perf docs too. be warned. (logic is that the
2860   build deps are (mostly) the same, so if you don't want one, odds are...)
2861
2862 * Tue Aug 18 2009 Dave Jones <davej@redhat.com>
2863 - 2.6.31-rc6-git3
2864
2865 * Mon Aug 17 2009 Dave Jones <davej@redhat.com> 2.6.31-0.161.rc6.git2
2866 - 2.6.31-rc6-git2
2867
2868 * Mon Aug 17 2009 Chuck Ebbert <cebbert@redhat.com>
2869 - Stop generating the (unused) ppc64-kdump.config file.
2870
2871 * Mon Aug 17 2009 Jarod Wilson <jarod@redhat.com>
2872 - Add new lirc driver for built-in ENE0100 device on some laptops
2873
2874 * Sun Aug 16 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.158.rc6
2875 - Improve the perf script so it prints something helpful if the
2876   perf binary doesn't exist.
2877
2878 * Sat Aug 15 2009 Dave Jones <davej@redhat.com> 2.6.31-0.157.rc6
2879 - Disable KSM patches on a hunch.  Chasing the "encrypted VGs don't work" bug.
2880
2881 * Fri Aug 14 2009 Dave Jones <davej@redhat.com> 2.6.31-0.155.rc6
2882 - 2.6.31-rc6
2883
2884 * Wed Aug 12 2009 Kyle McMartin <kyle@redhat.com>
2885 - fix perf.
2886 - move perf to perf.$ver instead of perf-$ver...
2887
2888 * Wed Aug 12 2009 Dennis Gilmore <dennis@ausil.us>
2889 - Obsolete kernel-smp on sparc64
2890 - Require grubby >= 7.0.2-1 since thats what introduces the dracut options we use
2891
2892 * Wed Aug 12 2009 Kristian Høgsberg <krh@redhat.com>
2893 - Fix drm-page-flip.patch to not break radeon kms and to not reset
2894   crtc offset into fb on flip.
2895
2896 * Wed Aug 12 2009 Adam Jackson <ajax@redhat.com>
2897 - Update drm-intel-next patch
2898
2899 * Tue Aug 11 2009 Dennis Gilmore <dennis@ausil.us> - 2.6.31-0.149.rc5.git3
2900 - disable building the -smp kernel on sparc64
2901 - disable building kernel-perf on sparc64 syscalls not supported
2902
2903 * Tue Aug 11 2009 Eric Paris <eparis@redhat.com>
2904 - Enable config IMA
2905
2906 * Tue Aug 11 2009 Ben Skeggs <bskeggs@redhat.com>
2907 - nouveau: various cleanups and fixes + more sanity checking in dma paths
2908
2909 * Mon Aug 10 2009 Jarod Wilson <jarod@redhat.com>
2910 - Add new device ID to lirc_mceusb (#512483)
2911 - Fix some lockdep false positives
2912 - Add support for setting and enabling iMON clock via sysfs
2913 - Add tunable pad threshold support to lirc_imon
2914 - Add new pseudo-IR protocl to lirc_imon for universals w/o a pad
2915 - Fix mouse device support on older iMON devices
2916
2917 * Mon Aug 10 2009 David Woodhouse <David.Woodhouse@intel.com> 2.6.31-0.145.rc5.git3
2918 - Merge latest Intel IOMMU fixes and BIOS workarounds, re-enable by default.
2919
2920 * Sun Aug 09 2009 Kyle McMartin <kyle@redhat.com>
2921 - btusb autosuspend: fix build on !CONFIG_PM by stubbing out
2922   suspend/resume methods.
2923
2924 * Sat Aug 08 2009 Dennis Gilmore <dennis@ausil.us> 2.6.31-0.141.rc5.git3
2925 - disable kgdb on sparc64 uni-processor kernel
2926 - set max cpus to 256 on sparc64
2927 - enable AT keyboard on sparc64
2928
2929 * Fri Aug 07 2009 Justin M. Forbes <jforbes@redhat.com>
2930 - Apply KSM updates from upstream
2931
2932 * Fri Aug 07 2009 Hans de Goede <hdegoede@redhat.com>
2933 - When building a dracut generic initrd tell new-kernel-pkg to use that
2934   instead of running mkinitrd
2935
2936 * Fri Aug 07 2009 Dave Airlie <airlied@redhat.com> 2.6.31-0.139.rc5.git3
2937 - drm-r600-kms.patch - update r600 KMS
2938 - drm-radeon-fixes.patch - patches for queue to Linus
2939
2940 * Thu Aug 06 2009 Justin M. Forbes <jforbes@redhat.com> 2.6.31-0.138.rc5.git3
2941 - Fix kvm virtio_blk errors (#514901)
2942
2943 * Thu Aug 06 2009 Adam Jackson <ajax@redhat.com>
2944 - Hush DRM vblank warnings, they're constant (and harmless) under DRI2.
2945
2946 * Thu Aug 06 2009 Dave Airlie <airlied@redhat.com> 2.6.31.0.134.rc5.git3
2947 - fixup vga arb warning at startup and handover between gpus
2948
2949 * Thu Aug 06 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.0.133.rc5.git3
2950 - die-floppy-die.patch: it's the 21st century, let's not rely on
2951   steam powered technology.
2952
2953 * Wed Aug 05 2009 Dave Airlie <airlied@redhat.com> 2.6.31.0.132.rc5.git3
2954 - revert-ftrace-powerpc-snafu.patch - fix ppc build
2955
2956 * Wed Aug 05 2009 Ben Skeggs <bskeggs@redhat.com>
2957 - nouveau: respect nomodeset
2958
2959 * Wed Aug 05 2009 Chuck Ebbert <cebbert@redhat.com>
2960 - Fix /usr/sbin/perf script. (#515494)
2961
2962 * Wed Aug 05 2009 Dave Jones <davej@redhat.com>
2963 - Fix shift in pci cacheline size printk.
2964
2965 * Wed Aug 05 2009 Dave Airlie <airlied@redhat.com> 2.6.31.0.128.rc5.git3
2966 - 2.6.31-rc5-git3
2967 - drop cpufreq + set memory fixes
2968
2969 * Wed Aug 05 2009 Dave Airlie <airlied@redhat.com>
2970 - Add Jeromes initial r600 kms work.
2971 - rebase arb patch
2972
2973 * Tue Aug 04 2009 Kyle McMartin <kyle@redhat.com>
2974 - alsa-tell-user-that-stream-to-be-rewound-is-suspended.patch: apply patch
2975   destined for 2.6.32, requested by Lennart.
2976
2977 * Tue Aug 04 2009 Ben Skeggs <bskeggs@redhat.com>
2978 - nouveau: more code share between nv50/<nv50 kms, bug fixes
2979
2980 * Tue Aug 04 2009 Dave Airlie <airlied@redhat.com>
2981 - update VGA arb patches again
2982
2983 * Mon Aug 03 2009 Adam Jackson <ajax@redhat.com>
2984 - Update intel drm from anholt's tree
2985 - Rebase drm-intel-pm.patch to match
2986 - Drop gen3 fb hack, merged
2987 - Drop previous watermark setup change
2988
2989 * Mon Aug 03 2009 Dave Jones <davej@redhat.com> 2.6.31-0.122.rc5.git2
2990 - 2.6.31-rc5-git2
2991
2992 * Mon Aug 03 2009 Adam Jackson <ajax@redhat.com>
2993 - (Attempt to) fix watermark setup on Intel 9xx parts.
2994
2995 * Mon Aug 03 2009 Jarod Wilson <jarod@redhat.com>
2996 - make usbhid driver ignore all recent SoundGraph iMON devices, so the
2997   lirc_imon driver can grab them instead
2998
2999 * Mon Aug 03 2009 Dave Airlie <airlied@redhat.com>
3000 - update VGA arb patches
3001
3002 * Sat Aug 01 2009 David Woodhouse <David.Woodhouse@intel.com> 2.6.31-0.118.rc5
3003 - Fix boot failures on ppc32 (#514010, #505071)
3004
3005 * Fri Jul 31 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.117.rc5
3006 - Linux 2.6.31-rc5
3007
3008 * Fri Jul 31 2009 Matthew Garrett <mjg@redhat.com>
3009 - linux-2.6-dell-laptop-rfkill-fix.patch: Fix up Dell rfkill
3010
3011 * Fri Jul 31 2009 Ben Skeggs <bskeggs@redhat.com>
3012 - nouveau: build against 2.6.31-rc4-git6, fix script parsing on some G8x chips
3013
3014 * Thu Jul 30 2009 Chuck Ebbert <cebbert@redhat.com>
3015 - Linux 2.6.31-rc4-git6
3016   New config item: CONFIG_BATTERY_DS2782 is not set
3017 - Add last-minute set_memory_wc() fix from LKML.
3018
3019 * Thu Jul 30 2009 Matthew Garrett <mjg@redhat.com>
3020 - drm-intel-pm.patch: Don't reclock external outputs. Increase the reduced
3021    clock slightly to avoid upsetting some hardware. Disable renderclock
3022    adjustment for the moment - it's breaking on some hardware.
3023
3024 * Thu Jul 30 2009 Ben Skeggs <bskeggs@redhat.com>
3025 - nouveau: another DCB 1.5 entry, G80 corruption fixes, small <G80 KMS fix
3026
3027 * Thu Jul 30 2009 Dave Airlie <airlied@redhat.com>
3028 - fix VGA ARB + kms
3029
3030 * Wed Jul 29 2009 Dave Jones <davej@redhat.com>
3031 - Add support for dracut. (Harald Hoyer)
3032
3033 * Wed Jul 29 2009 Ben Skeggs <bskeggs@redhat.com>
3034 - drm-nouveau.patch: nv50/nva0 tiled scanout fixes, nv40 kms fixes
3035
3036 * Wed Jul 29 2009 Chuck Ebbert <cebbert@redhat.com>
3037 - Linux 2.6.31-rc4-git3
3038 - Drop linux-2.6-ecryptfs-overflow-fixes.patch, merged upstream now.
3039
3040 * Wed Jul 29 2009 Dave Airlie <airlied@redhat.com>
3041 - update VGA arb patches
3042
3043 * Tue Jul 28 2009 Adam Jackson <ajax@redhat.com>
3044 - Remove the pcspkr modalias.  If you're still living in 1994, load it
3045   by hand.
3046
3047 * Tue Jul 28 2009 Eric Sandeen <sandeen@redhat.com> 2.6.31-0.102.rc4.git2
3048 - Fix eCryptfs overflow issues (CVE-2009-2406, CVE-2009-2407)
3049
3050 * Tue Jul 28 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.101.rc4.git2
3051 - 2.6.31-rc4-git2
3052 - rebase linux-2.6-fix-usb-serial-autosuspend.diff
3053 - config changes:
3054  - USB_GSPCA_SN9C20X=m (_EVDEV=y)
3055
3056 * Tue Jul 28 2009 Ben Skeggs <bskeggs@redhat.com>
3057 - drm-nouveau.patch: cleanup userspace API, various bugfixes.
3058   Looks worse than it is, register macros got cleaned up, which
3059   touches pretty much everywhere..
3060
3061 * Mon Jul 27 2009 Adam Jackson <ajax@redhat.com>
3062 - Warn quieter about not finding PCI bus parents for ROM BARs, they're
3063   not usually needed and there's nothing you can do about it anyway.
3064
3065 * Mon Jul 27 2009 Matthew Garrett <mjg@redhat.com>
3066 - linux-2.6-alsa-improve-hda-powerdown.patch - attempt to reduce audio glitches
3067    caused by HDA powerdown
3068 - disable CONFIG_DEBUG_KOBJECT again for now, since it produces huge dmesg spew
3069
3070 * Mon Jul 27 2009 Dave Airlie <airlied@redhat.com>
3071 - update vga arb code
3072
3073 * Mon Jul 27 2009 Matthew Garrett <mjg@redhat.com>
3074 - drm-intel-pm.patch - Add runtime PM for Intel graphics
3075
3076 * Fri Jul 24 2009 Kristian Høgsberg <krh@redhat.com>
3077 - Add drm-page-flip.patch to support vsynced page flipping on intel
3078   chipsets.
3079 - Really add patch.
3080 - Fix patch to not break nouveau.
3081
3082 * Fri Jul 24 2009 Chuck Ebbert <cebbert@redhat.com>
3083 - Enable CONFIG_DEBUG_KOBJECT in debug kernels. (#513606)
3084
3085 * Thu Jul 23 2009 Kyle McMartin <kyle@redhat.com>
3086 - perf BuildRequires binutils-devel now.
3087
3088 * Thu Jul 23 2009 Justin M. Forbes <jforbes@redhat.com>
3089 - Add KSM support
3090
3091 * Thu Jul 23 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.87.rc4
3092 - Linux 2.6.31-rc4
3093 - config changes:
3094  - USB_CDC_PHONET=m [all]
3095  - EVENT_PROFILE=y [i386, x86_64, powerpc, s390]
3096
3097 * Wed Jul 22 2009 Tom "spot" Callaway <tcallawa@redhat.com>
3098 - We have to override the new %%install behavior because, well... the kernel is special.
3099
3100 * Wed Jul 22 2009 Dave Jones <davej@redhat.com>
3101 - 2.6.31-rc3-git5
3102
3103 * Wed Jul 22 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31-0.82.rc3.git4
3104 - Enable KMS for nouveau
3105
3106 * Wed Jul 22 2009 Ben Skeggs <bskeggs@redhat.com>
3107 - Update nouveau from upstream (initial suspend/resume + misc bugfixes)
3108
3109 * Mon Jul 20 2009 Adam Jackson <ajax@redhat.com>
3110 - Disable VGA arbiter patches for a moment
3111
3112 * Mon Jul 20 2009 Adam Jackson <ajax@redhat.com>
3113 - Revive 4k framebuffers for intel gen3
3114
3115 * Mon Jul 20 2009 Dave Jones <davej@redhat.com> 2.6.31-0.78.rc3.git4
3116 - Enable CONFIG_RTC_HCTOSYS (#489494)
3117
3118 * Mon Jul 20 2009 Dave Jones <davej@redhat.com> 2.6.31-0.77.rc3.git4
3119 - Don't build 586 kernels any more.
3120
3121 * Sun Jul 19 2009 Dave Jones <davej@redhat.com> 2.6.31-0.75.rc3.git4
3122 - build a 'full' package on i686 (Bill Nottingham)
3123
3124 * Sun Jul 19 2009 Dave Jones <davej@redhat.com> 2.6.31-0.74.rc3.git4
3125 - 2.6.31-rc3-git4
3126
3127 * Sat Jul 18 2009 Matthew Garrett <mjg@redhat.com>
3128 - linux-2.6-driver-level-usb-autosuspend.diff - allow drivers to enable autopm
3129 - linux-2.6-fix-usb-serial-autosuspend.diff - fix generic usb-serial autopm
3130 - linux-2.6-qcserial-autosuspend.diff - enable autopm by default on qcserial
3131 - linux-2.6-bluetooth-autosuspend.diff - enable autopm by default on btusb
3132 - linux-2.6-usb-uvc-autosuspend.diff - enable autopm by default on uvc
3133
3134 * Thu Jul 16 2009 Chuck Ebbert <cebbert@redhat.com>
3135 - 2.6.31-rc3-git3
3136
3137 * Thu Jul 16 2009 Matthew Garrett <mjg@redhat.com>
3138 - linux-2.6-defaults-aspm.patch - default ASPM to on for PCIe >= 1.1 hardware
3139
3140 * Thu Jul 16 2009 Dave Airlie <airlied@redhat.com> 2.6.31-0.69.rc3
3141 - linux-2.6-vga-arb.patch - add VGA arbiter.
3142 - drm-vga-arb.patch - add VGA arbiter support to drm
3143
3144 * Tue Jul 14 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.68-rc3
3145 - 2.6.31-rc3
3146 - config changes:
3147  - RTL8192SU is not set, (staging)
3148
3149 * Mon Jul 13 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.67.rc2.git9
3150 - 2.6.31-rc2-git9
3151 - config changes:
3152  - BLK_DEV_OSD=m
3153
3154 * Mon Jul 13 2009 Ben Skeggs <bskeggs@redhat.com>
3155 - drm-nouveau.patch: update from upstream
3156
3157 * Fri Jul 10 2009 Chuck Ebbert <cebbert@redhat.com>
3158 - 2.6.31-rc2-git6
3159 - Drop dmadebug-spinlock patch -- merged upstream.
3160
3161 * Fri Jul 10 2009 Dave Jones <davej@redhat.com> 2.6.31-0.64.rc2.git5
3162 - Don't jump through hoops that ppc powerbooks have to on sensible systems
3163   in cpufreq_suspend.
3164
3165 * Fri Jul 10 2009 Dave Jones <davej@redhat.com>
3166 - 2.6.31-rc2-git5
3167
3168 * Thu Jul 09 2009 Dave Jones <davej@redhat.com> 2.6.31-0.62.rc2.git4
3169 - Use correct spinlock initialization in dma-debug
3170
3171 * Thu Jul 09 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.61.rc2.git4
3172 - 2.6.31-rc2-git4
3173
3174 * Thu Jul 09 2009 Jarod Wilson <jarod@redhat.com>
3175 - Enable IR receiver on the Hauppauge HD PVR
3176 - Trim the changelog, axing everything before 2.6.29 (see cvs
3177   if you still really want to see that far back)
3178
3179 * Wed Jul 08 2009 Dave Jones <davej@redhat.com>
3180 - Enable a bunch of debugging options that were missed somehow.
3181
3182 * Wed Jul 08 2009 Kyle McMartin <kyle@redhat.com>
3183 - Bump NR_CPUS on x86_64 to 512.
3184
3185 * Wed Jul 08 2009 Adam Jackson <ajax@redhat.com>
3186 - drm-no-gem-on-i8xx.patch: Drop, intel 2D driver requires GEM now. This
3187   should be entertaining.
3188
3189 * Wed Jul 08 2009 Kyle McMartin <kyle@redhat.com>
3190 - First cut of /usr/sbin/perf wrapper script and 'perf'
3191   subpackage.
3192
3193 * Wed Jul 08 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.54.rc2.git2
3194 - Rebase and re-apply all the Fedora-specific linux-2.6-debug-*
3195   patches.
3196 - Cull a bunch of upstreamed patches from the spec.
3197
3198 * Wed Jul 08 2009 Steve Dickson <steved@redhat.com>
3199 - Added NFSD v4 dynamic pseudo root patch which allows
3200   NFS v3 exports to be mounted by v4 clients.
3201
3202 * Tue Jul 07 2009 Jarod Wilson <jarod@redhat.com>
3203 - See if we can't make lirc_streamzap behave better... (#508952)
3204
3205 * Tue Jul 07 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.47.rc2.git2
3206 - 2.6.31-rc2-git2
3207
3208 * Tue Jul 07 2009 Jarod Wilson <jarod@redhat.com>
3209 - Make lirc_i2c actually work with 2.6.31 i2c
3210
3211 * Mon Jul 06 2009 Chuck Ebbert <cebbert@redhat.com>
3212 - Use LZMA for kernel compression on X86.
3213
3214 * Mon Jul 06 2009 Jarod Wilson <jarod@redhat.com>
3215 - Hack up lirc_i2c and lirc_zilog to compile with 2.6.31 i2c
3216   changes. The drivers might not actually be functional now, but
3217   at least they compile again. Will fix later, if need be...
3218
3219 * Sat Jul 04 2009 Dave Jones <davej@redhat.com> 2.6.31-0.42.rc2
3220 - 2.6.31-rc2
3221
3222 * Sat Jul 04 2009 Chuck Ebbert <cebbert@redhat.com>
3223 - 2.6.31-rc1-git11
3224
3225 * Fri Jul 03 2009 Hans de Goede <hdegoede@redhat.com>
3226 - Disable v4l1 ov511 and quickcam_messenger drivers (obsoleted by
3227   v4l2 gspca subdrivers)
3228
3229 * Thu Jul 02 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.39.rc1.git9
3230 - 2.6.31-rc1-git9
3231 - linux-2.6-dm-fix-exstore-search.patch: similar patch merged upstream.
3232
3233 * Tue Jun 30 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.38.rc1.git7
3234 - 2.6.31-rc1-git7
3235
3236 * Tue Jun 30 2009 Dave Jones <davej@redhat.com> 2.6.31-0.37.rc1.git5
3237 - Disable kmemleak. Way too noisy, and not finding any real bugs.
3238
3239 * Tue Jun 30 2009 Ben Skeggs <bskeggs@redhat.com>
3240 - drm-nouveau.patch: match upstream
3241
3242 * Mon Jun 29 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.35.rc1.git5
3243 - 2.6.31-rc1-git5
3244 - CONFIG_LEDS_LP3944=m
3245
3246 * Mon Jun 29 2009 Chuck Ebbert <cebbert@redhat.com>
3247 - Try to fix the dm overlay bug for real (#505121)
3248
3249 * Sat Jun 27 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31-0.33.rc1.git2
3250 - drm-nouveau.patch: fix conflicts from 2.6.31-rc1-git2
3251
3252 * Fri Jun 26 2009 Dave Jones <davej@redhat.com> 2.6.31-0.31.rc1.git2
3253 - Further improvements to kmemleak
3254
3255 * Fri Jun 26 2009 Dave Jones <davej@redhat.com> 2.6.31-0.30.rc1.git2
3256 - 2.6.31-rc1-git2
3257
3258 * Fri Jun 26 2009 Ben Skeggs <bskeggs@redhat.com>
3259 - drm-nouveau.patch: latest upstream + reenable
3260
3261 * Thu Jun 25 2009 Dave Jones <davej@redhat.com> 2.6.31-0.29.rc1
3262 - Make kmemleak scan process stacks by default.
3263   Should reduce false positives (which does also increase false negatives,
3264   but that's at least less noisy)
3265
3266 * Wed Jun 24 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.28.rc1
3267 - 2.6.31-rc1
3268 - linux-2.6-utrace.patch: rebase on kernel/Makefile changes
3269 - config changes:
3270  - generic:
3271   - CONFIG_DM_LOG_USERSPACE=m
3272   - CONFIG_DM_MULTIPATH_QL=m
3273   - CONFIG_DM_MULTIPATH_ST=m
3274   - CONFIG_BATTERY_MAX17040=m
3275   - CONFIG_I2C_DESIGNWARE is off (depends on clk.h)
3276
3277 * Wed Jun 24 2009 Kyle McMartin <kyle@redhat.com>
3278 - Move perf to /usr/libexec/perf-$KernelVer.
3279
3280 * Wed Jun 24 2009 Kyle McMartin <kyle@redhat.com>
3281 - config changes:
3282  - generic:
3283   - CONFIG_SCSI_DEBUG=m (was off, requested by davidz)
3284
3285 * Wed Jun 24 2009 Dave Jones <davej@redhat.com> 2.6.31-0.22.rc0.git22
3286 - 2.6.30-git22
3287
3288 * Tue Jun 23 2009 Dave Jones <davej@redhat.com> 2.6.31-0.22.rc0.git20
3289 - 2.6.30-git20
3290
3291 * Mon Jun 22 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.24.rc0.git18
3292 - Enable tools/perf, installed as /bin/perf-$KernelVer. Docs and a /bin/perf
3293   wrapper come next if this builds ok.
3294
3295 * Mon Jun 22 2009 Kyle McMartin <kyle@redhat.com>
3296 - sched-introduce-SCHED_RESET_ON_FORK-scheduling-policy-flag.patch: pull in
3297   two fixes from Mike Galbraith from tip.git
3298
3299 * Sun Jun 21 2009 Dave Jones <davej@redhat.com> 2.6.31-0.21.rc0.git18
3300 - Add patch to possibly fix the pktlen problem on via-velocity.
3301
3302 * Sun Jun 21 2009 Dave Jones <davej@redhat.com> 2.6.31-0.20.rc0.git18
3303 - 2.6.30-git18
3304   VIA crypto & mmc patches now upstream.
3305
3306 * Sun Jun 21 2009 Dave Jones <davej@redhat.com>
3307 - Determine cacheline sizes in a generic manner.
3308
3309 * Sun Jun 21 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.18.rc0.git17
3310 - 2.6.30-git17
3311 - Config changes:
3312   - powerpc32-generic
3313       CONFIG_PERF_COUNTERS=y
3314   - generic
3315       CONFIG_KEYBOARD_LM8323 is not set
3316       CONFIG_MOUSE_SYNAPTICS_I2C=m
3317       CONFIG_TOUCHSCREEN_EETI=m
3318       CONFIG_TOUCHSCREEN_W90X900=m
3319 - Dropped agp-set_memory_ucwb.patch, all fixed upstream now.
3320
3321 * Sat Jun 20 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.0.17.rc0.git15
3322 - config changes:
3323  - ppc generic:
3324   - CONFIG_PPC_DISABLE_WERROR=y (switched... chrp fails otherwise, stack
3325     frame size.)
3326
3327 * Sat Jun 20 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.0.16.rc0.git15
3328 - 2.6.30-git15
3329 - config changes:
3330  - generic:
3331   - CONFIG_LBDAF=y
3332  - staging:
3333   - CONFIG_USB_SERIAL_QUATECH2 is not set
3334   - CONFIG_VT6655 is not set
3335   - CONFIG_USB_CPC is not set
3336   - CONFIG_RDC_17F3101X is not set
3337   - CONFIG_FB_UDL is not set
3338  - ppc32:
3339   - CONFIG_KMETER1=y
3340  - ppc generic:
3341   - CONFIG_PPC_DISABLE_WERROR is not set
3342 - lirc disabled due to i2c detach_client removal.
3343
3344 * Sat Jun 20 2009 Kyle McMartin <kyle@redhat.com>
3345 - sched-introduce-SCHED_RESET_ON_FORK-scheduling-policy-flag.patch: add,
3346   queued in tip/sched/core (ca94c442535a44d508c99a77e54f21a59f4fc462)
3347
3348 * Fri Jun 19 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.0.15.rc0.git14
3349 - Fix up ptrace, hopefully. Builds on x86_64 at least.
3350
3351 * Fri Jun 19 2009 Chuck Ebbert <cebbert@redhat.com>
3352 - linux-2.6-tip.git-203abd67b75f7714ce98ab0cdbd6cfd7ad79dec4.patch
3353   Fixes oops on boot with qemu (#507007)
3354
3355 * Fri Jun 19 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.13.rc0.git14
3356 - 2.6.30-git14
3357
3358 * Fri Jun 19 2009 Chuck Ebbert <cebbert@redhat.com>
3359 - Fix up the via-sdmmc and via-hwmon-temp-sensor patches.
3360 - Drop VIA Padlock patches merged upstream:
3361     via-rng-enable-64bit.patch
3362     via-padlock-10-enable-64bit.patch
3363     via-padlock-20-add-x86-dependency.patch
3364
3365 * Thu Jun 18 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.11.rc0.git13
3366 - 2.6.30-git13
3367 - config changes:
3368  - arm:
3369   - CONFIG_UACCESS_WITH_MEMCPY is not set
3370  - i686-PAE:
3371   - CONFIG_XEN_DEV_EVTCHN=m
3372   - CONFIG_XEN_SYS_HYPERVISOR=y
3373  - ia64:
3374   - CONFIG_RCU_FANOUT=64
3375  - nodebug:
3376   - CONFIG_DEBUG_KMEMLEAK is not set
3377   - CONFIG_DEBUG_KMEMLEAK_TEST=m
3378  - powerpc:
3379   - CONFIG_CAN_SJA1000_OF_PLATFORM=m
3380   - CONFIG_PPC_EMULATED_STATS=y
3381   - CONFIG_SWIOTLB=y
3382   - CONFIG_RDS is not set (broken on ppc32)
3383  - powerpc32:
3384   - CONFIG_RCU_FANOUT=32
3385  - powerpc64:
3386   - CONFIG_RCU_FANOUT=64
3387   - CONFIG_PERF_COUNTERS=y
3388  - s390x:
3389   - CONFIG_RCU_FANOUT=64
3390   - CONFIG_SECCOMP=y
3391   - CONFIG_PM=y
3392   - CONFIG_HIBERNATION=y
3393   - CONFIG_PM_STD_PARTITION="/dev/jokes"
3394  - sparc64:
3395   - CONFIG_RCU_FANOUT=64
3396  - x86:
3397   - CONFIG_RCU_FANOUT=32
3398   - CONFIG_IOMMU_STRESS is not set
3399   - CONFIG_PERF_COUNTERS=y
3400   - CONFIG_X86_OLD_MCE is not set
3401   - CONFIG_X86_MCE_INTEL=y
3402   - CONFIG_X86_MCE_AMD=y
3403   - CONFIG_X86_ANCIENT_MCE is not set
3404   - CONFIG_X86_MCE_INJECT is not set
3405  - x86_64:
3406   - CONFIG_EDAC_AMD64=m
3407   - CONFIG_EDAC_AMD64_ERROR_INJECTION is not set
3408   - CONFIG_XEN_DEV_EVTCHN=m
3409   - CONFIG_XEN_SYS_HYPERVISOR=y
3410   - CONFIG_RCU_FANOUT=64
3411   - CONFIG_IOMMU_STRESS is not set
3412   - CONFIG_PERF_COUNTERS=y
3413   - CONFIG_X86_MCE_INJECT is not set
3414  - generic:
3415   - CONFIG_RCU_FANOUT=32
3416   - CONFIG_MMC_SDHCI_PLTFM=m
3417   - CONFIG_MMC_CB710=m
3418   - CONFIG_CB710_CORE=m
3419   - CONFIG_CB710_DEBUG is not set
3420   - CONFIG_SCSI_MVSAS_DEBUG is not set
3421   - CONFIG_SCSI_BNX2_ISCSI=m
3422   - CONFIG_NETFILTER_XT_MATCH_OSF=m
3423   - CONFIG_RFKILL_INPUT=y (used to be =m, which was invalid)
3424   - CONFIG_DE2104X_DSL=0
3425   - CONFIG_KS8842 is not set
3426   - CONFIG_CFG80211_DEBUGFS=y
3427   - CONFIG_MAC80211_DEFAULT_PS=y
3428   - CONFIG_IWM=m
3429   - CONFIG_IWM_DEBUG is not set
3430   - CONFIG_RT2800USB=m
3431   - CONFIG_CAN_DEV=m
3432   - CONFIG_CAN_CALC_BITTIMING=y
3433   - CONFIG_CAN_SJA1000=m
3434   - CONFIG_CAN_SJA1000_PLATFORM=m
3435   - CONFIG_CAN_EMS_PCI=m
3436   - CONFIG_CAN_KVASER_PCI=m
3437   - CONFIG_EEPROM_MAX6875=m
3438   - CONFIG_SENSORS_TMP401=m
3439   - CONFIG_MEDIA_SUPPORT=m
3440   - CONFIG_SND_CTXFI=m
3441   - CONFIG_SND_LX6464ES=m
3442   - CONFIG_SND_HDA_CODEC_CA0110=y
3443   - CONFIG_USB_XHCI_HCD=m
3444   - CONFIG_USB_XHCI_HCD_DEBUGGING is not set
3445   - CONFIG_DRAGONRISE_FF=y (used to be =m)
3446   - CONFIG_GREENASIA_FF=y (used to be =m)
3447   - CONFIG_SMARTJOYPLUS_FF=y (used to be =m)
3448   - CONFIG_USB_NET_INT51X1=m
3449   - CONFIG_CUSE=m
3450   - CONFIG_FUNCTION_PROFILER=y
3451   - CONFIG_RING_BUFFER_BENCHMARK=m
3452   - CONFIG_REGULATOR_USERSPACE_CONSUMER=m
3453   - CONFIG_REGULATOR_MAX1586=m
3454   - CONFIG_REGULATOR_LP3971=m
3455   - CONFIG_RCU_FANOUT_EXACT is not set
3456   - CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
3457   - CONFIG_FSNOTIFY=y
3458   - CONFIG_IEEE802154=m
3459   - CONFIG_IEEE802154_DRIVERS=m
3460   - CONFIG_IEEE802154_FAKEHARD=m
3461   - CONFIG_CNIC=m
3462
3463 * Wed Jun 17 2009 Jarod Wilson <jarod@redhat.com>
3464 - New lirc_imon hotness, update 2:
3465   * support dual-interface devices with a single lirc device
3466   * directional pad functions as an input device mouse
3467   * touchscreen devices finally properly supported
3468   * support for using MCE/RC-6 protocol remotes
3469   * fix oops in RF remote association code (F10 bug #475496)
3470   * fix re-enabling case/panel buttons and/or knobs
3471 - Add some misc additional lirc_mceusb2 transceiver IDs
3472 - Add missing unregister_chrdev_region() call to lirc_dev exit
3473 - Add it8720 support to lirc_it87
3474
3475 * Tue Jun 16 2009 Chuck Ebbert <cebbert@redhat.com>
3476 - Update via-sdmmc driver
3477
3478 * Mon Jun 15 2009 Jarod Wilson <jarod@redhat.com>
3479 - Update lirc patches w/new imon hotness
3480
3481 * Fri Jun 12 2009 Chuck Ebbert <cebbert@redhat.com>
3482 - Update VIA temp sensor and mmc drivers.
3483
3484 * Fri Jun 12 2009 John W. Linville <linville@redhat.com> 2.6.30-6
3485 - neigh: fix state transition INCOMPLETE->FAILED via Netlink request
3486 - enable CONFIG_ARPD (used by OpenNHRP)
3487
3488 * Wed Jun 10 2009 Chuck Ebbert <cebbert@redhat.com>
3489 - VIA Nano updates:
3490   Enable Padlock AES encryption and random number generator on x86-64
3491   Add via-sdmmc and via-cputemp drivers
3492
3493 * Wed Jun 10 2009 Kyle McMartin <kyle@redhat.com> 2.6.30-1
3494 - Linux 2.6.30 rebase.
3495
3496 * Tue Jun 09 2009 John W. Linville <linville@tuxdriver.com>
3497 - Clean-up some wireless bits in config-generic
3498
3499 * Tue Jun 09 2009 Chuck Ebbert <cebbert@redhat.com>
3500 - Add support for ACPI P-states on VIA processors.
3501 - Disable the e_powersaver driver.
3502
3503 * Tue Jun 09 2009 Chuck Ebbert <cebbert@redhat.com>
3504 - Linux 2.6.30-rc8-git6
3505
3506 * Fri Jun 05 2009 Chuck Ebbert <cebbert@redhat.com>
3507 - Linux 2.6.30-rc8-git1
3508
3509 * Wed Jun 03 2009 Kyle McMartin <kyle@redhat.com>
3510 - Linux 2.6.30-rc8
3511
3512 * Tue Jun  2 2009 Roland McGrath <roland@redhat.com>
3513 - utrace update (fixes stap PR10185)
3514
3515 * Tue Jun 02 2009 Dave Jones <davej@redhat.com>
3516 - For reasons unknown, RT2X00 driver was being built-in.
3517   Make it modular.
3518
3519 * Tue Jun 02 2009 Dave Jones <davej@redhat.com>
3520 - 2.6.30-rc7-git5
3521
3522 * Sat May 30 2009 Dave Jones <davej@redhat.com>
3523 - 2.6.30-rc7-git4
3524
3525 * Thu May 28 2009 Dave Jones <davej@redhat.com
3526 - 2.6.30-rc7-git3
3527
3528 * Wed May 27 2009 Dave Jones <davej@redhat.com>
3529 - 2.6.30-rc7-git2
3530
3531 * Tue May 26 2009 Dave Jones <davej@redhat.com>
3532 - Various cpufreq patches from git.
3533
3534 * Tue May 26 2009 Dave Jones <davej@redhat.com
3535 - 2.6.30-rc7-git1
3536
3537 * Tue May 26 2009 Dave Jones <davej@redhat.com>
3538 - 2.6.30-rc7-git1
3539
3540 * Mon May 25 2009 Kyle McMartin <kyle@redhat.com>
3541 - rds-only-on-64-bit-or-x86.patch: drop patch, issue is fixed upstream.
3542
3543 * Sat May 23 2009 Dave Jones <davej@redhat.com>
3544 - 2.6.30-rc7
3545
3546 * Thu May 21 2009 Dave Jones <davej@redhat.com>
3547 - 2.6.30-rc6-git6
3548
3549 * Wed May 20 2009  Chuck Ebbert <cebbert@redhat.com>
3550 - Enable Divas (formerly Eicon) ISDN drivers on x86_64. (#480837)
3551
3552 * Wed May 20 2009 Dave Jones <davej@redhat.com>
3553 - 2.6.30-rc6-git5
3554
3555 * Mon May 18 2009 Dave Jones <davej@redhat.com>
3556 - 2.6.30-rc6-git3
3557
3558 * Sun May 17 2009 Dave Jones <davej@redhat.com>
3559 - 2.6.30-rc6-git2
3560
3561 * Sat May 16 2009 Dave Jones <davej@redhat.com>
3562 - 2.6.30-rc6
3563
3564 * Mon May 11 2009 Kyle McMartin <kyle@redhat.com>
3565 - Linux 2.6.30-rc5-git1
3566
3567 * Fri May 08 2009 Kyle McMartin <kyle@redhat.com>
3568 - Linux 2.6.30-rc5
3569
3570 * Fri May 08 2009 Kyle McMartin <kyle@redhat.com>
3571 - Linux 2.6.30-rc4-git4
3572
3573 * Wed May 06 2009 Kyle McMartin <kyle@redhat.com>
3574 - Linux 2.6.30-rc4-git3
3575 - linux-2.6-cdrom-door-status.patch: merged upstream.
3576 - linux-2.6-iwl3945-remove-useless-exports.patch: merged upstream.
3577 - linux-2.6-utrace.patch: rebase against changes to fs/proc/array.c
3578 - USB_NET_CDC_EEM=m
3579
3580 * Fri May 01 2009 Eric Sandeen <sandeen@redhat.com>
3581 - Fix ext4 corruption on partial write into prealloc block
3582
3583 * Thu Apr 30 2009 Kyle McMartin <kyle@redhat.com>
3584 - 2.6.30-rc4
3585
3586 * Wed Apr 29 2009 Dave Jones <davej@redhat.com>
3587 - 2.6.30-rc3-git6
3588
3589 * Tue Apr 28 2009 Dave Jones <davej@redhat.com>
3590 - 2.6.30-rc3-git4
3591
3592 * Tue Apr 28 2009 Chuck Ebbert <cebbert@redhat.com>
3593 - Make the kernel-vanilla package buildable again.
3594 - Allow building with older versions of RPM.
3595
3596 * Tue Apr 28 2009 Neil Horman <nhorman@redhat.com>
3597 - Backport missing snmp stats (bz 492391)
3598
3599 * Tue Apr 28 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.30-0.72.rc3.git3
3600 - Drop unused exports from the iwl3945 driver.
3601
3602 * Tue Apr 28 2009 Chuck Ebbert <cebbert@redhat.com>
3603 - Linux 2.6.30-rc3-git3
3604
3605 * Mon Apr 27 2009 Dave Jones <davej@redhat.com>
3606 - 2.6.30-rc3-git2
3607
3608 * Sun Apr 26 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.30-0.68.rc3.git1
3609 - Linux 2.6.30-rc3-git1
3610
3611 * Wed Apr 22 2009 Dave Jones <davej@redhat.com> 2.6.30-0.67.rc3
3612 - Disable SYSFS_DEPRECATED on ia64
3613
3614 * Wed Apr 22 2009 Kyle McMartin <kyle@redhat.com>
3615 - Linux 2.6.30-rc3
3616 - PROC_VMCORE=y: Exports the dump image of crashed
3617   kernel in ELF format
3618
3619 * Wed Apr 22 2009 Neil Horman <nhorman@redhat.com>
3620 - Enable RELOCATABLE and CRASH_DUMP for powerpc64
3621 - With this we can remove the -kdump build variant
3622 - for the ppc64 arch
3623
3624 * Tue Apr 21 2009 Chuck Ebbert <cebbert@redhat.com>
3625 - Don't include the modules.*.bin files in the RPM package.
3626
3627 * Tue Apr 21 2009 Dave Jones <davej@redhat.com>
3628 - 2.6.30-rc2-git7
3629
3630 * Mon Apr 20 2009 Dave Jones <davej@redhat.com>
3631 - Various s390x config tweaks. (#496596, #496601, #496605, #496607)
3632
3633 * Mon Apr 20 2009 Dave Jones <davej@redhat.com>
3634 - 2.6.30-rc2-git6
3635
3636 * Sat Apr 18 2009 Chuck Ebbert <cebbert@redhat.com>
3637 - Set CONFIG_UEVENT_HELPER_PATH to the empty string (#496296)
3638
3639 * Fri Apr 17 2009 Dave Jones <davej@redhat.com>
3640 - 2.6.30-rc2-git3
3641
3642 * Thu Apr 16 2009 Kyle McMartin <kyle@redhat.com> 2.6.30-0.58.rc2.git1
3643 - 2.6.30-rc2-git1
3644
3645 * Wed Apr 15 2009 Kyle McMartin <kyle@redhat.com> 2.6.30-0.57.rc2
3646 - 2.6.30-rc2
3647
3648 * Tue Apr 14 2009 Kyle McMartin <kyle@redhat.com>
3649 - 2.6.30-rc1-git7
3650 - CONFIG_TOUCHSCREEN_AD7879_I2C=m
3651 - CONFIG_STRIP_ASM_SYMS=y, off for -debug
3652
3653 * Mon Apr 13 2009 Kyle McMartin <kyle@redhat.com>
3654 - ppc-fix-parport_pc.patch: add from linuxppc-dev@
3655
3656 * Mon Apr 13 2009 Kyle McMartin <kyle@redhat.com>
3657 - execshield: fix build (load_user_cs_desc is 32-bit only in tlb.c)
3658
3659 * Sun Apr 12 2009 Kyle McMartin <kyle@redhat.com>
3660 - 2.6.30-rc1-git5
3661 - revert-fix-modules_install-via-nfs.patch: reverted upstream
3662
3663 * Thu Apr 09 2009 Kyle McMartin <kyle@redhat.com>
3664 - actually drop utrace-ftrace from srpm.
3665
3666 * Thu Apr 09 2009 Kyle McMartin <kyle@redhat.com>
3667 - 2.6.30-rc1-git2
3668 - CONFIG_IGBVF=m
3669 - CONFIG_NETFILTER_XT_TARGET_LED=m
3670
3671 * Thu Apr 09 2009 Dave Jones <davej@redhat.com>
3672 - Bring back the /dev/crash driver. (#492803)
3673
3674 * Wed Apr 08 2009 Dave Jones <davej@redhat.com>
3675 - disable MMIOTRACE in non-debug builds (#494584)
3676
3677 * Wed Apr 08 2009 Kyle McMartin <kyle@redhat.com> 2.6.30-0.44.rc1
3678 - 2.6.30-rc1
3679 - linux-2.6-hwmon-atk0110.patch: drop
3680 - CONFIG_DETECT_HUNG_TASK=y
3681 - # CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set
3682
3683 * Tue Apr  7 2009 Roland McGrath <roland@redhat.com>
3684 - utrace update, drop unfinished utrace-ftrace
3685
3686 * Tue Apr 07 2009 Kyle McMartin <kyle@redhat.com>
3687 - Linux 2.6.29-git15
3688 - EXT3_DEFAULTS_TO_ORDERED on for now.
3689 - X86_X2APIC enabled.
3690 - LEDS_LP5521, LEDS_BD2802 off... look not generally relevant.
3691 - LIBFCOE on.
3692
3693 * Tue Apr 07 2009 Dave Jones <davej@redhat.com>
3694 - Enable CONFIG_CIFS_STATS (#494545)
3695
3696 * Mon Apr 06 2009 Kyle McMartin <kyle@redhat.com>
3697 - linux-2.6-execshield.patch: rebase for 2.6.30
3698
3699 * Mon Apr 06 2009 Kyle McMartin <kyle@redhat.com>
3700 - Linux 2.6.29-git13
3701 - drop patches merged upstream:
3702   - fix-ppc-debug_kmap_atomic.patch
3703   - fix-staging-at76.patch
3704   - linux-2.6-acpi-video-didl-intel-outputs.patch
3705   - linux-2.6-acpi-strict-resources.patch
3706   - linux-2.6-sony-laptop-rfkill.patch
3707   - linux-2.6-btrfs-fix-umount-hang.patch
3708   - linux-2.6-fiemap-header-install.patch
3709   - linux-2.6-debug-dma-api.patch
3710   - dma-api-debug-fixes.patch
3711   - linux-2.6-ext4-flush-on-close.patch
3712   - linux-2.6-relatime-by-default.patch
3713   - linux-2.6-pci-sysfs-remove-id.patch
3714   - linux-2.6-scsi-cpqarray-set-master.patch
3715   - alsa-rewrite-hw_ptr-updaters.patch
3716   - alsa-pcm-always-reset-invalid-position.patch
3717   - alsa-pcm-fix-delta-calc-at-overlap.patch
3718   - alsa-pcm-safer-boundary-checks.patch
3719   - linux-2.6-input-hid-extra-gamepad.patch
3720   - linux-2.6-ipw2x00-age-scan-results-on-resume.patch
3721   - linux-2.6-dropwatch-protocol.patch
3722   - linux-2.6-net-fix-gro-bug.patch
3723   - linux-2.6-net-fix-another-gro-bug.patch
3724   - linux-2.6-net-xfrm-fix-spin-unlock.patch
3725   - linux-2.6.29-pat-change-is_linear_pfn_mapping-to-not-use-vm_pgoff.patch
3726   - linux-2.6.29-pat-pci-change-prot-for-inherit.patch
3727
3728 * Thu Apr 02 2009 Josef Bacik <josef@toxicpanda.com>
3729 - linux-2.6-btrfs-fix-umount-hang.patch: fix umount hang on btrfs
3730
3731 * Thu Apr 02 2009 Kyle McMartin <kyle@redhat.com>
3732 - fix-ppc-debug_kmap_atomic.patch: fix build failures on ppc.
3733
3734 * Thu Apr 02 2009 Kyle McMartin <kyle@redhat.com>
3735 - Linux 2.6.29-git9
3736
3737 * Tue Mar 31 2009 Kyle McMartin <kyle@redhat.com>
3738 - rds-only-on-64-bit-or-x86.patch: add
3739 - at76-netdev_ops.patch: add
3740
3741 * Tue Mar 31 2009 Kyle McMartin <kyle@redhat.com>
3742 - Linux 2.6.29-git8
3743 - linux-2.6-net-fix-another-gro-bug.patch: upstream.
3744
3745 * Tue Mar 31 2009 Eric Sandeen <sandeen@redhat.com>
3746 - add fiemap.h to kernel-headers
3747 - build ext4 (and jbd2 and crc16) into the kernel
3748
3749 * Tue Mar 31 2009 Kyle McMartin <kyle@redhat.com>
3750 - Linux 2.6.29-git7
3751 - fix-staging-at76.patch: pull patch from linux-wireless to fix...
3752
3753 * Mon Mar 30 2009 Kyle McMartin <kyle@redhat.com> 2.6.30-0.28.rc0.git6
3754 - Linux 2.6.29-git6
3755 - Bunch of stuff disabled, most merged, some needs rebasing.
3756
3757 * Mon Mar 30 2009 Chuck Ebbert <cebbert@redhat.com>
3758 - Make the .shared-srctree file a list so more than two checkouts
3759   can share source files.
3760
3761 * Mon Mar 30 2009 Chuck Ebbert <cebbert@redhat.com>
3762 - Separate PAT fixes that are headed for -stable from our out-of-tree ones.
3763
3764 * Mon Mar 30 2009 Dave Jones <davej@redhat.com>
3765 - Make io schedulers selectable at boot time again. (#492817)
3766
3767 * Mon Mar 30 2009 Dave Jones <davej@redhat.com>
3768 - Add a strict-devmem=0 boot argument (#492803)
3769
3770 * Mon Mar 30 2009 Adam Jackson <ajax@redhat.com>
3771 - linux-2.6.29-pat-fixes.patch: Fix PAT/GTT interaction
3772
3773 * Mon Mar 30 2009 Mauro Carvalho Chehab <mchehab@redhat.com>
3774 - some fixes of troubles caused by v4l2 subdev conversion
3775
3776 * Mon Mar 30 2009 Mark McLoughlin <markmc@redhat.com> 2.6.29-21
3777 - Fix guest->remote network stall with virtio/GSO (#490266)
3778
3779 * Mon Mar 30 2009 Ben Skeggs <bskeggs@redhat.com>
3780 - drm-nouveau.patch
3781   - rewrite nouveau PCI(E) GART functions, should fix rh#492492
3782   - kms: kernel option to allow dual-link dvi
3783   - modinfo descriptions for module parameters
3784
3785 * Sun Mar 29 2009 Mauro Carvalho Chehab <mchehab@redhat.com>
3786 - more v4l/dvb updates: v4l subdev conversion and some driver improvements
3787
3788 * Sun Mar 29 2009 Chuck Ebbert <cebbert@redhat.com>
3789 - More fixes for ALSA hardware pointer updating.
3790
3791 * Sat Mar 28 2009 Mauro Carvalho Chehab <mchehab@redhat.com>
3792 - linux-2.6-revert-dvb-net-kabi-change.patch: attempt to fix dvb net breakage
3793 - update v4l fixes patch to reflect what's ready for 2.6.30
3794 - update v4l devel patch to reflect what will be kept on linux-next for a while
3795
3796 * Fri Mar 27 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.29-16
3797 - Fix 2.6.29 networking lockups.
3798 - Fix locking in net/xfrm/xfrm_state.c (#489764)
3799
3800 * Fri Mar 27 2009 Ben Skeggs <bskeggs@redhat.com>
3801 - drm-nouveau.patch: do nothing for dac_{prepare,commit}, it's useless
3802   and breaks some things in strange ways.
3803
3804 * Fri Mar 27 2009 Ben Skeggs <bskeggs@redhat.com>
3805 - nv50: clear 0x1900/8 on init, possible fix for rh#492240
3806 - forcibly disable GEM also if KMS requested where not supported
3807 - inform the user if we disable KMS because of it not being supported
3808
3809 * Thu Mar 26 2009 Matthew Garrett <mjg@redhat.com>
3810 - linux-2.6-relatime-by-default.patch: Backport relatime code from 2.6.30
3811
3812 * Thu Mar 26 2009 Dave Jones <davej@redhat.com>
3813 - Check for modesetting enabled before forcing mode on 915. (#490336)
3814
3815 * Thu Mar 26 2009 Dave Jones <davej@redhat.com>
3816 - Set kernel-PAE as default in grub. (#487578)
3817
3818 * Thu Mar 26 2009 Dave Jones <davej@redhat.com>
3819 - Enable CONFIG_MOUSE_PS2_ELANTECH (#492163)
3820
3821 * Thu Mar 26 2009 Kyle McMartin <kyle@redhat.com>
3822 - linux-2.6-v4l-pvrusb2-fixes.patch: fix build for uncle steve.
3823
3824 * Thu Mar 26 2009 Mauro Carvalho Chehab <mchehab@redhat.com>
3825 - Move all 2.6.30 stuff into linux-2.6-v4l-dvb-fixes.patch, in
3826   preparation for upstream pull;
3827 - Added two new drivers: gspca sq905c and DVB Intel ce6230
3828 - Updated to the latest v4l-dvb drivers.
3829
3830 * Wed Mar 25 2009 Mauro Carvalho Chehab <mchehab@redhat.com>
3831 - remove duplicated Cinergy T2 entry at config-generic
3832
3833 * Wed Mar 25 2009 Neil Horman <nhorman@redhat.com>
3834 - Add dropmonitor/dropwatch protocol from 2.6.30
3835
3836 * Wed Mar 25 2009 Kyle McMartin <kyle@redhat.com>
3837 - alsa-rewrite-hw_ptr-updaters.patch: snd_pcm_update_hw_ptr() tries to
3838   detect the unexpected hwptr jumps more strictly to avoid the position
3839   mess-up, which often results in the bad quality I/O with pulseaudio.
3840
3841 * Wed Mar 25 2009 Ben Skeggs <bskeggs@redhat.com>
3842 - drm-nouveau.patch: idle channels better before destroying them
3843
3844 * Tue Mar 24 2009 Kyle McMartin <kyle@redhat.com>
3845 - Disable DMAR by default until suspend & resume is fixed.
3846
3847 * Tue Mar 24 2009 Josef Bacik <josef@toxicpanda.com>
3848 - fsync replay fixes for btrfs
3849
3850 * Mon Mar 23 2009 Dave Jones <davej@redhat.com>
3851 - 2.6.29
3852
3853 ###