Jesse Keating 7a3296
# We have to override the new %%install behavior because, well... the kernel is special.
Jesse Keating 7a3296
%global __spec_install_pre %{___build_pre}
Jesse Keating 7a3296
Jesse Keating 7a3296
Summary: The Linux kernel
Jesse Keating 7a3296
Jesse Keating 7a3296
# For a stable, released kernel, released_kernel should be 1. For rawhide
Jesse Keating 7a3296
# and/or a kernel built from an rc or git snapshot, released_kernel should
Jesse Keating 7a3296
# be 0.
Dave Jones 37cd8b
%global released_kernel 1
Jesse Keating 7a3296
Jesse Keating 7a3296
# Save original buildid for later if it's defined
Jesse Keating 7a3296
%if 0%{?buildid:1}
Jesse Keating 7a3296
%global orig_buildid %{buildid}
Jesse Keating 7a3296
%undefine buildid
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
###################################################################
Jesse Keating 7a3296
# Polite request for people who spin their own kernel rpms:
Jesse Keating 7a3296
# please modify the "buildid" define in a way that identifies
Jesse Keating 7a3296
# that the kernel isn't the stock distribution kernel, for example,
Jesse Keating 7a3296
# by setting the define to ".local" or ".bz123456". This will be
Jesse Keating 7a3296
# appended to the full kernel version.
Jesse Keating 7a3296
#
Jesse Keating 7a3296
# (Uncomment the '#' and both spaces below to set the buildid.)
Jesse Keating 7a3296
#
Kyle McMartin 249677
# % define buildid .local
Jesse Keating 7a3296
###################################################################
Jesse Keating 7a3296
Jesse Keating 7a3296
# The buildid can also be specified on the rpmbuild command line
Jesse Keating 7a3296
# by adding --define="buildid .whatever". If both the specfile and
Jesse Keating 7a3296
# the environment define a buildid they will be concatenated together.
Jesse Keating 7a3296
%if 0%{?orig_buildid:1}
Jesse Keating 7a3296
%if 0%{?buildid:1}
Jesse Keating 7a3296
%global srpm_buildid %{buildid}
Jesse Keating 7a3296
%define buildid %{srpm_buildid}%{orig_buildid}
Jesse Keating 7a3296
%else
Jesse Keating 7a3296
%define buildid %{orig_buildid}
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Roland McGrath 377da6
# baserelease defines which build revision of this kernel version we're
Roland McGrath 377da6
# building.  We used to call this fedora_build, but the magical name
Roland McGrath 377da6
# baserelease is matched by the rpmdev-bumpspec tool, which you should use.
Jesse Keating 7a3296
#
Roland McGrath 377da6
# We used to have some extra magic weirdness to bump this automatically,
Roland McGrath 377da6
# but now we don't.  Just use: rpmdev-bumpspec -c 'comment for changelog'
Roland McGrath 377da6
# When changing base_sublevel below or going from rc to a final kernel,
Roland McGrath 377da6
# reset this by hand to 1 (or to 0 and then use rpmdev-bumpspec).
Roland McGrath 377da6
# scripts/rebase.sh should be made to do that for you, actually.
Roland McGrath 377da6
#
Josh Boyer cf59e1
%global baserelease 106
Roland McGrath 377da6
%global fedora_build %{baserelease}
Jesse Keating 7a3296
Jesse Keating 7a3296
# base_sublevel is the kernel version we're starting with and patching
Jesse Keating 7a3296
# on top of -- for example, 2.6.22-rc7-git1 starts with a 2.6.21 base,
Jesse Keating 7a3296
# which yields a base_sublevel of 21.
Dave Jones 67e704
%define base_sublevel 35
Jesse Keating 7a3296
Jesse Keating 7a3296
## If this is a released kernel ##
Jesse Keating 7a3296
%if 0%{?released_kernel}
Jesse Keating 7a3296
Jesse Keating 7a3296
# Do we have a -stable update to apply?
Chuck Ebbert 7760c9
%define stable_update 14
Jesse Keating 7a3296
# Is it a -stable RC?
Chuck Ebbert 841a0e
%define stable_rc 0
Jesse Keating 7a3296
# Set rpm version accordingly
Jesse Keating 7a3296
%if 0%{?stable_update}
Jesse Keating 7a3296
%define stablerev .%{stable_update}
Jesse Keating 7a3296
%define stable_base %{stable_update}
Jesse Keating 7a3296
%if 0%{?stable_rc}
Jesse Keating 7a3296
# stable RCs are incremental patches, so we need the previous stable patch
Jesse Keating 7a3296
%define stable_base %(echo $((%{stable_update} - 1)))
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
%define rpmversion 2.6.%{base_sublevel}%{?stablerev}
Jesse Keating 7a3296
Jesse Keating 7a3296
## The not-released-kernel case ##
Jesse Keating 7a3296
%else
Jesse Keating 7a3296
# The next upstream release sublevel (base_sublevel+1)
Jesse Keating 7a3296
%define upstream_sublevel %(echo $((%{base_sublevel} + 1)))
Jesse Keating 7a3296
# The rc snapshot level
Dave Jones 67e704
%define rcrev 0
Jesse Keating 7a3296
# The git snapshot level
Dave Jones 67e704
%define gitrev 0
Jesse Keating 7a3296
# Set rpm version accordingly
Jesse Keating 7a3296
%define rpmversion 2.6.%{upstream_sublevel}
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
# Nb: The above rcrev and gitrev values automagically define Patch00 and Patch01 below.
Jesse Keating 7a3296
Jesse Keating 7a3296
# What parts do we want to build?  We must build at least one kernel.
Jesse Keating 7a3296
# These are the kernels that are built IF the architecture allows it.
Jesse Keating 7a3296
# All should default to 1 (enabled) and be flipped to 0 (disabled)
Jesse Keating 7a3296
# by later arch-specific checks.
Jesse Keating 7a3296
Jesse Keating 7a3296
# The following build options are enabled by default.
Jesse Keating 7a3296
# Use either --without <opt> in your rpmbuild command or force values
Jesse Keating 7a3296
# to 0 in here to disable them.
Jesse Keating 7a3296
#
Jesse Keating 7a3296
# standard kernel
Jesse Keating 7a3296
%define with_up        %{?_without_up:        0} %{?!_without_up:        1}
Jesse Keating 7a3296
# kernel-smp (only valid for ppc 32-bit)
Jesse Keating 7a3296
%define with_smp       %{?_without_smp:       0} %{?!_without_smp:       1}
Jarod Wilson f0f13b
# kernel-PAE (only valid for i686)
Jarod Wilson f0f13b
%define with_pae       %{?_without_pae:       0} %{?!_without_pae:       1}
Jesse Keating 7a3296
# kernel-debug
Jesse Keating 7a3296
%define with_debug     %{?_without_debug:     0} %{?!_without_debug:     1}
Jesse Keating 7a3296
# kernel-doc
Jesse Keating 7a3296
%define with_doc       %{?_without_doc:       0} %{?!_without_doc:       1}
Jesse Keating 7a3296
# kernel-headers
Jesse Keating 7a3296
%define with_headers   %{?_without_headers:   0} %{?!_without_headers:   1}
Jesse Keating 7a3296
# kernel-firmware
Jesse Keating 7a3296
%define with_firmware  %{?_with_firmware:     1} %{?!_with_firmware:     0}
Jesse Keating 7a3296
# tools/perf
Jesse Keating 7a3296
%define with_perf      %{?_without_perf:      0} %{?!_without_perf:      1}
Jesse Keating 7a3296
# kernel-debuginfo
Jesse Keating 7a3296
%define with_debuginfo %{?_without_debuginfo: 0} %{?!_without_debuginfo: 1}
Jesse Keating 7a3296
# kernel-bootwrapper (for creating zImages from kernel + initrd)
Jesse Keating 7a3296
%define with_bootwrapper %{?_without_bootwrapper: 0} %{?!_without_bootwrapper: 1}
Jesse Keating 7a3296
# Want to build a the vsdo directories installed
Jesse Keating 7a3296
%define with_vdso_install %{?_without_vdso_install: 0} %{?!_without_vdso_install: 1}
Jesse Keating 7a3296
Jesse Keating 7a3296
# Build the kernel-doc package, but don't fail the build if it botches.
Jesse Keating 7a3296
# Here "true" means "continue" and "false" means "fail the build".
Jesse Keating 7a3296
%if 0%{?released_kernel}
Jesse Keating 7a3296
%define doc_build_fail false
Jesse Keating 7a3296
%else
Jesse Keating 7a3296
%define doc_build_fail true
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Kyle McMartin 6289a5
%define rawhide_skip_docs 0
Jesse Keating 7a3296
%if 0%{?rawhide_skip_docs}
Jesse Keating 7a3296
%define with_doc 0
Jesse Keating 7a3296
%define doc_build_fail true
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
# Additional options for user-friendly one-off kernel building:
Jesse Keating 7a3296
#
Jesse Keating 7a3296
# Only build the base kernel (--with baseonly):
Jesse Keating 7a3296
%define with_baseonly  %{?_with_baseonly:     1} %{?!_with_baseonly:     0}
Jesse Keating 7a3296
# Only build the smp kernel (--with smponly):
Jesse Keating 7a3296
%define with_smponly   %{?_with_smponly:      1} %{?!_with_smponly:      0}
Jarod Wilson f0f13b
# Only build the pae kernel (--with paeonly):
Jarod Wilson f0f13b
%define with_paeonly   %{?_with_paeonly:      1} %{?!_with_paeonly:      0}
Jesse Keating 7a3296
# Only build the debug kernel (--with dbgonly):
Jesse Keating 7a3296
%define with_dbgonly   %{?_with_dbgonly:      1} %{?!_with_dbgonly:      0}
Jesse Keating 7a3296
Jesse Keating 7a3296
# should we do C=1 builds with sparse
Jesse Keating 7a3296
%define with_sparse	%{?_with_sparse:      1} %{?!_with_sparse:      0}
Jesse Keating 7a3296
Jesse Keating 7a3296
# Set debugbuildsenabled to 1 for production (build separate debug kernels)
Jesse Keating 7a3296
#  and 0 for rawhide (all kernels are debug kernels).
Jesse Keating 7a3296
# See also 'make debug' and 'make release'.
Kyle McMartin 6289a5
%define debugbuildsenabled 1
Jesse Keating 7a3296
Jesse Keating 7a3296
# Want to build a vanilla kernel build without any non-upstream patches?
Jesse Keating 7a3296
# (well, almost none, we need nonintconfig for build purposes). Default to 0 (off).
Jesse Keating 7a3296
%define with_vanilla %{?_with_vanilla: 1} %{?!_with_vanilla: 0}
Jesse Keating 7a3296
Jesse Keating 7a3296
# pkg_release is what we'll fill in for the rpm Release: field
Jesse Keating 7a3296
%if 0%{?released_kernel}
Jesse Keating 7a3296
Jesse Keating 7a3296
%if 0%{?stable_rc}
Jesse Keating 7a3296
%define stable_rctag .rc%{stable_rc}
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
%define pkg_release %{fedora_build}%{?stable_rctag}%{?buildid}%{?dist}
Jesse Keating 7a3296
Jesse Keating 7a3296
%else
Jesse Keating 7a3296
Jesse Keating 7a3296
# non-released_kernel
Jesse Keating 7a3296
%if 0%{?rcrev}
Jesse Keating 7a3296
%define rctag .rc%rcrev
Jesse Keating 7a3296
%else
Jesse Keating 7a3296
%define rctag .rc0
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
%if 0%{?gitrev}
Jesse Keating 7a3296
%define gittag .git%gitrev
Jesse Keating 7a3296
%else
Jesse Keating 7a3296
%define gittag .git0
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
%define pkg_release 0.%{fedora_build}%{?rctag}%{?gittag}%{?buildid}%{?dist}
Jesse Keating 7a3296
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
# The kernel tarball/base version
Jesse Keating 7a3296
%define kversion 2.6.%{base_sublevel}
Jesse Keating 7a3296
Jesse Keating 7a3296
%define make_target bzImage
Jesse Keating 7a3296
Jesse Keating 7a3296
%define KVERREL %{version}-%{release}.%{_target_cpu}
Jesse Keating 7a3296
%define hdrarch %_target_cpu
Jesse Keating 7a3296
%define asmarch %_target_cpu
Jesse Keating 7a3296
Jesse Keating 7a3296
%if 0%{!?nopatches:1}
Jesse Keating 7a3296
%define nopatches 0
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
%if %{with_vanilla}
Jesse Keating 7a3296
%define nopatches 1
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
%if %{nopatches}
Jesse Keating 7a3296
%define with_bootwrapper 0
Jesse Keating 7a3296
%define variant -vanilla
Jesse Keating 7a3296
%else
Jesse Keating 7a3296
%define variant_fedora -fedora
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
%define using_upstream_branch 0
Jesse Keating 7a3296
%if 0%{?upstream_branch:1}
Jesse Keating 7a3296
%define stable_update 0
Jesse Keating 7a3296
%define using_upstream_branch 1
Jesse Keating 7a3296
%define variant -%{upstream_branch}%{?variant_fedora}
Jesse Keating 7a3296
%define pkg_release 0.%{fedora_build}%{upstream_branch_tag}%{?buildid}%{?dist}
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
%if !%{debugbuildsenabled}
Jesse Keating 7a3296
%define with_debug 0
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
%if !%{with_debuginfo}
Jesse Keating 7a3296
%define _enable_debug_packages 0
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
%define debuginfodir /usr/lib/debug
Jesse Keating 7a3296
Jesse Keating 7a3296
# kernel-PAE is only built on i686.
Jarod Wilson f0f13b
%ifnarch i686
Jesse Keating 7a3296
%define with_pae 0
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
# if requested, only build base kernel
Jesse Keating 7a3296
%if %{with_baseonly}
Jesse Keating 7a3296
%define with_smp 0
Jarod Wilson f0f13b
%define with_pae 0
Jesse Keating 7a3296
%define with_debug 0
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
# if requested, only build smp kernel
Jesse Keating 7a3296
%if %{with_smponly}
Jesse Keating 7a3296
%define with_up 0
Jarod Wilson f0f13b
%define with_pae 0
Jarod Wilson f0f13b
%define with_debug 0
Jarod Wilson f0f13b
%endif
Jarod Wilson f0f13b
Jarod Wilson f0f13b
# if requested, only build pae kernel
Jarod Wilson f0f13b
%if %{with_paeonly}
Jarod Wilson f0f13b
%define with_up 0
Jarod Wilson f0f13b
%define with_smp 0
Jesse Keating 7a3296
%define with_debug 0
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
# if requested, only build debug kernel
Jesse Keating 7a3296
%if %{with_dbgonly}
Jesse Keating 7a3296
%if %{debugbuildsenabled}
Jesse Keating 7a3296
%define with_up 0
Jarod Wilson f0f13b
%define with_pae 0
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
%define with_smp 0
Jesse Keating 7a3296
%define with_pae 0
Jesse Keating 7a3296
%define with_perf 0
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
%define all_x86 i386 i686
Jesse Keating 7a3296
Jesse Keating 7a3296
%if %{with_vdso_install}
Jesse Keating 7a3296
# These arches install vdso/ directories.
Jesse Keating 7a3296
%define vdso_arches %{all_x86} x86_64 ppc ppc64
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
# Overrides for generic default options
Jesse Keating 7a3296
Jesse Keating 7a3296
# only ppc and alphav56 need separate smp kernels
Jesse Keating 7a3296
%ifnarch ppc alphaev56
Jesse Keating 7a3296
%define with_smp 0
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
# don't do debug builds on anything but i686 and x86_64
Jesse Keating 7a3296
%ifnarch i686 x86_64
Jesse Keating 7a3296
%define with_debug 0
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
# only package docs noarch
Jesse Keating 7a3296
%ifnarch noarch
Jesse Keating 7a3296
%define with_doc 0
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
# don't build noarch kernels or headers (duh)
Jesse Keating 7a3296
%ifarch noarch
Jesse Keating 7a3296
%define with_up 0
Jesse Keating 7a3296
%define with_headers 0
Jesse Keating 7a3296
%define with_perf 0
Jesse Keating 7a3296
%define all_arch_configs kernel-%{version}-*.config
Jesse Keating 7a3296
%define with_firmware  %{?_with_firmware:     1} %{?!_with_firmware:     0}
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
# bootwrapper is only on ppc
Jesse Keating 7a3296
%ifnarch ppc ppc64
Jesse Keating 7a3296
%define with_bootwrapper 0
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
# sparse blows up on ppc64 alpha and sparc64
Jesse Keating 7a3296
%ifarch ppc64 ppc alpha sparc64
Jesse Keating 7a3296
%define with_sparse 0
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
# Per-arch tweaks
Jesse Keating 7a3296
Jesse Keating 7a3296
%ifarch %{all_x86}
Jesse Keating 7a3296
%define asmarch x86
Jesse Keating 7a3296
%define hdrarch i386
Jesse Keating 7a3296
%define all_arch_configs kernel-%{version}-i?86*.config
Jesse Keating 7a3296
%define image_install_path boot
Jesse Keating 7a3296
%define kernel_image arch/x86/boot/bzImage
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
%ifarch x86_64
Jesse Keating 7a3296
%define asmarch x86
Jesse Keating 7a3296
%define all_arch_configs kernel-%{version}-x86_64*.config
Jesse Keating 7a3296
%define image_install_path boot
Jesse Keating 7a3296
%define kernel_image arch/x86/boot/bzImage
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
%ifarch ppc64
Jesse Keating 7a3296
%define asmarch powerpc
Jesse Keating 7a3296
%define hdrarch powerpc
Jesse Keating 7a3296
%define all_arch_configs kernel-%{version}-ppc64*.config
Jesse Keating 7a3296
%define image_install_path boot
Jesse Keating 7a3296
%define make_target vmlinux
Jesse Keating 7a3296
%define kernel_image vmlinux
Jesse Keating 7a3296
%define kernel_image_elf 1
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
%ifarch s390x
Jesse Keating 7a3296
%define asmarch s390
Jesse Keating 7a3296
%define hdrarch s390
Jesse Keating 7a3296
%define all_arch_configs kernel-%{version}-s390x.config
Jesse Keating 7a3296
%define image_install_path boot
Jesse Keating 7a3296
%define make_target image
Jesse Keating 7a3296
%define kernel_image arch/s390/boot/image
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Dennis Gilmore 6daeb4
%ifarch sparcv9
Dennis Gilmore 6daeb4
%define hdrarch sparc
Dennis Gilmore 6daeb4
%endif
Dennis Gilmore 6daeb4
Jesse Keating 7a3296
%ifarch sparc64
Jesse Keating 7a3296
%define asmarch sparc
Jesse Keating 7a3296
%define all_arch_configs kernel-%{version}-sparc64*.config
Jesse Keating 7a3296
%define make_target image
Jesse Keating 7a3296
%define kernel_image arch/sparc/boot/image
Jesse Keating 7a3296
%define image_install_path boot
Jesse Keating 7a3296
%define with_perf 0
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
%ifarch ppc
Jesse Keating 7a3296
%define asmarch powerpc
Jesse Keating 7a3296
%define hdrarch powerpc
Jesse Keating 7a3296
%define all_arch_configs kernel-%{version}-ppc{-,.}*config
Jesse Keating 7a3296
%define image_install_path boot
Jesse Keating 7a3296
%define make_target vmlinux
Jesse Keating 7a3296
%define kernel_image vmlinux
Jesse Keating 7a3296
%define kernel_image_elf 1
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
%ifarch ia64
Jesse Keating 7a3296
%define all_arch_configs kernel-%{version}-ia64*.config
Jesse Keating 7a3296
%define image_install_path boot/efi/EFI/redhat
Jesse Keating 7a3296
%define make_target compressed
Jesse Keating 7a3296
%define kernel_image vmlinux.gz
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
%ifarch alpha alphaev56
Jesse Keating 7a3296
%define all_arch_configs kernel-%{version}-alpha*.config
Jesse Keating 7a3296
%define image_install_path boot
Jesse Keating 7a3296
%define make_target vmlinux
Jesse Keating 7a3296
%define kernel_image vmlinux
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
%ifarch %{arm}
Jesse Keating 7a3296
%define all_arch_configs kernel-%{version}-arm*.config
Jesse Keating 7a3296
%define image_install_path boot
Jesse Keating 7a3296
%define hdrarch arm
Jesse Keating 7a3296
%define make_target vmlinux
Jesse Keating 7a3296
%define kernel_image vmlinux
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
%if %{nopatches}
Jesse Keating 7a3296
# XXX temporary until last vdso patches are upstream
Jesse Keating 7a3296
%define vdso_arches ppc ppc64
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
%if %{nopatches}%{using_upstream_branch}
Jesse Keating 7a3296
# Ignore unknown options in our config-* files.
Jesse Keating 7a3296
# Some options go with patches we're not applying.
Jesse Keating 7a3296
%define oldconfig_target loose_nonint_oldconfig
Jesse Keating 7a3296
%else
Jesse Keating 7a3296
%define oldconfig_target nonint_oldconfig
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
# To temporarily exclude an architecture from being built, add it to
Jesse Keating 7a3296
# %nobuildarches. Do _NOT_ use the ExclusiveArch: line, because if we
Jesse Keating 7a3296
# don't build kernel-headers then the new build system will no longer let
Jesse Keating 7a3296
# us use the previous build of that package -- it'll just be completely AWOL.
Jesse Keating 7a3296
# Which is a BadThing(tm).
Jesse Keating 7a3296
Jesse Keating 7a3296
# We only build kernel-headers on the following...
Dennis Gilmore 6daeb4
%define nobuildarches i386 s390 sparc sparcv9 %{arm}
Jesse Keating 7a3296
Jesse Keating 7a3296
%ifarch %nobuildarches
Jesse Keating 7a3296
%define with_up 0
Jesse Keating 7a3296
%define with_smp 0
Jesse Keating 7a3296
%define with_pae 0
Jesse Keating 7a3296
%define with_debuginfo 0
Jesse Keating 7a3296
%define with_perf 0
Jesse Keating 7a3296
%define _enable_debug_packages 0
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
%define with_pae_debug 0
Jesse Keating 7a3296
%if %{with_pae}
Jesse Keating 7a3296
%define with_pae_debug %{with_debug}
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
#
Jesse Keating 7a3296
# Three sets of minimum package version requirements in the form of Conflicts:
Jesse Keating 7a3296
# to versions below the minimum
Jesse Keating 7a3296
#
Jesse Keating 7a3296
Jesse Keating 7a3296
#
Jesse Keating 7a3296
# First the general kernel 2.6 required versions as per
Jesse Keating 7a3296
# Documentation/Changes
Jesse Keating 7a3296
#
Jesse Keating 7a3296
%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
Jesse Keating 7a3296
Jesse Keating 7a3296
#
Jesse Keating 7a3296
# Then a series of requirements that are distribution specific, either
Jesse Keating 7a3296
# because we add patches for something, or the older versions have
Jesse Keating 7a3296
# problems with the newer kernel or lack certain things that make
Jesse Keating 7a3296
# integration in the distro harder than needed.
Jesse Keating 7a3296
#
Jesse Keating 7a3296
%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
Jesse Keating 7a3296
Jesse Keating 7a3296
# We moved the drm include files into kernel-headers, make sure there's
Jesse Keating 7a3296
# a recent enough libdrm-devel on the system that doesn't have those.
Jesse Keating 7a3296
%define kernel_headers_conflicts libdrm-devel < 2.4.0-0.15
Jesse Keating 7a3296
Jesse Keating 7a3296
#
Jesse Keating 7a3296
# Packages that need to be installed before the kernel is, because the %post
Jesse Keating 7a3296
# scripts use them.
Jesse Keating 7a3296
#
Jesse Keating 7a3296
%define kernel_prereq  fileutils, module-init-tools, initscripts >= 8.11.1-1, grubby >= 7.0.10-1
Jesse Keating 7a3296
%define initrd_prereq  dracut >= 001-7
Jesse Keating 7a3296
Jesse Keating 7a3296
#
Jesse Keating 7a3296
# This macro does requires, provides, conflicts, obsoletes for a kernel package.
Jesse Keating 7a3296
#	%%kernel_reqprovconf <subpackage>
Jesse Keating 7a3296
# It uses any kernel_<subpackage>_conflicts and kernel_<subpackage>_obsoletes
Jesse Keating 7a3296
# macros defined above.
Jesse Keating 7a3296
#
Jesse Keating 7a3296
%define kernel_reqprovconf \
Jesse Keating 7a3296
Provides: kernel = %{rpmversion}-%{pkg_release}\
Jesse Keating 7a3296
Provides: kernel-%{_target_cpu} = %{rpmversion}-%{pkg_release}%{?1:.%{1}}\
Jesse Keating 7a3296
Provides: kernel-drm = 4.3.0\
Jesse Keating 7a3296
Provides: kernel-drm-nouveau = 16\
Jesse Keating 7a3296
Provides: kernel-modeset = 1\
Jesse Keating 7a3296
Provides: kernel-uname-r = %{KVERREL}%{?1:.%{1}}\
Jesse Keating 7a3296
Requires(pre): %{kernel_prereq}\
Jesse Keating 7a3296
Requires(pre): %{initrd_prereq}\
Jesse Keating 7a3296
%if %{with_firmware}\
Jesse Keating 7a3296
Requires(pre): kernel-firmware >= %{rpmversion}-%{pkg_release}\
Jesse Keating 7a3296
%else\
Chuck Ebbert 9a98a7
Requires(pre): linux-firmware >= 20100806-2\
Jesse Keating 7a3296
%endif\
Jesse Keating 7a3296
Requires(post): /sbin/new-kernel-pkg\
Jesse Keating 7a3296
Requires(preun): /sbin/new-kernel-pkg\
Jesse Keating 7a3296
Conflicts: %{kernel_dot_org_conflicts}\
Jesse Keating 7a3296
Conflicts: %{package_conflicts}\
Jesse Keating 7a3296
%{expand:%%{?kernel%{?1:_%{1}}_conflicts:Conflicts: %%{kernel%{?1:_%{1}}_conflicts}}}\
Jesse Keating 7a3296
%{expand:%%{?kernel%{?1:_%{1}}_obsoletes:Obsoletes: %%{kernel%{?1:_%{1}}_obsoletes}}}\
Jesse Keating 7a3296
%{expand:%%{?kernel%{?1:_%{1}}_provides:Provides: %%{kernel%{?1:_%{1}}_provides}}}\
Jesse Keating 7a3296
# We can't let RPM do the dependencies automatic because it'll then pick up\
Jesse Keating 7a3296
# a correct but undesirable perl dependency from the module headers which\
Jesse Keating 7a3296
# isn't required for the kernel proper to function\
Jesse Keating 7a3296
AutoReq: no\
Jesse Keating 7a3296
AutoProv: yes\
Jesse Keating 7a3296
%{nil}
Jesse Keating 7a3296
Jesse Keating 7a3296
Name: kernel%{?variant}
Jesse Keating 7a3296
Group: System Environment/Kernel
Jesse Keating 7a3296
License: GPLv2
Jesse Keating 7a3296
URL: http://www.kernel.org/
Jesse Keating 7a3296
Version: %{rpmversion}
Jesse Keating 7a3296
Release: %{pkg_release}
Jesse Keating 7a3296
# DO NOT CHANGE THE 'ExclusiveArch' LINE TO TEMPORARILY EXCLUDE AN ARCHITECTURE BUILD.
Jesse Keating 7a3296
# SET %%nobuildarches (ABOVE) INSTEAD
Dennis Gilmore 6daeb4
ExclusiveArch: noarch %{all_x86} x86_64 ppc ppc64 ia64 sparc sparcv9 sparc64 s390 s390x alpha alphaev56 %{arm}
Jesse Keating 7a3296
ExclusiveOS: Linux
Jesse Keating 7a3296
Jesse Keating 7a3296
%kernel_reqprovconf
Jesse Keating 7a3296
%ifarch x86_64 sparc64
Jesse Keating 7a3296
Obsoletes: kernel-smp
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
Jesse Keating 7a3296
#
Jesse Keating 7a3296
# List the packages used during the kernel build
Jesse Keating 7a3296
#
Jesse Keating 7a3296
BuildRequires: module-init-tools, patch >= 2.5.4, bash >= 2.03, sh-utils, tar
Jesse Keating 7a3296
BuildRequires: bzip2, findutils, gzip, m4, perl, make >= 3.78, diffutils, gawk
Jesse Keating 7a3296
BuildRequires: gcc >= 3.4.2, binutils >= 2.12, redhat-rpm-config
Jesse Keating 7a3296
BuildRequires: net-tools
Jesse Keating 7a3296
BuildRequires: xmlto, asciidoc
Jesse Keating 7a3296
%if %{with_sparse}
Jesse Keating 7a3296
BuildRequires: sparse >= 0.4.1
Jesse Keating 7a3296
%endif
Chuck Ebbert 9bd241
# python-devel and perl(ExtUtils::Embed) are required for perf scripting
Jesse Keating 7a3296
%if %{with_perf}
Chuck Ebbert 983a2b
BuildRequires: elfutils-devel zlib-devel binutils-devel newt-devel python-devel perl(ExtUtils::Embed)
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
BuildConflicts: rhbuildsys(DiskFree) < 500Mb
Jesse Keating 7a3296
Jesse Keating 7a3296
%define fancy_debuginfo 0
Jesse Keating 7a3296
%if %{with_debuginfo}
Jesse Keating 7a3296
%if 0%{?fedora} >= 8 || 0%{?rhel} >= 6
Jesse Keating 7a3296
%define fancy_debuginfo 1
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
%if %{fancy_debuginfo}
Jesse Keating 7a3296
# Fancy new debuginfo generation introduced in Fedora 8.
Jesse Keating 7a3296
BuildRequires: rpm-build >= 4.4.2.1-4
Jesse Keating 7a3296
%define debuginfo_args --strict-build-id
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
Source0: ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-%{kversion}.tar.bz2
Jesse Keating 7a3296
Jesse Keating 7a3296
Source11: genkey
Jesse Keating 7a3296
Source14: find-provides
Jesse Keating 7a3296
Source15: merge.pl
Jesse Keating 7a3296
Jesse Keating 7a3296
Source20: Makefile.config
Jesse Keating 7a3296
Source21: config-debug
Jesse Keating 7a3296
Source22: config-nodebug
Jesse Keating 7a3296
Source23: config-generic
Jesse Keating 7a3296
Source24: config-rhel-generic
Jesse Keating 7a3296
Jesse Keating 7a3296
Source30: config-x86-generic
Jesse Keating 7a3296
Source31: config-i686-PAE
Jesse Keating 7a3296
Jesse Keating 7a3296
Source40: config-x86_64-generic
Jesse Keating 7a3296
Jesse Keating 7a3296
Source50: config-powerpc-generic
Jesse Keating 7a3296
Source51: config-powerpc32-generic
Jesse Keating 7a3296
Source52: config-powerpc32-smp
Jesse Keating 7a3296
Source53: config-powerpc64
Jesse Keating 7a3296
Jesse Keating 7a3296
Source60: config-ia64-generic
Jesse Keating 7a3296
Jesse Keating 7a3296
Source70: config-s390x
Jesse Keating 7a3296
Jesse Keating 7a3296
Source90: config-sparc64-generic
Jesse Keating 7a3296
Jesse Keating 7a3296
Source100: config-arm
Jesse Keating 7a3296
Jarod Wilson 4b2adb
# This file is intentionally left empty in the stock kernel. Its a nicety
Jarod Wilson 4b2adb
# added for those wanting to do custom rebuilds with altered config opts.
Jarod Wilson 4b2adb
Source1000: config-local
Jarod Wilson 4b2adb
Jesse Keating 7a3296
# Here should be only the patches up to the upstream canonical Linus tree.
Jesse Keating 7a3296
Jesse Keating 7a3296
# For a stable release kernel
Jesse Keating 7a3296
%if 0%{?stable_update}
Jesse Keating 7a3296
%if 0%{?stable_base}
Jesse Keating 7a3296
%define    stable_patch_00  patch-2.6.%{base_sublevel}.%{stable_base}.bz2
Jesse Keating 7a3296
Patch00: %{stable_patch_00}
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
%if 0%{?stable_rc}
Jesse Keating 7a3296
%define    stable_patch_01  patch-2.6.%{base_sublevel}.%{stable_update}-rc%{stable_rc}.bz2
Jesse Keating 7a3296
Patch01: %{stable_patch_01}
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
# non-released_kernel case
Jesse Keating 7a3296
# These are automagically defined by the rcrev and gitrev values set up
Jesse Keating 7a3296
# near the top of this spec file.
Jesse Keating 7a3296
%else
Jesse Keating 7a3296
%if 0%{?rcrev}
Jesse Keating 7a3296
Patch00: patch-2.6.%{upstream_sublevel}-rc%{rcrev}.bz2
Jesse Keating 7a3296
%if 0%{?gitrev}
Jesse Keating 7a3296
Patch01: patch-2.6.%{upstream_sublevel}-rc%{rcrev}-git%{gitrev}.bz2
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
%else
Jesse Keating 7a3296
# pre-{base_sublevel+1}-rc1 case
Jesse Keating 7a3296
%if 0%{?gitrev}
Jesse Keating 7a3296
Patch00: patch-2.6.%{base_sublevel}-git%{gitrev}.bz2
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
%if %{using_upstream_branch}
Jesse Keating 7a3296
### BRANCH PATCH ###
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
Patch02: git-linus.diff
Jesse Keating 7a3296
Jesse Keating 7a3296
# we always need nonintconfig, even for -vanilla kernels
Jesse Keating 7a3296
Patch03: linux-2.6-build-nonintconfig.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
# we also need compile fixes for -vanilla
Jesse Keating 7a3296
Patch04: linux-2.6-compile-fixes.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
# build tweak for build ID magic, even for -vanilla
Jesse Keating 7a3296
Patch05: linux-2.6-makefile-after_link.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
%if !%{nopatches}
Jesse Keating 7a3296
Jesse Keating 7a3296
# revert upstream patches we get via other methods
Jesse Keating 7a3296
Patch09: linux-2.6-upstream-reverts.patch
Jesse Keating 7a3296
# Git trees.
Jesse Keating 7a3296
Jesse Keating 7a3296
# Standalone patches
Jesse Keating 7a3296
Patch20: linux-2.6-hotfixes.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
Patch30: git-utrace.patch
Jesse Keating 7a3296
Patch31: utrace-ptrace-fix-build.patch
Jesse Keating 7a3296
Patch32: utrace-remove-use-of-kref_set.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
Patch150: linux-2.6.29-sparc-IOC_TYPECHECK.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
Patch160: linux-2.6-32bit-mmap-exec-randomization.patch
Jesse Keating 7a3296
Patch161: linux-2.6-i386-nx-emulation.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
Patch200: linux-2.6-debug-sizeof-structs.patch
Jesse Keating 7a3296
Patch201: linux-2.6-debug-nmi-timeout.patch
Jesse Keating 7a3296
Patch202: linux-2.6-debug-taint-vm.patch
Jesse Keating 7a3296
Patch203: linux-2.6-debug-vm-would-have-oomkilled.patch
Jesse Keating 7a3296
Patch204: linux-2.6-debug-always-inline-kzalloc.patch
Jesse Keating 7a3296
Kyle McMartin e2302e
Patch300: create-sys-fs-cgroup-to-mount-cgroupfs-on.patch
Kyle McMartin e2302e
Kyle McMartin c19187
Patch360: disable-xhci-by-default.patch
Kyle McMartin c19187
Kyle McMartin 48eb5c
Patch370: pnp-log-pnp-resources-as-we-do-for-pci.patch
Kyle McMartin 48eb5c
Jesse Keating 7a3296
Patch380: linux-2.6-defaults-pci_no_msi.patch
Kyle McMartin 72b3bf
Patch381: linux-2.6-defaults-pci_use_crs.patch
Chuck Ebbert 63fcde
Patch382: linux-2.6-defaults-no-pm-async.patch
Jesse Keating 7a3296
Patch383: linux-2.6-defaults-aspm.patch
Jesse Keating 7a3296
Patch384: pci-acpi-disable-aspm-if-no-osc.patch
Jesse Keating 7a3296
Patch385: pci-aspm-dont-enable-too-early.patch
Kyle McMartin f2ed8c
Patch386: pci-disable-aspm-if-bios-asks-us-to.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
Patch390: linux-2.6-defaults-acpi-video.patch
Jesse Keating 7a3296
Patch391: linux-2.6-acpi-video-dos.patch
Jesse Keating 7a3296
Patch393: acpi-ec-add-delay-before-write.patch
Jesse Keating 7a3296
Patch394: linux-2.6-acpi-debug-infinite-loop.patch
Matthew Garrett 73ab1e
Patch395: acpi-update-battery-information-on-notification-0x81.patch
Matthew Garrett c7ff2c
Patch396: linux-2.6-acpi-fix-alias.patch
Dave Jones 6f7506
Patch397: acpi-sony-nonvs-blacklist.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
Patch450: linux-2.6-input-kill-stupid-messages.patch
Jesse Keating 7a3296
Patch452: linux-2.6.30-no-pcspkr-modalias.patch
Jesse Keating 7a3296
Patch454: thinkpad-acpi-fix-backlight.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
Patch460: linux-2.6-serial-460800.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
Patch470: die-floppy-die.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
Patch510: linux-2.6-silence-noise.patch
Jesse Keating 7a3296
Patch530: linux-2.6-silence-fbcon-logo.patch
Jesse Keating 7a3296
Patch570: linux-2.6-selinux-mprotect-checks.patch
Jesse Keating 7a3296
Patch580: linux-2.6-sparc-selinux-mprotect-checks.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
Patch610: hda_intel-prealloc-4mb-dmabuffer.patch
Jesse Keating 7a3296
Dave Jones bbaea7
Patch700: linux-2.6-e1000-ich9-montevina.patch
Dave Jones bbaea7
Jesse Keating 7a3296
Patch800: linux-2.6-crash-driver.patch
Jesse Keating 7a3296
Dave Jones 7e156f
Patch1000: usb-wwan-ioctls.patch
Dave Jones 7e156f
Jesse Keating 7a3296
# crypto/
Jesse Keating 7a3296
Jesse Keating 7a3296
# virt + ksm patches
Jesse Keating 7a3296
Patch1555: fix_xen_guest_on_old_EC2.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
# DRM
05493c
Patch1801: drm-polling-fixes.patch
171d7c
Patch1802: drm-edid-invalid.patch
Ben Skeggs 71e9b6
# drm fixes nouveau depends on
Ben Skeggs 71e9b6
Patch1805: drm-simplify-i2c-config.patch
Ben Skeggs 71e9b6
Patch1806: drm-sil164-module.patch
Ben Skeggs 71e9b6
Patch1807: drm-i2c-ch7006-fix.patch
Ben Skeggs bd31d5
Patch1808: drm-ttm-fix.patch
Jesse Keating 7a3296
# nouveau + drm fixes
Jesse Keating 7a3296
Patch1810: drm-nouveau-updates.patch
Ben Skeggs 71e9b6
Patch1811: drm-nouveau-race-fix.patch
Ben Skeggs fbc428
Patch1812: drm-nouveau-nva3-noaccel.patch
Ben Skeggs df57a8
Patch1813: drm-nouveau-nv86-bug.patch
Ben Skeggs c7b007
Patch1814: drm-nouveau-nv50-crtc-update-delay.patch
05493c
Patch1815: drm-nouveau-connector-fix.patch
Ben Skeggs 466450
Patch1816: drm-nouveau-imac-g4.patch
Ben Skeggs 466450
Patch1817: drm-nouveau-evo-hang.patch
Ben Skeggs 466450
Patch1818: drm-nouveau-nvaf-grclass.patch
Jesse Keating 7a3296
Patch1819: drm-intel-big-hammer.patch
Ben Skeggs e37208
Patch1820: drm-nouveau-init5c.patch
Jesse Keating 7a3296
# intel drm is all merged upstream
Jesse Keating 7a3296
Patch1824: drm-intel-next.patch
Jesse Keating 7a3296
# make sure the lvds comes back on lid open
Jesse Keating 7a3296
Patch1825: drm-intel-make-lvds-work.patch
5ddd90
Patch1826: drm-i915-disable-sr-polling.patch
Kyle McMartin 26ea0f
Kyle McMartin 26ea0f
Patch1828: drm-ttm-fix-two-race-conditions-fix-busy-codepaths.patch
Kyle McMartin 26ea0f
Kyle McMartin f8d75b
Patch1830: drm-radeon-r600-cs-checker-fixes.patch
Dave Jones 87d556
Patch1850: drm-lower-severity-radeon-lockup.diff
Kyle McMartin f8d75b
Jesse Keating 7a3296
Patch1900: linux-2.6-intel-iommu-igfx.patch
Kyle McMartin 3c5d4d
Patch2000: efifb-add-more-models.patch
Kyle McMartin bc9e07
Patch2001: efifb-check-that-the-base-addr-is-plausible-on-pci-systems.patch
Kyle McMartin 3c5d4d
Jesse Keating 7a3296
# linux1394 git patches
Jesse Keating 7a3296
Patch2200: linux-2.6-firewire-git-update.patch
Jesse Keating 7a3296
Patch2201: linux-2.6-firewire-git-pending.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
# Quiet boot fixes
Jesse Keating 7a3296
# silence the ACPI blacklist code
Jesse Keating 7a3296
Patch2802: linux-2.6-silence-acpi-blacklist.patch
Jesse Keating 7a3296
Jarod Wilson 0252aa
# Drop-in backport of upstream vzalloc additions, used by the v4l/dvb bits
Jarod Wilson 0252aa
Patch2805: linux-2.6-vzalloc.patch
Jarod Wilson 0252aa
Jesse Keating 7a3296
# media patches
Jarod Wilson 1cd059
Patch2899: linux-2.6-v4l-dvb-update.patch
Jarod Wilson 1cd059
Patch2900: linux-2.6-v4l-dvb-fixes.patch
Jesse Keating 7a3296
Patch2901: linux-2.6-v4l-dvb-experimental.patch
Jarod Wilson 49ee50
Patch2918: imon-default-proto-modparam.patch
Jarod Wilson 893aff
Patch2919: linux-2.6-v4l-dvb-build-lirc.patch
Jarod Wilson 639fa2
Patch2920: linux-2.6-v4l-dvb-backport-reverts.patch
Jesse Keating 7a3296
Dave Jones a09b81
Patch2950: linux-2.6-via-velocity-dma-fix.patch
Jesse Keating 7a3296
Dave Jones a09b81
Patch3010: linux-2.6-rcu-netpoll.patch
Dave Jones db140f
Josh Boyer 4f7912
#rhbz 753346
Josh Boyer 4f7912
Patch3500: jbd-jbd2-validate-sb-s_first-in-journal_get_superblo.patch
Josh Boyer 4f7912
Dave Jones b5c25f
Patch4000: rcutree-avoid-false-quiescent-states.patch
Dave Jones b5c25f
Dave Jones 6cf4af
Patch5000: acer-wmi-modalias.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
# patches headed upstream
Jesse Keating 7a3296
Jesse Keating 7a3296
Patch12016: disable-i8042-check-on-apple-mac.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
Patch12017: prevent-runtime-conntrack-changes.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
Patch12018: neuter_intel_microcode_load.patch
Jesse Keating 7a3296
Kyle McMartin d3a72e
Patch12019: add-appleir-usb-driver.patch
Kyle McMartin d3a72e
Jarod Wilson f4da56
Patch12020: hid-support-tivo-slide-remote.patch
Jarod Wilson f4da56
Jesse Keating 7a3296
Patch12040: only-use-alpha2-regulatory-information-from-country-IE.patch
Jesse Keating 7a3296
Chuck Ebbert 8f132e
Patch12080: kprobes-x86-fix-kprobes-to-skip-prefixes-correctly.patch
Chuck Ebbert 8f132e
Kyle McMartin cfdae0
# rhbz #622149
Kyle McMartin cfdae0
Patch12085: fix-rcu_deref_check-warning.patch
Dave Jones 291833
Patch12086: linux-2.6-cgroups-rcu.patch
Kyle McMartin 426c30
Chuck Ebbert b21871
Patch12565: sched-05-avoid-side-effect-of-tickless-idle-on-update_cpu_load.patch
Chuck Ebbert b21871
Patch12570: sched-10-change-nohz-idle-load-balancing-logic-to-push-model.patch
Chuck Ebbert b21871
Patch12575: sched-15-update-rq-clock-for-nohz-balanced-cpus.patch
Chuck Ebbert b21871
Patch12580: sched-20-fix-rq-clock-synchronization-when-migrating-tasks.patch
Chuck Ebbert 69a476
Patch12590: sched-30-sched-fix-nohz-balance-kick.patch
Chuck Ebbert b21871
Chuck Ebbert b2398b
Patch13610: libata-it821x-dump-stack-on-cache-flush.patch
Chuck Ebbert b2398b
Kyle McMartin 7140c9
Patch13630: dm-allow-setting-of-uuid-via-rename-if-not-already-set.patch
Kyle McMartin 7140c9
kyle 915df7
Patch13637: dmar-disable-when-ricoh-multifunction.patch
kyle 915df7
Kyle McMartin 6aca93
Patch13638: ima-allow-it-to-be-completely-disabled-and-default-off.patch
Kyle McMartin 6aca93
Kyle McMartin f1b58c
Patch13640: sdhci-8-bit-data-transfer-width-support.patch
Kyle McMartin f1b58c
Patch13641: mmc-make-sdhci-work-with-ricoh-mmc-controller.patch
Kyle McMartin f1b58c
Patch13642: mmc-add-ricoh-e822-pci-id.patch
Kyle McMartin f1b58c
Kyle McMartin cbdb31
Patch13645: tpm-autodetect-itpm-devices.patch
Chuck Ebbert 643d35
John W. Linville dd99fe
Patch13660: rtl8180-improve-signal-reporting-for-rtl8185-hardware.patch
John W. Linville dd99fe
Patch13661: rtl8180-improve-signal-reporting-for-actual-rtl8180-hardware.patch
John W. Linville dd99fe
Kyle McMartin 6abfea
Patch13684: tty-make-tiocgicount-a-handler.patch
Kyle McMartin 6abfea
Patch13685: tty-icount-changeover-for-other-main-devices.patch
Kyle McMartin 6abfea
Kyle McMartin 76a7eb
Patch13691: mm-vmstat-use-a-single-setter-function-and-callback-for-adjusting-percpu-thresholds.patch
Kyle McMartin 76a7eb
Kyle McMartin 4bd3ae
Patch13692: orinoco-initialise-priv_hw-before-assigning-the-interrupt.patch
Kyle McMartin 4bd3ae
Kyle McMartin 9d6e5d
Patch13693: ext4-always-journal-quota-file-modifications.patch
Kyle McMartin 9d6e5d
Kyle McMartin 54f1e0
Patch13694: btrfs-fix-error-handling-in-btrfs_get_sub.patch
Kyle McMartin 54f1e0
Patch13695: btrfs-setup-blank-root-and-fs_info-for-mount-time.patch
Kyle McMartin 54f1e0
Patch13696: btrfs-fix-race-between-btrfs_get_sb-and-unmount.patch
Kyle McMartin 54f1e0
Kyle McMartin 68b623
Patch13698: net-AF_PACKET-vmalloc.patch
Kyle McMartin 68b623
Chuck Ebbert b1f2f0
# rhbz#652744
Chuck Ebbert b1f2f0
Patch13700: e1000e-cleanup-e1000_sw_lcd_config_ich8lan.patch
Chuck Ebbert b1f2f0
Patch13701: e1000e-82566DC-fails-to-get-link.patch
Chuck Ebbert b1f2f0
Chuck Ebbert aee782
# CVE-2010-4668
Chuck Ebbert aee782
Patch13702: block-check-for-proper-length-of-iov-entries-earlier-in-blk_rq_map_user_iov.patch
Chuck Ebbert aee782
Chuck Ebbert b11f51
# RHBZ #669511
Chuck Ebbert b11f51
Patch13703: btrfs-fix-typo-in-fallocate-to-make-it-honor-actual-size.patch
Chuck Ebbert b11f51
Chuck Ebbert d85fb2
# rhbz #673207
Chuck Ebbert d85fb2
Patch13705: sunrpc-kernel-panic-when-mount-nfsv4.patch
Chuck Ebbert d85fb2
Chuck Ebbert 6e3a83
# rhbz #650151 (F13)
Chuck Ebbert 6e3a83
Patch13706: bridge-fix-mglist-corruption-that-leads-to-memory-corruption.patch
Chuck Ebbert 6e3a83
Chuck Ebbert b4877f
# Fix 32-bit guest hang on 32-bit PAE host (#677167)
Chuck Ebbert b4877f
Patch13707: kvm-mmu-fix-32-bit-legacy-paging-with-npt.patch
Chuck Ebbert b4877f
Chuck Ebbert d65a15
# rhbz#676860
Chuck Ebbert d65a15
Patch13708: hid-force-feedback-support-for-logitech-rumblepad-gamepad.patch
Chuck Ebbert d65a15
Chuck Ebbert 6143eb
# rhbz#604630
Chuck Ebbert 6143eb
Patch13710: linux-2.6-bonding-sysfs-warning.patch
Chuck Ebbert 6143eb
Chuck Ebbert d56494
# rhbz#680791
Chuck Ebbert d56494
Patch13711: md-fix-regression-resulting-in-delays-in-clearing-bits-in-a-bitmap.patch
Chuck Ebbert d56494
Chuck Ebbert 2c4c81
# fix credentials leakage regression (#700637)
Chuck Ebbert 2c4c81
Patch13961: revert-incomplete-af_netlink-add-needed-scm-destroy-after-scm-send.patch
Chuck Ebbert 2c4c81
Patch13962: af_netlink-add-needed-scm_destroy-after-scm_send.patch
Chuck Ebbert 2c4c81
Kyle McMartin cc37b4
Patch13969: scsi_dh_hp_sw-fix-deadlock-in-start_stop_endio.patch
Kyle McMartin cc37b4
Chuck Ebbert fcf924
# the rest of the pgoff wrap fix
Chuck Ebbert fcf924
Patch13990: vm-fix-vm_pgoff-wrap-in-stack-expansion.patch
Chuck Ebbert fcf924
Kyle McMartin 398aba
Patch14000: iwlagn-fix-Received-BA-when-not-expected.patch
Kyle McMartin 398aba
Patch14001: iwlagn-use-cts-to-self-protection-on-5000-adapters-series.patch
Kyle McMartin 398aba
Patch14002: iwlwifi-add_ack_plpc_check-module-parameters.patch
Kyle McMartin 398aba
Chuck Ebbert fa21cb
# CVE-2011-2905
Chuck Ebbert fa21cb
Patch14010: perf-tools-do-not-look-at-config-for-configuration.patch
Chuck Ebbert bdfca3
# CVE-2011-2695
Chuck Ebbert bdfca3
Patch14011: ext4-fix-max-file-size-and-logical-block-counting-of-extent-format-file.patch
Chuck Ebbert f77745
# CVE-2011-2497
Chuck Ebbert f77745
Patch14012: bluetooth-prevent-buffer-overflow-in-l2cap-config-request.patch
Chuck Ebbert 8ba25e
# CVE-2011-2517
Chuck Ebbert 8ba25e
Patch14013: nl80211-fix-overflow-in-ssid_len.patch.patch
Chuck Ebbert c9e8c1
# CVE-2011-2699
Chuck Ebbert c9e8c1
Patch14014: ipv6-make-fragment-identifications-less-predictable.patch
Chuck Ebbert 4d20e6
# fix possible null dereference in above fix
Chuck Ebbert 4d20e6
Patch14015: ipv6-fix-null-dereference-in-udp6_ufo_fragment.patch
Kyle McMartin 398aba
Chuck Ebbert 29f392
# RHBZ #699684
Chuck Ebbert 29f392
Patch14020: x86-mm-fix-pgd_lock-deadlock.patch
Chuck Ebbert 29f392
Josh Boyer 92fb0a
# RHBZ #573210
Josh Boyer 92fb0a
Patch14030: utrace-use-task_pid_vnr-in-ptrace_report_clone.patch
Josh Boyer 92fb0a
Josh Boyer a62b54
# RHBZ #672056
Josh Boyer a62b54
Patch14040: asix-add-USB-ID-for-Logitec-LAN-GTJ-U2A.patch
Josh Boyer a62b54
Josh Boyer 3aec18
# RHBZ #665109
Josh Boyer 3aec18
Patch14050: x86-PCI-don-t-use-native-Broadcom-CNB20LE-driver-whe.patch
Josh Boyer 3aec18
Josh Boyer cf5a63
# RHBZ #648571
Josh Boyer cf5a63
Patch14051: modules-Fix-module_bug_list-list-corruption-race.patch
Josh Boyer cf5a63
Josh Boyer bc96a9
# CVE-2011-2723
Josh Boyer bc96a9
Patch14052: gro-Only-reset-frag0-when-skb-can-be-pulled.patch
Josh Boyer bc96a9
Josh Boyer bc96a9
# CVE-2011-2928
Josh Boyer bc96a9
Patch14053: befs-Validate-length-of-long-symbolic-links.patch
Josh Boyer bc96a9
Josh Boyer 51ba36
# CVE-2011-3191
Josh Boyer 51ba36
Patch14054: cifs-fix-possible-memory-corruption-in-CIFSFindNext.patch
Josh Boyer 51ba36
Josh Boyer b2fe2e
# CVE-2011-1833
Josh Boyer b2fe2e
Patch14055: Ecryptfs-Add-mount-option-to-check-uid-of-device-bei.patch
Josh Boyer b2fe2e
Josh Boyer 398017
# CVE-2011-2918
Josh Boyer 398017
Patch14056: perf-Fix-software-event-overflow.patch
Josh Boyer 398017
Josh Boyer c0d43b
# CVE-2011-3188
Josh Boyer c0d43b
Patch14057: crypto-Move-md5_transform-to-lib-md5.c.patch
Josh Boyer c0d43b
Patch14058: net-Compute-protocol-sequence-numbers-and-fragment-I.patch
Josh Boyer c0d43b
Josh Boyer 18a614
# CVE-2011-3353
Josh Boyer 18a614
Patch14059: fuse-check-size-of-FUSE_NOTIFY_INVAL_ENTRY-message.patch
Josh Boyer 18a614
Josh Boyer 646ec8
# CVE-2011-1161 CVE-2011-1162
Josh Boyer 646ec8
Patch14060: TPM-Call-tpm_transmit-with-correct-size.patch
Josh Boyer 646ec8
Patch14061: TPM-Zero-buffer-after-copying-to-userspace.patch
Josh Boyer 646ec8
Josh Boyer c6232b
# RHBZ #663186
Josh Boyer c6232b
Patch14062: 0001-EHCI-don-t-rescan-interrupt-QHs-needlessly.patch
Josh Boyer c6232b
Patch14063: 0002-USB-EHCI-go-back-to-using-the-system-clock-for-QH-un.patch
Josh Boyer c6232b
Josh Boyer 379959
#rhbz 747948
Josh Boyer 379959
Patch14064: ext4-fix-BUG_ON-in-ext4_ext_insert_extent.patch
Josh Boyer 379959
Josh Boyer 528c08
#rhbz 748668
Josh Boyer 528c08
Patch14065: epoll-fix-spurious-lockdep-warnings.patch
Josh Boyer 528c08
Patch14066: epoll-limit-paths.patch
Josh Boyer 528c08
Josh Boyer 29298d
#rhbz 749166
Josh Boyer 29298d
Patch21050: xfs-Fix-possible-memory-corruption-in-xfs_readlink.patch
Josh Boyer 29298d
Josh Boyer 3ea9b9
#rhbz 749484
Josh Boyer 3ea9b9
Patch21060: crypto-ghash-Avoid-null-pointer-dereference-if-no-ke.patch
Josh Boyer 3ea9b9
Josh Boyer 445b54
#rhbz 755590
Josh Boyer 445b54
Patch21061: ipv6-udp-fix-the-wrong-headroom-check.patch
Josh Boyer 445b54
Josh Boyer df53fa
#rhbz 756168
Josh Boyer df53fa
Patch21062: KEYS-Fix-a-NULL-pointer-deref-in-the-user-defined-ke.patch
Josh Boyer df53fa
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
BuildRoot: %{_tmppath}/kernel-%{KVERREL}-root
Jesse Keating 7a3296
Jesse Keating 7a3296
%description
Jesse Keating 7a3296
The kernel package contains the Linux kernel (vmlinuz), the core of any
Jesse Keating 7a3296
Linux operating system.  The kernel handles the basic functions
Jesse Keating 7a3296
of the operating system: memory allocation, process allocation, device
Jesse Keating 7a3296
input and output, etc.
Jesse Keating 7a3296
Jesse Keating 7a3296
Jesse Keating 7a3296
%package doc
Jesse Keating 7a3296
Summary: Various documentation bits found in the kernel source
Jesse Keating 7a3296
Group: Documentation
Jesse Keating 7a3296
%description doc
Jesse Keating 7a3296
This package contains documentation files from the kernel
Jesse Keating 7a3296
source. Various bits of information about the Linux kernel and the
Jesse Keating 7a3296
device drivers shipped with it are documented in these files.
Jesse Keating 7a3296
Jesse Keating 7a3296
You'll want to install this package if you need a reference to the
Jesse Keating 7a3296
options that can be passed to Linux kernel modules at load time.
Jesse Keating 7a3296
Jesse Keating 7a3296
Jesse Keating 7a3296
%package headers
Jesse Keating 7a3296
Summary: Header files for the Linux kernel for use by glibc
Jesse Keating 7a3296
Group: Development/System
Jesse Keating 7a3296
Obsoletes: glibc-kernheaders
Jesse Keating 7a3296
Provides: glibc-kernheaders = 3.0-46
Jesse Keating 7a3296
%description headers
Jesse Keating 7a3296
Kernel-headers includes the C header files that specify the interface
Jesse Keating 7a3296
between the Linux kernel and userspace libraries and programs.  The
Jesse Keating 7a3296
header files define structures and constants that are needed for
Jesse Keating 7a3296
building most standard programs and are also needed for rebuilding the
Jesse Keating 7a3296
glibc package.
Jesse Keating 7a3296
Jesse Keating 7a3296
%package firmware
Jesse Keating 7a3296
Summary: Firmware files used by the Linux kernel
Jesse Keating 7a3296
Group: Development/System
Jesse Keating 7a3296
# This is... complicated.
Jesse Keating 7a3296
# Look at the WHENCE file.
Jesse Keating 7a3296
License: GPL+ and GPLv2+ and MIT and Redistributable, no modification permitted
Jesse Keating 7a3296
%if "x%{?variant}" != "x"
Jesse Keating 7a3296
Provides: kernel-firmware = %{rpmversion}-%{pkg_release}
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
%description firmware
Jesse Keating 7a3296
Kernel-firmware includes firmware files required for some devices to
Jesse Keating 7a3296
operate.
Jesse Keating 7a3296
Jesse Keating 7a3296
%package bootwrapper
Jesse Keating 7a3296
Summary: Boot wrapper files for generating combined kernel + initrd images
Jesse Keating 7a3296
Group: Development/System
Jesse Keating 7a3296
Requires: gzip
Jesse Keating 7a3296
%description bootwrapper
Jesse Keating 7a3296
Kernel-bootwrapper contains the wrapper code which makes bootable "zImage"
Jesse Keating 7a3296
files combining both kernel and initial ramdisk.
Jesse Keating 7a3296
Jesse Keating 7a3296
%package debuginfo-common-%{_target_cpu}
Jesse Keating 7a3296
Summary: Kernel source files used by %{name}-debuginfo packages
Jesse Keating 7a3296
Group: Development/Debug
Jesse Keating 7a3296
%description debuginfo-common-%{_target_cpu}
Jesse Keating 7a3296
This package is required by %{name}-debuginfo subpackages.
Jesse Keating 7a3296
It provides the kernel source files common to all builds.
Jesse Keating 7a3296
Jesse Keating 7a3296
%if %{with_perf}
Jesse Keating 7a3296
%package -n perf
Jesse Keating 7a3296
Summary: Performance monitoring for the Linux kernel
Jesse Keating 7a3296
Group: Development/System
Jesse Keating 7a3296
License: GPLv2
Jesse Keating 7a3296
%description -n perf
Jesse Keating 7a3296
This package provides the perf tool and the supporting documentation.
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
Jesse Keating 7a3296
#
Jesse Keating 7a3296
# This macro creates a kernel-<subpackage>-debuginfo package.
Jesse Keating 7a3296
#	%%kernel_debuginfo_package <subpackage>
Jesse Keating 7a3296
#
Jesse Keating 7a3296
%define kernel_debuginfo_package() \
Jesse Keating 7a3296
%package %{?1:%{1}-}debuginfo\
Jesse Keating 7a3296
Summary: Debug information for package %{name}%{?1:-%{1}}\
Jesse Keating 7a3296
Group: Development/Debug\
Jesse Keating 7a3296
Requires: %{name}-debuginfo-common-%{_target_cpu} = %{version}-%{release}\
Jesse Keating 7a3296
Provides: %{name}%{?1:-%{1}}-debuginfo-%{_target_cpu} = %{version}-%{release}\
Jesse Keating 7a3296
AutoReqProv: no\
Jesse Keating 7a3296
%description -n %{name}%{?1:-%{1}}-debuginfo\
Jesse Keating 7a3296
This package provides debug information for package %{name}%{?1:-%{1}}.\
Jesse Keating 7a3296
This is required to use SystemTap with %{name}%{?1:-%{1}}-%{KVERREL}.\
Jesse Keating 7a3296
%{expand:%%global debuginfo_args %{?debuginfo_args} -p '/.*/%%{KVERREL}%{?1:\.%{1}}/.*|/.*%%{KVERREL}%{?1:\.%{1}}(\.debug)?' -o debuginfo%{?1}.list}\
Jesse Keating 7a3296
%{nil}
Jesse Keating 7a3296
Jesse Keating 7a3296
#
Jesse Keating 7a3296
# This macro creates a kernel-<subpackage>-devel package.
Jesse Keating 7a3296
#	%%kernel_devel_package <subpackage> <pretty-name>
Jesse Keating 7a3296
#
Jesse Keating 7a3296
%define kernel_devel_package() \
Jesse Keating 7a3296
%package %{?1:%{1}-}devel\
Jesse Keating 7a3296
Summary: Development package for building kernel modules to match the %{?2:%{2} }kernel\
Jesse Keating 7a3296
Group: System Environment/Kernel\
Jesse Keating 7a3296
Provides: kernel%{?1:-%{1}}-devel-%{_target_cpu} = %{version}-%{release}\
Jesse Keating 7a3296
Provides: kernel-devel-%{_target_cpu} = %{version}-%{release}%{?1:.%{1}}\
Jesse Keating 7a3296
Provides: kernel-devel = %{version}-%{release}%{?1:.%{1}}\
Jesse Keating 7a3296
Provides: kernel-devel-uname-r = %{KVERREL}%{?1:.%{1}}\
Jesse Keating 7a3296
AutoReqProv: no\
Jesse Keating 7a3296
Requires(pre): /usr/bin/find\
Jesse Keating 7a3296
Requires: perl\
Jesse Keating 7a3296
%description -n kernel%{?variant}%{?1:-%{1}}-devel\
Jesse Keating 7a3296
This package provides kernel headers and makefiles sufficient to build modules\
Jesse Keating 7a3296
against the %{?2:%{2} }kernel package.\
Jesse Keating 7a3296
%{nil}
Jesse Keating 7a3296
Jesse Keating 7a3296
#
Jesse Keating 7a3296
# This macro creates a kernel-<subpackage> and its -devel and -debuginfo too.
Jesse Keating 7a3296
#	%%define variant_summary The Linux kernel compiled for <configuration>
Jesse Keating 7a3296
#	%%kernel_variant_package [-n <pretty-name>] <subpackage>
Jesse Keating 7a3296
#
Jesse Keating 7a3296
%define kernel_variant_package(n:) \
Jesse Keating 7a3296
%package %1\
Jesse Keating 7a3296
Summary: %{variant_summary}\
Jesse Keating 7a3296
Group: System Environment/Kernel\
Jesse Keating 7a3296
%kernel_reqprovconf\
Jesse Keating 7a3296
%{expand:%%kernel_devel_package %1 %{!?-n:%1}%{?-n:%{-n*}}}\
Jesse Keating 7a3296
%{expand:%%kernel_debuginfo_package %1}\
Jesse Keating 7a3296
%{nil}
Jesse Keating 7a3296
Jesse Keating 7a3296
Jesse Keating 7a3296
# First the auxiliary packages of the main kernel package.
Jesse Keating 7a3296
%kernel_devel_package
Jesse Keating 7a3296
%kernel_debuginfo_package
Jesse Keating 7a3296
Jesse Keating 7a3296
Jesse Keating 7a3296
# Now, each variant package.
Jesse Keating 7a3296
Jesse Keating 7a3296
%define variant_summary The Linux kernel compiled for SMP machines
Jesse Keating 7a3296
%kernel_variant_package -n SMP smp
Jesse Keating 7a3296
%description smp
Jesse Keating 7a3296
This package includes a SMP version of the Linux kernel. It is
Jesse Keating 7a3296
required only on machines with two or more CPUs as well as machines with
Jesse Keating 7a3296
hyperthreading technology.
Jesse Keating 7a3296
Jesse Keating 7a3296
Install the kernel-smp package if your machine uses two or more CPUs.
Jesse Keating 7a3296
Jesse Keating 7a3296
Jesse Keating 7a3296
%define variant_summary The Linux kernel compiled for PAE capable machines
Jesse Keating 7a3296
%kernel_variant_package PAE
Jesse Keating 7a3296
%description PAE
Jesse Keating 7a3296
This package includes a version of the Linux kernel with support for up to
Jesse Keating 7a3296
64GB of high memory. It requires a CPU with Physical Address Extensions (PAE).
Jesse Keating 7a3296
The non-PAE kernel can only address up to 4GB of memory.
Jesse Keating 7a3296
Install the kernel-PAE package if your machine has more than 4GB of memory.
Jesse Keating 7a3296
Jesse Keating 7a3296
Jesse Keating 7a3296
%define variant_summary The Linux kernel compiled with extra debugging enabled for PAE capable machines
Jesse Keating 7a3296
%kernel_variant_package PAEdebug
Jesse Keating 7a3296
Obsoletes: kernel-PAE-debug
Jesse Keating 7a3296
%description PAEdebug
Jesse Keating 7a3296
This package includes a version of the Linux kernel with support for up to
Jesse Keating 7a3296
64GB of high memory. It requires a CPU with Physical Address Extensions (PAE).
Jesse Keating 7a3296
The non-PAE kernel can only address up to 4GB of memory.
Jesse Keating 7a3296
Install the kernel-PAE package if your machine has more than 4GB of memory.
Jesse Keating 7a3296
Jesse Keating 7a3296
This variant of the kernel has numerous debugging options enabled.
Jesse Keating 7a3296
It should only be installed when trying to gather additional information
Jesse Keating 7a3296
on kernel bugs, as some of these options impact performance noticably.
Jesse Keating 7a3296
Jesse Keating 7a3296
Jesse Keating 7a3296
%define variant_summary The Linux kernel compiled with extra debugging enabled
Jesse Keating 7a3296
%kernel_variant_package debug
Jesse Keating 7a3296
%description debug
Jesse Keating 7a3296
The kernel package contains the Linux kernel (vmlinuz), the core of any
Jesse Keating 7a3296
Linux operating system.  The kernel handles the basic functions
Jesse Keating 7a3296
of the operating system:  memory allocation, process allocation, device
Jesse Keating 7a3296
input and output, etc.
Jesse Keating 7a3296
Jesse Keating 7a3296
This variant of the kernel has numerous debugging options enabled.
Jesse Keating 7a3296
It should only be installed when trying to gather additional information
Jesse Keating 7a3296
on kernel bugs, as some of these options impact performance noticably.
Jesse Keating 7a3296
Jesse Keating 7a3296
Jesse Keating 7a3296
%prep
Jesse Keating 7a3296
# do a few sanity-checks for --with *only builds
Jesse Keating 7a3296
%if %{with_baseonly}
Jesse Keating 7a3296
%if !%{with_up}%{with_pae}
Jesse Keating 7a3296
echo "Cannot build --with baseonly, up build is disabled"
Jesse Keating 7a3296
exit 1
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
%if %{with_smponly}
Jesse Keating 7a3296
%if !%{with_smp}
Jesse Keating 7a3296
echo "Cannot build --with smponly, smp build is disabled"
Jesse Keating 7a3296
exit 1
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
# more sanity checking; do it quietly
Jesse Keating 7a3296
if [ "%{patches}" != "%%{patches}" ] ; then
Jesse Keating 7a3296
  for patch in %{patches} ; do
Jesse Keating 7a3296
    if [ ! -f $patch ] ; then
Jesse Keating 7a3296
      echo "ERROR: Patch  ${patch##/*/}  listed in specfile but is missing"
Jesse Keating 7a3296
      exit 1
Jesse Keating 7a3296
    fi
Jesse Keating 7a3296
  done
Jesse Keating 7a3296
fi 2>/dev/null
Jesse Keating 7a3296
Jesse Keating 7a3296
patch_command='patch -p1 -F1 -s'
Jesse Keating 7a3296
ApplyPatch()
Jesse Keating 7a3296
{
Jesse Keating 7a3296
  local patch=$1
Jesse Keating 7a3296
  shift
Jesse Keating 7a3296
  if [ ! -f $RPM_SOURCE_DIR/$patch ]; then
Jesse Keating 7a3296
    exit 1
Jesse Keating 7a3296
  fi
Jesse Keating 7a3296
%if !%{using_upstream_branch}
Jesse Keating 7a3296
  if ! egrep "^Patch[0-9]+: $patch\$" %{_specdir}/${RPM_PACKAGE_NAME%%%%%{?variant}}.spec ; then
Jesse Keating 7a3296
    if [ "${patch:0:10}" != "patch-2.6." ] ; then
Jesse Keating 7a3296
      echo "ERROR: Patch  $patch  not listed as a source patch in specfile"
Jesse Keating 7a3296
      exit 1
Jesse Keating 7a3296
    fi
Jesse Keating 7a3296
  fi 2>/dev/null
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
  case "$patch" in
Jesse Keating 7a3296
  *.bz2) bunzip2 < "$RPM_SOURCE_DIR/$patch" | $patch_command ${1+"$@"} ;;
Jesse Keating 7a3296
  *.gz) gunzip < "$RPM_SOURCE_DIR/$patch" | $patch_command ${1+"$@"} ;;
Jesse Keating 7a3296
  *) $patch_command ${1+"$@"} < "$RPM_SOURCE_DIR/$patch" ;;
Jesse Keating 7a3296
  esac
Jesse Keating 7a3296
}
Jesse Keating 7a3296
Jesse Keating 7a3296
# don't apply patch if it's empty
Jesse Keating 7a3296
ApplyOptionalPatch()
Jesse Keating 7a3296
{
Jesse Keating 7a3296
  local patch=$1
Jesse Keating 7a3296
  shift
Jesse Keating 7a3296
  if [ ! -f $RPM_SOURCE_DIR/$patch ]; then
Jesse Keating 7a3296
    exit 1
Jesse Keating 7a3296
  fi
Jesse Keating 7a3296
  local C=$(wc -l $RPM_SOURCE_DIR/$patch | awk '{print $1}')
Jesse Keating 7a3296
  if [ "$C" -gt 9 ]; then
Jesse Keating 7a3296
    ApplyPatch $patch ${1+"$@"}
Jesse Keating 7a3296
  fi
Jesse Keating 7a3296
}
Jesse Keating 7a3296
Jesse Keating 7a3296
# we don't want a .config file when building firmware: it just confuses the build system
Jesse Keating 7a3296
%define build_firmware \
Jesse Keating 7a3296
   mv .config .config.firmware_save \
Jesse Keating 7a3296
   make INSTALL_FW_PATH=$RPM_BUILD_ROOT/lib/firmware firmware_install \
Jesse Keating 7a3296
   mv .config.firmware_save .config
Jesse Keating 7a3296
Jesse Keating 7a3296
# First we unpack the kernel tarball.
Jesse Keating 7a3296
# If this isn't the first make prep, we use links to the existing clean tarball
Jesse Keating 7a3296
# which speeds things up quite a bit.
Jesse Keating 7a3296
Jesse Keating 7a3296
# Update to latest upstream.
Jesse Keating 7a3296
%if 0%{?released_kernel}
Jesse Keating 7a3296
%define vanillaversion 2.6.%{base_sublevel}
Jesse Keating 7a3296
# non-released_kernel case
Jesse Keating 7a3296
%else
Jesse Keating 7a3296
%if 0%{?rcrev}
Jesse Keating 7a3296
%define vanillaversion 2.6.%{upstream_sublevel}-rc%{rcrev}
Jesse Keating 7a3296
%if 0%{?gitrev}
Jesse Keating 7a3296
%define vanillaversion 2.6.%{upstream_sublevel}-rc%{rcrev}-git%{gitrev}
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
%else
Jesse Keating 7a3296
# pre-{base_sublevel+1}-rc1 case
Jesse Keating 7a3296
%if 0%{?gitrev}
Jesse Keating 7a3296
%define vanillaversion 2.6.%{base_sublevel}-git%{gitrev}
Jesse Keating 7a3296
%else
Jesse Keating 7a3296
%define vanillaversion 2.6.%{base_sublevel}
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Chuck Ebbert 4d5b94
# %{vanillaversion} : the full version name, e.g. 2.6.35-rc6-git3
Chuck Ebbert 4d5b94
# %{kversion}       : the base version, e.g. 2.6.34
Jesse Keating 7a3296
Chuck Ebbert 4d5b94
# Use kernel-%{kversion}%{?dist} as the top-level directory name
Chuck Ebbert 4d5b94
# so we can prep different trees within a single git directory.
Jesse Keating 7a3296
Chuck Ebbert 4d5b94
# Build a list of the other top-level kernel tree directories.
Chuck Ebbert 4d5b94
# This will be used to hardlink identical vanilla subdirs.
Chuck Ebbert 4d5b94
sharedirs=$(find "$PWD" -maxdepth 1 -type d -name 'kernel-2.6.*' \
Chuck Ebbert 4d5b94
            | grep -x -v "$PWD"/kernel-%{kversion}%{?dist}) ||:
Jesse Keating 7a3296
Chuck Ebbert 4d5b94
if [ ! -d kernel-%{kversion}%{?dist}/vanilla-%{vanillaversion} ]; then
Chuck Ebbert 4d5b94
Chuck Ebbert 4d5b94
  if [ -d kernel-%{kversion}%{?dist}/vanilla-%{kversion} ]; then
Chuck Ebbert 4d5b94
Chuck Ebbert 4d5b94
    # The base vanilla version already exists.
Chuck Ebbert 4d5b94
    cd kernel-%{kversion}%{?dist}
Jesse Keating 7a3296
Jesse Keating 7a3296
    # Any vanilla-* directories other than the base one are stale.
Jesse Keating 7a3296
    for dir in vanilla-*; do
Jesse Keating 7a3296
      [ "$dir" = vanilla-%{kversion} ] || rm -rf $dir &
Jesse Keating 7a3296
    done
Jesse Keating 7a3296
Jesse Keating 7a3296
  else
Jesse Keating 7a3296
Jesse Keating 7a3296
    rm -f pax_global_header
Chuck Ebbert 4d5b94
    # Look for an identical base vanilla dir that can be hardlinked.
Jesse Keating 7a3296
    for sharedir in $sharedirs ; do
Chuck Ebbert 4d5b94
      if [[ ! -z $sharedir  &&  -d $sharedir/vanilla-%{kversion} ]] ; then
Jesse Keating 7a3296
        break
Jesse Keating 7a3296
      fi
Jesse Keating 7a3296
    done
Chuck Ebbert 4d5b94
    if [[ ! -z $sharedir  &&  -d $sharedir/vanilla-%{kversion} ]] ; then
Chuck Ebbert 4d5b94
%setup -q -n kernel-%{kversion}%{?dist} -c -T
Chuck Ebbert 4d5b94
      cp -rl $sharedir/vanilla-%{kversion} .
Jesse Keating 7a3296
    else
Chuck Ebbert 4d5b94
%setup -q -n kernel-%{kversion}%{?dist} -c
Jesse Keating 7a3296
      mv linux-%{kversion} vanilla-%{kversion}
Jesse Keating 7a3296
    fi
Jesse Keating 7a3296
Jesse Keating 7a3296
  fi
Jesse Keating 7a3296
Jesse Keating 7a3296
%if "%{kversion}" != "%{vanillaversion}"
Jesse Keating 7a3296
Jesse Keating 7a3296
  for sharedir in $sharedirs ; do
Chuck Ebbert 4d5b94
    if [[ ! -z $sharedir  &&  -d $sharedir/vanilla-%{vanillaversion} ]] ; then
Jesse Keating 7a3296
      break
Jesse Keating 7a3296
    fi
Jesse Keating 7a3296
  done
Chuck Ebbert 4d5b94
  if [[ ! -z $sharedir  &&  -d $sharedir/vanilla-%{vanillaversion} ]] ; then
Jesse Keating 7a3296
Chuck Ebbert 4d5b94
    cp -rl $sharedir/vanilla-%{vanillaversion} .
Jesse Keating 7a3296
Jesse Keating 7a3296
  else
Jesse Keating 7a3296
Chuck Ebbert 4d5b94
    # Need to apply patches to the base vanilla version.
Jesse Keating 7a3296
    cp -rl vanilla-%{kversion} vanilla-%{vanillaversion}
Jesse Keating 7a3296
    cd vanilla-%{vanillaversion}
Jesse Keating 7a3296
Jesse Keating 7a3296
# Update vanilla to the latest upstream.
Jesse Keating 7a3296
# (non-released_kernel case only)
Jesse Keating 7a3296
%if 0%{?rcrev}
Jesse Keating 7a3296
    ApplyPatch patch-2.6.%{upstream_sublevel}-rc%{rcrev}.bz2
Jesse Keating 7a3296
%if 0%{?gitrev}
Jesse Keating 7a3296
    ApplyPatch patch-2.6.%{upstream_sublevel}-rc%{rcrev}-git%{gitrev}.bz2
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
%else
Jesse Keating 7a3296
# pre-{base_sublevel+1}-rc1 case
Jesse Keating 7a3296
%if 0%{?gitrev}
Jesse Keating 7a3296
    ApplyPatch patch-2.6.%{base_sublevel}-git%{gitrev}.bz2
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
    cd ..
Jesse Keating 7a3296
Jesse Keating 7a3296
  fi
Jesse Keating 7a3296
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
else
Chuck Ebbert 4d5b94
Chuck Ebbert 4d5b94
  # We already have all vanilla dirs, just change to the top-level directory.
Chuck Ebbert 4d5b94
  cd kernel-%{kversion}%{?dist}
Chuck Ebbert 4d5b94
Jesse Keating 7a3296
fi
Jesse Keating 7a3296
Chuck Ebbert 4d5b94
# Now build the fedora kernel tree.
Jesse Keating 7a3296
if [ -d linux-%{kversion}.%{_target_cpu} ]; then
Jesse Keating 7a3296
  # Just in case we ctrl-c'd a prep already
Jesse Keating 7a3296
  rm -rf deleteme.%{_target_cpu}
Jesse Keating 7a3296
  # Move away the stale away, and delete in background.
Jesse Keating 7a3296
  mv linux-%{kversion}.%{_target_cpu} deleteme.%{_target_cpu}
Jesse Keating 7a3296
  rm -rf deleteme.%{_target_cpu} &
Jesse Keating 7a3296
fi
Jesse Keating 7a3296
Jesse Keating 7a3296
cp -rl vanilla-%{vanillaversion} linux-%{kversion}.%{_target_cpu}
Jesse Keating 7a3296
Jesse Keating 7a3296
cd linux-%{kversion}.%{_target_cpu}
Jesse Keating 7a3296
Jesse Keating 7a3296
# released_kernel with possible stable updates
Jesse Keating 7a3296
%if 0%{?stable_base}
Jesse Keating 7a3296
ApplyPatch %{stable_patch_00}
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
%if 0%{?stable_rc}
Jesse Keating 7a3296
ApplyPatch %{stable_patch_01}
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
%if %{using_upstream_branch}
Jesse Keating 7a3296
### BRANCH APPLY ###
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
# Drop some necessary files from the source dir into the buildroot
Jesse Keating 7a3296
cp $RPM_SOURCE_DIR/config-* .
Jesse Keating 7a3296
cp %{SOURCE15} .
Jesse Keating 7a3296
Jesse Keating 7a3296
# Dynamically generate kernel .config files from config-* files
Jesse Keating 7a3296
make -f %{SOURCE20} VERSION=%{version} configs
Jesse Keating 7a3296
d84ac0
%if %{?all_arch_configs:1}%{!?all_arch_configs:0}
Jesse Keating 7a3296
#if a rhel kernel, apply the rhel config options
Jesse Keating 7a3296
%if 0%{?rhel}
Jesse Keating 7a3296
  for i in %{all_arch_configs}
Jesse Keating 7a3296
  do
Jesse Keating 7a3296
    mv $i $i.tmp
Jesse Keating 7a3296
    ./merge.pl config-rhel-generic $i.tmp > $i
Jesse Keating 7a3296
    rm $i.tmp
Jesse Keating 7a3296
  done
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jarod Wilson 4b2adb
# Merge in any user-provided local config option changes
Jarod Wilson 4b2adb
for i in %{all_arch_configs}
Jarod Wilson 4b2adb
do
Jarod Wilson 4b2adb
  mv $i $i.tmp
Jarod Wilson 4b2adb
  ./merge.pl %{SOURCE1000} $i.tmp > $i
Jarod Wilson 4b2adb
  rm $i.tmp
Jarod Wilson 4b2adb
done
d84ac0
%endif
Jarod Wilson 4b2adb
Jesse Keating 7a3296
ApplyOptionalPatch git-linus.diff
Jesse Keating 7a3296
Jesse Keating 7a3296
# This patch adds a "make nonint_oldconfig" which is non-interactive and
Jesse Keating 7a3296
# also gives a list of missing options at the end. Useful for automated
Jesse Keating 7a3296
# builds (as used in the buildsystem).
Jesse Keating 7a3296
ApplyPatch linux-2.6-build-nonintconfig.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
ApplyPatch linux-2.6-makefile-after_link.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
#
Jesse Keating 7a3296
# misc small stuff to make things compile
Jesse Keating 7a3296
#
Jesse Keating 7a3296
ApplyOptionalPatch linux-2.6-compile-fixes.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
%if !%{nopatches}
Jesse Keating 7a3296
Jesse Keating 7a3296
# revert patches from upstream that conflict or that we get via other means
Jesse Keating 7a3296
ApplyOptionalPatch linux-2.6-upstream-reverts.patch -R
Jesse Keating 7a3296
Jesse Keating 7a3296
ApplyPatch linux-2.6-hotfixes.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
# Roland's utrace ptrace replacement.
Jesse Keating 7a3296
ApplyPatch git-utrace.patch
Jesse Keating 7a3296
ApplyPatch utrace-ptrace-fix-build.patch
Jesse Keating 7a3296
ApplyPatch utrace-remove-use-of-kref_set.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
# Architecture patches
Jesse Keating 7a3296
# x86(-64)
Jesse Keating 7a3296
Jesse Keating 7a3296
#
Jesse Keating 7a3296
# Intel IOMMU
Jesse Keating 7a3296
#
Jesse Keating 7a3296
Jesse Keating 7a3296
#
Jesse Keating 7a3296
# PowerPC
Jesse Keating 7a3296
#
Jesse Keating 7a3296
Jesse Keating 7a3296
#
Jesse Keating 7a3296
# SPARC64
Jesse Keating 7a3296
#
Jesse Keating 7a3296
ApplyPatch linux-2.6.29-sparc-IOC_TYPECHECK.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
#
Jesse Keating 7a3296
# Exec shield
Jesse Keating 7a3296
#
Jesse Keating 7a3296
ApplyPatch linux-2.6-i386-nx-emulation.patch
Jesse Keating 7a3296
ApplyPatch linux-2.6-32bit-mmap-exec-randomization.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
#
Jesse Keating 7a3296
# bugfixes to drivers and filesystems
Jesse Keating 7a3296
#
Jesse Keating 7a3296
Jesse Keating 7a3296
# ext4
Josh Boyer 4f7912
#rhbz 753346
Josh Boyer 4f7912
ApplyPatch jbd-jbd2-validate-sb-s_first-in-journal_get_superblo.patch
Jesse Keating 7a3296
Kyle McMartin 9d6e5d
# rhbz#578674
Kyle McMartin 9d6e5d
ApplyPatch ext4-always-journal-quota-file-modifications.patch
Kyle McMartin 9d6e5d
Jesse Keating 7a3296
# xfs
Josh Boyer 29298d
ApplyPatch xfs-Fix-possible-memory-corruption-in-xfs_readlink.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
# btrfs
Jesse Keating 7a3296
Kyle McMartin 54f1e0
# rhbz#656465
Kyle McMartin 54f1e0
ApplyPatch btrfs-fix-error-handling-in-btrfs_get_sub.patch
Kyle McMartin 54f1e0
ApplyPatch btrfs-setup-blank-root-and-fs_info-for-mount-time.patch
Kyle McMartin 54f1e0
ApplyPatch btrfs-fix-race-between-btrfs_get_sb-and-unmount.patch
Jesse Keating 7a3296
Chuck Ebbert b11f51
# RHBZ #669511
Chuck Ebbert b11f51
ApplyPatch btrfs-fix-typo-in-fallocate-to-make-it-honor-actual-size.patch
Chuck Ebbert b11f51
Jesse Keating 7a3296
# eCryptfs
Jesse Keating 7a3296
Jesse Keating 7a3296
# NFSv4
Jesse Keating 7a3296
Jesse Keating 7a3296
# USB
Kyle McMartin c19187
ApplyPatch disable-xhci-by-default.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
# WMI
Jesse Keating 7a3296
Jesse Keating 7a3296
# ACPI
Jesse Keating 7a3296
ApplyPatch linux-2.6-defaults-acpi-video.patch
Jesse Keating 7a3296
ApplyPatch linux-2.6-acpi-video-dos.patch
Jesse Keating 7a3296
ApplyPatch acpi-ec-add-delay-before-write.patch
Jesse Keating 7a3296
ApplyPatch linux-2.6-acpi-debug-infinite-loop.patch
Matthew Garrett 73ab1e
ApplyPatch acpi-update-battery-information-on-notification-0x81.patch
Chuck Ebbert 63fcde
ApplyPatch linux-2.6-defaults-no-pm-async.patch
Matthew Garrett c7ff2c
ApplyPatch linux-2.6-acpi-fix-alias.patch
Dave Jones 6f7506
ApplyPatch acpi-sony-nonvs-blacklist.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
# Various low-impact patches to aid debugging.
Jesse Keating 7a3296
ApplyPatch linux-2.6-debug-sizeof-structs.patch
Jesse Keating 7a3296
ApplyPatch linux-2.6-debug-nmi-timeout.patch
Jesse Keating 7a3296
ApplyPatch linux-2.6-debug-taint-vm.patch
Jesse Keating 7a3296
ApplyPatch linux-2.6-debug-vm-would-have-oomkilled.patch
Jesse Keating 7a3296
ApplyPatch linux-2.6-debug-always-inline-kzalloc.patch
Jesse Keating 7a3296
Kyle McMartin 48eb5c
ApplyPatch pnp-log-pnp-resources-as-we-do-for-pci.patch
Kyle McMartin 48eb5c
Jesse Keating 7a3296
#
Jesse Keating 7a3296
# PCI
Jesse Keating 7a3296
#
Jesse Keating 7a3296
# make default state of PCI MSI a config option
Jesse Keating 7a3296
ApplyPatch linux-2.6-defaults-pci_no_msi.patch
Kyle McMartin 88a50a
ApplyPatch linux-2.6-defaults-pci_use_crs.patch
Jesse Keating 7a3296
# enable ASPM by default on hardware we expect to work
Jesse Keating 7a3296
ApplyPatch linux-2.6-defaults-aspm.patch
Jesse Keating 7a3296
# disable aspm if acpi doesn't provide an _OSC method
Jesse Keating 7a3296
ApplyPatch pci-acpi-disable-aspm-if-no-osc.patch
Jesse Keating 7a3296
# allow drivers to disable aspm at load time
Jesse Keating 7a3296
ApplyPatch pci-aspm-dont-enable-too-early.patch
Kyle McMartin f2ed8c
ApplyPatch pci-disable-aspm-if-bios-asks-us-to.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
#
Jesse Keating 7a3296
# SCSI Bits.
Jesse Keating 7a3296
#
Jesse Keating 7a3296
Jesse Keating 7a3296
# ACPI
Jesse Keating 7a3296
Jesse Keating 7a3296
# ALSA
Jesse Keating 7a3296
ApplyPatch hda_intel-prealloc-4mb-dmabuffer.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
# Networking
Jesse Keating 7a3296
Jesse Keating 7a3296
# Misc fixes
Jesse Keating 7a3296
# The input layer spews crap no-one cares about.
Jesse Keating 7a3296
ApplyPatch linux-2.6-input-kill-stupid-messages.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
# stop floppy.ko from autoloading during udev...
Jesse Keating 7a3296
ApplyPatch die-floppy-die.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
ApplyPatch linux-2.6.30-no-pcspkr-modalias.patch
Jesse Keating 7a3296
Kyle McMartin d40233
ApplyPatch thinkpad-acpi-fix-backlight.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
# Allow to use 480600 baud on 16C950 UARTs
Jesse Keating 7a3296
ApplyPatch linux-2.6-serial-460800.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
# Silence some useless messages that still get printed with 'quiet'
Jesse Keating 7a3296
ApplyPatch linux-2.6-silence-noise.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
# Make fbcon not show the penguins with 'quiet'
Jesse Keating 7a3296
ApplyPatch linux-2.6-silence-fbcon-logo.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
# Fix the SELinux mprotect checks on executable mappings
Jesse Keating 7a3296
#ApplyPatch linux-2.6-selinux-mprotect-checks.patch
Jesse Keating 7a3296
# Fix SELinux for sparc
Jesse Keating 7a3296
# FIXME: Can we drop this now? See updated linux-2.6-selinux-mprotect-checks.patch
Jesse Keating 7a3296
#ApplyPatch linux-2.6-sparc-selinux-mprotect-checks.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
# Changes to upstream defaults.
Kyle McMartin e2302e
ApplyPatch create-sys-fs-cgroup-to-mount-cgroupfs-on.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
Jesse Keating 7a3296
# /dev/crash driver.
Jesse Keating 7a3296
ApplyPatch linux-2.6-crash-driver.patch
Jesse Keating 7a3296
Dave Jones 7e156f
# usb-wwan: implement TIOCGSERIAL and TIOCSSERIAL to avoid blocking close(2)
Dave Jones 7e156f
ApplyPatch usb-wwan-ioctls.patch
Dave Jones 7e156f
Dave Jones bbaea7
# Hack e1000e to work on Montevina SDV
Dave Jones bbaea7
ApplyPatch linux-2.6-e1000-ich9-montevina.patch
Dave Jones bbaea7
Jesse Keating 7a3296
# crypto/
Jesse Keating 7a3296
Jesse Keating 7a3296
# Assorted Virt Fixes
Jesse Keating 7a3296
ApplyPatch fix_xen_guest_on_old_EC2.patch
Jesse Keating 7a3296
05493c
ApplyPatch drm-polling-fixes.patch
171d7c
ApplyPatch drm-edid-invalid.patch
Ben Skeggs 71e9b6
ApplyPatch drm-simplify-i2c-config.patch
Ben Skeggs 71e9b6
ApplyPatch drm-sil164-module.patch
Ben Skeggs 71e9b6
ApplyPatch drm-i2c-ch7006-fix.patch
Ben Skeggs bd31d5
ApplyPatch drm-ttm-fix.patch
Jesse Keating 7a3296
# Nouveau DRM + drm fixes
Jesse Keating 7a3296
ApplyPatch drm-nouveau-updates.patch
Ben Skeggs 71e9b6
ApplyPatch drm-nouveau-race-fix.patch
Ben Skeggs fbc428
ApplyPatch drm-nouveau-nva3-noaccel.patch
Ben Skeggs df57a8
ApplyPatch drm-nouveau-nv86-bug.patch
Ben Skeggs c7b007
ApplyPatch drm-nouveau-nv50-crtc-update-delay.patch
05493c
ApplyPatch drm-nouveau-connector-fix.patch
Ben Skeggs 466450
ApplyPatch drm-nouveau-imac-g4.patch
Ben Skeggs 466450
ApplyPatch drm-nouveau-evo-hang.patch
Ben Skeggs 466450
ApplyPatch drm-nouveau-nvaf-grclass.patch
Ben Skeggs e37208
ApplyPatch drm-nouveau-init5c.patch
Ben Skeggs fbc428
Jesse Keating 7a3296
ApplyPatch drm-intel-big-hammer.patch
Jesse Keating 7a3296
ApplyOptionalPatch drm-intel-next.patch
Jesse Keating 7a3296
ApplyPatch drm-intel-make-lvds-work.patch
5ddd90
ApplyPatch drm-i915-disable-sr-polling.patch
Jesse Keating 7a3296
ApplyPatch linux-2.6-intel-iommu-igfx.patch
Jesse Keating 7a3296
Kyle McMartin 26ea0f
ApplyPatch drm-ttm-fix-two-race-conditions-fix-busy-codepaths.patch
Kyle McMartin 26ea0f
Kyle McMartin f8d75b
ApplyPatch drm-radeon-r600-cs-checker-fixes.patch
Kyle McMartin f8d75b
Dave Jones 87d556
ApplyPatch drm-lower-severity-radeon-lockup.diff
Dave Jones 87d556
Kyle McMartin 3c5d4d
ApplyPatch efifb-add-more-models.patch
Kyle McMartin bc9e07
ApplyPatch efifb-check-that-the-base-addr-is-plausible-on-pci-systems.patch
Kyle McMartin 3c5d4d
Jesse Keating 7a3296
# linux1394 git patches
Jesse Keating 7a3296
#ApplyPatch linux-2.6-firewire-git-update.patch
Jesse Keating 7a3296
#ApplyOptionalPatch linux-2.6-firewire-git-pending.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
# silence the ACPI blacklist code
Jesse Keating 7a3296
ApplyPatch linux-2.6-silence-acpi-blacklist.patch
Jesse Keating 7a3296
Jarod Wilson 0252aa
# Backport of upstream vzalloc functions, used by the v4l/dvb bits
Jarod Wilson 0252aa
ApplyPatch linux-2.6-vzalloc.patch
Jarod Wilson 0252aa
Jesse Keating 7a3296
# V4L/DVB updates/fixes/experimental drivers
Jesse Keating 7a3296
#  apply if non-empty
Jarod Wilson 893aff
ApplyOptionalPatch linux-2.6-v4l-dvb-update.patch
Jarod Wilson 893aff
ApplyOptionalPatch linux-2.6-v4l-dvb-fixes.patch
Jarod Wilson 893aff
ApplyOptionalPatch linux-2.6-v4l-dvb-experimental.patch
Jesse Keating 7a3296
Jarod Wilson 49ee50
# one-off non-upstream patch, since ir-keytable doesn't work yet
Jarod Wilson 893aff
ApplyPatch imon-default-proto-modparam.patch
Jarod Wilson 893aff
Jarod Wilson 893aff
# enable building lirc separate from the v4l-dvb update,
Jarod Wilson 893aff
# because I keep forgetting to manually add the bits back
Jarod Wilson 893aff
ApplyPatch linux-2.6-v4l-dvb-build-lirc.patch
Jarod Wilson 49ee50
Jarod Wilson 639fa2
# A few bits have to be reverted so things actually build,
Jarod Wilson 639fa2
# and in order to quit forgetting them, split them into their
Jarod Wilson 639fa2
# own patch
Jarod Wilson 639fa2
ApplyPatch linux-2.6-v4l-dvb-backport-reverts.patch
Jarod Wilson 639fa2
Dave Jones 10931f
# Fix DMA bug on via-velocity
Dave Jones 10931f
ApplyPatch linux-2.6-via-velocity-dma-fix.patch
Dave Jones 10931f
Dave Jones db140f
# silence another rcu_reference warning
Dave Jones a09b81
ApplyPatch linux-2.6-rcu-netpoll.patch
Dave Jones db140f
Dave Jones b5c25f
ApplyPatch rcutree-avoid-false-quiescent-states.patch
Dave Jones b5c25f
Dave Jones 6cf4af
# acer-wmi: Fix capitalisation of GUID in module alias
Dave Jones 6cf4af
ApplyPatch acer-wmi-modalias.patch
Dave Jones 6cf4af
Jesse Keating 7a3296
# Patches headed upstream
Jesse Keating 7a3296
ApplyPatch disable-i8042-check-on-apple-mac.patch
Jesse Keating 7a3296
Kyle McMartin d3a72e
ApplyPatch add-appleir-usb-driver.patch
Kyle McMartin d3a72e
Jarod Wilson f4da56
ApplyPatch hid-support-tivo-slide-remote.patch
Jarod Wilson f4da56
Jesse Keating 7a3296
ApplyPatch neuter_intel_microcode_load.patch
Jesse Keating 7a3296
Jesse Keating 7a3296
ApplyPatch only-use-alpha2-regulatory-information-from-country-IE.patch
Jesse Keating 7a3296
Chuck Ebbert 8f132e
# bz 610941
Chuck Ebbert 8f132e
ApplyPatch kprobes-x86-fix-kprobes-to-skip-prefixes-correctly.patch
Chuck Ebbert 8f132e
Kyle McMartin cfdae0
# bz 622149
Kyle McMartin cfdae0
ApplyPatch fix-rcu_deref_check-warning.patch
Dave Jones 291833
ApplyPatch linux-2.6-cgroups-rcu.patch
Kyle McMartin 426c30
Chuck Ebbert 14525a
Chuck Ebbert b21871
# Scheduler fixes (#635813 and #633037)
Chuck Ebbert b21871
ApplyPatch sched-05-avoid-side-effect-of-tickless-idle-on-update_cpu_load.patch
Chuck Ebbert b21871
ApplyPatch sched-10-change-nohz-idle-load-balancing-logic-to-push-model.patch
Chuck Ebbert b21871
ApplyPatch sched-15-update-rq-clock-for-nohz-balanced-cpus.patch
Chuck Ebbert b21871
ApplyPatch sched-20-fix-rq-clock-synchronization-when-migrating-tasks.patch
Chuck Ebbert 69a476
ApplyPatch sched-30-sched-fix-nohz-balance-kick.patch
Chuck Ebbert b21871
Chuck Ebbert b2398b
# temporary patch, dump stack on failed it821x commands
Chuck Ebbert b2398b
ApplyPatch libata-it821x-dump-stack-on-cache-flush.patch
Chuck Ebbert b2398b
Kyle McMartin 7140c9
# rhbz#641476
Kyle McMartin 7140c9
ApplyPatch dm-allow-setting-of-uuid-via-rename-if-not-already-set.patch
Kyle McMartin 7140c9
kyle 915df7
# rhbz#605888
kyle 915df7
ApplyPatch dmar-disable-when-ricoh-multifunction.patch
kyle 915df7
Kyle McMartin 6aca93
ApplyPatch ima-allow-it-to-be-completely-disabled-and-default-off.patch
Kyle McMartin 6aca93
Kyle McMartin f1b58c
# rhbz#596475
Kyle McMartin f1b58c
ApplyPatch sdhci-8-bit-data-transfer-width-support.patch
Kyle McMartin f1b58c
ApplyPatch mmc-make-sdhci-work-with-ricoh-mmc-controller.patch
Kyle McMartin f1b58c
ApplyPatch mmc-add-ricoh-e822-pci-id.patch
Kyle McMartin f1b58c
Kyle McMartin cbdb31
ApplyPatch tpm-autodetect-itpm-devices.patch
Chuck Ebbert 643d35
John W. Linville dd99fe
ApplyPatch rtl8180-improve-signal-reporting-for-rtl8185-hardware.patch
John W. Linville dd99fe
ApplyPatch rtl8180-improve-signal-reporting-for-actual-rtl8180-hardware.patch
John W. Linville dd99fe
Kyle McMartin 6abfea
# CVE-2010-4077, CVE-2010-4075 (rhbz#648660, #648663)
Kyle McMartin 6abfea
ApplyPatch tty-make-tiocgicount-a-handler.patch
Kyle McMartin 6abfea
ApplyPatch tty-icount-changeover-for-other-main-devices.patch
Kyle McMartin 6abfea
Kyle McMartin 76a7eb
# backport some fixes for kswapd from mmotm, rhbz#649694
Kyle McMartin 76a7eb
ApplyPatch mm-vmstat-use-a-single-setter-function-and-callback-for-adjusting-percpu-thresholds.patch
Kyle McMartin 76a7eb
Kyle McMartin 4bd3ae
# rhbz#657864
Kyle McMartin 4bd3ae
ApplyPatch orinoco-initialise-priv_hw-before-assigning-the-interrupt.patch
Kyle McMartin 4bd3ae
Kyle McMartin 68b623
# rhbz#637619
Kyle McMartin 68b623
ApplyPatch net-AF_PACKET-vmalloc.patch
Kyle McMartin 68b623
Chuck Ebbert b1f2f0
# rhbz#652744
Chuck Ebbert b1f2f0
ApplyPatch e1000e-cleanup-e1000_sw_lcd_config_ich8lan.patch
Chuck Ebbert b1f2f0
ApplyPatch e1000e-82566DC-fails-to-get-link.patch
Chuck Ebbert b1f2f0
Chuck Ebbert aee782
# CVE-2010-4668
Chuck Ebbert aee782
ApplyPatch block-check-for-proper-length-of-iov-entries-earlier-in-blk_rq_map_user_iov.patch
Chuck Ebbert aee782
Chuck Ebbert d85fb2
# rhbz #673207
Chuck Ebbert d85fb2
ApplyPatch sunrpc-kernel-panic-when-mount-nfsv4.patch
Chuck Ebbert d85fb2
Chuck Ebbert 6e3a83
# rhbz #650151 (F13)
Chuck Ebbert 6e3a83
ApplyPatch bridge-fix-mglist-corruption-that-leads-to-memory-corruption.patch
Chuck Ebbert 6e3a83
Chuck Ebbert b4877f
# Fix 32-bit guest hang on 32-bit PAE host (#677167)
Chuck Ebbert b4877f
ApplyPatch kvm-mmu-fix-32-bit-legacy-paging-with-npt.patch
Chuck Ebbert b4877f
Chuck Ebbert d65a15
# rhbz#676860
Chuck Ebbert d65a15
ApplyPatch hid-force-feedback-support-for-logitech-rumblepad-gamepad.patch
Chuck Ebbert d65a15
Chuck Ebbert 6143eb
# rhbz#604630
Chuck Ebbert 6143eb
ApplyPatch linux-2.6-bonding-sysfs-warning.patch
Chuck Ebbert 6143eb
Chuck Ebbert d56494
# rhbz#680791
Chuck Ebbert d56494
ApplyPatch md-fix-regression-resulting-in-delays-in-clearing-bits-in-a-bitmap.patch
Chuck Ebbert d56494
Chuck Ebbert 2c4c81
# fix credentials leakage regression (#700637)
Chuck Ebbert 2c4c81
ApplyPatch revert-incomplete-af_netlink-add-needed-scm-destroy-after-scm-send.patch
Chuck Ebbert 2c4c81
ApplyPatch af_netlink-add-needed-scm_destroy-after-scm_send.patch
Chuck Ebbert 2c4c81
Kyle McMartin cc37b4
ApplyPatch scsi_dh_hp_sw-fix-deadlock-in-start_stop_endio.patch
Kyle McMartin cc37b4
Chuck Ebbert fcf924
# the rest of the pgoff wrap fix
Chuck Ebbert fcf924
ApplyPatch vm-fix-vm_pgoff-wrap-in-stack-expansion.patch
Chuck Ebbert fcf924
Kyle McMartin 398aba
# rhbz#666646,648732
Kyle McMartin 398aba
ApplyPatch iwlwifi-add_ack_plpc_check-module-parameters.patch
Kyle McMartin 398aba
ApplyPatch iwlagn-fix-Received-BA-when-not-expected.patch
Kyle McMartin 398aba
ApplyPatch iwlagn-use-cts-to-self-protection-on-5000-adapters-series.patch
Kyle McMartin 398aba
Chuck Ebbert fa21cb
# CVE-2011-2905
Chuck Ebbert fa21cb
ApplyPatch perf-tools-do-not-look-at-config-for-configuration.patch
Chuck Ebbert bdfca3
# CVE-2011-2695
Chuck Ebbert bdfca3
ApplyPatch ext4-fix-max-file-size-and-logical-block-counting-of-extent-format-file.patch
Chuck Ebbert f77745
# CVE-2011-2497
Chuck Ebbert f77745
ApplyPatch bluetooth-prevent-buffer-overflow-in-l2cap-config-request.patch
Chuck Ebbert 8ba25e
# CVE-2011-2517
Chuck Ebbert 8ba25e
ApplyPatch nl80211-fix-overflow-in-ssid_len.patch.patch
Chuck Ebbert c9e8c1
# CVE-2011-2699
Chuck Ebbert c9e8c1
ApplyPatch ipv6-make-fragment-identifications-less-predictable.patch
Chuck Ebbert 4d20e6
ApplyPatch ipv6-fix-null-dereference-in-udp6_ufo_fragment.patch
Chuck Ebbert fa21cb
Chuck Ebbert 29f392
# RHBZ #699684
Chuck Ebbert 29f392
ApplyPatch x86-mm-fix-pgd_lock-deadlock.patch
Chuck Ebbert 29f392
Josh Boyer 92fb0a
# RHBZ #573210
Josh Boyer 92fb0a
ApplyPatch utrace-use-task_pid_vnr-in-ptrace_report_clone.patch
Josh Boyer 92fb0a
Josh Boyer a62b54
# RHBZ #672056
Josh Boyer a62b54
ApplyPatch asix-add-USB-ID-for-Logitec-LAN-GTJ-U2A.patch
Josh Boyer a62b54
Josh Boyer 3aec18
# RHBZ #665109
Josh Boyer 3aec18
ApplyPatch x86-PCI-don-t-use-native-Broadcom-CNB20LE-driver-whe.patch
Josh Boyer 3aec18
Josh Boyer cf5a63
# RHBZ #648571
Josh Boyer cf5a63
ApplyPatch modules-Fix-module_bug_list-list-corruption-race.patch
Josh Boyer cf5a63
Josh Boyer bc96a9
# CVE-2011-2723
Josh Boyer bc96a9
ApplyPatch gro-Only-reset-frag0-when-skb-can-be-pulled.patch
Josh Boyer bc96a9
Josh Boyer bc96a9
# CVE-2011-2928
Josh Boyer bc96a9
ApplyPatch befs-Validate-length-of-long-symbolic-links.patch
Josh Boyer bc96a9
Josh Boyer 51ba36
# CVE-2011-3191
Josh Boyer 51ba36
ApplyPatch cifs-fix-possible-memory-corruption-in-CIFSFindNext.patch
Josh Boyer 51ba36
Josh Boyer b2fe2e
# CVE-2011-1833
Josh Boyer b2fe2e
ApplyPatch Ecryptfs-Add-mount-option-to-check-uid-of-device-bei.patch
Josh Boyer b2fe2e
Josh Boyer 398017
# CVE-2011-2918
Josh Boyer 398017
ApplyPatch perf-Fix-software-event-overflow.patch
Josh Boyer 398017
Josh Boyer c0d43b
# CVE-2011-3188
Josh Boyer c0d43b
ApplyPatch crypto-Move-md5_transform-to-lib-md5.c.patch
Josh Boyer c0d43b
ApplyPatch net-Compute-protocol-sequence-numbers-and-fragment-I.patch
Josh Boyer c0d43b
Josh Boyer 18a614
# CVE-2011-3353
Josh Boyer 18a614
ApplyPatch fuse-check-size-of-FUSE_NOTIFY_INVAL_ENTRY-message.patch
Josh Boyer 18a614
Josh Boyer 646ec8
# CVE-2011-1161 CVE-2011-1162
Josh Boyer 646ec8
ApplyPatch TPM-Call-tpm_transmit-with-correct-size.patch
Josh Boyer 646ec8
ApplyPatch TPM-Zero-buffer-after-copying-to-userspace.patch
Josh Boyer 646ec8
Josh Boyer c6232b
# RHBZ #663186
Josh Boyer c6232b
ApplyPatch 0001-EHCI-don-t-rescan-interrupt-QHs-needlessly.patch
Josh Boyer c6232b
ApplyPatch 0002-USB-EHCI-go-back-to-using-the-system-clock-for-QH-un.patch
Josh Boyer c6232b
Josh Boyer 379959
#rhbz 747948
Josh Boyer 379959
ApplyPatch ext4-fix-BUG_ON-in-ext4_ext_insert_extent.patch
Josh Boyer 379959
Josh Boyer 528c08
#rhbz 748668
Josh Boyer 528c08
ApplyPatch epoll-fix-spurious-lockdep-warnings.patch
Josh Boyer 528c08
ApplyPatch epoll-limit-paths.patch
Josh Boyer 528c08
Josh Boyer 3ea9b9
#rhbz 749484
Josh Boyer 3ea9b9
ApplyPatch crypto-ghash-Avoid-null-pointer-dereference-if-no-ke.patch
Josh Boyer 3ea9b9
Josh Boyer 445b54
#rhbz 755590
Josh Boyer 445b54
ApplyPatch ipv6-udp-fix-the-wrong-headroom-check.patch
Josh Boyer 445b54
Josh Boyer df53fa
#rhbz 756168
Josh Boyer df53fa
ApplyPatch KEYS-Fix-a-NULL-pointer-deref-in-the-user-defined-ke.patch
Josh Boyer df53fa
Jesse Keating 7a3296
# END OF PATCH APPLICATIONS
Jesse Keating 7a3296
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
# Any further pre-build tree manipulations happen here.
Jesse Keating 7a3296
Jesse Keating 7a3296
chmod +x scripts/checkpatch.pl
Jesse Keating 7a3296
Jesse Keating 7a3296
# only deal with configs if we are going to build for the arch
Jesse Keating 7a3296
%ifnarch %nobuildarches
Jesse Keating 7a3296
Jesse Keating 7a3296
mkdir configs
Jesse Keating 7a3296
Jesse Keating 7a3296
# Remove configs not for the buildarch
Jesse Keating 7a3296
for cfg in kernel-%{version}-*.config; do
Jesse Keating 7a3296
  if [ `echo %{all_arch_configs} | grep -c $cfg` -eq 0 ]; then
Jesse Keating 7a3296
    rm -f $cfg
Jesse Keating 7a3296
  fi
Jesse Keating 7a3296
done
Jesse Keating 7a3296
Jesse Keating 7a3296
%if !%{debugbuildsenabled}
Jesse Keating 7a3296
rm -f kernel-%{version}-*debug.config
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Kyle McMartin 4cfcea
touch .scmversion
Kyle McMartin 4cfcea
Jesse Keating 7a3296
# now run oldconfig over all the config files
Jesse Keating 7a3296
for i in *.config
Jesse Keating 7a3296
do
Jesse Keating 7a3296
  mv $i .config
Jesse Keating 7a3296
  Arch=`head -1 .config | cut -b 3-`
Jesse Keating 7a3296
  make ARCH=$Arch %{oldconfig_target} > /dev/null
Jesse Keating 7a3296
  echo "# $Arch" > configs/$i
Jesse Keating 7a3296
  cat .config >> configs/$i
Jesse Keating 7a3296
done
Jesse Keating 7a3296
# end of kernel config
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
# get rid of unwanted files resulting from patch fuzz
Jesse Keating 7a3296
find . \( -name "*.orig" -o -name "*~" \) -exec rm -f {} \; >/dev/null
Jesse Keating 7a3296
Jesse Keating 7a3296
cd ..
Jesse Keating 7a3296
Jesse Keating 7a3296
###
Jesse Keating 7a3296
### build
Jesse Keating 7a3296
###
Jesse Keating 7a3296
%build
Jesse Keating 7a3296
Jesse Keating 7a3296
%if %{with_sparse}
Jesse Keating 7a3296
%define sparse_mflags	C=1
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
%if %{fancy_debuginfo}
Jesse Keating 7a3296
# This override tweaks the kernel makefiles so that we run debugedit on an
Jesse Keating 7a3296
# object before embedding it.  When we later run find-debuginfo.sh, it will
Jesse Keating 7a3296
# run debugedit again.  The edits it does change the build ID bits embedded
Jesse Keating 7a3296
# in the stripped object, but repeating debugedit is a no-op.  We do it
Jesse Keating 7a3296
# beforehand to get the proper final build ID bits into the embedded image.
Jesse Keating 7a3296
# This affects the vDSO images in vmlinux, and the vmlinux image in bzImage.
Jesse Keating 7a3296
export AFTER_LINK=\
Jesse Keating 7a3296
'sh -xc "/usr/lib/rpm/debugedit -b $$RPM_BUILD_DIR -d /usr/src/debug \
Jesse Keating 7a3296
    				-i $@ > $@.id"'
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
cp_vmlinux()
Jesse Keating 7a3296
{
Jesse Keating 7a3296
  eu-strip --remove-comment -o "$2" "$1"
Jesse Keating 7a3296
}
Jesse Keating 7a3296
Jesse Keating 7a3296
BuildKernel() {
Jesse Keating 7a3296
    MakeTarget=$1
Jesse Keating 7a3296
    KernelImage=$2
Jesse Keating 7a3296
    Flavour=$3
Jesse Keating 7a3296
    InstallName=${4:-vmlinuz}
Jesse Keating 7a3296
Jesse Keating 7a3296
    # Pick the right config file for the kernel we're building
Jesse Keating 7a3296
    Config=kernel-%{version}-%{_target_cpu}${Flavour:+-${Flavour}}.config
Jesse Keating 7a3296
    DevelDir=/usr/src/kernels/%{KVERREL}${Flavour:+.${Flavour}}
Jesse Keating 7a3296
Jesse Keating 7a3296
    # When the bootable image is just the ELF kernel, strip it.
Jesse Keating 7a3296
    # We already copy the unstripped file into the debuginfo package.
Jesse Keating 7a3296
    if [ "$KernelImage" = vmlinux ]; then
Jesse Keating 7a3296
      CopyKernel=cp_vmlinux
Jesse Keating 7a3296
    else
Jesse Keating 7a3296
      CopyKernel=cp
Jesse Keating 7a3296
    fi
Jesse Keating 7a3296
Jesse Keating 7a3296
    KernelVer=%{version}-%{release}.%{_target_cpu}${Flavour:+.${Flavour}}
Jesse Keating 7a3296
    echo BUILDING A KERNEL FOR ${Flavour} %{_target_cpu}...
Jesse Keating 7a3296
Jesse Keating 7a3296
    # make sure EXTRAVERSION says what we want it to say
Jesse Keating 7a3296
    perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = %{?stablerev}-%{release}.%{_target_cpu}${Flavour:+.${Flavour}}/" Makefile
Jesse Keating 7a3296
Jesse Keating 7a3296
    # if pre-rc1 devel kernel, must fix up SUBLEVEL for our versioning scheme
Jesse Keating 7a3296
    %if !0%{?rcrev}
Jesse Keating 7a3296
    %if 0%{?gitrev}
Jesse Keating 7a3296
    perl -p -i -e 's/^SUBLEVEL.*/SUBLEVEL = %{upstream_sublevel}/' Makefile
Jesse Keating 7a3296
    %endif
Jesse Keating 7a3296
    %endif
Jesse Keating 7a3296
Jesse Keating 7a3296
    # and now to start the build process
Jesse Keating 7a3296
Jesse Keating 7a3296
    make -s mrproper
Jesse Keating 7a3296
    cp configs/$Config .config
Jesse Keating 7a3296
Jesse Keating 7a3296
    Arch=`head -1 .config | cut -b 3-`
Jesse Keating 7a3296
    echo USING ARCH=$Arch
Jesse Keating 7a3296
Jesse Keating 7a3296
    make -s ARCH=$Arch %{oldconfig_target} > /dev/null
Jesse Keating 7a3296
    make -s ARCH=$Arch V=1 %{?_smp_mflags} $MakeTarget %{?sparse_mflags}
Jesse Keating 7a3296
    make -s ARCH=$Arch V=1 %{?_smp_mflags} modules %{?sparse_mflags} || exit 1
Jesse Keating 7a3296
Jesse Keating 7a3296
    # Start installing the results
Jesse Keating 7a3296
%if %{with_debuginfo}
Jesse Keating 7a3296
    mkdir -p $RPM_BUILD_ROOT%{debuginfodir}/boot
Jesse Keating 7a3296
    mkdir -p $RPM_BUILD_ROOT%{debuginfodir}/%{image_install_path}
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
    mkdir -p $RPM_BUILD_ROOT/%{image_install_path}
Jesse Keating 7a3296
    install -m 644 .config $RPM_BUILD_ROOT/boot/config-$KernelVer
Jesse Keating 7a3296
    install -m 644 System.map $RPM_BUILD_ROOT/boot/System.map-$KernelVer
Jesse Keating 7a3296
Jesse Keating 7a3296
    # We estimate the size of the initramfs because rpm needs to take this size
Jesse Keating 7a3296
    # into consideration when performing disk space calculations. (See bz #530778)
Jesse Keating 7a3296
    dd if=/dev/zero of=$RPM_BUILD_ROOT/boot/initramfs-$KernelVer.img bs=1M count=20
Jesse Keating 7a3296
Jesse Keating 7a3296
    if [ -f arch/$Arch/boot/zImage.stub ]; then
Jesse Keating 7a3296
      cp arch/$Arch/boot/zImage.stub $RPM_BUILD_ROOT/%{image_install_path}/zImage.stub-$KernelVer || :
Jesse Keating 7a3296
    fi
Jesse Keating 7a3296
    $CopyKernel $KernelImage \
Jesse Keating 7a3296
    		$RPM_BUILD_ROOT/%{image_install_path}/$InstallName-$KernelVer
Jesse Keating 7a3296
    chmod 755 $RPM_BUILD_ROOT/%{image_install_path}/$InstallName-$KernelVer
Jesse Keating 7a3296
Jesse Keating 7a3296
    mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer
Jesse Keating 7a3296
    # Override $(mod-fw) because we don't want it to install any firmware
Jesse Keating 7a3296
    # We'll do that ourselves with 'make firmware_install'
Jesse Keating 7a3296
    make -s ARCH=$Arch INSTALL_MOD_PATH=$RPM_BUILD_ROOT modules_install KERNELRELEASE=$KernelVer mod-fw=
Jesse Keating 7a3296
%ifarch %{vdso_arches}
Jesse Keating 7a3296
    make -s ARCH=$Arch INSTALL_MOD_PATH=$RPM_BUILD_ROOT vdso_install KERNELRELEASE=$KernelVer
Jesse Keating 7a3296
    if [ ! -s ldconfig-kernel.conf ]; then
Jesse Keating 7a3296
      echo > ldconfig-kernel.conf "\
Jesse Keating 7a3296
# Placeholder file, no vDSO hwcap entries used in this kernel."
Jesse Keating 7a3296
    fi
Jesse Keating 7a3296
    %{__install} -D -m 444 ldconfig-kernel.conf \
Jesse Keating 7a3296
        $RPM_BUILD_ROOT/etc/ld.so.conf.d/kernel-$KernelVer.conf
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
    # And save the headers/makefiles etc for building modules against
Jesse Keating 7a3296
    #
Jesse Keating 7a3296
    # This all looks scary, but the end result is supposed to be:
Jesse Keating 7a3296
    # * all arch relevant include/ files
Jesse Keating 7a3296
    # * all Makefile/Kconfig files
Jesse Keating 7a3296
    # * all script/ files
Jesse Keating 7a3296
Jesse Keating 7a3296
    rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Jesse Keating 7a3296
    rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/source
Jesse Keating 7a3296
    mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Jesse Keating 7a3296
    (cd $RPM_BUILD_ROOT/lib/modules/$KernelVer ; ln -s build source)
Jesse Keating 7a3296
    # dirs for additional modules per module-init-tools, kbuild/modules.txt
Jesse Keating 7a3296
    mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/extra
Jesse Keating 7a3296
    mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/updates
Jesse Keating 7a3296
    # first copy everything
Jesse Keating 7a3296
    cp --parents `find  -type f -name "Makefile*" -o -name "Kconfig*"` $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Jesse Keating 7a3296
    cp Module.symvers $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Jesse Keating 7a3296
    cp System.map $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Jesse Keating 7a3296
    if [ -s Module.markers ]; then
Jesse Keating 7a3296
      cp Module.markers $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Jesse Keating 7a3296
    fi
Jesse Keating 7a3296
    # then drop all but the needed Makefiles/Kconfig files
Jesse Keating 7a3296
    rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/Documentation
Jesse Keating 7a3296
    rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts
Jesse Keating 7a3296
    rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
Jesse Keating 7a3296
    cp .config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Jesse Keating 7a3296
    cp -a scripts $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Jesse Keating 7a3296
    if [ -d arch/$Arch/scripts ]; then
Jesse Keating 7a3296
      cp -a arch/$Arch/scripts $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/%{_arch} || :
Jesse Keating 7a3296
    fi
Jesse Keating 7a3296
    if [ -f arch/$Arch/*lds ]; then
Jesse Keating 7a3296
      cp -a arch/$Arch/*lds $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/%{_arch}/ || :
Jesse Keating 7a3296
    fi
Jesse Keating 7a3296
    rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/*.o
Jesse Keating 7a3296
    rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/*/*.o
Jesse Keating 7a3296
%ifarch ppc
Jesse Keating 7a3296
    cp -a --parents arch/powerpc/lib/crtsavres.[So] $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
    if [ -d arch/%{asmarch}/include ]; then
Jesse Keating 7a3296
      cp -a --parents arch/%{asmarch}/include $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
Jesse Keating 7a3296
    fi
Jesse Keating 7a3296
    cp -a include $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
Jesse Keating 7a3296
Jesse Keating 7a3296
    # Make sure the Makefile and version.h have a matching timestamp so that
Jesse Keating 7a3296
    # external modules can be built
Jesse Keating 7a3296
    touch -r $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/Makefile $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/linux/version.h
Jesse Keating 7a3296
    touch -r $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/.config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/linux/autoconf.h
Jesse Keating 7a3296
    # Copy .config to include/config/auto.conf so "make prepare" is unnecessary.
Jesse Keating 7a3296
    cp $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/.config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/config/auto.conf
Jesse Keating 7a3296
Jesse Keating 7a3296
    if test -s vmlinux.id; then
Jesse Keating 7a3296
      cp vmlinux.id $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/vmlinux.id
Jesse Keating 7a3296
    else
Jesse Keating 7a3296
      echo >&2 "*** WARNING *** no vmlinux build ID! ***"
Jesse Keating 7a3296
    fi
Jesse Keating 7a3296
Jesse Keating 7a3296
    #
Jesse Keating 7a3296
    # save the vmlinux file for kernel debugging into the kernel-debuginfo rpm
Jesse Keating 7a3296
    #
Jesse Keating 7a3296
%if %{with_debuginfo}
Jesse Keating 7a3296
    mkdir -p $RPM_BUILD_ROOT%{debuginfodir}/lib/modules/$KernelVer
Jesse Keating 7a3296
    cp vmlinux $RPM_BUILD_ROOT%{debuginfodir}/lib/modules/$KernelVer
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
    find $RPM_BUILD_ROOT/lib/modules/$KernelVer -name "*.ko" -type f >modnames
Jesse Keating 7a3296
Jesse Keating 7a3296
    # mark modules executable so that strip-to-file can strip them
Jesse Keating 7a3296
    xargs --no-run-if-empty chmod u+x < modnames
Jesse Keating 7a3296
Jesse Keating 7a3296
    # Generate a list of modules for block and networking.
Jesse Keating 7a3296
Jesse Keating 7a3296
    fgrep /drivers/ modnames | xargs --no-run-if-empty nm -upA |
Jesse Keating 7a3296
    sed -n 's,^.*/\([^/]*\.ko\):  *U \(.*\)$,\1 \2,p' > drivers.undef
Jesse Keating 7a3296
Jesse Keating 7a3296
    collect_modules_list()
Jesse Keating 7a3296
    {
Jesse Keating 7a3296
      sed -r -n -e "s/^([^ ]+) \\.?($2)\$/\\1/p" drivers.undef |
Jesse Keating 7a3296
      LC_ALL=C sort -u > $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.$1
Jesse Keating 7a3296
    }
Jesse Keating 7a3296
Jesse Keating 7a3296
    collect_modules_list networking \
Jesse Keating 7a3296
    			 'register_netdev|ieee80211_register_hw|usbnet_probe|phy_driver_register'
Jesse Keating 7a3296
    collect_modules_list block \
Jesse Keating 7a3296
    			 'ata_scsi_ioctl|scsi_add_host|scsi_add_host_with_dma|blk_init_queue|register_mtd_blktrans|scsi_esp_register|scsi_register_device_handler'
Jesse Keating 7a3296
    collect_modules_list drm \
Jesse Keating 7a3296
    			 'drm_open|drm_init'
Jesse Keating 7a3296
    collect_modules_list modesetting \
Jesse Keating 7a3296
    			 'drm_crtc_init'
Jesse Keating 7a3296
Jesse Keating 7a3296
    # detect missing or incorrect license tags
Jesse Keating 7a3296
    rm -f modinfo
Jesse Keating 7a3296
    while read i
Jesse Keating 7a3296
    do
Jesse Keating 7a3296
      echo -n "${i#$RPM_BUILD_ROOT/lib/modules/$KernelVer/} " >> modinfo
Jesse Keating 7a3296
      /sbin/modinfo -l $i >> modinfo
Jesse Keating 7a3296
    done < modnames
Jesse Keating 7a3296
Jesse Keating 7a3296
    egrep -v \
Jesse Keating 7a3296
    	  'GPL( v2)?$|Dual BSD/GPL$|Dual MPL/GPL$|GPL and additional rights$' \
Jesse Keating 7a3296
	  modinfo && exit 1
Jesse Keating 7a3296
Jesse Keating 7a3296
    rm -f modinfo modnames
Jesse Keating 7a3296
Jesse Keating 7a3296
    # remove files that will be auto generated by depmod at rpm -i time
Chuck Ebbert 1f90e5
    for i in alias alias.bin builtin.bin ccwmap dep dep.bin ieee1394map inputmap isapnpmap ofmap pcimap seriomap symbols symbols.bin usbmap
Jesse Keating 7a3296
    do
Jesse Keating 7a3296
      rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.$i
Jesse Keating 7a3296
    done
Jesse Keating 7a3296
Jesse Keating 7a3296
    # Move the devel headers out of the root file system
Jesse Keating 7a3296
    mkdir -p $RPM_BUILD_ROOT/usr/src/kernels
Jesse Keating 7a3296
    mv $RPM_BUILD_ROOT/lib/modules/$KernelVer/build $RPM_BUILD_ROOT/$DevelDir
Jesse Keating 7a3296
    ln -sf ../../..$DevelDir $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Jesse Keating 7a3296
}
Jesse Keating 7a3296
Jesse Keating 7a3296
###
Jesse Keating 7a3296
# DO it...
Jesse Keating 7a3296
###
Jesse Keating 7a3296
Jesse Keating 7a3296
# prepare directories
Jesse Keating 7a3296
rm -rf $RPM_BUILD_ROOT
Jesse Keating 7a3296
mkdir -p $RPM_BUILD_ROOT/boot
Jesse Keating 7a3296
mkdir -p $RPM_BUILD_ROOT%{_libexecdir}
Jesse Keating 7a3296
Jesse Keating 7a3296
cd linux-%{kversion}.%{_target_cpu}
Jesse Keating 7a3296
Jesse Keating 7a3296
%if %{with_debug}
Jesse Keating 7a3296
BuildKernel %make_target %kernel_image debug
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
%if %{with_pae_debug}
Jesse Keating 7a3296
BuildKernel %make_target %kernel_image PAEdebug
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
%if %{with_pae}
Jesse Keating 7a3296
BuildKernel %make_target %kernel_image PAE
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
%if %{with_up}
Jesse Keating 7a3296
BuildKernel %make_target %kernel_image
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
%if %{with_smp}
Jesse Keating 7a3296
BuildKernel %make_target %kernel_image smp
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
%global perf_make \
Kyle McMartin 20b049
  make %{?_smp_mflags} -C tools/perf -s V=1 HAVE_CPLUS_DEMANGLE=1 prefix=%{_prefix}
Jesse Keating 7a3296
%if %{with_perf}
Jesse Keating 7a3296
%{perf_make} all
Jesse Keating 7a3296
%{perf_make} man || %{doc_build_fail}
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
%if %{with_doc}
Jesse Keating 7a3296
# Make the HTML and man pages.
Kyle McMartin 2348a6
make htmldocs mandocs || %{doc_build_fail}
Jesse Keating 7a3296
Jesse Keating 7a3296
# sometimes non-world-readable files sneak into the kernel source tree
Jesse Keating 7a3296
chmod -R a=rX Documentation
Jesse Keating 7a3296
find Documentation -type d | xargs chmod u+w
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
###
Jesse Keating 7a3296
### Special hacks for debuginfo subpackages.
Jesse Keating 7a3296
###
Jesse Keating 7a3296
Jesse Keating 7a3296
# This macro is used by %%install, so we must redefine it before that.
Jesse Keating 7a3296
%define debug_package %{nil}
Jesse Keating 7a3296
Jesse Keating 7a3296
%if %{fancy_debuginfo}
Jesse Keating 7a3296
%define __debug_install_post \
Jesse Keating 7a3296
  /usr/lib/rpm/find-debuginfo.sh %{debuginfo_args} %{_builddir}/%{?buildsubdir}\
Jesse Keating 7a3296
%{nil}
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
%if %{with_debuginfo}
Jesse Keating 7a3296
%ifnarch noarch
Jesse Keating 7a3296
%global __debug_package 1
Jesse Keating 7a3296
%files -f debugfiles.list debuginfo-common-%{_target_cpu}
Jesse Keating 7a3296
%defattr(-,root,root)
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
###
Jesse Keating 7a3296
### install
Jesse Keating 7a3296
###
Jesse Keating 7a3296
Jesse Keating 7a3296
%install
Jesse Keating 7a3296
Jesse Keating 7a3296
cd linux-%{kversion}.%{_target_cpu}
Jesse Keating 7a3296
Jesse Keating 7a3296
%if %{with_doc}
Jesse Keating 7a3296
docdir=$RPM_BUILD_ROOT%{_datadir}/doc/kernel-doc-%{rpmversion}
Jesse Keating 7a3296
man9dir=$RPM_BUILD_ROOT%{_datadir}/man/man9
Jesse Keating 7a3296
Jesse Keating 7a3296
# copy the source over
Jesse Keating 7a3296
mkdir -p $docdir
Jesse Keating 7a3296
tar -f - --exclude=man --exclude='.*' -c Documentation | tar xf - -C $docdir
Jesse Keating 7a3296
Jesse Keating 7a3296
# Install man pages for the kernel API.
Jesse Keating 7a3296
mkdir -p $man9dir
Jesse Keating 7a3296
find Documentation/DocBook/man -name '*.9.gz' -print0 |
Jesse Keating 7a3296
xargs -0 --no-run-if-empty %{__install} -m 444 -t $man9dir $m
Jesse Keating 7a3296
ls $man9dir | grep -q '' || > $man9dir/BROKEN
Jesse Keating 7a3296
%endif # with_doc
Jesse Keating 7a3296
Jesse Keating 7a3296
%if %{with_perf}
Jesse Keating 7a3296
# perf tool binary and supporting scripts/binaries
Jesse Keating 7a3296
%{perf_make} DESTDIR=$RPM_BUILD_ROOT install
Jesse Keating 7a3296
Jesse Keating 7a3296
# perf man pages (note: implicit rpm magic compresses them later)
Jesse Keating 7a3296
%{perf_make} DESTDIR=$RPM_BUILD_ROOT install-man || %{doc_build_fail}
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
%if %{with_headers}
Jesse Keating 7a3296
# Install kernel headers
Jesse Keating 7a3296
make ARCH=%{hdrarch} INSTALL_HDR_PATH=$RPM_BUILD_ROOT/usr headers_install
Jesse Keating 7a3296
Jesse Keating 7a3296
# Do headers_check but don't die if it fails.
Jesse Keating 7a3296
make ARCH=%{hdrarch} INSTALL_HDR_PATH=$RPM_BUILD_ROOT/usr headers_check \
Jesse Keating 7a3296
     > hdrwarnings.txt || :
Jesse Keating 7a3296
if grep -q exist hdrwarnings.txt; then
Jesse Keating 7a3296
   sed s:^$RPM_BUILD_ROOT/usr/include/:: hdrwarnings.txt
Jesse Keating 7a3296
   # Temporarily cause a build failure if header inconsistencies.
Jesse Keating 7a3296
   # exit 1
Jesse Keating 7a3296
fi
Jesse Keating 7a3296
Jesse Keating 7a3296
find $RPM_BUILD_ROOT/usr/include \
Jesse Keating 7a3296
     \( -name .install -o -name .check -o \
Jesse Keating 7a3296
     	-name ..install.cmd -o -name ..check.cmd \) | xargs rm -f
Jesse Keating 7a3296
Jesse Keating 7a3296
# glibc provides scsi headers for itself, for now
Jesse Keating 7a3296
rm -rf $RPM_BUILD_ROOT/usr/include/scsi
Jesse Keating 7a3296
rm -f $RPM_BUILD_ROOT/usr/include/asm*/atomic.h
Jesse Keating 7a3296
rm -f $RPM_BUILD_ROOT/usr/include/asm*/io.h
Jesse Keating 7a3296
rm -f $RPM_BUILD_ROOT/usr/include/asm*/irq.h
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
%if %{with_firmware}
Jesse Keating 7a3296
%{build_firmware}
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
%if %{with_bootwrapper}
Jesse Keating 7a3296
make DESTDIR=$RPM_BUILD_ROOT bootwrapper_install WRAPPER_OBJDIR=%{_libdir}/kernel-wrapper WRAPPER_DTSDIR=%{_libdir}/kernel-wrapper/dts
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
Jesse Keating 7a3296
###
Jesse Keating 7a3296
### clean
Jesse Keating 7a3296
###
Jesse Keating 7a3296
Jesse Keating 7a3296
%clean
Jesse Keating 7a3296
rm -rf $RPM_BUILD_ROOT
Jesse Keating 7a3296
Jesse Keating 7a3296
###
Jesse Keating 7a3296
### scripts
Jesse Keating 7a3296
###
Jesse Keating 7a3296
Jesse Keating 7a3296
#
Jesse Keating 7a3296
# This macro defines a %%post script for a kernel*-devel package.
Jesse Keating 7a3296
#	%%kernel_devel_post [<subpackage>]
Jesse Keating 7a3296
#
Jesse Keating 7a3296
%define kernel_devel_post() \
Jesse Keating 7a3296
%{expand:%%post %{?1:%{1}-}devel}\
Jesse Keating 7a3296
if [ -f /etc/sysconfig/kernel ]\
Jesse Keating 7a3296
then\
Jesse Keating 7a3296
    . /etc/sysconfig/kernel || exit $?\
Jesse Keating 7a3296
fi\
Jesse Keating 7a3296
if [ "$HARDLINK" != "no" -a -x /usr/sbin/hardlink ]\
Jesse Keating 7a3296
then\
Jesse Keating 7a3296
    (cd /usr/src/kernels/%{KVERREL}%{?1:.%{1}} &&\
Jesse Keating 7a3296
     /usr/bin/find . -type f | while read f; do\
Jesse Keating 7a3296
       hardlink -c /usr/src/kernels/*.fc*.*/$f $f\
Jesse Keating 7a3296
     done)\
Jesse Keating 7a3296
fi\
Jesse Keating 7a3296
%{nil}
Jesse Keating 7a3296
Jesse Keating 7a3296
# This macro defines a %%posttrans script for a kernel package.
Jesse Keating 7a3296
#	%%kernel_variant_posttrans [<subpackage>]
Jesse Keating 7a3296
# More text can follow to go at the end of this variant's %%post.
Jesse Keating 7a3296
#
Jesse Keating 7a3296
%define kernel_variant_posttrans() \
Jesse Keating 7a3296
%{expand:%%posttrans %{?1}}\
Jesse Keating 7a3296
/sbin/new-kernel-pkg --package kernel%{?-v:-%{-v*}} --mkinitrd --dracut --depmod --update %{KVERREL}%{?-v:.%{-v*}} || exit $?\
Jesse Keating 7a3296
/sbin/new-kernel-pkg --package kernel%{?1:-%{1}} --rpmposttrans %{KVERREL}%{?1:.%{1}} || exit $?\
Jesse Keating 7a3296
%{nil}
Jesse Keating 7a3296
Jesse Keating 7a3296
#
Jesse Keating 7a3296
# This macro defines a %%post script for a kernel package and its devel package.
Jesse Keating 7a3296
#	%%kernel_variant_post [-v <subpackage>] [-r <replace>]
Jesse Keating 7a3296
# More text can follow to go at the end of this variant's %%post.
Jesse Keating 7a3296
#
Jesse Keating 7a3296
%define kernel_variant_post(v:r:) \
Jesse Keating 7a3296
%{expand:%%kernel_devel_post %{?-v*}}\
Jesse Keating 7a3296
%{expand:%%kernel_variant_posttrans %{?-v*}}\
Jesse Keating 7a3296
%{expand:%%post %{?-v*}}\
Jesse Keating 7a3296
%{-r:\
Jesse Keating 7a3296
if [ `uname -i` == "x86_64" -o `uname -i` == "i386" ] &&\
Jesse Keating 7a3296
   [ -f /etc/sysconfig/kernel ]; then\
Jesse Keating 7a3296
  /bin/sed -r -i -e 's/^DEFAULTKERNEL=%{-r*}$/DEFAULTKERNEL=kernel%{?-v:-%{-v*}}/' /etc/sysconfig/kernel || exit $?\
Jesse Keating 7a3296
fi}\
Jesse Keating 7a3296
%{expand:\
Jesse Keating 7a3296
/sbin/new-kernel-pkg --package kernel%{?-v:-%{-v*}} --install %{KVERREL}%{?-v:.%{-v*}} || exit $?\
Jesse Keating 7a3296
}\
Jesse Keating 7a3296
%{nil}
Jesse Keating 7a3296
Jesse Keating 7a3296
#
Jesse Keating 7a3296
# This macro defines a %%preun script for a kernel package.
Jesse Keating 7a3296
#	%%kernel_variant_preun <subpackage>
Jesse Keating 7a3296
#
Jesse Keating 7a3296
%define kernel_variant_preun() \
Jesse Keating 7a3296
%{expand:%%preun %{?1}}\
Jesse Keating 7a3296
/sbin/new-kernel-pkg --rminitrd --rmmoddep --remove %{KVERREL}%{?1:.%{1}} || exit $?\
Jesse Keating 7a3296
%{nil}
Jesse Keating 7a3296
Jesse Keating 7a3296
%kernel_variant_preun
Jesse Keating 7a3296
%kernel_variant_post -r kernel-smp
Jesse Keating 7a3296
Jesse Keating 7a3296
%kernel_variant_preun smp
Jesse Keating 7a3296
%kernel_variant_post -v smp
Jesse Keating 7a3296
Jesse Keating 7a3296
%kernel_variant_preun PAE
Jesse Keating 7a3296
%kernel_variant_post -v PAE -r (kernel|kernel-smp)
Jesse Keating 7a3296
Jesse Keating 7a3296
%kernel_variant_preun debug
Jesse Keating 7a3296
%kernel_variant_post -v debug
Jesse Keating 7a3296
Jesse Keating 7a3296
%kernel_variant_post -v PAEdebug -r (kernel|kernel-smp)
Jesse Keating 7a3296
%kernel_variant_preun PAEdebug
Jesse Keating 7a3296
Jesse Keating 7a3296
if [ -x /sbin/ldconfig ]
Jesse Keating 7a3296
then
Jesse Keating 7a3296
    /sbin/ldconfig -X || exit $?
Jesse Keating 7a3296
fi
Jesse Keating 7a3296
Jesse Keating 7a3296
###
Jesse Keating 7a3296
### file lists
Jesse Keating 7a3296
###
Jesse Keating 7a3296
Jesse Keating 7a3296
%if %{with_headers}
Jesse Keating 7a3296
%files headers
Jesse Keating 7a3296
%defattr(-,root,root)
Jesse Keating 7a3296
/usr/include/*
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
%if %{with_firmware}
Jesse Keating 7a3296
%files firmware
Jesse Keating 7a3296
%defattr(-,root,root)
Jesse Keating 7a3296
/lib/firmware/*
Jesse Keating 7a3296
%doc linux-%{kversion}.%{_target_cpu}/firmware/WHENCE
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
%if %{with_bootwrapper}
Jesse Keating 7a3296
%files bootwrapper
Jesse Keating 7a3296
%defattr(-,root,root)
Jesse Keating 7a3296
/usr/sbin/*
Jesse Keating 7a3296
%{_libdir}/kernel-wrapper
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
# only some architecture builds need kernel-doc
Jesse Keating 7a3296
%if %{with_doc}
Jesse Keating 7a3296
%files doc
Jesse Keating 7a3296
%defattr(-,root,root)
Jesse Keating 7a3296
%{_datadir}/doc/kernel-doc-%{rpmversion}/Documentation/*
Jesse Keating 7a3296
%dir %{_datadir}/doc/kernel-doc-%{rpmversion}/Documentation
Jesse Keating 7a3296
%dir %{_datadir}/doc/kernel-doc-%{rpmversion}
Jesse Keating 7a3296
%{_datadir}/man/man9/*
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
%if %{with_perf}
Jesse Keating 7a3296
%files -n perf
Jesse Keating 7a3296
%defattr(-,root,root)
Jesse Keating 7a3296
%{_bindir}/perf
Jesse Keating 7a3296
%dir %{_libexecdir}/perf-core
Jesse Keating 7a3296
%{_libexecdir}/perf-core/*
Jesse Keating 7a3296
%{_mandir}/man[1-8]/*
Jesse Keating 7a3296
%endif
Jesse Keating 7a3296
Jesse Keating 7a3296
# This is %{image_install_path} on an arch where that includes ELF files,
Jesse Keating 7a3296
# or empty otherwise.
Jesse Keating 7a3296
%define elf_image_install_path %{?kernel_image_elf:%{image_install_path}}
Jesse Keating 7a3296
Jesse Keating 7a3296
#
Jesse Keating 7a3296
# This macro defines the %%files sections for a kernel package
Jesse Keating 7a3296
# and its devel and debuginfo packages.
Jesse Keating 7a3296
#	%%kernel_variant_files [-k vmlinux] <condition> <subpackage>
Jesse Keating 7a3296
#
Jesse Keating 7a3296
%define kernel_variant_files(k:) \
Jesse Keating 7a3296
%if %{1}\
Jesse Keating 7a3296
%{expand:%%files %{?2}}\
Jesse Keating 7a3296
%defattr(-,root,root)\
Jesse Keating 7a3296
/%{image_install_path}/%{?-k:%{-k*}}%{!?-k:vmlinuz}-%{KVERREL}%{?2:.%{2}}\
Jesse Keating 7a3296
/boot/System.map-%{KVERREL}%{?2:.%{2}}\
Jesse Keating 7a3296
/boot/config-%{KVERREL}%{?2:.%{2}}\
Jesse Keating 7a3296
%dir /lib/modules/%{KVERREL}%{?2:.%{2}}\
Jesse Keating 7a3296
/lib/modules/%{KVERREL}%{?2:.%{2}}/kernel\
Jesse Keating 7a3296
/lib/modules/%{KVERREL}%{?2:.%{2}}/build\
Jesse Keating 7a3296
/lib/modules/%{KVERREL}%{?2:.%{2}}/source\
Jesse Keating 7a3296
/lib/modules/%{KVERREL}%{?2:.%{2}}/extra\
Jesse Keating 7a3296
/lib/modules/%{KVERREL}%{?2:.%{2}}/updates\
Jesse Keating 7a3296
%ifarch %{vdso_arches}\
Jesse Keating 7a3296
/lib/modules/%{KVERREL}%{?2:.%{2}}/vdso\
Jesse Keating 7a3296
/etc/ld.so.conf.d/kernel-%{KVERREL}%{?2:.%{2}}.conf\
Jesse Keating 7a3296
%endif\
Jesse Keating 7a3296
/lib/modules/%{KVERREL}%{?2:.%{2}}/modules.*\
Jesse Keating 7a3296
%ghost /boot/initramfs-%{KVERREL}%{?2:.%{2}}.img\
Jesse Keating 7a3296
%{expand:%%files %{?2:%{2}-}devel}\
Jesse Keating 7a3296
%defattr(-,root,root)\
Jesse Keating 7a3296
/usr/src/kernels/%{KVERREL}%{?2:.%{2}}\
Jesse Keating 7a3296
%if %{with_debuginfo}\
Jesse Keating 7a3296
%ifnarch noarch\
Jesse Keating 7a3296
%if %{fancy_debuginfo}\
Jesse Keating 7a3296
%{expand:%%files -f debuginfo%{?2}.list %{?2:%{2}-}debuginfo}\
Jesse Keating 7a3296
%else\
Jesse Keating 7a3296
%{expand:%%files %{?2:%{2}-}debuginfo}\
Jesse Keating 7a3296
%endif\
Jesse Keating 7a3296
%defattr(-,root,root)\
Jesse Keating 7a3296
%if !%{fancy_debuginfo}\
Jesse Keating 7a3296
%if "%{elf_image_install_path}" != ""\
Jesse Keating 7a3296
%{debuginfodir}/%{elf_image_install_path}/*-%{KVERREL}%{?2:.%{2}}.debug\
Jesse Keating 7a3296
%endif\
Jesse Keating 7a3296
%{debuginfodir}/lib/modules/%{KVERREL}%{?2:.%{2}}\
Jesse Keating 7a3296
%{debuginfodir}/usr/src/kernels/%{KVERREL}%{?2:.%{2}}\
Jesse Keating 7a3296
%endif\
Jesse Keating 7a3296
%endif\
Jesse Keating 7a3296
%endif\
Jesse Keating 7a3296
%endif\
Jesse Keating 7a3296
%{nil}
Jesse Keating 7a3296
Jesse Keating 7a3296
Jesse Keating 7a3296
%kernel_variant_files %{with_up}
Jesse Keating 7a3296
%kernel_variant_files %{with_smp} smp
Jesse Keating 7a3296
%kernel_variant_files %{with_debug} debug
Jesse Keating 7a3296
%kernel_variant_files %{with_pae} PAE
Jesse Keating 7a3296
%kernel_variant_files %{with_pae_debug} PAEdebug
Jesse Keating 7a3296
Jesse Keating 7a3296
# plz don't put in a version string unless you're going to tag
Jesse Keating 7a3296
# and build.
Jesse Keating 7a3296
Jesse Keating 7a3296
%changelog
Josh Boyer df53fa
* Tue Nov 22 2011 Josh Boyer <jwboyer@redhat.com> 2.6.35.14-106
Josh Boyer df53fa
- CVE-2011-4110 keys: NULL pointer deref in the user-defined key type
Josh Boyer df53fa
Josh Boyer 445b54
* Mon Nov 21 2011 Josh Boyer <jwboyer@redhat.com> 2.6.35.14-105
Josh Boyer 445b54
- CVE-2011-4326: wrong headroom check in udp6_ufo_fragment() (rhbz 755590)
Josh Boyer 445b54
Josh Boyer 445b54
* Mon Nov 14 2011 Josh Boyer <jwboyer@redhat.com>
Josh Boyer 4f7912
- CVE-2011-4132: jbd/jbd2: invalid value of first log block leads to oops (rhbz 753346)
Josh Boyer 4f7912
Dave Jones 6c4e09
* Tue Nov 01 2011 Dave Jones <davej@redhat.com>
Dave Jones 6c4e09
- Add another Sony laptop to the nonvs blacklist. (rhbz 641789)
Dave Jones 6c4e09
Josh Boyer ff37d2
* Thu Oct 27 2011 Josh Boyer <jwboyer@redhat.com> 2.6.35.14-103
Josh Boyer ff37d2
- Fix backport of xfs patch
Josh Boyer 3ea9b9
- CVE-2011-4081 crypto: ghash: null pointer deref if no key is set (rhbz 749484)
Josh Boyer 3ea9b9
Josh Boyer 29298d
* Wed Oct 26 2011 Josh Boyer <jwboyer@redhat.com>
Josh Boyer 29298d
- CVE-2011-4077: Add patch to fix XFS memory corruption (rhbz 749166)
Josh Boyer 29298d
Josh Boyer 528c08
* Tue Oct 25 2011 Josh Boyer <jwboyer@redhat.com>
Josh Boyer 528c08
- CVE-2011-1083: excessive in kernel CPU consumption when creating large nested epoll structures (rhbz 748668)
Josh Boyer 528c08
Chuck Ebbert 4d20e6
* Tue Oct 25 2011 Chuck Ebbert <cebbert@redhat.com>
Chuck Ebbert 4d20e6
- Fix NULL dereference in udp6_ufo_fragment(), caused by
Chuck Ebbert 4d20e6
  fix for CVE-2011-2699.
Chuck Ebbert 4d20e6
Dave Jones c8c0a7
* Fri Oct 21 2011 Dave Jones <davej@redhat.com> 2.6.35.14-100
Dave Jones 87d556
- Lower severity of Radeon lockup messages.
Dave Jones 87d556
Josh Boyer 379959
* Fri Oct 20 2011 Josh Boyer <jwboyer@redhat.com>
Josh Boyer 379959
- Add fix for ext4 BUG_ON backtrace (rhbz 747948)
Josh Boyer 379959
Dave Jones 6f7506
* Wed Oct 19 2011 Dave Jones <davej@redhat.com>
Dave Jones 6f7506
- Add Sony VGN-FW21E to nonvs blacklist. (rhbz 641789)
Dave Jones 6f7506
Josh Boyer c6232b
* Fri Oct 14 2011 Josh Boyer <jwboyer@redhat.com>
Josh Boyer c6232b
- Add patches to fix RHBZ #663186
Josh Boyer c6232b
Dave Jones 7e156f
* Tue Oct 11 2011 Dave Jones <davej@redhat.com>
Dave Jones 6cf4af
- acer-wmi: Fix capitalisation of GUID in module alias (rhbz 661322)
Dave Jones 6cf4af
Dave Jones 6cf4af
* Tue Oct 11 2011 Dave Jones <davej@redhat.com>
Dave Jones 712881
- usb-wwan: implement TIOCGSERIAL and TIOCSSERIAL to avoid blocking close(2) (rhbz 725724)
Dave Jones 7e156f
Josh Boyer 646ec8
* Fri Sep 23 2011 Josh Boyer <jwboyer@redhat.com> 2.6.35.14-98
Josh Boyer 646ec8
- CVE-2011-1161 CVE-2011-1161: tpm: infoleaks
Josh Boyer 646ec8
Josh Boyer 18a614
* Tue Sep 20 2011 Josh Boyer <jwboyer@redhat.com>
Josh Boyer 18a614
- CVE-2011-3353: fuse: check size of FUSE_NOTIFY_INVAL_ENTRY message
Josh Boyer 18a614
Josh Boyer b45a41
* Fri Sep 16 2011 Josh Boyer <jwboyer@redhat.com> 2.6.35.14-97
Josh Boyer 398017
- CVE-2011-2918: perf: Fix software event overflow
Josh Boyer c0d43b
- CVE-2011-3188: net: improve sequence number generation
Josh Boyer 398017
Josh Boyer bc96a9
* Thu Sep 15 2011 Josh Boyer <jwboyer@redhat.com>
Josh Boyer bc96a9
- CVE-2011-2723: gro: Only reset frag0 when skb can be pulled
Josh Boyer bc96a9
- CVE-2011-2928: befs: Validate length of long symbolic links
Josh Boyer 51ba36
- CVE-2011-3191: cifs: fix possible memory corruption in CIFSFindNext
Josh Boyer b2fe2e
- CVE-2011-1833: ecryptfs: mount source TOCTOU race
Josh Boyer bc96a9
Josh Boyer cf5a63
* Mon Sep 12 2011 Josh Boyer <jwboyer@redhat.com>
Josh Boyer cf5a63
- Backport 5336377d to fix RHBZ #648571
Josh Boyer cf5a63
Josh Boyer d078fe
* Wed Aug 31 2011 Josh Boyer <jwboyer@redhat.com> 2.6.35.14-96
Josh Boyer 3aec18
- Add patch to fix RHBZ #665109
Josh Boyer 3aec18
Josh Boyer 92fb0a
* Mon Aug 29 2011 Josh Boyer <jwboyer@redhat.com>
Josh Boyer 92fb0a
- Add fix from Oleg Nesterov for RHBZ #573210
Josh Boyer a62b54
- Add patch for RHBZ #672056
Josh Boyer 92fb0a
Chuck Ebbert 29f392
* Wed Aug 24 2011 Chuck Ebbert <cebbert@redhat.com>
Chuck Ebbert 29f392
- Add fix for RHBZ #699684: System freeze with 2.6.35.12-*.fc14.i686.PAE
Chuck Ebbert 29f392
Dave Jones 83a913
* Mon Aug 22 2011 Dave Jones <davej@redhat.com>
Dave Jones 83a913
- Avoid false quiescent states in rcutree with CONFIG_RCU_FAST_NO_HZ. (rhbz 577968)
Dave Jones 83a913
Chuck Ebbert 8ba25e
* Mon Aug 15 2011 Chuck Ebbert <cebbert@redhat.com> 2.6.35.14-95
Chuck Ebbert fa21cb
- CVE-2011-2905: perf tools: may parse user-controlled configuration file
Chuck Ebbert bdfca3
- CVE-2011-2695: ext4: kernel panic when writing data to the last block of sparse file
Chuck Ebbert f77745
- CVE-2011-2497: bluetooth: buffer overflow in l2cap config request
Chuck Ebbert 8ba25e
- CVE-2011-2517: nl80211: missing check for valid SSID size in scan operations
Chuck Ebbert c9e8c1
- CVE-2011-2699: ipv6: make fragment identifications less predictable
Chuck Ebbert fa21cb
Chuck Ebbert 7760c9
* Wed Aug 03 2011 Chuck Ebbert <cebbert@redhat.com> 2.6.35.14-94
Chuck Ebbert 7760c9
- Linux 2.6.35.14
Chuck Ebbert 7760c9
- Drop merged patches:
Chuck Ebbert 7760c9
    flexcop-fix-xlate_proc_name-warning.patch
Chuck Ebbert 7760c9
    btusb-macbookpro-6-2.patch
Chuck Ebbert 7760c9
    btusb-macbookpro-7-1.patch
Chuck Ebbert 7760c9
    fix-i8k-inline-asm.patch
Chuck Ebbert 7760c9
    virtio_net-add-schedule-check-to-napi_enable-call.patch
Chuck Ebbert 7760c9
    agp-fix-arbitrary-kernel-memory-writes.patch
Chuck Ebbert 7760c9
    agp-fix-oom-and-buffer-overflow.patch
Chuck Ebbert 7760c9
    scsi-mpt2sas-prevent-heap-overflows-and-unchecked-reads.patch
Chuck Ebbert 7760c9
    x86-amd-arat-bug-on-sempron-workaround.patch
Chuck Ebbert 7760c9
    x86-amd-fix-arat-feature-setting-again.patch
Chuck Ebbert 7760c9
    cifs-add-fallback-in-is_path_accessible-for-old-servers.patch
Chuck Ebbert 7760c9
    dccp-handle-invalid-feature-options-length.patch
Chuck Ebbert 7760c9
Kyle McMartin 398aba
* Mon Jun 20 2011 Kyle McMartin <kmcmartin@redhat.com> 2.6.35.13-93
Kyle McMartin 398aba
- [sgruszka@] iwlwifi: fix general 11n instability (#648732,#666646)
Kyle McMartin 398aba
Chuck Ebbert dd4a40
* Fri May 20 2011 Chuck Ebbert <cebbert@redhat.com> 2.6.35.13-92
Chuck Ebbert dd4a40
- Add the rest of the fix for bug #704059
Chuck Ebbert 7e51f2
- dccp: handle invalid feature options length (CVE-2011-1770)
Chuck Ebbert fcf924
- Fix address wrapping in stack expansion code.
Chuck Ebbert dd4a40
Chuck Ebbert dd4a40
* Wed May 18 2011 Chuck Ebbert <cebbert@redhat.com>
Chuck Ebbert 6047d0
- Fix cifs bug in 2.6.35.13 with old Windows servers (#704125)
Chuck Ebbert 64c2b6
- Revert broken fixes for #704059, add proper partial fix.
Chuck Ebbert 6047d0
Kyle McMartin cc37b4
* Fri May 13 2011 Kyle McMartin <kmcmartin@redhat.com>
Kyle McMartin cc37b4
- [fabbione@] Fix a deadlock when using hp_sw with an HP san.
Kyle McMartin cc37b4
  (7a1e9d82 upstream)
Kyle McMartin cc37b4
Chuck Ebbert 6047d0
* Thu May 12 2011 Chuck Ebbert <cebbert@redhat.com>
Chuck Ebbert ca7982
- Fix stalls on AMD machines with C1E caused by 2.6.35.13 (#704059)
Chuck Ebbert ca7982
Chuck Ebbert b8c6e5
* Tue May 03 2011 Chuck Ebbert <cebbert@redhat.com> 2.6.35.13-91
Chuck Ebbert b8c6e5
- [SCSI] mpt2sas: prevent heap overflows and unchecked reads
Chuck Ebbert b8c6e5
  (CVE-2011-1494, CVE-2011-1495)
Chuck Ebbert b8c6e5
- agp: fix arbitrary kernel memory writes (CVE-2011-1745)
Chuck Ebbert b8c6e5
- agp: fix OOM and buffer overflow (CVE-2011-1746)
Chuck Ebbert 2c4c81
- Fix credentials leakage regression (#700637)
Chuck Ebbert b8c6e5
Chuck Ebbert 9e4696
* Thu Apr 29 2011 Chuck Ebbert <cebbert@redhat.com>
Chuck Ebbert 9e4696
- Linux 2.6.35.13
Chuck Ebbert 9e4696
Kyle McMartin c6f2ed
* Fri Apr 22 2011 Kyle McMartin <kmcmartin@redhat.com> 2.6.35.12-90
Kyle McMartin c6f2ed
- iwlagn-support-new-5000-microcode.patch: stable submission patch from
Kyle McMartin c6f2ed
  sgruszka to support newer microcode versions with the iwl5000 hardware.
Kyle McMartin c6f2ed
Chuck Ebbert 1caa10
* Mon Apr 20 2011 Chuck Ebbert <cebbert@redhat.com> 2.6.35.12-89
Chuck Ebbert d54c89
- Revert TPM patches from -stable (c4ff4b829, 9b29050f8) that caused
Chuck Ebbert d54c89
  timeouts and suspend failures (#695953)
Chuck Ebbert 1caa10
- Revert extra fix for credentials leak (#683568)
Chuck Ebbert d54c89
Kyle McMartin 3472df
* Thu Mar 31 2011 Kyle McMartin <kmcmartin@redhat.com> 2.6.35.12-88
Kyle McMartin 3472df
- Update to longterm 2.6.35.12, drop upstream patches.
Kyle McMartin 3472df
Kyle McMartin 21c603
* Wed Mar 23 2011 Kyle McMartin <kmcmartin@redhat.com>
Kyle McMartin 21c603
- Backport 3e9d08e: "virtio_net: Add schedule check to napi_enable call"
Kyle McMartin 21c603
Ben Skeggs e37208
* Wed Mar 23 2011 Ben Skeggs <bskeggs@redhat.com> 2.6.35.11-87
Ben Skeggs e37208
- nouveau: fix s/r on some boards (f14 port of #688569)
Ben Skeggs e37208
Kyle McMartin 20692e
* Wed Mar 16 2011 Kyle McMartin <kmcmartin@redhat.com> 2.6.35.11-86
Kyle McMartin 20692e
- Fix a regression in cfg80211 ht40 support from 2.6.35, patch from
Kyle McMartin 20692e
  Mark Mentovai and Stanislaw Gruszka. Thanks!
Kyle McMartin 20692e
Jarod Wilson eb037c
* Tue Mar 01 2011 Jarod Wilson <jarod@redhat.com> 2.6.35.11-85
Jarod Wilson eb037c
- Fix IR wakeup on nuvoton-cir-driven hardware
Jarod Wilson eb037c
- Make mceusb only bind to the IR interface on Realtek multifuction thingy
Jarod Wilson eb037c
- Kill the crappy old lirc_it* drivers, add new ite_cir driver
Jarod Wilson eb037c
- Fix HVR-1950 (and possibly other) device bring-up (#680450)
Jarod Wilson eb037c
Chuck Ebbert d56494
* Mon Feb 28 2011 Chuck Ebbert <cebbert@redhat.com>
Chuck Ebbert d56494
- Fix stuck bits in md bitmaps (#680791)
Chuck Ebbert d56494
Chuck Ebbert fcca07
* Thu Feb 24 2011 Chuck Ebbert <cebbert@redhat.com>
Chuck Ebbert fcca07
- iwl3945-remove-plcp-check.patch: fix slow speed on some iwl3945
Chuck Ebbert fcca07
  (#654599)
Chuck Ebbert 6143eb
- Copy fix for bonding error message from F13 (#604630)
Chuck Ebbert fcca07
Chuck Ebbert d65a15
* Wed Feb 16 2011 Chuck Ebbert <cebbert@redhat.com>
Chuck Ebbert d65a15
- Add support for additional Logitech Rumblepad model (#676577)
Chuck Ebbert d65a15
Chuck Ebbert 6e3a83
* Sat Feb 12 2011 Chuck Ebbert <cebbert@redhat.com>
Chuck Ebbert b4877f
- Fix 32-bit guest hang on 32-bit PAE host (#677167)
Chuck Ebbert b4877f
Chuck Ebbert b4877f
* Sat Feb 12 2011 Chuck Ebbert <cebbert@redhat.com>
Chuck Ebbert 6e3a83
- bridge: Fix mglist corruption that leads to memory corruption (F13#650151)
Chuck Ebbert 6e3a83
Matthew Garrett c7ff2c
* Wed Feb 11 2011 Matthew Garrett <mjg@redhat.com> 2.6.35.11-84
Matthew Garrett c7ff2c
- linux-2.6-acpi-fix-alias.patch: Fix ACPI object aliasing (#608648)
Matthew Garrett c7ff2c
Chuck Ebbert f9c2b4
* Sun Feb 06 2011 Chuck Ebbert <cebbert@redhat.com>  2.6.35.11-83
Chuck Ebbert f9c2b4
- Linux 2.6.35.11
Chuck Ebbert f9c2b4
Chuck Ebbert 57d9bc
* Tue Feb 01 2011 Chuck Ebbert <cebbert@redhat.com>  2.6.35.11-82.rc1
Chuck Ebbert 57d9bc
- Linux 2.6.35.11-rc1
Chuck Ebbert 57d9bc
- Revert patches we already have in the big v4l update:
Chuck Ebbert 57d9bc
    gspca-sonixj-add-a-flag-in-the-driver_info-table.patch
Chuck Ebbert 57d9bc
    gspca-sonixj-set-the-flag-for-some-devices.patch
Chuck Ebbert 57d9bc
- Comment out patches merged upstream:
Chuck Ebbert 57d9bc
    sched-cure-more-NO_HZ-load-average-woes.patch
Chuck Ebbert 57d9bc
    posix-cpu-timers-workaround-to-suppress-problems-with-mt-exec.patch
Chuck Ebbert 57d9bc
    mac80211-fix-hard-lockup-in-sta_addba_resp_timer_expired.patch
Chuck Ebbert 57d9bc
Chuck Ebbert d85fb2
* Sun Jan 30 2011 Chuck Ebbert <cebbert@redhat.com>
Chuck Ebbert d85fb2
- Fix oops in sunrpc code (#673207)
Chuck Ebbert d85fb2
Jarod Wilson 639fa2
* Tue Jan 25 2011 Jarod Wilson <jarod@redhat.com> 2.6.35.10-81
Jarod Wilson 187524
- Further improvements to ir-kbd-i2c when used with zilog chips
Jarod Wilson 187524
- Finally hopefully fix annoying mceusb keybounce issue
Jarod Wilson 187524
Jarod Wilson ef402a
* Wed Jan 19 2011 Jarod Wilson <jarod@redhat.com> 2.6.35.10-80
Jarod Wilson ef402a
- Make lirc_zilog behave correctly with hdpvr again, and for the first
Jarod Wilson ef402a
  time ever, with pvrusb2-driven HVR-1950 (#635045)
Jarod Wilson ef402a
- Call dib0700 rc bug whacked (#667157)
Jarod Wilson ef402a
- Call saa7134-based i2c IR registration bug whacked (#665870)
Jarod Wilson ef402a
Jarod Wilson 893aff
* Tue Jan 18 2011 Jarod Wilson <jarod@redhat.com> 2.6.35.10-79
Jarod Wilson 893aff
- Generally, its a good idea to actually apply the patches you were
Jarod Wilson 893aff
  intending to include in the build, and enable their Kconfig options
Jarod Wilson 893aff
Kyle McMartin 7aeac6
* Tue Jan 18 2011 Kyle McMartin <kmcmartin@redhat.com>
Kyle McMartin 7aeac6
- sgruszka: hostap_cs: fix sleeping function called in invalid
Kyle McMartin 7aeac6
  context (#643758)
Kyle McMartin 7aeac6
Jarod Wilson a49e3a
* Tue Jan 18 2011 Jarod Wilson <jarod@redhat.com> 2.6.35.10-78
Jarod Wilson a49e3a
- Rebase v4l/dvb/rc bits to 2.6.38-rc1 code
Jarod Wilson a49e3a
- Fix lirc_serial transmit (#658600)
Jarod Wilson a49e3a
Chuck Ebbert b11f51
* Sun Jan 16 2011 Chuck Ebbert <cebbert@redhat.com>
Chuck Ebbert b11f51
- Fix wrong file allocation size in btrfs (#669511)
Chuck Ebbert b11f51
Jarod Wilson 49ee50
* Mon Jan 10 2011 Jarod Wilson <jarod@redhat.com> 2.6.35.10-77
Jarod Wilson 4b2adb
- Add support for local rebuild config option overrides
Jarod Wilson f0f13b
- Add missing --with/--without pae build flag support
Jarod Wilson 49ee50
- Restore imon mce default proto modparam, since ir-keytable currently
Jarod Wilson 49ee50
  won't work with the 2.6.35.x input layer ioctls
Jarod Wilson b97dc7
- mac80211 fix for hard lockup in sta_addba_resp_timer_expired (sgruszka, #667459)
Jarod Wilson 4b2adb
Chuck Ebbert aee782
* Mon Jan 10 2011 Chuck Ebbert <cebbert@redhat.com>
Chuck Ebbert aee782
- CVE-2010-4668: kernel panic with 0-length IOV
Chuck Ebbert aee782
Chuck Ebbert b1f2f0
* Thu Jan 06 2011 Chuck Ebbert <cebbert@redhat.com>
Chuck Ebbert b1f2f0
- Fix failure to get link with e1000e model 82576DC (#652744)
Chuck Ebbert b1f2f0
Jarod Wilson 3ebdcc
* Wed Jan 05 2011 Jarod Wilson <jarod@redhat.com> 2.6.35.10-76
Jarod Wilson 3ebdcc
- Restore functional audio on PVR-150 video capture cards (#666456)
Jarod Wilson 3ebdcc
- Fix another mceusb regression cropping up mostly with rc5 signals (#662071)
Jarod Wilson 3ebdcc
- Add back some ir-lirc-codec debug spew
Jarod Wilson 3ebdcc
Jarod Wilson d1877a
* Thu Dec 30 2010 Jarod Wilson <jarod@redhat.com> 2.6.35.10-75
Jarod Wilson d1877a
- Fix imon 0xffdc device detection and oops on probe
Jarod Wilson d1877a
Matthew Garrett 73ab1e
* Thu Dec 23 2010 Matthew Garrett <mjg@redhat.com> 2.6.35.10-74
Matthew Garrett 73ab1e
- Backport the ACPI battery notification patch (#656738)
Matthew Garrett 73ab1e
Kyle McMartin c60b83
* Wed Dec 22 2010 Kyle McMartin <kyle@redhat.com> 2.6.35.10-73
Kyle McMartin c60b83
- Fix ene_ir bugs (jumping off a null dev->rdev pointer) (#664145)
Kyle McMartin c60b83
Kyle McMartin 646207
* Mon Dec 20 2010 Kyle McMartin <kyle@redhat.com> 2.6.35.10-72
Kyle McMartin 825b8c
- Backport some of the radeon r600_cs.c fixes between .35 and master. (#664206)
Kyle McMartin 825b8c
Jarod Wilson 1cd059
* Mon Dec 20 2010 Jarod Wilson <jarod@redhat.com> 2.6.35.10-71
Jarod Wilson 1cd059
- Restore v4l/dvb/rc rebase, now with prospective fixes for the bttv and
Jarod Wilson 1cd059
  ene_ir issues that showed up in -67 and -68
Jarod Wilson 1cd059
Jarod Wilson 1cd059
* Sun Dec 19 2010 Kyle McMartin <kyle@redhat.com> 2.6.35.10-70
Jarod Wilson 1cd059
- Revert Jarod's v4l-dvb-ir rebase, due to several issues reported against
Jarod Wilson 1cd059
  the 2.6.35.10-68 update.
Jarod Wilson 1cd059
  https://admin.fedoraproject.org/updates/kernel-2.6.35.10-68.fc14
Jarod Wilson 1cd059
Kyle McMartin 558463
* Sat Dec 18 2010 Kyle McMartin <kyle@redhat.com>
Kyle McMartin 68b623
- Patch from nhorman against f13:
Kyle McMartin 68b623
  Enhance AF_PACKET to allow non-contiguous buffer alloc (#637619)
Kyle McMartin 68b623
Kyle McMartin 68b623
* Sat Dec 18 2010 Kyle McMartin <kyle@redhat.com>
Kyle McMartin 558463
- Fix SELinux issues with NFS/btrfs and/or xfsdump. (#662344)
Kyle McMartin 558463
Jarod Wilson 703515
* Thu Dec 16 2010 Jarod Wilson <jarod@redhat.com> 2.6.35.10-68
Jarod Wilson 703515
- Additional mceusb updates just sent upstream, hopefully to fix
Jarod Wilson 703515
  keybounce/excessive buffering issues
Jarod Wilson 703515
Jarod Wilson 92d37b
* Wed Dec 15 2010 Jarod Wilson <jarod@redhat.com> 2.6.35.10-67
Jarod Wilson 92d37b
- Rebase v4l/dvb/rc code to latest upstream, should fix a fair
Jarod Wilson 92d37b
  number of ir/rc-related issues, including bugzilla #662071
Jarod Wilson 92d37b
Chuck Ebbert 8f0073
* Wed Dec 15 2010 Chuck Ebbert <cebbert@redhat.com>
Chuck Ebbert 8f0073
- Linux 2.6.35.10
Chuck Ebbert 8f0073
- Remove merged patches and fix up conflicts:
Chuck Ebbert 8f0073
   drm-polling-fixes.patch
Chuck Ebbert 8f0073
   linux-2.6-v4l-dvb-hdpvr-updates.patch
Chuck Ebbert 8f0073
   kvm-fix-fs-gs-reload-oops-with-invalid-ldt.patch
Chuck Ebbert 8f0073
- Drop merged patches:
Chuck Ebbert 8f0073
   linux-2.6-rcu-sched-warning.patch
Chuck Ebbert 8f0073
   pnpacpi-cope-with-invalid-device-ids.patch
Chuck Ebbert 8f0073
   ipc-zero-struct-memory-for-compat-fns.patch
Chuck Ebbert 8f0073
   ipc-shm-fix-information-leak-to-user.patch
Chuck Ebbert 8f0073
   r8169-01-fix-rx-checksum-offload.patch
Chuck Ebbert 8f0073
   r8169-02-_re_init-phy-on-resume.patch
Chuck Ebbert 8f0073
   r8169-03-fix-broken-checksum-for-invalid-sctp_igmp-packets.patch
Chuck Ebbert 8f0073
   hda_realtek-handle-unset-external-amp-bits.patch
Chuck Ebbert 8f0073
Kyle McMartin 9d6e5d
* Fri Dec 10 2010 Kyle McMartin <kyle@redhat.com>
Kyle McMartin f2ed8c
- pci-disable-aspm-if-bios-asks-us-to.patch: Patch from mjg59 to disable
Kyle McMartin f2ed8c
  ASPM if the BIOS has disabled it, but enabled it already on some devices.
Kyle McMartin f2ed8c
Kyle McMartin f2ed8c
* Fri Dec 10 2010 Kyle McMartin <kyle@redhat.com>
Kyle McMartin 54f1e0
- Fix some issues mounting btrfs devices with subvolumes (#656465)
Kyle McMartin 54f1e0
Kyle McMartin 54f1e0
* Fri Dec 10 2010 Kyle McMartin <kyle@redhat.com>
Kyle McMartin 9d6e5d
- Fix jbd2 warnings when using quotas. (#578674)
Kyle McMartin 9d6e5d
Kyle McMartin bd61ad
* Thu Dec 09 2010 Kyle McMartin <kyle@redhat.com>
Kyle McMartin 4bd3ae
- Snarf patch from wireless-next to fix mdomsch's orinico wifi.
Kyle McMartin 4bd3ae
  (orinoco: initialise priv->hw before assigning the interrupt)
Kyle McMartin 4bd3ae
  [229bd792]
Kyle McMartin 4bd3ae
Kyle McMartin 4bd3ae
* Thu Dec 09 2010 Kyle McMartin <kyle@redhat.com>
Kyle McMartin bd61ad
- Copy tpm-fix-stall-on-boot.patch from rawhide tree. (#530393)
Kyle McMartin bd61ad
Chuck Ebbert 983a2b
* Thu Dec 09 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.35.9-65
Chuck Ebbert 983a2b
- Require newt-devel for building perf, to enable the perf TUI (#661180)
Chuck Ebbert 983a2b
Kyle McMartin bed92c
* Wed Dec 08 2010 Kyle McMartin <kyle@redhat.com>
Kyle McMartin bed92c
- sched-cure-more-NO_HZ-load-average-woes.patch: fix some of the complaints
Kyle McMartin bed92c
  in 2.6.35+ about load average with dynticks. (rhbz#650934)
Kyle McMartin bed92c
Kyle McMartin 20b049
* Sat Dec 04 2010 Kyle McMartin <kyle@redhat.com>
Kyle McMartin 20b049
- Enable C++ symbol demangling with perf by linking against libiberty.a,
Kyle McMartin 20b049
  which is LGPL2.
Kyle McMartin 20b049
Kyle McMartin 65c06e
* Fri Dec 03 2010 Kyle McMartin <kyle@redhat.com> 2.6.35.9-64
Kyle McMartin 65c06e
- Enable hpilo.ko on x86_64 (#571329)
Kyle McMartin 65c06e
Kyle McMartin 76a7eb
* Thu Dec 02 2010 Kyle McMartin <kyle@redhat.com>
Kyle McMartin 76a7eb
- Grab some of Mel's fixes from -mmotm to hopefully sort out #649694.
Kyle McMartin 76a7eb
Kyle McMartin 26ea0f
* Mon Nov 29 2010 Kyle McMartin <kyle@redhat.com>
Kyle McMartin 48eb5c
- PNP: log PNP resources, as we do for PCI [c1f3f281]
Kyle McMartin 48eb5c
  should help us debug resource conflicts (requested by bjorn.)
Kyle McMartin 48eb5c
Kyle McMartin 48eb5c
* Mon Nov 29 2010 Kyle McMartin <kyle@redhat.com>
Kyle McMartin 26ea0f
- drm/ttm: Fix two race conditions + fix busy codepaths [1df6a2eb] (#615505)
Kyle McMartin 26ea0f
kyle 7a80ec
* Fri Nov 26 2010 Kyle McMartin <kyle@redhat.com>
Kyle McMartin ca2a17
- Quiet a build warning the previous INET_DIAG fix caused.
Kyle McMartin ca2a17
Kyle McMartin ca2a17
* Fri Nov 26 2010 Kyle McMartin <kyle@redhat.com>
Kyle McMartin 6abfea
- Plug stack leaks in tty/serial drivers. (#648663, #648660)
Kyle McMartin 6abfea
Kyle McMartin 6abfea
* Fri Nov 26 2010 Kyle McMartin <kyle@redhat.com>
kyle 7a80ec
- r8169 fixes from sgruszka@redhat.com (#502974)
kyle 7a80ec
- hda/realtek: handle unset external amp bits (#657388)
kyle 7a80ec
John W. Linville dd99fe
* Wed Nov 24 2010 John W. Linville <linville@redhat.com>
John W. Linville dd99fe
- rtl8180: improve signal reporting for rtl8185 hardware
John W. Linville dd99fe
- rtl8180: improve signal reporting for actual rtl8180 hardware
John W. Linville dd99fe
Kyle McMartin cc7fb5
* Tue Nov 23 2010 Kyle McMartin <kyle@redhat.com>
Kyle McMartin 55415e
- zero struct memory in ipc compat (CVE-2010-4073) (#648658)
Kyle McMartin de964e
- zero struct memory in ipc shm (CVE-2010-4072) (#648656)
Kyle McMartin c86d47
- fix logic error in INET_DIAG bytecode auditing (CVE-2010-3880) (#651264)
Kyle McMartin 003654
- posix-cpu-timers: workaround to suppress the problems with mt exec
Kyle McMartin 003654
  (rhbz#656264)
Kyle McMartin 55415e
Kyle McMartin 55415e
* Tue Nov 23 2010 Kyle McMartin <kyle@redhat.com>
Kyle McMartin cc7fb5
- fix-i8k-inline-asm.patch: backport gcc miscompilation fix from git
Kyle McMartin cc7fb5
  [22d3243d, 6b4e81db] (rhbz#647677)
Kyle McMartin cc7fb5
Jarod Wilson 511572
* Mon Nov 22 2010 Jarod Wilson <jarod@redhat.com> 2.6.35.9-62
Jarod Wilson 511572
- Linux 2.6.35.9
Jarod Wilson 511572
- IR driver fixes from upstream
Jarod Wilson 511572
  * fix keybounce/buffer parsing oddness w/mceusb
Jarod Wilson 511572
  * properly wire up sysfs entries for mceusb and streamzap
Jarod Wilson 511572
  * fix repeat w/streamzap
Jarod Wilson 511572
  * misc lirc_dev fixes
Jarod Wilson 511572
Chuck Ebbert 0081a7
* Sat Nov 20 2010 Chuck Ebbert <cebbert@redhat.com> 2.6.35.9-61.rc1
Chuck Ebbert 0081a7
- Linux 2.6.35.9-rc1
Chuck Ebbert 0081a7
- Comment out upstreamed patches:
Chuck Ebbert 0081a7
  kvm-fix-regression-with-cmpxchg8b-on-i386-hosts.patch
Chuck Ebbert 0081a7
Ben Skeggs 466450
* Fri Nov 19 2010 Ben Skeggs <bskeggs@redhat.com> 2.6.35.8-60
Ben Skeggs 466450
- nouveau: add quirk for iMac G4 (rhbz#505161)
Ben Skeggs 466450
- nouveau: add workaround for display hang on GF8+ (rhbz#537065)
Ben Skeggs 466450
- nouveau: don't reject 3D object creation on NVAF (MBA3)
Ben Skeggs 466450
Kyle McMartin 4c76cc
* Mon Nov 15 2010 Kyle McMartin <kyle@redhat.com>
Kyle McMartin 4c76cc
- rhbz#651019: pull in support for MBA3.
Kyle McMartin 4c76cc
5f72d4
* Thu Nov 11 2010 airlied@redhat.com - 2.6.35.8-55
5f72d4
- drm: fix EDID issues
5f72d4
adfff0
* Wed Nov 10 2010 Justin M. Forbes <jforbes@redhat.com> 2.6.35.8-54
adfff0
- fix regression with cmpxchg8b on i386 hosts (rhbz#650215)
adfff0
Jarod Wilson 28683a
* Wed Nov 10 2010 Jarod Wilson <jarod@redhat.com> 2.6.35.8-53
Jarod Wilson 28683a
- Linux 2.6.35.8
Jarod Wilson 28683a
- Drop patches upstreamed in 2.6.35.8
Jarod Wilson 28683a
- More ir-core and lirc updates
Jarod Wilson 28683a
- HD-PVR driver updates
Jarod Wilson 28683a
5ddd90
* Tue Nov 09 2010 Dave Airlie <airlied@redhat.com> - 2.6.35.6-52
5ddd90
- add i915 polling s/r patch
5ddd90
a47462
* Mon Nov 08 2010 Dave Airlie <airlied@redhat.com> - 2.6.35.6-51
a47462
- Backport polling fixes + radeon hang fixes from upstream
a47462
Ben Skeggs c7b007
* Tue Nov 02 2010 Ben Skeggs <bskeggs@redhat.com> 2.6.35.6-50
Ben Skeggs c7b007
- nouveau: add potential workaround for NV86 hardware quirk
Ben Skeggs c7b007
- fix issue that occurs in certain dual-head configurations (rhbz#641524)
Ben Skeggs c7b007
Jarod Wilson 030d3b
* Sat Oct 23 2010 Jarod Wilson <jarod@redhat.com> 2.6.35.6-49
Jarod Wilson 030d3b
- Fix brown paper bag bug in imon driver
Jarod Wilson 030d3b
Chuck Ebbert 643d35
* Fri Oct 22 2010 Chuck Ebbert <cebbert@redhat.com> 2.6.35.6-48
Chuck Ebbert 643d35
- drm-i915-sanity-check-pread-pwrite.patch;
Chuck Ebbert 643d35
   fix CVE-2010-2962, arbitrary kernel memory write via i915 GEM ioctl
Chuck Ebbert 643d35
- kvm-fix-fs-gs-reload-oops-with-invalid-ldt.patch;
Chuck Ebbert 643d35
   fix CVE-2010-3698, kvm: invalid selector in fs/gs causes kernel panic
Chuck Ebbert 643d35
- v4l1-fix-32-bit-compat-microcode-loading-translation.patch;
Chuck Ebbert 643d35
   fixes CVE-2010-2963, v4l: VIDIOCSMICROCODE arbitrary write
Chuck Ebbert 643d35
Kyle McMartin cbdb31
* Fri Oct 22 2010 Kyle McMartin <kyle@redhat.com> 2.6.35.6-47
Kyle McMartin cbdb31
- tpm-autodetect-itpm-devices.patch: Auto-fix TPM issues on various
Kyle McMartin cbdb31
  laptops which prevented suspend/resume.
Kyle McMartin cbdb31
- depessimize-rds_copy_page_user.patch: Fix CVE-2010-3904, local
Kyle McMartin cbdb31
  privilege escalation via RDS protocol.
Kyle McMartin cbdb31
Kyle McMartin c4e830
* Mon Oct 18 2010 Kyle McMartin <kyle@redhat.com> 2.6.35.6-46
Kyle McMartin f1b58c
- Add Ricoh e822 support. (rhbz#596475) Thanks to sgruszka@ for
Kyle McMartin f1b58c
  sending the patches in.
Kyle McMartin f1b58c
Kyle McMartin a1b8c4
* Mon Oct 18 2010 Kyle McMartin <kyle@redhat.com> 2.6.35.6-45
Kyle McMartin a1b8c4
- Print a useful message when disabling IOMMU when a Ricoh cardreader
Kyle McMartin a1b8c4
  is probed.
Kyle McMartin a1b8c4
- Disable eDP pipe bringup on i915 since it won't work anyway, and changes
Kyle McMartin a1b8c4
  away from text-mode, resulting in nothing but a backlight on a lot of
Kyle McMartin a1b8c4
  laptops. (rhbz#639146)
Kyle McMartin a1b8c4
Kyle McMartin 7d350a
* Mon Oct 18 2010 Kyle McMartin <kyle@redhat.com>
Kyle McMartin 6aca93
- ima: Default it to off, pass ima=on to enable. Reduce impact of the option
Kyle McMartin 6aca93
  when disabled.
Kyle McMartin 6aca93
Kyle McMartin 6aca93
* Mon Oct 18 2010 Kyle McMartin <kyle@redhat.com>
kyle 915df7
- Quirk to disable DMAR with Ricoh card reader/firewire. (rhbz#605888)
kyle 915df7
kyle 915df7
* Mon Oct 18 2010 Kyle McMartin <kyle@redhat.com>
Kyle McMartin f1b58c
- Two networking fixes (skge, r8169) from sgruszka@. (rhbz#447489,629158)
Kyle McMartin 7d350a
Kyle McMartin 9ee136
* Fri Oct 15 2010 Kyle McMartin <kyle@redhat.com>
Kyle McMartin 9ee136
- pnpacpi: cope with invalid device IDs. (rhbz#641468)
Kyle McMartin 9ee136
Kyle McMartin 97e19f
* Fri Oct 15 2010 Peter Jones <pjones@redhat.com> 2.6.35.6-44
Kyle McMartin 97e19f
- Add a missing dm_put in previous device mapper patch.
Kyle McMartin 97e19f
Dave Jones c13cbf
* Wed Oct 13 2010 Dave Jones <davej@redhat.com> 2.6.35.6-43
Dave Jones c13cbf
- bump build.
Dave Jones c13cbf
Kyle McMartin c19187
* Wed Oct 13 2010 Kyle McMartin <kyle@redhat.com>
Kyle McMartin c19187
- Disable XHCI registration by default. Passing xhci.enable=1 to the
Kyle McMartin c19187
  kernel will enable it, as will
Kyle McMartin c19187
  echo "options xhci-hcd enable=1" >/etc/modprobe.d/xhci.conf
Kyle McMartin c19187
  This is necessary, because it is beginning to turn up on more and
Kyle McMartin c19187
  more boards, and prevents suspend if the device is probed (since it
Kyle McMartin c19187
  does not implement suspend handlers.)
Kyle McMartin c19187
  Simply removing the module alias would work (and require you to
Kyle McMartin c19187
  manually load the driver, like for floppy) however, there's a chance
Kyle McMartin c19187
  people would like to install onto usb3 drives, so let's provide them
Kyle McMartin c19187
  with an easy means to enable it (the grub cmdline.)
Kyle McMartin c19187
Kyle McMartin a2d889
* Tue Oct 12 2010 Kyle McMartin <kyle@redhat.com> 2.6.35.6-42
Kyle McMartin 7140c9
- Fix  devicemapper UUID field cannot be assigned after map creation
Kyle McMartin 7140c9
  (rhbz#641476) thanks pjones@.
Kyle McMartin 7140c9
Jarod Wilson 866bf4
* Mon Oct 11 2010 Jarod Wilson <jarod@redhat.com> 2.6.35.6-40
Jarod Wilson 866bf4
- update imon driver to fix issues with key releases and properly
Jarod Wilson 866bf4
  auto-configure another 0xffdc device (VFD + MCE IR)
Jarod Wilson 866bf4
- add new nuvoton-cir driver (for integrated IR in ASRock ION 330HT)
Jarod Wilson 866bf4
- add lirc compat ioctl portability fixups
Jarod Wilson 866bf4
Ben Skeggs bd31d5
* Mon Oct 11 2010 Ben Skeggs <bskeggs@redhat.com>
Ben Skeggs bd31d5
- fix ttm bug that can cause nouveau to crash
Ben Skeggs bd31d5
Kyle McMartin f7f1f5
* Fri Oct 08 2010 Kyle McMartin <kyle@redhat.com> 2.6.35.6-39
Kyle McMartin f7f1f5
- Push to F-14.
Kyle McMartin f7f1f5
Dave Jones a09b81
* Wed Oct 06 2010 Dave Jones <davej@redhat.com>
Dave Jones a09b81
- Another day, another rcu_dereference warning. (#640673)
Dave Jones a09b81
Kyle McMartin eaab8b
* Mon Oct 04 2010 Kyle McMartin <kyle@redhat.com>
Kyle McMartin 2fe1e8
- Build intel_idle into the kernel, so they get loaded by default. In
Kyle McMartin 2fe1e8
  later kernels, it is no longer modular, so it isn't an issue. Noticed
Kyle McMartin 2fe1e8
  by mjg59.
Kyle McMartin 2fe1e8
Kyle McMartin 2fe1e8
* Mon Oct 04 2010 Kyle McMartin <kyle@redhat.com>
Kyle McMartin eaab8b
- Make printk.time=1 the default, use printk.time=0 to turn it off.
Kyle McMartin eaab8b
  Results in much more useful traces for us, which is a big win.
Kyle McMartin eaab8b
Kyle McMartin bc9e07
* Sun Oct 03 2010 Kyle McMartin <kyle@redhat.com> 2.6.35.6-38
Kyle McMartin bc9e07
- Add more mac models supported by efifb. (#528232)
Kyle McMartin bc9e07
- Sanity check base address in efifb on pci systems.
Kyle McMartin bc9e07
Ben Skeggs 2e4b75
* Fri Oct 01 2010 Ben Skeggs <bskeggs@redhat.com> 2.6.35.6-37
Ben Skeggs 2e4b75
- nouveau: DP fixes, nv50+ corruption fix, display fixes
Ben Skeggs 2e4b75
- drm-nouveau-ibdma-race.patch: removed, in updates now
Ben Skeggs 2e4b75
Dave Jones db140f
* Thu Sep 30 2010 Dave Jones <davej@redhat.com>
Dave Jones db140f
- silence another rcu_reference warning
Dave Jones db140f
Ben Skeggs 7043d4
* Thu Sep 30 2010 Ben Skeggs <bskeggs@redhat.com> 2.6.35.6-36
Ben Skeggs 7043d4
- nouveau: fix theoretical race condition which may be the cause of some
Ben Skeggs 7043d4
  random hangs people reported.
Ben Skeggs 7043d4
Dave Jones fbce23
* Wed Sep 29 2010 Dave Jones <davej@redhat.com> 2.6.35.6-35
Dave Jones bbaea7
- Add back an old hack to make an SDV e1000e variant work.
Dave Jones bbaea7
Dave Jones bbaea7
* Wed Sep 29 2010 Dave Jones <davej@redhat.com>
Dave Jones 04093b
- Enable IB700 watchdog (used by qemu/kvm). (#637152)
Dave Jones 04093b
Kyle McMartin 05f615
* Mon Sep 27 2010 Kyle McMartin <kyle@redhat.com> 2.6.35.6-34
Kyle McMartin 05f615
- Linux 2.6.35.6
Kyle McMartin 05f615
- bdi-fix-warnings-in-__mark_inode_dirty-for-dev-zero-and-friends.patch was
Kyle McMartin 05f615
  dropped, should fix the inode_to_bdi WARN_ON triggering for a bunch of
Kyle McMartin 05f615
  people.
Kyle McMartin 05f615
Chuck Ebbert eda054
* Sat Sep 25 2010 Chuck Ebbert <kyle@redhat.com> 2.6.35.6-33.rc1
Chuck Ebbert eda054
- Linux 2.6.35.6-rc1
Chuck Ebbert eda054
- Comment out merged patches:
Chuck Ebbert eda054
   aio-check-for-multiplication-overflow-in-do_io_submit.patch
Chuck Ebbert eda054
   linux-2.6.35.4-virtio_console-fix-poll.patch
Chuck Ebbert eda054
   fix-unprotected-access-to-task-credentials-in-whatid.patch
Chuck Ebbert eda054
   dell-wmi-add-support-for-eject-key-studio-1555.patch
Chuck Ebbert eda054
   irda-correctly-clean-up-self-ias_obj-on-irda_bind-failure.patch
Chuck Ebbert eda054
   keys-fix-bug-in-keyctl_session_to_parent-if-parent-has-no-session-keyring.patch
Chuck Ebbert eda054
   keys-fix-rcu-no-lock-warning-in-keyctl_session_to_parent.patch
Chuck Ebbert eda054
   sched-00-fix-user-time-incorrectly-accounted-as-system-time-on-32-bit.patch
Chuck Ebbert eda054
- Revert: "drm/nv50: initialize ramht_refs list for faked 0 channel"
Chuck Ebbert eda054
  (our DRM update removes ramht_refs entirely.)
Chuck Ebbert b49b11
- Add sched-35-increment-cache_nice_tries-only-on-periodic-lb.patch, another
Chuck Ebbert b49b11
  fix for excessive scheduler load balancing.
Chuck Ebbert b999df
- Add xen-fix-typo-in-xen-irq-fix.patch, fixes typo in 2.6.35.5 patch.
Chuck Ebbert eda054
Kyle McMartin 2348a6
* Thu Sep 23 2010 Kyle McMartin <kyle@redhat.com> 2.6.35.5-32
Kyle McMartin 2348a6
- Serialize mandocs/htmldocs build, since otherwise it will constantly
Kyle McMartin 2348a6
  fail on the koji builders.
Kyle McMartin 2348a6
Kyle McMartin 6289a5
* Thu Sep 23 2010 Kyle McMartin <kyle@redhat.com> 2.6.35.5-31
Kyle McMartin b13dd0
- Slay another rcu_dereference_check warning pointed out by
Kyle McMartin b13dd0
  rmcgrath@.
Kyle McMartin b13dd0
Kyle McMartin b13dd0
* Thu Sep 23 2010 Kyle McMartin <kyle@redhat.com>
Kyle McMartin 6289a5
- Enable -debug flavours and switch default image to release builds.
Kyle McMartin 6289a5
- Bump NR_CPUS on i686 to 64.
Kyle McMartin 6289a5
Ben Skeggs 31ce2e
* Thu Sep 23 2010 Ben Skeggs <bskeggs@redhat.com> 2.6.35.5-30
Ben Skeggs 31ce2e
- nouveau: fix IGP chipsets (rhbz#636326), and some DP boards
Ben Skeggs 31ce2e
- drm-nouveau-acpi-edid-fix.patch: drop, merged into updates
Ben Skeggs 31ce2e
Chuck Ebbert 69a476
* Wed Sep 22 2010 Chuck Ebbert <cebbert@redhat.com>
Chuck Ebbert 69a476
- Fix possible lockup with new scheduler idle balance code.
Chuck Ebbert b2398b
- Dump stack on failed ATA commands in pata_it821x driver (#632753)
Chuck Ebbert 69a476
Kyle McMartin 027325
* Tue Sep 21 2010 Kyle McMartin <kyle@redhat.com>
Kyle McMartin 027325
- Add new btusb ids for MacBookPro from wwoods@.
Kyle McMartin 027325
Chuck Ebbert b21871
* Tue Sep 21 2010 Chuck Ebbert <cebbert@redhat.com> 2.6.35.5-29
Chuck Ebbert b21871
- Scheduler fixes for Bugzilla #635813 and #633037
Chuck Ebbert b21871
Chuck Ebbert b21871
* Mon Sep 20 2010 Chuck Ebbert <cebbert@redhat.com>
Chuck Ebbert 7a68cb
- Linux 2.6.35.5
Chuck Ebbert 7a68cb
- Drop merged patches:
Chuck Ebbert 7a68cb
  01-compat-make-compat_alloc_user_space-incorporate-the-access_ok-check.patch
Chuck Ebbert 7a68cb
  02-compat-test-rax-for-the-system-call-number-not-eax.patch
Chuck Ebbert 7a68cb
  03-compat-retruncate-rax-after-ia32-syscall-entry-tracing.patch
Chuck Ebbert 7a68cb
  direct-io-move-aio_complete-into-end_io.patch
Chuck Ebbert 7a68cb
  ext4-move-aio-completion-after-unwritten-extent-conversion.patch
Chuck Ebbert 7a68cb
  xfs-move-aio-completion-after-unwritten-extent-conversion.patch
Chuck Ebbert 7a68cb
  alsa-seq-oss-fix-double-free-at-error-path-of-snd_seq_oss_open.patch
Chuck Ebbert 7a68cb
Dennis Gilmore 42589b
* Thu Sep 16 2010 Dennis Gilmore <dennis@ausil.us>
Dennis Gilmore 42589b
- build sparc headers on sparcv9
Dennis Gilmore 42589b
- disable some modules to enable the kernel to build on sparc
Dennis Gilmore 42589b
719396
* Thu Sep 16 2010 Hans de Goede <hdegoede@redhat.com>
719396
- Small fix to virtio_console poll fix from upstream review
719396
Dave Jones 291833
* Wed Sep 15 2010 Dave Jones <davej@redhat.com>
Dave Jones 291833
- Fix another RCU lockdep warning (cgroups).
Dave Jones 291833
cb6f3a
* Wed Sep 15 2010 Hans de Goede <hdegoede@redhat.com>
cb6f3a
- virtio_console: Fix poll/select blocking even though there is data to read
cb6f3a
Chuck Ebbert 14525a
* Tue Sep 14 2010 Chuck Ebbert <cebbert@redhat.com> 2.6.35.4-28
Chuck Ebbert db056c
- Fix 3 CVEs:
Chuck Ebbert db056c
  /dev/sequencer open failure is not handled correctly (CVE-2010-3080)
Chuck Ebbert db056c
  NULL deref and panic in irda (CVE-2010-2954)
Chuck Ebbert db056c
  keyctl_session_to_parent NULL deref system crash (CVE-2010-2960)
Chuck Ebbert db056c
Chuck Ebbert db056c
* Tue Sep 14 2010 Chuck Ebbert <cebbert@redhat.com>
Chuck Ebbert 14525a
- Fix DOS with large argument lists.
Chuck Ebbert 14525a
Chuck Ebbert 14525a
* Tue Sep 14 2010 Kyle McMartin <kyle@redhat.com>
Kyle McMartin a1b0ec
- x86_64: plug compat syscalls holes. (CVE-2010-3081, CVE-2010-3301)
Kyle McMartin a1b0ec
  upgrading is highly recommended.
Chuck Ebbert 14525a
- aio: check for multiplication overflow in do_io_submit. (CVE-2010-3067)
Kyle McMartin a1b0ec
Chuck Ebbert 9bd241
* Mon Sep 13 2010 Chuck Ebbert <cebbert@redhat.com>
Chuck Ebbert 9bd241
- Add support for perl and python scripting to perf (#632942)
Chuck Ebbert 9bd241
Ben Skeggs 4badda
* Mon Sep 13 2010 Ben Skeggs <bskeggs@redhat.com> 2.6.35.4-27
Ben Skeggs 4badda
- nouveau: fix oops in acpi edid support
Ben Skeggs 4badda
Jarod Wilson 17a76a
* Fri Sep 10 2010 Jarod Wilson <jarod@redhat.com> 2.6.35.4-26
Jarod Wilson 17a76a
- ir-core rebase to current upstream
Jarod Wilson 17a76a
Bastien Nocera ea6d87
* Fri Sep 10 2010 Bastien Nocera <bnocera@redhat.com> - 2.6.35.4-25
Bastien Nocera ea6d87
- Update AppleIR patch to work, and support the enter key on
Bastien Nocera ea6d87
  newer remotes
Bastien Nocera ea6d87
Chuck Ebbert 63fcde
* Fri Sep 10 2010 Chuck Ebbert <cebbert@redhat.com>
Chuck Ebbert 63fcde
- Disable asynchronous suspend by default.
Chuck Ebbert 63fcde
Chuck Ebbert 63fcde
* Fri Sep 10 2010 Ben Skeggs <bskeggs@redhat.com> - 2.6.35.4-23
Ben Skeggs fbc428
- nouveau: disable acceleration on nva3/nva5/nva8
Ben Skeggs fbc428
Kyle McMartin 72b3bf
* Wed Sep 08 2010 Kyle McMartin <kyle@redhat.com>
Kyle McMartin 3ceeb7
- Enable GPIO_SYSFS. (#631958)
Kyle McMartin 3ceeb7
Kyle McMartin 3ceeb7
* Wed Sep 08 2010 Kyle McMartin <kyle@redhat.com>
Kyle McMartin 72b3bf
- Make pci=use_crs a config option.
Kyle McMartin 72b3bf
Ben Skeggs 215a71
* Wed Sep 08 2010 Ben Skeggs <bskeggs@redhat.com> 2.6.35.4-23
Ben Skeggs 215a71
- nouveau: handle certain GPU errors better, AGP + misc fixes
Ben Skeggs 215a71
Dave Jones 2eba9a
* Tue Sep 07 2010 Dave Jones <davej@redhat.com> 2.6.35.4-22
Dave Jones 2eba9a
- Disable hung task checker, it only ever causes false positives. (#630777)
Dave Jones 2eba9a
Jarod Wilson f4da56
* Tue Sep 07 2010 Jarod Wilson <jarod@redhat.com> 2.6.35.4-21
Jarod Wilson f4da56
- Enhance HID layer to fully support TiVo Slide remote and dongle
Jarod Wilson f4da56
Kyle McMartin cfdae0
* Mon Sep 06 2010 Kyle McMartin <kyle@redhat.com>
Kyle McMartin 426c30
- Suck in patch from F-13 to add support for the eject key on the
Kyle McMartin 426c30
  Dell Studio 1555. (#513530)
Kyle McMartin 8b695b
- flexcop: fix registering braindead stupid names (#575873)
Kyle McMartin 426c30
Kyle McMartin 426c30
* Mon Sep 06 2010 Kyle McMartin <kyle@redhat.com>
Kyle McMartin cfdae0
- Patch from paulmck to fix rcu_dereference_check warning
Kyle McMartin cfdae0
  (http://lkml.org/lkml/2010/8/16/258)
Kyle McMartin cfdae0
Jarod Wilson 8ccfe4
* Mon Sep 06 2010 Jarod Wilson <jarod@redhat.com> 2.6.35.4-20
Jarod Wilson 8ccfe4
- Restore the rest of the appleir driver patch
Jarod Wilson 8ccfe4
Jarod Wilson 8ccfe4
* Mon Sep 06 2010 Ben Skeggs <bskeggs@redhat.com> 2.6.35.4-19
Ben Skeggs 1001ab
- nouveau: misc fixes from upstream + NVAF support
Ben Skeggs 1001ab
Kyle McMartin d3a72e
* Fri Sep 03 2010 Kyle McMartin <kyle@redhat.com>
Kyle McMartin d3a72e
- Restore appleir driver that got lost in the 2.6.35 rebase.
Kyle McMartin d3a72e
Dave Jones 7def7e
* Thu Sep 02 2010 Dave Jones <davej@redhat.com> 2.6.35.4-18
Dave Jones 7def7e
- Scatter-gather on via-velocity is hopelessly broken.
Dave Jones 7def7e
  Just switch it off for now.
Dave Jones 7def7e
Dave Jones 35cc50
* Thu Sep 02 2010 Dave Jones <davej@redhat.com> 2.6.35.4-17
Dave Jones 35cc50
- Simplify the VIA Velocity changes. The last round of
Dave Jones 35cc50
  fixes introduced some bugs.
Dave Jones 35cc50
Dave Jones 705539
* Wed Sep 01 2010 Dave Jones <davej@redhat.com> 2.6.35.4-16
Dave Jones 705539
- Another VIA Velocity fix. This time in ifdown path.
Dave Jones 705539
Dave Jones c348ad
* Wed Sep 01 2010 Dave Jones <davej@redhat.com> 2.6.35.4-15
Dave Jones c348ad
- Improved version of the VIA Velocity DMA fix.
Dave Jones c348ad
Kyle McMartin 3c5d4d
* Tue Aug 31 2010 Kyle McMartin <kyle@redhat.com> 2.6.35.4-14
Kyle McMartin 3c5d4d
- efifb-add-more-models.patch: Add patch from Luke Macken to
Kyle McMartin 3c5d4d
  support more Mac models (rhbz#528232)
Kyle McMartin 3c5d4d
Dave Jones 90303f
* Tue Aug 31 2010 Dave Jones <davej@redhat.com> 2.6.35.4-13
Dave Jones 10931f
- Fix incorrect DMA size freeing error in via-velocity.
Dave Jones 10931f
Chuck Ebbert b30c15
* Fri Aug 27 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.35.4-12
Chuck Ebbert b30c15
- Linux 2.6.35.4
Chuck Ebbert 8f132e
- kprobes-x86-fix-kprobes-to-skip-prefixes-correctly.patch (#610941)
Chuck Ebbert b30c15
Chuck Ebbert 3e8e94
* Wed Aug 25 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.35.4-11.rc1
Chuck Ebbert 3e8e94
- Linux 2.6.35.4-rc1
Chuck Ebbert 3e8e94
- Fix up linux-2.6-i386-nx-emulation.patch for 2.6.35.4
Chuck Ebbert 3e8e94
Chuck Ebbert 74e18c
* Sat Aug 21 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.35.3-10
Chuck Ebbert 74e18c
- Linux 2.6.35.3
Chuck Ebbert 74e18c
- Drop merged patches:
Chuck Ebbert 74e18c
   mm-fix-page-table-unmap-for-stack-guard-page-properly.patch
Chuck Ebbert 74e18c
   mm-fix-up-some-user-visible-effects-of-the-stack-guard-page.patch
Chuck Ebbert 74e18c
Dave Jones 413536
* Wed Aug 18 2010 Dave Jones <davej@redhat.com>
Dave Jones 413536
- systemd is dependant upon autofs, so build it in instead of modular.
Dave Jones 413536
Chuck Ebbert bfc8e8
* Tue Aug 17 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.35.2-9
Chuck Ebbert bfc8e8
- Fix fallout from the stack guard page fixes.
Chuck Ebbert bfc8e8
  (mm-fix-page-table-unmap-for-stack-guard-page-properly.patch,
Chuck Ebbert bfc8e8
   mm-fix-up-some-user-visible-effects-of-the-stack-guard-page.patch)
Chuck Ebbert bfc8e8
Kyle McMartin 4cfcea
* Tue Aug 17 2010 Kyle McMartin <kyle@redhat.com>
Kyle McMartin e2302e
- Move cgroup fs to /sys/fs/cgroup instead of /cgroup in accordance with
Kyle McMartin e2302e
  upstream change post 2.6.35.
Kyle McMartin e2302e
Kyle McMartin e2302e
* Tue Aug 17 2010 Kyle McMartin <kyle@redhat.com>
Kyle McMartin 4cfcea
- Touch .scmversion in the kernel top level to prevent scripts/setlocalversion
Kyle McMartin 4cfcea
  from recursing into our fedpkg git tree and trying to decide whether the
Kyle McMartin 4cfcea
  kernel git is modified (obviously not, since it's a tarball.) Fixes make
Kyle McMartin 4cfcea
  local.
Kyle McMartin 4cfcea
Chuck Ebbert bfc8e8
* Mon Aug 16 2010 Jarod Wilson <jarod@redhat.com>
Jarod Wilson b9878d
- Add ir-core streamzap driver, nuke lirc_streamzap
Jarod Wilson b9878d
Chuck Ebbert e11515
* Sun Aug 15 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.35.2-8
Chuck Ebbert e11515
- Linux 2.6.35.2
Chuck Ebbert e11515
Chuck Ebbert d6d51a
* Fri Aug 13 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.35.2-7.rc1
Chuck Ebbert d6d51a
- Linux 2.6.35.2-rc1
Chuck Ebbert d6d51a
- Comment out patches merged in -stable:
Chuck Ebbert d6d51a
    linux-2.6-tip.git-396e894d289d69bacf5acd983c97cd6e21a14c08.patch
Chuck Ebbert d6d51a
    linux-2.6-ext4-fix-freeze-deadlock.patch
Chuck Ebbert d6d51a
- New config option:
Chuck Ebbert d6d51a
    CONFIG_CRYPTO_MANAGER_TESTS=y
Chuck Ebbert d6d51a
Chuck Ebbert 4ed348
* Tue Aug 10 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.35.1-6
Chuck Ebbert 4ed348
- Linux 2.6.35.1
Chuck Ebbert 4ed348
Ben Skeggs 71e9b6
* Tue Aug 10 2010 Ben Skeggs <bskeggs@redhat.com> 2.6.35.1-5.rc1
Ben Skeggs 71e9b6
- nouveau: bring in patches up to what will be in 2.6.36
Ben Skeggs 71e9b6
Chuck Ebbert 74b909
* Sat Aug 07 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.35.1-4.rc1
Chuck Ebbert 74b909
- Linux 2.6.35.1-rc1
Chuck Ebbert 74b909
Chuck Ebbert 6c58ce
* Fri Aug 06 2010 Chuck Ebbert <cebbert@redhat.com>  2.6.35-3
Chuck Ebbert 6c58ce
- Copy fix for bug #617699 ("ext4 and xfs wrong data returned on read
Chuck Ebbert 6c58ce
  after write if file size was changed with ftruncate") from F-13
Chuck Ebbert 6c58ce
- Disable CONFIG_MULTICORE_RAID456
Chuck Ebbert 6c58ce
Dave Jones 4326aa
* Wed Aug 04 2010 Dave Jones <davej@redhat.com>
Dave Jones 4326aa
- sched: Revert nohz_ratelimit() which causes a lot of
Dave Jones 4326aa
  extra wakeups burning CPU, and my legs.
Dave Jones 4326aa
Dave Jones 89d0d8
* Sun Aug 01 2010 Dave Jones <davej@redhat.com>
Dave Jones 67e704
- Linux 2.6.35
Dave Jones 67e704
Dave Jones 67e704
* Sun Aug 01 2010 Dave Jones <davej@redhat.com>
Dave Jones 89d0d8
- 2.6.35-rc6-git6
Dave Jones 89d0d8
Jarod Wilson 89a6e0
* Fri Jul 30 2010 Jarod Wilson <jarod@redhat.com>
Jarod Wilson 89a6e0
- lirc staging update
Jarod Wilson 89a6e0
- update kworld patch to one committed upstream
Jarod Wilson 89a6e0
- can't believe how much nicer dist-git is than dist-cvs
Jarod Wilson 6d7bd0
- patch memory leaks in mceusb and imon drivers
Jarod Wilson 89a6e0
Dave Jones e4578e
* Fri Jul 30 2010 Dave Jones <davej@redhat.com>
Dave Jones e4578e
- Enable PPS (#619392)
Dave Jones e4578e
Dave Jones b0b125
* Thu Jul 29 2010 Dave Jones <davej@redhat.com>
Dave Jones b0b125
- 2.6.35-rc6-git5
Dave Jones b0b125
Jesse Keating 7a3296
* Mon Jul 27 2010 Kyle McMartin <kyle@redhat.com>
Jesse Keating 7a3296
- Patch from linville to only use the country code to set band limits.
Jesse Keating 7a3296
  (Fixes Apple Airport base stations from limiting you from associating
Jesse Keating 7a3296
   with other channels.)
Jesse Keating 7a3296
Jesse Keating 7a3296
* Fri Jul 23 2010 Chuck Ebbert <cebbert@redhat.com> 2.6.35-0.56.rc6.git1
Jesse Keating 7a3296
- Linux 2.6.35-rc6-git1
Jesse Keating 7a3296
Jesse Keating 7a3296
* Thu Jul 22 2010 Dave Jones <davej@redhat.com>
Jesse Keating 7a3296
- 2.6.35-rc6
Jesse Keating 7a3296
Jesse Keating 7a3296
* Thu Jul 22 2010 Ben Skeggsb <bskeggs@redhat.com>
Jesse Keating 7a3296
- drm-nouveau-updates: bring back, most patches *weren't* upstream yet,
Jesse Keating 7a3296
  they're queued for 2.6.36.
Jesse Keating 7a3296
Jesse Keating 7a3296
* Wed Jul 21 2010 Chuck Ebbert <cebbert@redhat.com> 2.6.35-0.53.rc5.git7
Jesse Keating 7a3296
- Linux 2.6.35-rc5-git7
Jesse Keating 7a3296
Jesse Keating 7a3296
* Wed Jul 21 2010 Dave Jones <davej@redhat.com>
Jesse Keating 7a3296
- Remove the %verify (no mtime) on kernel-devel's files.
Jesse Keating 7a3296
  If they got modified, they should fail rpm verify.
Jesse Keating 7a3296
Jesse Keating 7a3296
* Wed Jul 21 2010 Dave Jones <davej@redhat.com>
Jesse Keating 7a3296
- Linux 2.6.35-rc5-git6
Jesse Keating 7a3296
- Removed drm-nouveau-updates.patch (upstreamed)
Jesse Keating 7a3296
Jesse Keating 7a3296
* Mon Jul 19 2010 Chuck Ebbert <cebbert@redhat.com>
Jesse Keating 7a3296
- Linux 2.6.35-rc5-git4
Jesse Keating 7a3296
Jesse Keating 7a3296
* Mon Jul 19 2010 Jarod Wilson <jarod@redhat.com> 2.6.35-0.49.rc5.git2
Jesse Keating 7a3296
- Fix from Kyle for input_set_key oops introduced by ir-core patches (#615707)
Jesse Keating 7a3296
- Update lirc-staging patches to match what's about to be submitted upstream,
Jesse Keating 7a3296
  complete with updated copy_from_user overflow check fixages
Jesse Keating 7a3296
Jesse Keating 7a3296
* Sun Jul 18 2010 Chuck Ebbert <cebbert@redhat.com> 2.6.35-0.47.rc5.git2
Jesse Keating 7a3296
- Linux 2.6.35-rc5-git2
Jesse Keating 7a3296
Jesse Keating 7a3296
* Sun Jul 18 2010 Chuck Ebbert <cebbert@redhat.com>
Jesse Keating 7a3296
- lirc-staging-2.6.36-fixes.patch: Fix up buffer size checking in
Jesse Keating 7a3296
  lirc code, found by CONFIG_DEBUG_STRICT_USER_COPY_CHECKS
Jesse Keating 7a3296
Jesse Keating 7a3296
* Sun Jul 18 2010 Hans de Goede <hdegoede@redhat.com>
Jesse Keating 7a3296
- Add support for dynamic menu controls to the uvcvideo driver (#576023)
Jesse Keating 7a3296
Jesse Keating 7a3296
* Sun Jul 18 2010 Jarod Wilson <jarod@redhat.com> 2.6.35-0.44.rc5.git1
Jesse Keating 7a3296
- Oops, minor oversight when moving lirc bits into staging resulted
Jesse Keating 7a3296
  in the modules themselves not getting built. Fix that.
Jesse Keating 7a3296
Jesse Keating 7a3296
* Fri Jul 16 2010 Dave Jones <davej@redhat.com>
Jesse Keating 7a3296
- Limit some alsa spew that the nuforce udac makes happen a lot.
Jesse Keating 7a3296
Jesse Keating 7a3296
* Fri Jul 16 2010 Jarod Wilson <jarod@redhat.com> 2.6.35-0.41.rc5.git1
Jesse Keating 7a3296
- Pull in ir-core update from v4l/dvb staging for 2.6.36, which includes
Jesse Keating 7a3296
  new in-kernel lirc_dev and ir-core mceusb driver
Jesse Keating 7a3296
- Move not-yet-merged/ported lirc bits to drivers/staging/, patch to be
Jesse Keating 7a3296
  sent upstream for 2.6.36 staging tree RSN
Jesse Keating 7a3296
Jesse Keating 7a3296
* Thu Jul 15 2010 Chuck Ebbert <cebbert@redhat.com> 2.6.35-0.40.rc5.git1
Jesse Keating 7a3296
- Replace pci-acpi-disable-aspm-if-no-osc.patch with
Jesse Keating 7a3296
  updated version from F-13
Jesse Keating 7a3296
Jesse Keating 7a3296
* Thu Jul 15 2010 Chuck Ebbert <cebbert@redhat.com>
Jesse Keating 7a3296
- Linux 2.6.35-rc5-git1
Jesse Keating 7a3296
Jesse Keating 7a3296
* Tue Jul 13 2010 Chuck Ebbert <cebbert@redhat.com>
Jesse Keating 7a3296
- Linux 2.6.35-rc5
Jesse Keating 7a3296
Jesse Keating 7a3296
* Tue Jul 13 2010 Ben Skeggs <bskeggs@redhat.com>
Jesse Keating 7a3296
- nouveau: miscellanous fixes
Jesse Keating 7a3296
Jesse Keating 7a3296
* Mon Jul 12 2010 Dave Jones <davej@redhat.com>
Jesse Keating 7a3296
- 2.6.35-rc4-git5
Jesse Keating 7a3296
Jesse Keating 7a3296
* Mon Jul 12 2010 Dave Jones <davej@redhat.com>
Jesse Keating 7a3296
- Remove a bunch of x86 options from config files that get set
Jesse Keating 7a3296
  automatically, and can't be overridden.
Jesse Keating 7a3296
Jesse Keating 7a3296
* Fri Jul  9 2010 Roland McGrath <roland@redhat.com>
Jesse Keating 7a3296
- Split execshield into two patches.
Jesse Keating 7a3296
Jesse Keating 7a3296
* Thu Jul 08 2010 Chuck Ebbert <cebbert@redhat.com> 2.6.35-0.31.rc4.git4
Jesse Keating 7a3296
- Linux 2.6.35-rc4-git4
Jesse Keating 7a3296
Jesse Keating 7a3296
* Thu Jul  8 2010 Roland McGrath <roland@redhat.com>
Jesse Keating 7a3296
- Remove exec-shield=2 setting, some other cruft from execshield.
Jesse Keating 7a3296
Jesse Keating 7a3296
* Wed Jul  7 2010 Roland McGrath <roland@redhat.com> 2.6.35-0.29.rc4.git0.fc14
Jesse Keating 7a3296
- Revamp perf packaging.
Jesse Keating 7a3296
Jesse Keating 7a3296
* Wed Jul 07 2010 Chuck Ebbert <cebbert@redhat.com>
Jesse Keating 7a3296
- pci-acpi-disable-aspm-if-no-osc.patch, pci-aspm-dont-enable-too-early.patch
Jesse Keating 7a3296
  PCI layer fixes for problems with hardware that doesn't support ASPM.
Jesse Keating 7a3296
Jesse Keating 7a3296
* Wed Jul 07 2010 Ben Skeggs <bskeggs@redhat.com>
Jesse Keating 7a3296
- nouveau: bring in nouveau upstream
Jesse Keating 7a3296
Jesse Keating 7a3296
* Mon Jul 05 2010 Dave Jones <davej@redhat.com>
Jesse Keating 7a3296
- 2.6.35-rc4
Jesse Keating 7a3296
Jesse Keating 7a3296
* Fri Jul 02 2010 Dave Jones <davej@redhat.com>
Jesse Keating 7a3296
- 2.6.35-rc3-git7
Jesse Keating 7a3296
  dropped: i915-fix-crt-hotplug-regression.patch (upstream)
Jesse Keating 7a3296
  dropped: drm-i915-fix-edp-panels.patch (upstream)
Jesse Keating 7a3296
Jesse Keating 7a3296
* Fri Jul 02 2010 Dave Jones <davej@redhat.com>
Jesse Keating 7a3296
- 2.6.35-rc3-git6
Jesse Keating 7a3296
Jesse Keating 7a3296
* Thu Jul 01 2010 Dave Jones <davej@redhat.com>
Jesse Keating 7a3296
- Add a patch to debug an infinite loop warning from acpi.
Jesse Keating 7a3296
Jesse Keating 7a3296
* Thu Jul 01 2010 Dave Jones <davej@redhat.com>
Jesse Keating 7a3296
- 2.6.35-rc3-git5
Jesse Keating 7a3296
Jesse Keating 7a3296
* Thu Jul 01 2010 Chuck Ebbert <cebbert@redhat.com>
Jesse Keating 7a3296
- Copy fix for BZ#220892 from F-13.
Jesse Keating 7a3296
Jesse Keating 7a3296
* Wed Jun 30 2010 Kyle McMartin <kyle@redhat.com> 2.6.35-0.19.rc3.git4
Jesse Keating 7a3296
- 2.6.35-rc3-git4
Jesse Keating 7a3296
Jesse Keating 7a3296
* Tue Jun 29 2010 Chuck Ebbert <cebbert@redhat.com>
Jesse Keating 7a3296
- Disable Intel Moorestown support -- it breaks PC keyboard controllers.
Jesse Keating 7a3296
Jesse Keating 7a3296
* Tue Jun 29 2010 Dave Jones <davej@redhat.com>
Jesse Keating 7a3296
- Building external modules requires perl. (#608525)
Jesse Keating 7a3296
Jesse Keating 7a3296
* Tue Jun 29 2010 Kyle McMartin <kyle@redhat.com> 2.6.35-0.15.rc3.git3
Jesse Keating 7a3296
- 2.6.35-rc3-git3
Jesse Keating 7a3296
- i915-fix-crt-hotplug-regression.patch: attempt to solve the gm45 hotplug
Jesse Keating 7a3296
  irq storm.
Jesse Keating 7a3296
Jesse Keating 7a3296
* Mon Jun 28 2010 Chuck Ebbert <cebbert@redhat.com>
Jesse Keating 7a3296
- ppc64: enable active memory sharing and DLPAR memory remove (#607175)
Jesse Keating 7a3296
Jesse Keating 7a3296
* Mon Jun 28 2010 Dave Jones <davej@redhat.com>
Jesse Keating 7a3296
- 2.6.35-rc3-git2
Jesse Keating 7a3296
Jesse Keating 7a3296
* Mon Jun 28 2010 Dave Jones <davej@redhat.com>
Jesse Keating 7a3296
- 2.6.35-rc3-git1
Jesse Keating 7a3296
Jesse Keating 7a3296
* Mon Jun 28 2010 Dave Airlie <airlied@redhat.com>
Jesse Keating 7a3296
- drm-i915-fix-edp-panels.patch: update to newer version
Jesse Keating 7a3296
Jesse Keating 7a3296
* Fri Jun 25 2010 Kyle McMartin <kyle@redhat.com>
Jesse Keating 7a3296
- drm-i915-fix-edp-panels.patch: copy from rawhide.
Jesse Keating 7a3296
Jesse Keating 7a3296
* Wed Jun 23 2010 Eric Sandeen <sandeen@redhat.com>
Jesse Keating 7a3296
- Fix ext4 freeze deadlock (#607245)
Jesse Keating 7a3296
Jesse Keating 7a3296
* Wed Jun 23 2010 Kyle McMartin <kyle@redhat.com>
Jesse Keating 7a3296
- Override generic's CONFIG_HZ_1000 on s390.
Jesse Keating 7a3296
Jesse Keating 7a3296
* Tue Jun 22 2010 Dave Jones <davej@redhat.com>
Jesse Keating 7a3296
- Fix localhost networking.
Jesse Keating 7a3296
Jesse Keating 7a3296
* Tue Jun 22 2010 Kyle McMartin <kyle@redhat.com> 2.6.35-0.1.rc3.git0
Jesse Keating 7a3296
- Putting the raw back into rawhide... Yeehaw.
Jesse Keating 7a3296
- 2.6.35-rc3
Jesse Keating 7a3296
- Drop a tonne of patches that were merged upstream, or were backports.
Jesse Keating 7a3296
- Rebase execshield, utrace.
Jesse Keating 7a3296
- Fix up a bunch of rejects, build failures.
Jesse Keating 7a3296
- Fix up lirc to build with strict copy_from_user checking.
Jesse Keating 7a3296
Jesse Keating 7a3296
* Mon Jun 21 2010 Dave Jones <davej@redhat.com>
Jesse Keating 7a3296
- Disable workaround for obscure SMP pentium pro errata.
Jesse Keating 7a3296
  I miss the 1990s too, but it's time to move on.
Jesse Keating 7a3296
  If anyone actually needs this it would be better done using
Jesse Keating 7a3296
  the apply_alternatives infrastructure.
Jesse Keating 7a3296
Jesse Keating 7a3296
* Mon Jun 21 2010 Kyle McMartin <kyle@redhat.com> 2.6.34-45
Jesse Keating 7a3296
- drm-revert-drm-fbdev-rework-output-polling-to-be-back-in-core.patch
Jesse Keating 7a3296
  Revert eb1f8e4f, bisected by Nicolas Kaiser. Thanks! (rhbz#599190)
Jesse Keating 7a3296
  (If this works, will try to root-cause.)
Jesse Keating 7a3296
- rebase previous patch on top of above reversion
Jesse Keating 7a3296
Jesse Keating 7a3296
* Mon Jun 21 2010 Kyle McMartin <kyle@redhat.com> 2.6.34-44
Jesse Keating 7a3296
- revert-drm-kms-toggle-poll-around-switcheroo.patch (rhbz#599190)
Jesse Keating 7a3296
Jesse Keating 7a3296
* Thu Jun 17 2010 Kyle McMartin <kyle@redhat.com> 2.6.34-43
Jesse Keating 7a3296
- Suck in patch from Dave Miller in 2.6.35 to add async hash testing,
Jesse Keating 7a3296
  hopefully fixes error from previous commit. (But making it modular
Jesse Keating 7a3296
  is still a good idea.)
Jesse Keating 7a3296
Jesse Keating 7a3296
* Thu Jun 17 2010 Kyle McMartin <kyle@redhat.com>
Jesse Keating 7a3296
- make ghash-clmulni modular to get rid of early boot noise (rhbz#586954)
Jesse Keating 7a3296
  (not a /fix/ but it should at least quiet boot down a bit if you have
Jesse Keating 7a3296
   the cpu support)
Jesse Keating 7a3296
Jesse Keating 7a3296
* Wed Jun 16 2010 Kyle McMartin <kyle@redhat.com> 2.6.34-40
Jesse Keating 7a3296
- Snag some more DRM commits into drm-next.patch that I missed the first
Jesse Keating 7a3296
  time.
Jesse Keating 7a3296
- Fix up radeon_pm toggle to work with the upstream code.
Jesse Keating 7a3296
Jesse Keating 7a3296
* Tue Jun 15 2010 Prarit Bhargava <prarit@redhat.com>
Jesse Keating 7a3296
- Turn off CONFIG_I2O on x86.
Jesse Keating