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