Sophie

Sophie

distrib > Mageia > 6 > armv5tl > by-pkgid > 32558fd4267d5b88d350e641bb97470c > files > 5

kernel-4.14.106-1.mga6.src.rpm

# -*- Mode: rpm-spec -*-
#
# This Specfile is based on kernel-tmb spec done by
# Thomas Backlund <tmb@mandriva.org>
#
# The mkflavour() macroization done by Anssi Hannula <anssi@mandriva.org>
#
# Note! remember to push kernel-userspace-headers and
# the prebuilt kernel drivers (kmod-<driver>)
#
# Mageia kernels use kernel.org versioning
#
%define kernelversion	4
%define patchlevel	14
# sublevel is now used for -stable patches
%define sublevel	106
# extstable is for extended stable patches
%define extstable	0

# Package release
%define mgarel		1

# kernel Makefile extraversion is substituted by
# kpatch which are either 0 (empty), rc (kpatch)
%define kpatch		0
# kernel.org -gitX patch (only the number after "git")
%define kgit		0

# kernel base name (also name of srpm)
%define kname 		kernel

# Patch tarball tag
%define ktag		mga

%define rpmtag		%{distsuffix}%{mgaver}
%if %kpatch
%if %kgit
%define rpmrel		%mkrel 0.%{kpatch}.%{kgit}.%{mgarel}
%else
%define rpmrel		%mkrel 0.%{kpatch}.%{mgarel}
%endif
%else
%define rpmrel		%mkrel %{mgarel}
%endif

# fakerel and fakever never change, they are used to fool
# rpm/urpmi/smart and ensure the kernels are installed,
# not upgraded so old kernel is not overwritten or removed
%define fakever		1
%define fakerel 	%mkrel 1

# version defines
%if %extstable
%define kversion  	%{kernelversion}.%{patchlevel}.%{sublevel}.%{extstable}
%else
%define kversion  	%{kernelversion}.%{patchlevel}.%{sublevel}
%endif
%define kverrel   	%{kversion}-%{rpmrel}

# When we are using a pre/rc patch, the tarball is a sublevel -1
%if %kpatch
%if %sublevel
%define tar_ver   	%{kernelversion}.%{patchlevel}
%else
%define tar_ver		%{kernelversion}.%(expr %{patchlevel} - 1)
%endif
%define patch_ver 	%{kversion}-%{kpatch}-%{ktag}%{mgarel}
%else
%define tar_ver   	%{kernelversion}.%{patchlevel}
%define patch_ver 	%{kversion}-%{ktag}%{mgarel}
%endif

# Used for not making too long names for rpms or search paths
%if %kpatch
%if %kgit
%define buildrpmrel     0.%{kpatch}.%{kgit}.%{mgarel}%{rpmtag}
%else
%define buildrpmrel     0.%{kpatch}.%{mgarel}%{rpmtag}
%endif
%else
%define buildrpmrel     %{mgarel}%{rpmtag}
%endif
%define buildrel     	%{kversion}-%{buildrpmrel}

# Having different top level names for packges means that you have to remove
# them by hard :(
%define top_dir_name 	%{kname}-%{_arch}

%define build_dir 	${RPM_BUILD_DIR}/%{top_dir_name}
%define src_dir 	%{build_dir}/linux-%{tar_ver}

# Disable useless debug rpms...
%global _enable_debug_packages	%{nil}
%global debug_package		%{nil}
%global __debug_package		%{nil}
%global __debug_install_post	%{nil}
%global _build_id_links none

# Build defines
%define build_doc 		1
%define build_source 		1
%define build_devel 		1

%define build_debug 		0

# Build desktop i586 / 4GB
%ifarch %{ix86}
%define build_desktop586	1
%endif

# Build desktop (i686 / 4GB) / x86_64
%define build_desktop		1

# Build server (i686 / 64GB)/x86_64 / sparc64 sets
%define build_server		1

# build perf and cpupower tools
%define build_perf		1
%define build_cpupower		1

# compress modules with xz
%define build_modxz		1

# ARM builds
%ifarch %{arm}
%define build_desktop		1
%ifarch armv5tl
%define build_desktop_armv6v7	1
%endif
%define build_server		0
# no cpupower tools on arm yet
%define build_cpupower		0
# arm is currently not using xz
%define build_modxz		0
%endif
# End of user definitions

# buildtime flags
%{?_without_desktop586: %global build_desktop586 0}
%{?_without_desktop: %global build_desktop 0}
%{?_without_server: %global build_server 0}
%{?_without_doc: %global build_doc 0}
%{?_without_source: %global build_source 0}
%{?_without_devel: %global build_devel 0}
%{?_without_debug: %global build_debug 0}
%{?_without_perf: %global build_perf 0}
%{?_without_cpupower: %global build_cpupower 0}
%{?_without_modxz: %global build_modxz 0}

%{?_with_desktop586: %global build_desktop586 1}
%{?_with_desktop: %global build_desktop 1}
%{?_with_server: %global build_server 1}
%{?_with_doc: %global build_doc 1}
%{?_with_source: %global build_source 1}
%{?_with_devel: %global build_devel 1}
%{?_with_debug: %global build_debug 1}
%{?_with_perf: %global build_perf 1}
%{?_with_cpupower: %global build_cpupower 1}
%{?_with_modxz: %global build_modxz 1}

# For the .nosrc.rpm
%define build_nosrc 	0
%{?_with_nosrc: %global build_nosrc 1}

%if %(if [ -z "$CC" ] ; then echo 0; else echo 1; fi)
%define kmake %make_build CC="$CC"
%else
%define kmake %make_build
%endif
# there are places where parallel make don't work
%define smake make

# Parallelize xargs invocations on smp machines
%define kxargs xargs %([ -z "$RPM_BUILD_NCPUS" ] \\\
	&& RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"; \\\
	[ "$RPM_BUILD_NCPUS" -gt 1 ] && echo "-P $RPM_BUILD_NCPUS")

# Sparc arch wants sparc64 kernels
%define target_arch    %(echo %{_arch} | sed -e 's/mips.*/mips/' -e 's/arm.*/arm/')


#
# SRC RPM description
#
Summary: 	Linux kernel built for Mageia
Name:		%{kname}
Version: 	%{kversion}
Release: 	%{rpmrel}
License: 	GPLv2
Group: 	 	System/Kernel and hardware
ExclusiveArch: %{ix86} x86_64 %{arm}
ExclusiveOS: 	Linux
URL:            http://www.kernel.org

####################################################################
#
# Sources
#
### This is for full SRC RPM
Source0: 	https://cdn.kernel.org/pub/linux/kernel/v%{kernelversion}.x/linux-%{tar_ver}.tar.xz
Source1: 	https://cdn.kernel.org/pub/linux/kernel/v%{kernelversion}.x/linux-%{tar_ver}.tar.sign
### This is for stripped SRC RPM
%if %build_nosrc
NoSource: 0
%endif
# This is for disabling *config, mrproper, prepare, scripts on -devel rpms
Source2: 	disable-mrproper-prepare-scripts-configs-in-devel-rpms.patch

Source4: 	README.kernel-sources

# config and systemd service file from fedora
Source50:	cpupower.service
Source51:	cpupower.config

# our patch tarball
Source100: 	linux-%{patch_ver}.tar.xz

####################################################################
#
# Patches

#
# Patch0 to Patch100 are for core kernel upgrades.
#

# Pre linus patch: https://cdn.kernel.org/pub/linux/kernel/v3.0/testing

%if %kpatch
%if %sublevel
Patch2:		https://cdn.kernel.org/pub/linux/kernel/v%{kernelversion}.x/stable-review/patch-%{kversion}-%{kpatch}.xz
#Source11:	https://cdn.kernel.org/pub/linux/kernel/v%{kernelversion}.x/stable-review/patch-%{kversion}-%{kpatch}.sign
%else
Patch1:		https://cdn.kernel.org/pub/linux/kernel/v%{kernelversion}.x/testing/patch-%{kernelversion}.%{patchlevel}-%{kpatch}.xz
#Source10: 	https://cdn.kernel.org/pub/linux/kernel/v%{kernelversion}.x/testing/patch-%{kernelversion}.%{patchlevel}-%{kpatch}.sign
%endif
%endif
%if %kgit
Patch2:		https://cdn.kernel.org/pub/linux/kernel/v%{kernelversion}.x/snapshots/patch-%{kernelversion}.%{patchlevel}-%{kpatch}-git%{kgit}.xz
#Source11: 	https://cdn.kernel.org/pub/linux/kernel/v%{kernelversion}.x/snapshots/patch-%{kernelversion}.%{patchlevel}-%{kpatch}-git%{kgit}.sign
%endif
%if %sublevel
%if %kpatch
%define prev_sublevel %(expr %{sublevel} - 1)
%if %prev_sublevel
Patch1:   	https://cdn.kernel.org/pub/linux/kernel/v%{kernelversion}.x/patch-%{kernelversion}.%{patchlevel}.%{prev_sublevel}.xz
#Source10: 	https://cdn.kernel.org/pub/linux/kernel/v%{kernelversion}.x/patch-%{kernelversion}.%{patchlevel}.%{prev_sublevel}.sign
%endif
%else
Patch1:   	https://cdn.kernel.org/pub/linux/kernel/v%{kernelversion}.x/patch-%{kernelversion}.%{patchlevel}.%{sublevel}.xz
#Source10: 	https://cdn.kernel.org/pub/linux/kernel/v%{kernelversion}.x/patch-%{kernelversion}.%{patchlevel}.%{sublevel}.sign
%endif
%endif
%if %extstable
Patch3:		patch-%{kernelversion}.%{patchlevel}.%{sublevel}.%{extstable}.patch
%endif

#END
####################################################################

# Defines for the things that are needed for all the kernels
#
%define common_desc_kernel The kernel package contains the Linux kernel (vmlinuz), the core of your \
Mageia operating system. The kernel handles the basic functions \
of the operating system: memory allocation, process allocation, device \
input and output, etc.

%define common_desc_kernel_smp This kernel relies on in-kernel smp alternatives to switch between up & smp \
mode depending on detected hardware. To force the kernel to boot in single \
processor mode, use the "nosmp" boot parameter.

### Global Requires/Provides
%define requires1	bootloader-utils >= 1.16-1
%define requires2	dracut >= 044-11.1
%define requires3	kmod >= 12-2
%define requires4	sysfsutils >= 2.1.0-16
%define requires5	kernel-firmware >= 20170101-1

%define kprovides1 	%{kname} = %{kverrel}
%define kprovides2 	kernel = %{tar_ver}
%define kprovides3 	alsa = 1.0.26
%define kprovides_server drbd-api = 88

# conflict dkms packages that dont support kernel-4.14
%define kconflicts1	dkms-broadcom-wl < 6.30.223.271-47
%define kconflicts2	dkms-fglrx <= 15.302
%define kconflicts3	dkms-nvidia-current < 384.98-2
%define kconflicts4	dkms-nvidia340 < 340.104-3
%define kconflicts5	dkms-nvidia304 < 304.137-2
%define kconflicts6	dkms-virtualbox < 5.2.2-1
%define kconflicts7	dkms-xtables-addons < 2.13-3
# (tmb) conflict older btrfs-progs to get the new in same transaction and in initrd
%define kconflicts8	btrfs-progs < 4.14-2
# (tmb) conflict too old radeon-firmware to get the uvd firmwares in initrd
%define kconflicts9	radeon-firmware < 20180606-1
# (tmb) conflict old firmware to get the firmwares in initrd
%define kconflicts10	kernel-firmware-nonfree < 20180606-1
# (tmb) conflict old microcode to get updated ones in initrd for early loading
%define kconflicts11	microcode < 0.20180807-1
# (tmb) conflict old theme to get mga5 theme in initrd
%define kconflicts12	mageia-gfxboot-theme < 4.5.6.6-1
# (tmb) conflict too old grub2(-efi)
%define kconflicts13	grub2 < 2.02.0-1.1
%define kconflicts14	grub2-efi < 2.02.0-1.1
# (tmb) conflict too old efibootmgr
%define kconflicts15	efibootmgr < 0.11.0-7
# (tmb) conflict for vmmouse breakage (for mga5, mga#16954)
%define kconflicts16	x11-driver-input-vmmouse < 13.1.0-1

Autoreqprov: 		no

BuildRequires: 		gcc >= 5.5.0-1
BuildRequires: 		binutils >= 1:2.25.1-7
BuildRequires: 		kmod >= 12-2
BuildRequires: 		bc
# for cpupower
%if %{build_cpupower}
BuildRequires:		pkgconfig(libpci)
%endif
# for perf
%if %{build_perf}
BuildRequires:		audit-devel
BuildRequires:		binutils-devel
BuildRequires:		elfutils-devel
BuildRequires:		gtk2-devel
BuildRequires:		libunwind-devel
BuildRequires:		newt-devel
BuildRequires:		python-devel
BuildRequires:		zlib-devel
BuildRequires:		asciidoc
BuildRequires:		bison
BuildRequires:		flex
BuildRequires:		xmlto
BuildRequires:		perl-devel
%ifarch %{ix86} x86_64
BuildRequires:		numa-devel
%endif
%endif


%description
%common_desc_kernel
%ifnarch %{arm}
%common_desc_kernel_smp
%endif

# mkflavour() name flavour processor
# name: the flavour name in the package name
# flavour: first parameter of CreateKernel()
%define mkflavour()					\
%package -n %{kname}-%{1}-%{buildrel}			\
Version:	%{fakever}				\
Release:	%{fakerel}				\
Provides:	%kprovides1 %kprovides2 %kprovides3	\
%{expand:%%{?kprovides_%{1}:Provides: %{kprovides_%{1}}}} \
Provides:	%{kname}-%{1}				\
Requires(pre):	%requires1 %requires2 %requires3 %requires4 \
Requires:	%requires2 %requires5			\
Conflicts:	%kconflicts1 %kconflicts2 %kconflicts3	\
Conflicts:	%kconflicts4 %kconflicts5 %kconflicts6	\
Conflicts:	%kconflicts7 %kconflicts8 %kconflicts9	\
Conflicts:	%kconflicts10 %kconflicts11 %kconflicts12 \
Conflicts:	%kconflicts13 %kconflicts14 %kconflicts15 \
Conflicts:	%kconflicts16				\
Provides:	should-restart = system			\
Provides:	installonlypkg(kernel)			\
Recommends:	crda iw cpupower microcode		\
Recommends:	%{kname}-%{1}-latest			\
%ifarch %{ix86}						\
Conflicts:	arch(x86_64)				\
%endif							\
Summary:	%{expand:%{summary_%(echo %{1} | sed -e "s/-/_/")}} \
Group:		System/Kernel and hardware		\
%description -n %{kname}-%{1}-%{buildrel}		\
%common_desc_kernel %{expand:%{info_%(echo %{1} | sed -e "s/-/_/")}} \
%ifnarch %{arm}						\
%common_desc_kernel_smp					\
%endif							\
							\
%if %build_devel					\
%package -n	%{kname}-%{1}-devel-%{buildrel}		\
Version:	%{fakever}				\
Release:	%{fakerel}				\
Requires:	glibc-devel ncurses-devel make gcc perl	\
Requires:	gcc >= 5.5.0-1				\
%ifarch x86_64						\
Requires:	pkgconfig(libelf)			\
%endif							\
Summary:	The kernel-devel files for %{kname}-%{1}-%{buildrel} \
Group:		Development/Kernel			\
Provides:	%{kname}-devel = %{kverrel} 		\
Provides:	%{kname}-%{1}-devel			\
Recommends:	%{kname}-%{1}-devel-latest		\
%ifarch %{ix86}						\
Conflicts:	arch(x86_64)				\
%endif							\
%description -n %{kname}-%{1}-devel-%{buildrel}		\
This package contains the kernel files (headers and build tools) \
that should be enough to build additional drivers for   \
use with %{kname}-%{1}-%{buildrel}.                     \
							\
If you want to build your own kernel, you need to install the full \
%{kname}-source-%{buildrel} rpm.			\
							\
%endif							\
							\
%if %build_debug					\
%package -n	%{kname}-%{1}-%{buildrel}-debuginfo	\
Version:	%{fakever}				\
Release:	%{fakerel}				\
Summary:	Files with debuginfo for %{kname}-%{1}-%{buildrel} \
Group:		Development/Debug			\
Provides:	kernel-debug = %{kverrel} 		\
%ifarch %{ix86}						\
Conflicts:	arch(x86_64)				\
%endif							\
%description -n %{kname}-%{1}-%{buildrel}-debuginfo	\
This package contains the files with debuginfo to aid in debug tasks \
when using %{kname}-%{1}-%{buildrel}.			\
							\
If you need to look at debug information or use some application that \
needs debugging info from the kernel, this package may help. \
							\
%endif							\
							\
%package -n %{kname}-%{1}-latest			\
Version:	%{kversion}				\
Release:	%{rpmrel}				\
Summary:	Virtual rpm for latest %{kname}-%{1}	\
Group:		System/Kernel and hardware		\
Requires:	%{kname}-%{1}-%{buildrel}		\
%ifarch %{ix86}						\
Conflicts:	arch(x86_64)				\
%endif							\
%description -n %{kname}-%{1}-latest			\
This package is a virtual rpm that aims to make sure you always have the \
latest %{kname}-%{1} installed...			\
							\
%if %build_devel					\
%package -n %{kname}-%{1}-devel-latest			\
Version:	%{kversion}				\
Release:	%{rpmrel}				\
Summary:	Virtual rpm for latest %{kname}-%{1}-devel \
Group:		Development/Kernel			\
Requires:	%{kname}-%{1}-devel-%{buildrel}		\
%ifarch %{ix86}						\
Conflicts:	arch(x86_64)				\
%endif							\
Provides:	%{kname}-devel-latest			\
%description -n %{kname}-%{1}-devel-latest		\
This package is a virtual rpm that aims to make sure you always have the \
latest %{kname}-%{1}-devel installed...			\
							\
%endif							\
							\
%posttrans -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-posttrans \
%preun -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-preun \
%postun -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-postun \
							\
%if %build_devel					\
%post -n %{kname}-%{1}-devel-%{buildrel} -f kernel_devel_files.%{1}-post \
%preun -n %{kname}-%{1}-devel-%{buildrel} -f kernel_devel_files.%{1}-preun \
%postun -n %{kname}-%{1}-devel-%{buildrel} -f kernel_devel_files.%{1}-postun \
%endif							\
							\
%files -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1} \
%files -n %{kname}-%{1}-latest				\
							\
%if %build_devel					\
%files -n %{kname}-%{1}-devel-%{buildrel} -f kernel_devel_files.%{1} \
%files -n %{kname}-%{1}-devel-latest			\
%endif							\
							\
%if %build_debug					\
%files -n %{kname}-%{1}-%{buildrel}-debuginfo -f kernel_debug_files.%{1} \
%endif

%ifarch %{ix86}
#
# kernel-desktop586: i586, smp-alternatives, 4GB
#
%if %build_desktop586
%define summary_desktop586 Linux kernel for desktop use with i586 and less than 4GB RAM
%define info_desktop586 This kernel is compiled for desktop use, single or \
multiple i586 processor(s)/core(s) and less than 4GB RAM (usually 3-3.5GB \
detected, if you need/want to use all 4GB or more, install kernel-server), \
using HZ_1000, voluntary preempt, CFS cpu scheduler and cfq i/o scheduler.
%mkflavour desktop586
%endif
%endif

#
# kernel-desktop: i686, smp-alternatives, 4 GB / x86_64
#
%if %build_desktop
%ifarch %{ix86}
%define summary_desktop Linux Kernel for desktop use with i686 and less than 4GB RAM
%define info_desktop This kernel is compiled for desktop use, single or \
multiple i686 processor(s)/core(s) and less than 4GB RAM (usually 3-3.5GB \
detected, if you need/want to use all 4GB or more, install kernel-server), \
using HZ_1000, voluntary preempt, CFS cpu scheduler and cfq i/o scheduler.
%else
%define summary_desktop Linux Kernel for desktop use with %{_arch}
%define info_desktop This kernel is compiled for desktop use, single or \
multiple %{_arch} processor(s)/core(s), using HZ_1000, voluntary preempt, \
CFS cpu scheduler and cfq i/o scheduler.
%endif
%mkflavour desktop
%endif

#
# kernel-server: i686, smp-alternatives, 64 GB / x86_64
#
%if %build_server
%ifarch %{ix86}
%define summary_server Linux Kernel for server use with i686 & 64GB RAM
%define info_server This kernel is compiled for server use, single or \
multiple i686 processor(s)/core(s) and up to 64GB RAM using PAE, using \
no preempt, HZ_100, CFS cpu scheduler and cfq i/o scheduler.
%else
%define summary_server Linux Kernel for server use with %{_arch}
%define info_server This kernel is compiled for server use, single or \
multiple %{_arch} processor(s)/core(s), using no preempt, HZ_100, \
CFS cpu scheduler and cfq i/o scheduler.
%endif
%mkflavour server
%endif

#
# ARM kernels
#
%ifarch armv5tl
#
# kernel-desktop-armv6v7
#
%if %build_desktop_armv6v7
%define summary_desktop_armv6v7 Linux kernel for desktop use with ARMv6 or ARMv7
%define info_desktop_armv6v7 This kernel is compiled for desktop use, single or \
multiple ARMv6 or ARMv7 processor(s)/core(s), using HZ_1000, voluntary preempt, \
CFS cpu scheduler and cfq i/o scheduler.
%mkflavour desktop-armv6v7
%endif
%endif

#
# kernel-source
#
%if %build_source
%package -n %{kname}-source-%{buildrel}
Version: 	%{fakever}
Release: 	%{fakerel}
Requires: 	glibc-devel, ncurses-devel, make, gcc, perl, diffutils
Summary: 	The Linux source code for %{kname}-%{buildrel}
Group: 		Development/Kernel
Autoreqprov: 	no
Provides: 	kernel-source = %{kverrel}
Buildarch:	noarch

%description -n %{kname}-source-%{buildrel}
The %{kname}-source package contains the source code files for the Mageia
kernel. Theese source files are only needed if you want to build your
own custom kernel that is better tuned to your particular hardware.

If you only want the files needed to build 3rdparty (nVidia, Ati, dkms-*,...)
drivers against, install the *-devel-* rpm that is matching your kernel.

#
# kernel-source-latest: virtual rpm
#
%package -n %{kname}-source-latest
Version: 	%{kversion}
Release: 	%{rpmrel}
Summary: 	Virtual rpm for latest %{kname}-source
Group:   	Development/Kernel
Requires: 	%{kname}-source-%{buildrel}
Buildarch:	noarch

%description -n %{kname}-source-latest
This package is a virtual rpm that aims to make sure you always have the
latest %{kname}-source installed...
%endif

#
# kernel-doc: documentation for the Linux kernel
#
%if %build_doc
%package -n %{kname}-doc
Version: 	%{kversion}
Release: 	%{rpmrel}
Summary: 	Various documentation bits found in the %{kname} source
Group: 		Documentation
Buildarch:	noarch

%description -n %{kname}-doc
This package contains documentation files from the %{kname} source.
Various bits of information about the Linux kernel and the device drivers
shipped with it are documented in these files. You also might want install
this package if you need a reference to the options that can be passed to
Linux kernel modules at load time.
%endif

#
# kernel/tools
#
%if %{build_perf}
%package -n perf
Version:	%{kversion}
Release:	%{rpmrel}
Summary:	perf tool and the supporting documentation
Group:		System/Kernel and hardware

%description -n perf
the perf tool and the supporting documentation.
%endif

%if %{build_cpupower}
%package -n cpupower
Version:	%{kversion}
Release:	%{rpmrel}
Summary:	the cpupower tools
Group:		System/Kernel and hardware
Requires(post):  rpm-helper >= 0.24.8-1
Requires(preun): rpm-helper >= 0.24.8-1
Obsoletes:	cpufreq cpufrequtils

%description -n cpupower
the cpupower tools.

%post -n cpupower
%_post_service cpupower

%preun -n cpupower
%_preun_service cpupower

%package -n cpupower-devel
Version:	%{kversion}
Release:	%{rpmrel}
Summary:	devel files for cpupower
Group:		Development/Kernel
Requires:	cpupower = %{kversion}-%{rpmrel}
Conflicts:	%{_lib}cpufreq-devel

%description -n cpupower-devel
This package contains the development files for cpupower.
%endif


#
# End packages - here begins build stage
#
%prep
%setup -q -n %top_dir_name -c
%setup -q -n %top_dir_name -D -T -a100

%define patches_dir ../%{patch_ver}/

cd %src_dir

%if %sublevel
%if %kpatch
%if %prev_sublevel
%patch1 -p1
%endif
%patch2 -p1
%else
%patch1 -p1
%endif
%else
%if %kpatch
# (tmb) hack around rpm patch hiccup
xzcat %{PATCH1}| patch -p1 ||:
%endif
%endif
%if %kgit
%patch2 -p1
%endif
%if %extstable
%patch3 -p1
%endif

%{patches_dir}/scripts/apply_patches

# PATCH END


#
# Setup Begin
#

# Prepare all the variables for calling create_configs

%if %build_debug
%define debug --debug
%else
%define debug --no-debug
%endif


%{patches_dir}/scripts/create_configs %debug --user_cpu="%{_target_cpu}"

# make sure the kernel has the sublevel we know it has...
LC_ALL=C perl -p -i -e "s/^SUBLEVEL.*/SUBLEVEL = %{sublevel}/" Makefile

# get rid of unwanted files
find . -name '*~' -o -name '*.orig' -o -name '*.append' | %kxargs rm -f

# fix missing exec flag on file introduced in 4.14.10-rc1
chmod 755 tools/objtool/sync-check.sh

%build
# Common target directories
%define _kerneldir /usr/src/kernel-%{kversion}-%{buildrpmrel}
%define _bootdir /boot
%define _modulesdir /lib/modules
%define _efidir %{_bootdir}/efi/mageia

# Directories definition needed for building
%define temp_root %{build_dir}/temp-root
%define temp_source %{temp_root}%{_kerneldir}
%define temp_boot %{temp_root}%{_bootdir}
%define temp_modules %{temp_root}%{_modulesdir}

PrepareKernel() {
	name=$1
	extension=$2
	x86_dir=arch/x86/configs

	echo "Make config for kernel $extension"

	%smake -s mrproper

	if [ "%{target_arch}" == "i386" -o "%{target_arch}" == "x86_64" ]; then
	    if [ -z "$name" ]; then
		cp ${x86_dir}/%{target_arch}_defconfig-desktop .config
	    else
		cp ${x86_dir}/%{target_arch}_defconfig-$name .config
	    fi
	else
	    if [ -z "$name" ]; then
		cp arch/%{target_arch}/defconfig-desktop .config
	    else
		cp arch/%{target_arch}/defconfig-$name .config
	    fi
	fi

	# make sure EXTRAVERSION says what we want it to say
	%if %extstable
	LC_ALL=C perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = .%{extstable}-$extension/" Makefile
	%else
	LC_ALL=C perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -$extension/" Makefile
	%endif

	%smake oldconfig
}

BuildKernel() {
	KernelVer=$1

	echo "Building kernel $KernelVer"

	%kmake -s all

	# Start installing stuff
	install -d %{temp_boot}
	install -m 644 System.map %{temp_boot}/System.map-$KernelVer
	install -m 644 .config %{temp_boot}/config-$KernelVer
	xz -c Module.symvers > %{temp_boot}/symvers-$KernelVer.xz

	%ifarch %{arm}
		cp -f arch/arm/boot/zImage %{temp_boot}/vmlinuz-$KernelVer
		install -d %{temp_root}/usr/lib/linux-$KernelVer/
		for d in arch/arm/boot/dts/*.dtb; do \
			install -D -m644 $d %{temp_root}/usr/lib/linux-$KernelVer/$(basename $d); \
		done
	%else
		cp -f arch/%{target_arch}/boot/bzImage %{temp_boot}/vmlinuz-$KernelVer
	%endif

	# modules
	install -d %{temp_modules}/$KernelVer
	%smake INSTALL_MOD_PATH=%{temp_root} KERNELRELEASE=$KernelVer modules_install

	# remove /lib/firmware, we use a separate kernel-firmware
	rm -rf %{temp_root}/lib/firmware
}

SaveDevel() {
	devel_flavour=$1

	DevelRoot=/usr/src/kernel-%{kversion}-$devel_flavour-%{buildrpmrel}
	TempDevelRoot=%{temp_root}$DevelRoot

	mkdir -p $TempDevelRoot
	for i in $(find . -name 'Makefile*'); do cp -R --parents $i $TempDevelRoot;done
	for i in $(find . -name 'Kconfig*' -o -name 'Kbuild*'); do cp -R --parents $i $TempDevelRoot;done
	cp -fR include $TempDevelRoot
	cp -fR scripts $TempDevelRoot
	cp -fR kernel/bounds.c $TempDevelRoot/kernel
	cp -fR tools/include $TempDevelRoot/tools/
	%ifarch %{arm}
		cp -fR arch/%{target_arch}/tools $TempDevelRoot/arch/%{target_arch}/
	%endif
	%ifarch %{ix86} x86_64
		cp -fR arch/x86/kernel/asm-offsets.{c,s} $TempDevelRoot/arch/x86/kernel/
		cp -fR arch/x86/kernel/asm-offsets_{32,64}.c $TempDevelRoot/arch/x86/kernel/
		cp -fR arch/x86/purgatory/* $TempDevelRoot/arch/x86/purgatory/
		cp -fR arch/x86/entry/syscalls/syscall* $TempDevelRoot/arch/x86/entry/syscalls/
		cp -fR arch/x86/include $TempDevelRoot/arch/x86/
		cp -fR arch/x86/tools $TempDevelRoot/arch/x86/
	%else
		cp -fR arch/%{target_arch}/kernel/asm-offsets.{c,s} $TempDevelRoot/arch/%{target_arch}/kernel/
		for f in $(find arch/%{target_arch} -name include); do cp -fR --parents $f $TempDevelRoot; done
	%endif
	cp -fR .config Module.symvers $TempDevelRoot
	cp -fR 3rdparty/mkbuild.pl $TempDevelRoot/3rdparty

	# Needed for truecrypt build (Danny)
	cp -fR drivers/md/dm.h $TempDevelRoot/drivers/md/

	# needed by include/generated/timeconst.h
	cp -fR kernel/time/timeconst.bc $TempDevelRoot/kernel/time/

	# Needed for lirc_gpio (#39004)
	cp -fR drivers/media/pci/bt8xx/bttv{,p}.h $TempDevelRoot/drivers/media/pci/bt8xx/
	cp -fR drivers/media/pci/bt8xx/bt848.h $TempDevelRoot/drivers/media/pci/bt8xx/
	cp -fR drivers/media/common/btcx-risc.h $TempDevelRoot/drivers/media/common/

	# Needed for external dvb tree (#41418)
	cp -fR drivers/media/dvb-core/*.h $TempDevelRoot/drivers/media/dvb-core/
	cp -fR drivers/media/dvb-frontends/lgdt330x.h $TempDevelRoot/drivers/media/dvb-frontends/

	# add acpica header files, needed for fglrx build
	cp -fR drivers/acpi/acpica/*.h $TempDevelRoot/drivers/acpi/acpica/

	# aufs2 has a special file needed
	cp -fR fs/aufs/magic.mk $TempDevelRoot/fs/aufs/

	%ifarch x86_64
	# orc unwinder needs theese
		cp -fR tools/build/Build{,.include} $TempDevelRoot/tools/build
		cp -fR tools/build/fixdep.c $TempDevelRoot/tools/build
		cp -fR tools/lib/{str_error_r.c,string.c} $TempDevelRoot/tools/lib
		cp -fR tools/lib/subcmd/* $TempDevelRoot/tools/lib/subcmd
		cp -fR tools/objtool/* $TempDevelRoot/tools/objtool
		cp -fR tools/scripts/utilities.mak $TempDevelRoot/tools/scripts
	%endif

	for i in alpha arc avr32 blackfin c6x cris frv h8300 hexagon ia64 m32r m68k m68knommu metag microblaze \
		 mips mn10300 nios2 openrisc parisc powerpc s390 score sh sparc tile unicore32 xtensa; do
		rm -rf $TempDevelRoot/arch/$i
		rm -rf $TempDevelRoot/scripts/dtc/include-prefixes/$i
		rm -rf $TempDevelRoot/tools/arch/$i
	done

	%ifnarch %{arm}
		rm -rf $TempDevelRoot/arch/arm*
		rm -rf $TempDevelRoot/include/kvm/arm*
		rm -rf $TempDevelRoot/include/soc
		rm -rf $TempDevelRoot/scripts/dtc/include-prefixes/arm*
		rm -rf $TempDevelRoot/tools/arch/arm*
	%endif
	%ifnarch %{ix86} x86_64
		rm -rf $TempDevelRoot/arch/x86
		rm -rf $TempDevelRoot/tools/arch/x86
		# arch/x86/ras/Kconfig is included by drivers/ras/Kconfig
		# and kconfig's source command seems to be evaluated even under a false conditional
		mkdir -p $TempDevelRoot/arch/x86/ras
		cp -fR arch/x86/ras/Kconfig $TempDevelRoot/arch/x86/ras
	%endif

	# Clean the scripts tree, and make sure everything is ok (sanity check)
	# running prepare+scripts (tree was already "prepared" in build)
	pushd $TempDevelRoot >/dev/null
		%smake -s prepare scripts
		%smake -s clean
	popd >/dev/null
	rm -f $TempDevelRoot/.config.old

	# fix permissions
	chmod -R a+rX $TempDevelRoot

	# disable mrproper in -devel rpms
	patch -p1 --fuzz=0 -d $TempDevelRoot -i %{SOURCE2}

	kernel_devel_files=../kernel_devel_files.$devel_flavour


### Create the kernel_devel_files.*
cat > $kernel_devel_files <<EOF
%dir $DevelRoot
%dir $DevelRoot/arch
%dir $DevelRoot/include
$DevelRoot/3rdparty
$DevelRoot/Documentation
%ifarch %{arm}
$DevelRoot/arch/arm
$DevelRoot/arch/arm64
%endif
$DevelRoot/arch/um
%ifarch %{ix86} x86_64
$DevelRoot/arch/x86
%else
$DevelRoot/arch/x86/ras
%endif
$DevelRoot/block
$DevelRoot/certs
$DevelRoot/crypto
$DevelRoot/drivers
$DevelRoot/firmware
$DevelRoot/fs
$DevelRoot/include/acpi
$DevelRoot/include/asm-generic
$DevelRoot/include/clocksource
$DevelRoot/include/config
$DevelRoot/include/crypto
$DevelRoot/include/drm
$DevelRoot/include/dt-bindings
$DevelRoot/include/generated
$DevelRoot/include/keys
$DevelRoot/include/kvm
$DevelRoot/include/linux
$DevelRoot/include/math-emu
$DevelRoot/include/media
$DevelRoot/include/memory
$DevelRoot/include/misc
$DevelRoot/include/net
$DevelRoot/include/pcmcia
$DevelRoot/include/ras
$DevelRoot/include/rdma
$DevelRoot/include/scsi
%ifarch %{arm}
$DevelRoot/include/soc
%endif
$DevelRoot/include/sound
$DevelRoot/include/target
$DevelRoot/include/trace
$DevelRoot/include/uapi
$DevelRoot/include/video
$DevelRoot/include/xen
$DevelRoot/init
$DevelRoot/ipc
$DevelRoot/kernel
$DevelRoot/lib
$DevelRoot/mm
$DevelRoot/net
$DevelRoot/samples
$DevelRoot/scripts
$DevelRoot/security
$DevelRoot/sound
$DevelRoot/tools
$DevelRoot/usr
$DevelRoot/virt
$DevelRoot/.config
$DevelRoot/Kbuild
$DevelRoot/Kconfig
$DevelRoot/Makefile
$DevelRoot/Module.symvers
$DevelRoot/arch/Kconfig
%doc README.kernel-sources
EOF


### Create -devel Post script on the fly
cat > $kernel_devel_files-post <<EOF
if [ -d /lib/modules/%{kversion}-$devel_flavour-%{buildrpmrel} ]; then
	rm -f /lib/modules/%{kversion}-$devel_flavour-%{buildrpmrel}/{build,source}
	ln -sf $DevelRoot /lib/modules/%{kversion}-$devel_flavour-%{buildrpmrel}/build
	ln -sf $DevelRoot /lib/modules/%{kversion}-$devel_flavour-%{buildrpmrel}/source
fi
EOF


### Create -devel Preun script on the fly
cat > $kernel_devel_files-preun <<EOF
if [ -L /lib/modules/%{kversion}-$devel_flavour-%{buildrpmrel}/build ]; then
	rm -f /lib/modules/%{kversion}-$devel_flavour-%{buildrpmrel}/build
fi
if [ -L /lib/modules/%{kversion}-$devel_flavour-%{buildrpmrel}/source ]; then
	rm -f /lib/modules/%{kversion}-$devel_flavour-%{buildrpmrel}/source
fi
exit 0
EOF

### Create -devel Postun script on the fly
cat > $kernel_devel_files-postun <<EOF
rm -rf /usr/src/kernel-%{kversion}-$devel_flavour-%{buildrpmrel} >/dev/null
EOF
}

SaveDebug() {
	debug_flavour=$1

	install -m 644 vmlinux \
	      %{temp_boot}/vmlinux-%{kversion}-$debug_flavour-%{buildrpmrel}
	kernel_debug_files=../kernel_debug_files.$debug_flavour
	echo "%{_bootdir}/vmlinux-%{kversion}-$debug_flavour-%{buildrpmrel}" \
		>> $kernel_debug_files

	find %{temp_modules}/%{kversion}-$debug_flavour-%{buildrpmrel}/kernel \
		-name "*.ko" | \
		%kxargs -I '{}' objcopy --only-keep-debug '{}' '{}'.debug
	find %{temp_modules}/%{kversion}-$debug_flavour-%{buildrpmrel}/kernel \
		-name "*.ko" | %kxargs -I '{}' \
		sh -c 'cd `dirname {}`; \
		       objcopy --add-gnu-debuglink=`basename {}`.debug \
		       --strip-debug `basename {}`'

	pushd %{temp_modules}
	find %{kversion}-$debug_flavour-%{buildrpmrel}/kernel \
		-name "*.ko.debug" > debug_module_list
	popd
	cat %{temp_modules}/debug_module_list | \
		sed 's|\(.*\)|%{_modulesdir}/\1|' >> $kernel_debug_files
	cat %{temp_modules}/debug_module_list | \
		sed 's|\(.*\)|%exclude %{_modulesdir}/\1|' \
		>> ../kernel_exclude_debug_files.$debug_flavour
	rm -f %{temp_modules}/debug_module_list
}

CreateFiles() {
	kernel_flavour=$1

	kernel_files=../kernel_files.$kernel_flavour

ker="vmlinuz"
### Create the kernel_files.*
cat > $kernel_files <<EOF
%{_bootdir}/System.map-%{kversion}-$kernel_flavour-%{buildrpmrel}
%{_bootdir}/symvers-%{kversion}-$kernel_flavour-%{buildrpmrel}.xz
%{_bootdir}/config-%{kversion}-$kernel_flavour-%{buildrpmrel}
%{_bootdir}/$ker-%{kversion}-$kernel_flavour-%{buildrpmrel}
%dir %{_modulesdir}/%{kversion}-$kernel_flavour-%{buildrpmrel}/
%{_modulesdir}/%{kversion}-$kernel_flavour-%{buildrpmrel}/kernel
%{_modulesdir}/%{kversion}-$kernel_flavour-%{buildrpmrel}/modules.*
%doc README.kernel-sources
%ifarch %arm
%dir /usr/lib/linux-%{kversion}-$kernel_flavour-%{buildrpmrel}
/usr/lib/linux-%{kversion}-$kernel_flavour-%{buildrpmrel}/*.dtb
%endif
EOF

%if %build_debug
    cat ../kernel_exclude_debug_files.$kernel_flavour >> $kernel_files
%endif

### Create kernel Posttrans script
cat > $kernel_files-posttrans <<EOF
%if %build_devel
# create kernel-devel symlinks if matching -devel- rpm is installed
if [ -d /usr/src/kernel-%{kversion}-$kernel_flavour-%{buildrpmrel} ]; then
	rm -f /lib/modules/%{kversion}-$kernel_flavour-%{buildrpmrel}/{build,source}
	ln -sf /usr/src/kernel-%{kversion}-$kernel_flavour-%{buildrpmrel} /lib/modules/%{kversion}-$kernel_flavour-%{buildrpmrel}/build
	ln -sf /usr/src/kernel-%{kversion}-$kernel_flavour-%{buildrpmrel} /lib/modules/%{kversion}-$kernel_flavour-%{buildrpmrel}/source
fi
%endif
if [ -z "$DURING_INSTALL" ] ; then
    if [ -x /usr/sbin/dkms_autoinstaller -a -d /usr/src/kernel-%{kversion}-$kernel_flavour-%{buildrpmrel} ]; then
	/usr/sbin/dkms_autoinstaller start %{kversion}-$kernel_flavour-%{buildrpmrel}
    fi
fi
/sbin/installkernel %{kversion}-$kernel_flavour-%{buildrpmrel}
pushd /boot > /dev/null
if [ -e initrd-%{kversion}-$kernel_flavour-%{buildrpmrel}.img ]; then
	if [ -L vmlinuz-$kernel_flavour ]; then
		rm -f vmlinuz-$kernel_flavour
	fi
	ln -sf vmlinuz-%{kversion}-$kernel_flavour-%{buildrpmrel} vmlinuz-$kernel_flavour
	ln -sf vmlinuz-%{kversion}-$kernel_flavour-%{buildrpmrel} vmlinuz
	if [ -L initrd-$kernel_flavour.img ]; then
		rm -f initrd-$kernel_flavour.img
	fi
	ln -sf initrd-%{kversion}-$kernel_flavour-%{buildrpmrel}.img initrd-$kernel_flavour.img
	ln -sf initrd-%{kversion}-$kernel_flavour-%{buildrpmrel}.img initrd.img
fi
popd > /dev/null
EOF

### Create kernel Preun script on the fly
cat > $kernel_files-preun <<EOF
/sbin/installkernel -R %{kversion}-$kernel_flavour-%{buildrpmrel}
pushd /boot > /dev/null
if [ -L vmlinuz-$kernel_flavour ]; then
	if [ "$(readlink vmlinuz-$kernel_flavour)" = "vmlinuz-%{kversion}-$kernel_flavour-%{buildrpmrel}" ]; then
		rm -f vmlinuz-$kernel_flavour
	fi
fi
if [ -L initrd-$kernel_flavour.img ]; then
	if [ "$(readlink initrd-$kernel_flavour.img)" = "initrd-%{kversion}-$kernel_flavour-%{buildrpmrel}.img" ]; then
		rm -f initrd-$kernel_flavour.img
	fi
fi
popd > /dev/null
%if %build_devel
if [ -L /lib/modules/%{kversion}-$kernel_flavour-%{buildrpmrel}/build ]; then
	rm -f /lib/modules/%{kversion}-$kernel_flavour-%{buildrpmrel}/build
fi
if [ -L /lib/modules/%{kversion}-$kernel_flavour-%{buildrpmrel}/source ]; then
	rm -f /lib/modules/%{kversion}-$kernel_flavour-%{buildrpmrel}/source
fi
%endif
exit 0
EOF


### Create kernel Postun script on the fly
cat > $kernel_files-postun <<EOF
/sbin/kernel_remove_initrd %{kversion}-$kernel_flavour-%{buildrpmrel}
rm -rf /lib/modules/%{kversion}-$kernel_flavour-%{buildrpmrel} >/dev/null
if [ -d /var/lib/dkms ]; then
    rm -f /var/lib/dkms/*/kernel-%{kversion}-$devel_flavour-%{buildrpmrel}-%{_target_cpu} >/dev/null
    rm -rf /var/lib/dkms/*/*/%{kversion}-$devel_flavour-%{buildrpmrel} >/dev/null
    rm -f /var/lib/dkms-binary/*/kernel-%{kversion}-$devel_flavour-%{buildrpmrel}-%{_target_cpu} >/dev/null
    rm -rf /var/lib/dkms-binary/*/*/%{kversion}-$devel_flavour-%{buildrpmrel} >/dev/null
fi
EOF
}


CreateKernel() {
	flavour=$1

	PrepareKernel $flavour $flavour-%{buildrpmrel}

	BuildKernel %{kversion}-$flavour-%{buildrpmrel}
	%if %build_devel
		SaveDevel $flavour
	%endif
	%if %build_debug
		SaveDebug $flavour
	%endif
	CreateFiles $flavour
}


###
# DO it...
###


# Create a simulacro of buildroot
rm -rf %{temp_root}
install -d %{temp_root}


# make sure we are in the directory
cd %src_dir

%ifarch %{ix86}
%if %build_desktop586
CreateKernel desktop586
%endif
%endif

%if %build_desktop
CreateKernel desktop
%endif

%if %build_server
CreateKernel server
%endif

%ifarch armv5tl
%if %build_desktop_armv6v7
CreateKernel desktop-armv6v7
%endif
%endif

# set extraversion to match srpm to get nice version reported by the tools
%if %extstable
LC_ALL=C perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = .%{extstable}-%{rpmrel}/" Makefile
%else
LC_ALL=C perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -%{rpmrel}/" Makefile
%endif
# build perf
%if %{build_perf}
# perf
%smake -s -C tools/perf NO_PERF_READ_VDSO32=1 NO_PERF_READ_VDSOX32=1 WERROR=0 NO_LIBUNWIND=1 \
	HAVE_CPLUS_DEMANGLE=1 NO_GTK2=1 NO_STRLCPY=1 NO_BIONIC=1 NO_JVMTI=1 prefix=%{_prefix} all
%smake -C tools/perf -s prefix=%{_prefix} man
%endif

%if %{build_cpupower}
# cpupower
# make sure version-gen.sh is executable.
chmod +x tools/power/cpupower/utils/version-gen.sh
%make_build -C tools/power/cpupower CPUFREQ_BENCH=false
%endif

# We don't make to repeat the depend code at the install phase
%if %build_source
PrepareKernel "" %{buildrpmrel}custom
%smake -s mrproper
%endif


###
### install
###
%install
install -m 644 %{SOURCE4}  .

cd %src_dir

# Directories definition needed for installing
%define target_source %{buildroot}%{_kerneldir}
%define target_boot %{buildroot}%{_bootdir}
%define target_modules %{buildroot}%{_modulesdir}

# We want to be able to test several times the install part
rm -rf %{buildroot}
cp -a %{temp_root} %{buildroot}

# Create directories infastructure
%if %build_source
install -d %{target_source}

tar cf - . | tar xf - -C %{target_source}
chmod -R a+rX %{target_source}

# we remove all the source files that we don't ship
# first architecture files
for i in alpha arc avr32 blackfin c6x cris frv h8300 hexagon ia64 m32r m68k m68knommu metag microblaze \
	 mips nios2 openrisc parisc powerpc s390 score sh sh64 sparc tile unicore32 v850 xtensa mn10300; do
	rm -rf %{target_source}/arch/$i
	rm -rf %{target_source}/scripts/dtc/include-prefixes/$i
	rm -rf %{target_source}/tools/arch/$i
	rm -rf %{target_source}/tools/testing/selftests/$i
done
%ifnarch %{arm}
	rm -rf %{target_source}/include/kvm/arm*
	rm -rf %{target_source}/scripts/dtc/include-prefixes/arm*
	rm -rf %{target_source}/tools/arch/arm*
%endif

# other misc files
rm -f %{target_source}/{.config.old,.config.cmd,.lst,.mailmap,.get_maintainer.ignore}
rm -f %{target_source}/{.missing-syscalls.d,.cocciconfig,.gitattributes}
rm -rf %{target_source}/.tmp_depmod/

# more cleaning
pushd %{target_source}
# lots of gitignore files
find -iname ".gitignore" -delete
# clean tools tree
%smake -C tools clean
%smake -C tools/build clean
%smake -C tools/build/feature clean
popd

#endif %build_source
%endif

# compressing modules
%if %{build_modxz}
find %{target_modules} -name "*.ko" | %kxargs xz -6e
%else
find %{target_modules} -name "*.ko" | %kxargs gzip -9
%endif

# We used to have a copy of PrepareKernel here
# Now, we make sure that the thing in the linux dir is what we want it to be
for i in %{target_modules}/*; do
	rm -f $i/build $i/source
done

# sniff, if we compressed all the modules, we change the stamp :(
# we really need the depmod -ae here
pushd %{target_modules}
for i in *; do
	/sbin/depmod -ae -b %{buildroot} -F %{target_boot}/System.map-$i $i
	echo $?
done

for i in *; do
	pushd $i
	echo "Creating modules.description for $i"
	modules=`find . -name "*.ko.[g,x]z"`
	echo $modules | %kxargs /sbin/modinfo \
	| perl -lne 'print "$name\t$1" if $name && /^description:\s*(.*)/; $name = $1 if m!^filename:\s*(.*)\.k?o!; $name =~ s!.*/!!' > modules.description
	popd
done
popd

# need to set extraversion to match srpm again to avoid rebuild
%if %extstable
LC_ALL=C perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = .%{extstable}-%{rpmrel}/" Makefile
%else
LC_ALL=C perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -%{rpmrel}/" Makefile
%endif
%if %{build_perf}
# perf tool binary and supporting scripts/binaries
%smake -s -C tools/perf V=1 DESTDIR=%{buildroot} NO_PERF_READ_VDSO32=1 NO_PERF_READ_VDSOX32=1 WERROR=0 NO_LIBUNWIND=1 \
	HAVE_CPLUS_DEMANGLE=1 NO_GTK2=1 NO_STRLCPY=1 NO_BIONIC=1 NO_JVMTI=1 prefix=%{_prefix} install

# perf man pages (note: implicit rpm magic compresses them later)
make -C tools/perf V=1 DESTDIR=%{buildroot} prefix=%{_prefix} install-man
%endif

%if %{build_cpupower}
make -C tools/power/cpupower DESTDIR=%{buildroot} libdir=%{_libdir} mandir=%{_mandir} CPUFREQ_BENCH=false install
rm -f %{buildroot}%{_libdir}/*.{a,la}
%find_lang cpupower
mv cpupower.lang ../
chmod 0755 %{buildroot}%{_libdir}/libcpupower.so*
mkdir -p %{buildroot}%{_unitdir} %{buildroot}%{_sysconfdir}/sysconfig
install -m644 %{SOURCE50} %{buildroot}%{_unitdir}/cpupower.service
install -m644 %{SOURCE51} %{buildroot}%{_sysconfdir}/sysconfig/cpupower
%endif

###
### clean
###
%clean
rm -rf %{buildroot}


# We don't want to remove this, the whole reason of its existence is to be
# able to do several rpm --short-circuit -bi for testing install
# phase without repeating compilation phase
#rm -rf %{temp_root}

###
### source and doc file lists
###

%if %build_source
%files -n %{kname}-source-%{buildrel}
%dir %{_kerneldir}
%dir %{_kerneldir}/arch
%dir %{_kerneldir}/include
%{_kerneldir}/3rdparty
%{_kerneldir}/Documentation
%{_kerneldir}/arch/Kconfig
%{_kerneldir}/arch/arm
%{_kerneldir}/arch/arm64
%{_kerneldir}/arch/um
%{_kerneldir}/arch/x86
%{_kerneldir}/block
%{_kerneldir}/certs
%{_kerneldir}/crypto
%{_kerneldir}/drivers
%{_kerneldir}/firmware
%{_kerneldir}/fs
%{_kerneldir}/include/acpi
%{_kerneldir}/include/asm-generic
%{_kerneldir}/include/clocksource
%{_kerneldir}/include/crypto
%{_kerneldir}/include/drm
%{_kerneldir}/include/dt-bindings
%{_kerneldir}/include/keys
%{_kerneldir}/include/kvm
%{_kerneldir}/include/linux
%{_kerneldir}/include/math-emu
%{_kerneldir}/include/media
%{_kerneldir}/include/memory
%{_kerneldir}/include/misc
%{_kerneldir}/include/net
%{_kerneldir}/include/pcmcia
%{_kerneldir}/include/ras
%{_kerneldir}/include/rdma
%{_kerneldir}/include/scsi
%{_kerneldir}/include/soc
%{_kerneldir}/include/sound
%{_kerneldir}/include/target
%{_kerneldir}/include/trace
%{_kerneldir}/include/uapi
%{_kerneldir}/include/video
%{_kerneldir}/include/xen
%{_kerneldir}/init
%{_kerneldir}/ipc
%{_kerneldir}/kernel
%{_kerneldir}/lib
%{_kerneldir}/mm
%{_kerneldir}/net
%{_kerneldir}/virt
%{_kerneldir}/samples
%{_kerneldir}/scripts
%{_kerneldir}/security
%{_kerneldir}/sound
%{_kerneldir}/tools
%{_kerneldir}/usr
%{_kerneldir}/COPYING
%{_kerneldir}/CREDITS
%{_kerneldir}/Kbuild
%{_kerneldir}/Kconfig
%{_kerneldir}/MAINTAINERS
%{_kerneldir}/Makefile
%{_kerneldir}/README
%doc README.kernel-sources

%files -n %{kname}-source-latest
%endif

%if %build_doc
%files -n %{kname}-doc
%doc linux-%{tar_ver}/Documentation/*
%endif

%if %{build_perf}
%files -n perf
%{_bindir}/perf
%{_bindir}/trace
%{_datadir}/perf-core/strace/groups/file
%{_datadir}/doc/perf-tip/tips.txt
%dir %{_libdir}/traceevent
%dir %{_libdir}/traceevent/plugins
%{_libdir}/traceevent/plugins/plugin_*
%dir %{_prefix}/libexec/perf-core
%{_prefix}/libexec/perf-core/*
%{_mandir}/man[1-8]/perf*
%{_sysconfdir}/bash_completion.d/perf
%endif

%if %{build_cpupower}
%files -n cpupower -f cpupower.lang
%{_bindir}/cpupower
%{_libdir}/libcpupower.so.0
%{_libdir}/libcpupower.so.0.0.1
%{_unitdir}/cpupower.service
%{_mandir}/man[1-8]/cpupower*
%config(noreplace) %{_sysconfdir}/sysconfig/cpupower

%files -n cpupower-devel
%{_libdir}/libcpupower.so
%{_includedir}/cpuidle.h
%{_includedir}/cpufreq.h
%endif


%changelog
* Thu Mar 14 2019 tmb <tmb> 4.14.106-1.mga6
+ Revision: 1376712
- update WireGuard to 0.0.20190227
- x86, retpolines: Raise limit for generating indirect calls from switch case
- update to 4.14.106
  * drop merged patches
- Revert "loop: Fix double mutex_unlock(&loop_ctl_mutex)
  in loop_control_ioctl()"
- Revert "loop: Fold __loop_release into loop_release"
- Revert "loop: Get rid of loop_index_mutex"
- update to 4.14.104
- net: validate untrusted gso packets without csum offload
- net: avoid false positives in untrusted gso validation
- add current -stable queue
- net: revert "bridge: do not add port to router list when receives query with
  source 0.0.0.0"
- ARM: 8834/1: Fix: kprobes: optimized kprobes illegal instruction
- update to 4.14.103
- update ndiswrapper to 1.62
- Revert 'exec: load_script: don't blindly truncate shebang string'
- update to 4.14.100
- update WireGuard to 0.0.20190123
- update to 4.14.98
- add current -stable networking fixes
- update to 4.14.95
- update WireGuard to 0.0.20181218
- update to 4.14.90
- mm, memcg: fix reclaim deadlock with writeback
- userfaultfd: check VM_MAYWRITE was set after verifying the uffd is registered
- update to 4.14.89
  * drop merged patches
- ALSA: usb-audio: Fix UAF decrement if card has no live interfaces
  in card.c (CVE-2018-19824)
- update WireGuard to 0.0.20181119
- add current -stable queue
- update to 4.14.86
  * disable PTI patchset for 32bit, its now broken
- disable virtualbox microcode load hang fix for now, as it breaks
  suspend/resume on real hw
- update WireGuard to 0.0.20181018
- update to 4.14.78
- update WireGuard to 0.0.20181007
- update to 4.14.76
- update to 4.14.74
  * drop merged patches
- add current -stable queue
- dont try to load cpu microcode on virtualbox (mga#21553)
- update to 4.14.73
  * drop merged patches
- add current -stable -net fixes from DaveM
- sched/fair: Fix vruntime_normalized() for remote non-migration wakeup
- Revert "uapi/linux/keyctl.h: don't use C++ reserved keyword as a
  struct member name"
- update to 4.14.72
  * drop merged patches
- udpate WireGuard to 0.0.20180925
- drm: fix use of freed memory in drm_mode_setcrtc
- drm/i915: Apply the GTT write flush for all !llc machines
- mm: get rid of vmacache_flush_all() entirely (CVE-2018-17182)
- net/tls: Set count of SG entries if sk_alloc_sg returns -ENOSPC
- pinctrl/amd: only handle irq if it is pending and unmasked
- handle IP fragmentation DoS (CVE-2018-5391)
- tick/nohz: Prevent bogus softirq pending warning
- update to 4.14.70
  * drop merged patches
- ipv4: tcp: send zero IPID for RST and ACK sent in SYN-RECV and TIME-WAIT state
- kvm: nVMX: Fix fault vector for VMX operation at CPL > 0
- r8169: add support for NCube 8168 network card
- update to 4.14.69
- disable all SPI_INTEL_SPI configs for potential bios corrupting bug (mga#23560)
- Silent: release 4.14.68-1
- hwmon: (k10temp) Support all Family 15h Model 6xh and Model 7xh processors
- irda: Fix memory leak caused by repeated binds of irda socket
  (CVE-2018-6554)
- irda: Only insert new objects into the global database via
  setsockopt (CVE-2018-6555)
- perf: add PMU events for Amd Family 17h (Zen)
- x86/xen: don't write ptes directly in 32-bit PV guests
- drm/i915/bdw: Increase IPS disable timeout to 100ms
- drm/i915/userptr: reject zero user_size
- autofs: fix autofs_sbi() does not check super block type
- update to 4.14.68
- update WireGuard to 0.0.20180904
- make CRYPTO_CRCT10DIF_PCLMUL builtin on x86_64 for better CRC performance on SSE4.2 capable hw
- update to 4.14.65
- update to 4.14.64
  * drop merged patches
- more -stable queue fixes
- x86/l1tf: Fix build error seen if CONFIG_KVM_INTEL is disabled
- x86: i8259: Add missing include file
- x86/mm: Disable ioremap free page handling on x86-PAE
- hwmon: add support for Threadripper2
- update WireGuard to 0.0.20180809
- update to 4.14.63
  * drop merged patches
- scsi: hpsa: fix selection of reply queue
- scsi: core: introduce force_blk_mq
- scsi: virtio_scsi: fix IO hang caused by automatic irq vector affinity
- revert fix for CVE-2018-1108 again as it is still not fixed (mga#23060)
- update to 4.14.62
- update grub2 conflicts
- iwlwifi: add more card IDs for 9000 series
- update WireGuard to 0.0.20180802
- drop revert of CVE-2018-1108 patches as it should be fixed in 4.14.60
- update to 4.14.60
  * drop merged patch
- update to 4.14.56
- enable SMARTPQI support (mga#23305)
- ahci: Add PCI ID for Cannon Lake PCH-LP AHCI
- ahci: Add Intel Ice Lake LP PCI ID
- ext4: check for allocation block validity with block group locked
- add current -stable queue
- update to 4.14.55
- update conflicts on firmwares and microcodes
- update WireGuard to 0.0.20180708
- irq/core: Fix boot crash when the irqaffinity= boot parameter is passed
  on CPUMASK_OFFSTACK=y kernels
- update to 4.14.54
- enable Mellanox5 support (mga#23263)
- vfs: Undo an overly zealous MS_RDONLY -> SB_RDONLY conversion
- tcp: do not overshoot window_clamp in tcp_rcv_space_adjust()
- btrfs: fix possible raid6 corruption
- update WireGuard to 0.0.20180613
- revert rtl8723be changes introduced in 4.14.40
- update to 4.14.50
- update to 4.14.49
- rtlwifi: fill FW version and subversion
- rtlwifi: remove duplicate definition of antenna number for btcoex
- rtlwifi: upstream try to fix rtl8723be signal strength (mga#23066)
- add current -stable -queue
- update to 4.14.48
  * drop merged patches
- Revert 'USB: OHCI: Fix NULL dereference in HCDs using HCD_LOCAL_MEM'
- Revert 'ipc/shm: Fix shmat mmap nil-page protection'
- ipc/shm: fix shmat() nil address after round-down when remapping
- brcmfmac: Fix check for ISO3166 code
- brcmfmac: reject too long PSK
- r8152: fix tx packets accounting
- KVM/VMX: Expose SSBD properly to guests
- PCI: Add function 1 DMA alias quirk for Marvell 88SE9220
- update to 4.14.44
- revert fixes for CVE-2018-1108 for now as it prevents normal
  operation on several systems (mga#23060)
- update to 4.14.43
- add current -stable queue
- update to 4.14.42
- add current -stable queue
- update WireGuard to 0.0.20180519
- update conflicts on microcode and firmware to get newest ones in initrd
- update to 4.14.40
  * drop merged patches
- add current -stable queue
- drm/nouveau/bl: fix backlight regression (mga#23015)
- update to 4.14.38
  * drop merged patches
- add current -stable queue
- hwmon: (k10temp) Add temperature offset for Ryzen 2700X
- hwmon: (k10temp) Add support for AMD Ryzen w/ Vega graphics
- ALSA: hda - Fix incorrect usage of IS_REACHABLE()
- libata: fix blacklisting of queued TRIM for Micron M500IT
- PCI: Add ACS quirk for Intel 7th & 8th Gen mobile
- PCI: Add ACS quirk for Intel 300 series
- update WireGuard to 0.0.20180420
- ext4: revert calls to new i_version API as it is not in 4.14
- update to 4.14.34
  * drop merged patches
- netfilter: ipset: Missing nfnl_lock()/nfnl_unlock() is added to ip_set_net_exit()
- PTI/x32: x86/pgtable: Don't set huge PUD/PMD on non-leaf entries
- ext4: fail ext4_iget for root directory if unallocated (CVE-2018-1092)
- ext4: add validity checks for bitmap block numbers (CVE-2018-1093)
- ext4: always initialize the crc32c checksum driver (CVE-2018-1094)
- ext4: limit xattr size to INT_MAX (CVE-2018-1095)
- ext4: don't allow r/w mounts if metadata blocks overlap the superblock
- ext4: force revalidation of directory pointer after seekdir(2)
- vhost: fix vhost_vq_access_ok() log check
- update WireGuard to 0.0.20180413
- update to 4.14.33
- provide installonlypkg(kernel) for dnf/packagekit
- revert 3rdparty/rtl8812au driver update to v5.2.20 as it broke existing hw
  support (mga#22865)
- add post Spectre fixes for microcode loading stability issues
- udpate to 4.14.32
- add more fixes from -stable queue
- fix -devel filelist
- update 3rdparty/rtl8812au to v5.2.20 (mga#22808)
- add current -stable queue
- update to 4.14.30
- add current -stable queue
- tcp: reset sk_send_head in tcp_write_queue_purge
- update rtl8812au driver
- hwmon: (k10temp) Correct model name for Ryzen 1600X
- hwmon: (k10temp) Add temperature offset for Ryzen 1900X
- hwmon: (k10temp) Only apply temperature offset if result is positive
- fix mrproper patch to apply cleanly
- update to 4.14.28
- add current -stable queue
- update PTI fro x32 patchset to revision 4
- recommend microcode for spectre fixes
- update conflicts on microcode enforce latest microcode in initrd
- update to 4.14.25
- bpf: fix mlock precharge on arraymaps
- bpf: fix memory leak in lpm_trie map_free callback function
- bpf: fix rcu lockdep warning for lpm_trie map_free callback
- bpf, x64: implement retpoline for tail call
- bpf, arm64: fix out of bounds access in tail call
- bpf: add schedule points in percpu arrays management
- bpf: allow xadd only on aligned memory
- bpf, ppc64: fix out of bounds access in tail call
- KVM: x86: fix backward migration with async_PF
- loop: Fix lost writes caused by missing flag
- ASoC: Intel: Skylake: Fix jack name format substitution
- ASoC: Intel: kbl: fix jack name
- update WireGuard to 0.0.20180304
- PTI/x86_32 series: disable 'x86/entry/32: Restore segments before int registers' as noted on LKML
- netfilter: add back stackpointer size checks (CVE-2018-1065)
- tone down warning about running 32bit on 64bit PCID capable hw
- update to PTI for x86_32 v3
- input/goodix: add support for GDIX1002 (mga#22703)
- update to 4.14.24
- update aufs
- ahci: Add PCI-id for the Highpoint Rocketraid 644L card
- ALSA: hda - Fix a wrong FIXUP for alc289 on Dell machines
- ARM: omap2: hide omap3_save_secure_ram on non-OMAP3 builds
- PCI: Add function 1 DMA alias quirk for Highpoint RocketRAID 644L
- PCI/ASPM: Deal with missing root ports in link state handling
- scsi: core: Avoid that ATA error handling can trigger a kernel hang or oops
- scsi: core: return BLK_STS_OK for DID_OK in __scsi_error_from_host_byte()
- scsi: qla2xxx: Fix NULL pointer crash due to active timer for ABTS
- update to 4.14.22
  * drop merged patches
- update WireGuard to 0.0.20180218
- update to 4.14.20
- add selected fixes from x86/pti branch
- update to 4.14.19 final
- add current -stable queue
- lock, bfq: put async queues for root bfq groups too
- block, bfq: add requeue-request hook
- platform/x86: ideapad-laptop: Increase timeout to wait for EC answer
- ACPI / EC: Restore polling during noirq suspend/resume phases
- add support for Realtek rtl8723de wifi (mga#22559)
- add PTI (meltdown mitigation) support for 32bit x86
- update to 4.14.18 final
- add current -stable queue
- update rtl8812au driver so it actually gets built again (mga#22524)
- x86/entry/64: Clear extra registers beyond syscall arguments,
  to reduce speculation attack surface
- x86/entry/64: Clear registers for exceptions/interrupts,
- x86/entry/64/compat: Clear registers for compat syscalls,
- block, bfq: release oom-queue ref to root group on exit
- bfq-iosched: don't call bfqg_and_blkg_put for 1CONFIG_BFQ_GROUP_IOSCHED
- block, bfq: fix occurrences of request finish method's old name
- block, bfq: limit tags for writes and async I/O
- block, bfq: limit sectors served with interactive weight raising
- silence 'xt_addrtype: ipv6 does not support BROADCAST matching' messages
  to avoid unnecessary bugreports
- update to 4.14.18-rc1
  * drop merged patches
- update WireGuard to 0.0.20180202
- enforce retpoline-aware gcc
- update to 4.14.16 final
- loop: fix concurrent lo_open/lo_release
- dccp: CVE-2017-8824: use-after-free in DCCP code
- futex: Fix OWNER_DEAD fixup
- KVM: x86: Fix CPUID function for word 6 (80000001_ECX)
- add 4.14.16-rc1
- add current -stable queue
- update to 4.14.15 final
- mm, page_vma_mapped: Introduce pfn_in_hpage()
- net/gso: validate gso_type in GSO handlers
- net: qdisc_pkt_len_init() should be more robust
- net/tls: Correct length of scatterlist in tls_sw_sendpage
- update to 4.14.15-rc
- add more fixes from -stable queue
- add current -stable queue
- update WireGuard to 0.0.20180118
- update to 4.14.14
  * drop merged patches
- drm/i915: Avoid PPS HW/SW state mismatch due to rounding
- x86/kasan: Panic if there is not enough memory to boot
- x86/retpoline: Fill RSB on context switch for affected CPUs
- x86/retpoline: Add LFENCE to the retpoline/RSB filling RSB macros
- update to 4.14.13
  * drop merged patches
- platform/x86: wmi: Call acpi_wmi_init() later
- kvm: vmx: Scrub hardware GPRs at VM-exit
  (partial mitigation for CVE 2017-5715 and CVE 2017-5753)
- enable CGROUP_BPF
- update conflict on microcode
- require fixed dracut
- update to 4.14.12
- add current -stable queue
- add BFQ performance updates from upstream
- enable PAGE_TABLE_ISOLATION on all x86_64 kernels
 (can be disabled at boot time with pti=off on kernel command line)
- iwlwifi: pcie: fix DMA memory mapping / unmapping
- update conflicts on microcode
- update to 4.14.10
- update conflicts on nvidia-current
- ALSA: hda - Fix missing COEF init for ALC225/295/299
- cpufreq: schedutil: Use idle_calls counter of the remote CPU
- tracing: Remove extra zeroing out of the ring buffer page
- tracing: Fix possible double free on failure of allocating trace buffer
- tracing: Fix crash when it fails to alloc ring buffer
- update to 4.14.9 final
- replace e1000e link detection fix patch with final one merged upstream
- KVM: Fix stack-out-of-bounds read in write_mmio (CVE-2017-17741)
- update to 4.14.9-rc3
- update WireGuard to 0.0.20171221
- disable SPI_INTEL_SPI_PLATFORM as it can corrupt BIOS on atleast many Lenovo laptops
- update to 4.14.5
- x86/microcode/AMD: Add support for fam17h microcode loading
- fix e1000e link detection regression
- update to 4.14.4
  * drop merged patches
- add current -stable queue
- iwlwifi: add new cards for 9260 and 22000 series
- iwlwifi: mvm: flush queue before deleting ROC
- iwlwifi: mvm: enable RX offloading with TKIP and WEP
- iwlwifi: mvm: mark MIC stripped MPDUs
- update to 4.14.3
  * drop merged patches
- autofs: revert "autofs: take more care to not update last_used on path walk"
- autofs: revert "autofs: fix AT_NO_AUTOMOUNT not being honored"
- exec: avoid RLIMIT_STACK races with prlimit()
- disable staging vboxvideo for now
- sync with cauldron kernel-4.14.2-1
- update to 4.9.56
- update to 4.9.55
- update to 4.9.52
- add current -stable queue
- update to 4.9.51
- update bfq to v8r12
- bfq: Add extra checks related to entity scheduling
- bfq: reset in_service_entity if it becomes idle
- bfq: consider also in_service_entity to state whether an entity is active
- bfq: improve and refactor throughput-boosting logic
- ideapad-laptop: add several ideapad laptops to no_hw_rfkill_list
- ideapad-laptop: add ideapad 320-15IKB to no_hw_rfkill_list (mga#21728)
- enable CC_STACKPROTECTOR_STRONG
- enable FANOTIFY_ACCESS_PERMISSIONS (mga#21498)
- update to 4.9.50
- update to 4.9.49
- update to 4.9.43
- update to 4.9.40
- update to 4.9.39
- add current -stable queue
- drop ThinkPad X1 Carbon fan fix as it causes regressions for other hw
- sync with cauldron kernel-4.9.38-1.mga7

* Thu Jun 29 2017 tmb <tmb> 4.9.35-1.mga6
+ Revision: 1108689
- drop WireGuard support (not production ready yet)
- netfilter: xt_TCPMSS: add more sanity tests on tcph->doff
- add current -stable queue
- update to 4.9.35
  * drop merged patches

* Mon Jun 26 2017 tmb <tmb> 4.9.34-4.mga6
+ Revision: 1108512
- add current -stable queue

* Sat Jun 24 2017 tmb <tmb> 4.9.34-3.mga6
+ Revision: 1108295
- drm/amdgpu: add another Polaris12 Device ID
- ALSA: hda - Add Geminilake id to SKL_PLUS
- ALSA: hda - Add Coffelake PCI ID
- ALSA: hda - Apply quirks to Broxton-T, too
- ALSA: hda - Fix applying MSI dual-codec mobo quirk
- update to 4.9.34 final
  * drop merged patches

* Fri Jun 23 2017 tmb <tmb> 4.9.34-2.mga6
+ Revision: 1108231
- mm: Allow stack to grow up to address space limit
- mm: fix new crash in unmapped_area_topdown()
- pinctrl/amd: Use regular interrupt instead of chained
- xhci: Limit USB2 port wake support for AMD Promontory hosts

* Tue Jun 20 2017 tmb <tmb> 4.9.34-1.mga6
+ Revision: 1107918
- dont alter symlinks in boot if initrd creation fails
- xen-blkback: don't leak stack data via response ring (XSA-216)
- update to 4.9.34 (security, bugfixes)

* Wed Jun 14 2017 tmb <tmb> 4.9.32-1.mga6
+ Revision: 1107674
- update to 4.9.32
  * drop merged patches
- revert: 'iwlwifi: fix min API version for 7265D, 3168, 8000 and 8265'
  as older api firmwares are still needed for some hw (mga#21081)

* Wed Jun 07 2017 tmb <tmb> 4.9.31-1.mga6
+ Revision: 1107253
- add support for rtl8812au (mga#21043)
- ahci: Acer SA5-271 SSD Not Detected Fix
- iwlwifi: fix min API version for 7265D, 3168, 8000 and 8265
- Alsa: hda - Apply dual-codec quirk for MSI Z270-Gaming mobo
- update to 4.9.31 final

* Tue Jun 06 2017 tmb <tmb> 4.9.30-4.mga6
+ Revision: 1107065
- revert: 'drm: Add fake controlD* symlinks for backwards compat' as it breaks on atleast i915

* Mon Jun 05 2017 tmb <tmb> 4.9.30-3.mga6
+ Revision: 1107037
- drm/nouveau: Intercept ACPI_VIDEO_NOTIFY_PROBE
- drm: Add fake controlD* symlinks for backwards compat
- update to 4.9.31-rc1

* Sat Jun 03 2017 tmb <tmb> 4.9.30-2.mga6
+ Revision: 1106373
- iommu/amd: flush IOTLB for specific domains only (v3)
- drm/i915/vbt: don't propagate errors from intel_bios_init()
- drm/i915/vbt: split out defaults that are set when there is no VBT
- add current -stable queue

* Thu May 25 2017 tmb <tmb> 4.9.30-1.mga6
+ Revision: 1104567
- release 4.9.30-1.mga6
- update to 4.9.30

* Sat May 20 2017 tmb <tmb> 4.9.29-1.mga6
+ Revision: 1103553
- update to 4.9.29
- enable I2C_DESIGNWARE_PCI on ix86 too
- enable CIFS_SMB2 (mga#20886)

* Sun May 14 2017 tmb <tmb> 4.9.28-1.mga6
+ Revision: 1101114
- update to 4.9.28
  * drop merged patches
- update bfq to v8r11

* Mon May 08 2017 shlomif <shlomif> 4.9.27-1.mga6
+ Revision: 1099670
- New kernel version 4.9.27.

* Wed May 03 2017 tmb <tmb> 4.9.26-1.mga6
+ Revision: 1098864
- alsa: add support for Gigabyte GA-AX370 Gaming 5 with dual Realtek codecs
- update to 4.9.26
  * drop merged patches

* Fri Apr 28 2017 tmb <tmb> 4.9.25-1.mga6
+ Revision: 1097938
- macsec: fix heap-based overflow (CVE-2017-7477)
- ping: implement proper locking (CVE-2017-2671)
- Revert 'mmc: sdhci-msm: Enable few quirks'
- jbd2: Fix dbench4 performance regression for 'nobarrier' mounts
- update to 4.9.25 final

* Wed Apr 26 2017 tmb <tmb> 4.9.24-2.mga6
+ Revision: 1097656
- fix local dos in af_packet (CVE-2017-7308)
- update BFQ to v8r10
- add 4.9.25-rc1
- update to 4.9.24

* Thu Apr 20 2017 shlomif <shlomif> 4.9.23-1.mga6
+ Revision: 1096900
- New version 4.9.23.
- New version 4.9.21.
+ tmb <tmb>
- add current -stable queue

* Fri Mar 31 2017 tmb <tmb> 4.9.20-1.mga6
+ Revision: 1095529
- libceph: force GFP_NOIO for socket allocations
- iwlwifi: fix MODULE_FIRMWARE for 6030
- amdgpu: add another polaris12 pci id
- update to 4.9.20 final

* Thu Mar 30 2017 tmb <tmb> 4.9.19-2.mga6
+ Revision: 1095373
- do trigger dkms build on dkms package update (now where is that brown paper bag...)
- update to 4.9.20-rc1

* Thu Mar 30 2017 tmb <tmb> 4.9.19-1.mga6
+ Revision: 1095295
- add current -stable queue
- update to 4.9.19 final
- dont trigger dkms build during classical install
- enable CONFIG_EFI_MIXED

* Tue Mar 28 2017 tmb <tmb> 4.9.18-2.mga6
+ Revision: 1095085
- PCI: Blacklist AMD Stoney GPU devices for ATS
- add 4.9.19-rc1

* Tue Mar 28 2017 tmb <tmb> 4.9.18-1.mga6
+ Revision: 1095017
- add current -stable queue
- add net -stable queue
- update to 4.9.18 final

* Fri Mar 24 2017 tmb <tmb> 4.9.17-1.mga6
+ Revision: 1094726
- add 4.9.18-rc1
- update to 4.9.17 final

* Mon Mar 20 2017 tmb <tmb> 4.9.16-2.mga6
+ Revision: 1093819
- ACPICA: Events: Fix acpi_ev_initialize_region() return value
- update to 4.9.17-rc1

* Sat Mar 18 2017 tmb <tmb> 4.9.16-1.mga6
+ Revision: 1093443
- update rtl8xxxu from upsteam 4.11-rc2 (mga#20508)
- update to 4.9.16
  * drop merged patches

* Wed Mar 15 2017 tmb <tmb> 4.9.15-1.mga6
+ Revision: 1092802
- add current -stable queue
- update to 4.9.15 final

* Mon Mar 13 2017 tmb <tmb> 4.9.14-1.mga6
+ Revision: 1092315
- update to 4.9.15-rc1
- update to 4.9.14 final

* Fri Mar 10 2017 tmb <tmb> 4.9.13-3.mga6
+ Revision: 1091548
- update to 4.9.14-rc1

* Sun Mar 05 2017 tmb <tmb> 4.9.13-2.mga6
+ Revision: 1088820
- update wireguard code
- mac80211: flush delayed work when entering suspend
- mac80211: don't reorder frames with SN smaller than SSN
- mac80211: don't handle filtered frames within a BA session
- mac80211: use driver-indicated transmitter STA only for data frames
- drm/amdgpu/pm: check for headless before calling compute_clocks
- dm raid: fix data corruption on reshape request
- ALSA: ctxfi: Fallback DMA mask to 32bit
- add Amd Polaris12 support

* Mon Feb 27 2017 tmb <tmb> 4.9.13-1.mga6
+ Revision: 1088095
- nvme: detect NVMe controller in recent MacBooks
- update to 4.9.13 final

* Fri Feb 24 2017 tmb <tmb> 4.9.12-2.mga6
+ Revision: 1087590
- alsa/hda: add support for Realtek ALC299 and ALC1220 codecs
- update to 4.9.13-rc1

* Thu Feb 23 2017 tmb <tmb> 4.9.12-1.mga6
+ Revision: 1087539
- add current -stable queue fixes
- dccp: fix freeing skb too early for IPV6_RECVPKTINFO (CVE-2017-6074)
- update to 4.9.12 final
- stop exposing mtrr_add/del as nVidia drivers now have been fixed to handle it properly
+ shlomif <shlomif>
- Updating the URLs (MGA#20334).
- ftp.kernel.org is going away.

* Tue Feb 21 2017 tmb <tmb> 4.9.11-2.mga6
+ Revision: 1087252
- update to 4.9.12-rc1

* Sat Feb 18 2017 tmb <tmb> 4.9.11-1.mga6
+ Revision: 1086695
- update to 4.9.11
  * drop merged patches

* Wed Feb 15 2017 tmb <tmb> 4.9.10-1.mga6
+ Revision: 1086342
- add current -stable queue
- update to 4.9.10
  * drop merged patches

* Sat Feb 11 2017 tmb <tmb> 4.9.9-2.mga6
+ Revision: 1085728
- ALSA: hda - adding a new NV HDMI/DP codec ID in the driver
- ALSA: seq: Don't handle loop timeout at snd_seq_pool_done()
- ALSA: seq: Fix race at creating a queue
- Revert "ALSA: line6: Only determine control port properties if needed"
- drm/i915: don't warn about Skylake CPU - KabyPoint PCH combo
- IB/rxe: Fix mem_check_range integer overflow (CVE-2016-8636)
- lwtunnel: valid encap attr check should return 0 when lwtunnel is disabled
- ping: fix a null pointer dereference
- arm: fix missing WIREGUARD_PARALLEL config for v6v7
- add current -stable queue

* Fri Feb 10 2017 tmb <tmb> 4.9.9-1.mga6
+ Revision: 1085647
- add WireGuard VPN support
- add current -stable queue
- update to 4.9.9 final

* Tue Feb 07 2017 tmb <tmb> 4.9.8-2.mga6
+ Revision: 1085085
- cpufreq: intel_pstate: Disable energy efficiency optimization for KBL
- update to 4.9.9-rc1

* Sat Feb 04 2017 tmb <tmb> 4.9.8-1.mga6
+ Revision: 1084751
- add current -stable queue
- update to 4.9.8 final

* Fri Feb 03 2017 tmb <tmb> 4.9.7-2.mga6
+ Revision: 1084661
- x86/efi: Always map the first physical page into the EFI pagetables
- update to 4.9.8-rc1

* Thu Feb 02 2017 tmb <tmb> 4.9.7-1.mga6
+ Revision: 1084537
- rtlwifi: rtl8192ce: Fix loading of incorrect firmware
- add current -stable queue
- update to 4.9.7
  * drop merged patches

* Thu Jan 26 2017 tmb <tmb> 4.9.6-1.mga6
+ Revision: 1083482
- drm: Fix broken VT switch with video=1366x768 option
- drm/i915: Ignore bogus plane coordinates on SKL when the
  plane is not visible
- drm: Schedule the output_poll_work with 1s delay if we have
  delayed event
- fbdev: color map copying bounds checking (CVE-2016-8405)
- tile/ptrace: Preserve previous registers for short regset write
- update to 4.9.6
- Input: ALPS - fix TrackStick support for SS5 hardware

* Fri Jan 20 2017 tmb <tmb> 4.9.5-1.mga6
+ Revision: 1082545
- tpm/tpm_crb: implement tpm crb idle state
- tpm/tpm_crb: fix Intel PTT hw bug during idle state
- tpm/tpm_crb: open code the crb_init into acpi_add
- tpm/tpm_crb: implement runtime pm for tpm_crb
- brcmfmac: fix incorrect channed deduction causing performance issues
- x86/ioapic: Restore IO-APIC irq_chip retrigger callback
- ACPI: do not warn if _BQC does not exist
- update rtl8723bs wireless driver
- netfilter/psd: make defines psd specific to avoid redefines
- add current -stable queue
- update to 4.9.5 final

* Wed Jan 18 2017 tmb <tmb> 4.9.4-2.mga6
+ Revision: 1082260
- update to 4.9.5-rc1
  * drop merged patches

* Sun Jan 15 2017 tmb <tmb> 4.9.4-1.mga6
+ Revision: 1081785
- update to 4.9.4
  * drop merged patches

* Thu Jan 12 2017 tmb <tmb> 4.9.3-1.mga6
+ Revision: 1081221
- rcu: Narrow early boot window of illegal synchronous grace periods
- mm/slab.c: fix SLAB freelist randomization duplicate entries
- drm: Clean up planes in atomic commit helper failure path
- net/mlx5: Only cancel recovery work when cleaning up device
- add current stable queue
- drm/i915/skl: drop workarounds for A0 and B0 revisions
- drm/i915/skl: drop workarounds for D0 revision
- drm/i915/skl: drop workarounds for E0 revision
- drm/i915: Remove WaDisableLSQCROPERFforOCL KBL workaround
- rtlwifi: Fix enter/exit power_save
- update to 4.9.3 final

* Tue Jan 10 2017 tmb <tmb> 4.9.2-1.mga6
+ Revision: 1080850
- add 4.9.3-rc1
- update to 4.9.2 final

* Fri Jan 06 2017 tmb <tmb> 4.9.1-1.mga6
+ Revision: 1080366
- seq_file: reset iterator to first record for zero offset
- add current stable queue
- update to 4.9.1 final
- virtio_blk: avoid DMA to stack for the sense buffer

* Wed Jan 04 2017 tmb <tmb> 4.9.0-4.mga6
+ Revision: 1080125
- update conflicts on btrfs-progs
- update to 4.9.1-rc1
- disable MODVERSIONS, its broken
- update conflicts on firmware packages
- update conflicts on nvidia3xx dkms packages

* Sun Jan 01 2017 tmb <tmb> 4.9.0-3.mga6
+ Revision: 1078979
- ath10k: fix soft lockup during firmware crash/hw-restart
- dm raid: fix discard support regression
- drm/i915: Fix cdclk vs. dev_cdclk mess when not recomputing things
- drm/i915: Initialize dev_priv->atomic_cdclk_freq at init time

* Sun Jan 01 2017 tmb <tmb> 4.9.0-2.mga6
+ Revision: 1078943
- drm/i915/gen9: Fix PCODE polling during CDCLK change notification
- drm/i915/gen9: Fix PCODE polling during SAGV disabling
- revert: 'drm/i915: Suppress underruns during DP link retraining'
- drm/i915: Fix setting of boost freq tunable
- tools build: Make fixdep parsing wait for last target
- perf tools: Force fixdep compilation at the start of the build
- perf tools: Move perf build related variables under non fixdep leg
- mm, memcg: fix the active list aging for lowmem requests when memcg is enabled
- drm/i915: Suppress underruns during DP link retraining
- vfs,mm: fix return value of read() at s_maxbytes
- rtlwifi: Fix enter/exit power_save
- rtlwifi: rtl_usb: Fix missing entry in USB drivers private data
- rtlwifi: Use dev_kfree_skb_irq instead of kfree_skb
- rtlwifi: Fix kernel oops introduced with commit e49656147359
- sg_write()/bsg_write() is not fit to be called under KERNEL_DS (CVE-2016-10088)

* Sat Dec 31 2016 tmb <tmb> 4.9.0-1.mga6
+ Revision: 1078793
- update BFQ to v8r6
- update dkms conflicts
- update filelists
- add missing d_exchange export for aufs
- update defconfigs
- rediff 3rdparty-merge, mach64, mrproper, powerpc tools patches
- update aufs to 4.9
- drop merged patches
- update to 4.9

* Wed Dec 21 2016 tmb <tmb> 4.8.15-1.mga6
+ Revision: 1076252
- drm/i915: disable PSR by default on HSW/BDW
- sched/fair: Fix fixed point arithmetic width for shares and effective load
- driver core: fix race between creating/querying glue dir and its cleanup
- arm64: mark reserved memblock regions explicitly in iomem
- Revert "netfilter: nat: convert nat bysrc hash to rhashtable"
- Revert "netfilter: move nat hlist_head to nf_conn"
- Btrfs: fix memory leak in reading btree blocks
- Btrfs: bail out if block group has different mixed flag
- Btrfs: return gracefully from balance if fs tree is
- Btrfs: don't leak reloc root nodes on error
- btrfs: clean the old superblocks before freeing the
- Btrfs: fix memory leak in do_walk_down
- btrfs: fix a possible umount deadlock
- Btrfs: don't BUG() during drop snapshot
- Btrfs: fix incremental send failure caused by balance
- btrfs: make file clone aware of fatal signals
- update to 4.8.15 final
- enable AXP288_FUEL_GAUGE as module (requested by Joseph Wang)

* Wed Dec 14 2016 tmb <tmb> 4.8.14-2.mga6
+ Revision: 1075221
- drm/i915: skip the first 4k of stolen memory on everything >= gen8
- netfilter: fix performance slowdown in binary arp/ip/ip6tables
- add 4.8.15-rc1

* Sat Dec 10 2016 tmb <tmb> 4.8.14-1.mga6
+ Revision: 1074153
- update to 4.8.14
  * drop merged patches
- update conflicts on dkms-broadcom-wl

* Thu Dec 08 2016 tmb <tmb> 4.8.12-3.mga6
+ Revision: 1073390
- net: handle no dst on skb in icmp6_send (CVE-2016-9919)
- add current stable net queue

* Tue Dec 06 2016 tmb <tmb> 4.8.12-2.mga6
+ Revision: 1072863
- packet: fix race condition in packet_set_ring (CVE-2016-8655)
- netfilter: ipv6: nf_defrag: drop mangled skb on ream error (CVE-2016-9755)
- net: avoid signed overflows for SO_{SND|RCV}BUFFORCE (CVE-2016-9793)
- add current stable queue

* Sat Dec 03 2016 tmb <tmb> 4.8.12-1.mga6
+ Revision: 1071858
- cxgb4: Add PCI device ID for new adapter
- mm: workingset: fix NULL ptr in count_shadow_nodes
- add current stable queue
- update to 4.8.12
  * drop merged patches

* Thu Dec 01 2016 tmb <tmb> 4.8.11-3.mga6
+ Revision: 1071528
- drop amdgpu/radeon poverstate patches causing regression
- add mpt3sas: unblock device after controller reset

* Tue Nov 29 2016 tmb <tmb> 4.8.11-2.mga6
+ Revision: 1071016
- pull in current stable queue
- fix for HID gamepad DragonRise (mga#19853)
- enable Intel SOC audio support
- enable KEYBOARD_GPIO
- enable GPIO for rtl8723bs

* Sat Nov 26 2016 tmb <tmb> 4.8.11-1.mga6
+ Revision: 1070257
- update to 4.8.11
  * drop merged patches

* Wed Nov 23 2016 tmb <tmb> 4.8.10-3.mga6
+ Revision: 1068865
- gpio: pca953x: Fix corruption of other gpios in set_multiple
- gpio: pca953x: Move memcpy into mutex lock for set multiple
- scsi: mpt3sas: Fix secure erase premature termination
- thermal/powerclamp: add back module device table
- x86/fpu: Fix invalid FPU ptrace state after execve()
- x86/traps: Ignore high word of regs->cs in early_fixup_exception()
- flow_dissect: call init_default_flow_dissectors() earlier

* Tue Nov 22 2016 tmb <tmb> 4.8.10-2.mga6
+ Revision: 1068656
- add current -stable queue

* Mon Nov 21 2016 tmb <tmb> 4.8.10-1.mga6
+ Revision: 1068531
- add current -stable queue
- update to 4.8.10 final

* Sat Nov 19 2016 tmb <tmb> 4.8.9-1.mga6
+ Revision: 1068317
- add 4.8.10-rc1 patch
- update to 4.8.9
  * drop merged patches

* Tue Nov 15 2016 tmb <tmb> 4.8.8-1.mga6
+ Revision: 1067199
- update to 4.8.8
  * drop merged patches

* Sat Nov 12 2016 tmb <tmb> 4.8.7-1.mga6
+ Revision: 1066719
- drm/amdgpu: fix crash in acp_hw_fini
- drm/i915/dp: BDW cdclk fix for DP audio
- drm/i915/dp: Extend BDW DP audio workaround to GEN9 platforms
- PCI: Don't attempt to claim shadow copies of ROM
- really add stable queue patches
- drop merged/obsolete patches
+ ghibo <ghibo>
- Update to release 4.8.7.
- Added current -stable queue patchset.
- removed x86-smpboot-Init-apic-mapping-before-usage.patch (merged upstream)
- removed dm-raid-fix-compat_features-validation.patch (merged upstream)
- removed gpu-drm-i915-gen9-fix-DDB-partitioning-for-multi-screen-cases.patch (merged upstream)
- removed moved net-add-recursion-limit-to-GRO.patch (because is already in the stable queue patchset with name net-add-recursion-limit-to-gro.patch)

* Mon Oct 31 2016 tmb <tmb> 4.8.6-1.mga6
+ Revision: 1064296
- update to 4.8.6
  * drop merged patches
- dm raid: fix compat_features validation
- add missing info for 'drm/i915/gen9: fix DDB partitioning for multi-screen cases'
- x86/smpboot: Init apic mapping before usage
- update CVE-2016-7039 fix with last revision merged upstream
- update rtlwifi regression fix to upstream merged one
- update aufs to v4.8

* Sat Oct 29 2016 tmb <tmb> 4.8.5-2.mga6
+ Revision: 1063899
- add current -stable queue
+ ghibo <ghibo>
- Enabled CONFIG_VFIO_PCI_VGA for KVM GPU Passtrough
- Version 4.8.5.
- Enable CONFIG_IO_STRICT_DEVMEM for x86_64 and arm (suggested by Thierry Vignaud)
- Increase CONFIG_DEFAULT_MMAP_MIN_ADDR for x86_64 and arm (suggested by Thierry Vignaud)
- Added final Patchset for i915 watermark bug (https://bugs.freedesktop.org/show_bug.cgi?id=97450)
- Added patch for allowing governor settings from cpupower (https://bugzilla.kernel.org/show_bug.cgi?id=135391) (suggested by Zezinho).
- Removed kernel-sched-fair-Fix-incorrect-task-group-load_avg patch (merged upstream).

* Mon Oct 24 2016 ghibo <ghibo> 4.8.4-1.mga6
+ Revision: 1063428
- Update to release 4.8.4.
- Attempt to fix FIFO underrun problems for skylake (patches from https://bugs.freedesktop.org/show_bug.cgi?id=97450)
- Add patch to let NVMe drives enter in power state (from https://github.com/damige/linux-nvme, already used by Arch)

* Thu Oct 20 2016 tmb <tmb> 4.8.3-1.mga6
+ Revision: 1062683
- net: add recursion limit to GRO (CVE-2016-7039)
- rtlwifi: fix regression caused by 'rtlwifi: rtl818x: constify local structures'
- sched/fair: Fix incorrect task group ->load_avg
- update to 4.8.3

* Tue Oct 18 2016 ghibo <ghibo> 4.8.2-2.mga6
+ Revision: 1062100
- Added and enabled BFQ scheduler v8r4 for 4.8 series

* Sun Oct 16 2016 tmb <tmb> 4.8.2-1.mga6
+ Revision: 1061122
- Revert "include/uapi/linux/atm_zatm.h: include linux/time.h" as it breaks
  linux-atm build because of glibc vs kernel uapi mismatch
  (reported by pterjan)
- update to 4.8.2
- update conflicts on dkms-nvidia-current
- dont ship .gitignore files in kernel source
- dont ship tools source for arches we dont support
  (fixes dangling powerpc symlinks, mga#17676)
- update conflicts on dkms packaged drivers

* Fri Oct 07 2016 tmb <tmb> 4.8.1-1.mga6
+ Revision: 1059341
- update conflicts on dkms-nvidia-current
- update filelists
- update defconfigs
- rebase dm-raid-aliases and mrproper patches
- rtl8723bs: kernel 4.8 buildfix
- temporarily disable BFQ patches (no kernel 4.8 support yet)
- drop merged patches
- update to 4.8.1

* Tue Oct 04 2016 shlomif <shlomif> 4.7.6-1.mga6
+ Revision: 1058400
- New version 4.7.6.

* Mon Sep 26 2016 ghibo <ghibo> 4.7.5-1.mga6
+ Revision: 1057034
- Fix typo in SPEC file comments
+ shlomif <shlomif>
- New version 4.7.5.
+ tmb <tmb>
- drop duplicated Intel ahci ids (merged in 4.4-rc1+)
- disable FW_LOADER_USER_HELPER_FALLBACK (mga#19390)

* Sun Sep 18 2016 shlomif <shlomif> 4.7.4-2.mga6
+ Revision: 1053947
- Add the BFQ patches - thanks to joeghi .
- New version 4.7.4
+ tmb <tmb>
- enable STRICT_DEVMEM
- disable Goldfish platform support (mga#18814)

* Wed Sep 07 2016 shlomif <shlomif> 4.7.3-1.mga6
+ Revision: 1050358
- New version 4.7.3.

* Sun Aug 21 2016 shlomif <shlomif> 4.7.2-1.mga6
+ Revision: 1047629
- New ver 4.7.2 - remove some already applied patches.
- Update to kernel 4.7.1 (from 4.7.0).
- Remove some patches that were already applied in the mainline and reported
  as such. DO NOT SUBMIT until all the module kernels that have to be rebuilt are
  ready.
- kernel tested fine locally here (x86-64 / Core i3 machine).

* Sat Jul 30 2016 tmb <tmb> 4.7.0-2.mga6
+ Revision: 1044078
- bcma: add PCI ID for Foxconn's BCM43142 device
- Bluetooth: Add support of 13d3:3490 AR3012 device
- brcmfmac: restore stopping netdev queue when bus clogs up
- ext4: don't call ext4_should_journal_data() on the journal inode
- ext4: fix deadlock during page writeback
- HID: uhid: fix timeout when probe races with IO
- hp-wmi: Fix wifi cannot be hard-unblocked
- intel_th: Fix a deadlock in modprobing
- intel_th: pci: Add Kaby Lake PCH-H support
- media: usbtv: prevent access to free'd resources
- media: vb2: core: Skip planes array verification if pb is NULL
- videobuf2-v4l2: Verify planes array in buffer dequeueing
- egaraid_sas: Do not fire MR_DCMD_PD_LIST_QUERY to controllers
  which do not support it
- pinctrl: cherryview: prevent concurrent access to GPIO controllers
- Revert "cpufreq: pcc-cpufreq: update default value of
  cpuinfo_transition_latency"
- usb: dwc3: fix for the isoc transfer EP_BUSY flag
- usb: renesas_usbhs: fix NULL pointer dereference in xfer_work()
- x86/power/64: Fix hibernation return address corruption
- amdgpu: enable experimental Sea Islands: Kaveri, Bonaire, Hawaii,
  Kabini, Mullins support (mga#19037, mga#19043)

* Sun Jul 24 2016 tmb <tmb> 4.7.0-1.mga6
+ Revision: 1043532
- update to 4.7 final
  * drop merged patches

* Wed Jul 20 2016 tmb <tmb> 4.7.0-0.rc7.6.mga6
+ Revision: 1042808
- crypto: qat - make qat_asym_algs.o depend on asn1 headers
- drm/i915: Treat eDP as always connected, again
- drm/i915: add missing condition for committing planes on crtc
- drm/i915: enable / fixup KabyLake support

* Mon Jul 18 2016 tmb <tmb> 4.7.0-0.rc7.5.mga6
+ Revision: 1042473
- tcp: make challenge acks less predictable (CVE-2016-5389, CVE-2016-5969)
- default to ondemand cpufreq governor
- x86/x86_64: disable unneeded DEVFREQ
- make all cpufreq governors builtin for easy mode switching
- add more post -rc7 fixes

* Fri Jul 15 2016 tmb <tmb> 4.7.0-0.rc7.4.mga6
+ Revision: 1042152
- pull in latest post -rc7 fixes from git

* Wed Jul 13 2016 tmb <tmb> 4.7.0-0.rc7.3.mga6
+ Revision: 1041910
- more upstream fixes for core, timer, x86

* Wed Jul 13 2016 tmb <tmb> 4.7.0-0.rc7.2.mga6
+ Revision: 1041889
- add post -rc7 fixes from git

* Mon Jul 11 2016 tmb <tmb> 4.7.0-0.rc7.1.mga6
+ Revision: 1041083
- Revert "ACPICA: Namespace: Fix namespace/interpreter lock ordering"
  as it breaks boot on some systems
- update to 4.7-rc7

* Fri Jul 08 2016 tmb <tmb> 4.7.0-0.rc6.3.mga6
+ Revision: 1039881
- sync in more fixes from upstream git

* Thu Jul 07 2016 tmb <tmb> 4.7.0-0.rc6.2.mga6
+ Revision: 1039418
- iwlwifi: add new 8260 pci ids
- iwlwifi: add new 8265 pci ids
- iwlwifi: pcie: enable interrupts before releasing the NICs CPU
- iwlwifi: pcie: fix a race in firmware loading flow
- add post rc6 drm fixes from upstream
- add post rc6 fixes from upstream git

* Tue Jul 05 2016 tmb <tmb> 4.7.0-0.rc6.1.mga6
+ Revision: 1038870
- update dkms conflicts
- update firmware conflicts to get new firmware in initrd
- add ndiswrapper 4.7 buildfix
- add rtl8723bs 4.7 buildfix
- add missing export for aufs
- update filelists
- update defconfigs
- update aufs for kernel 4.7 support
- rebase Rpi2 ethernet DT patch
- drop merged patches
- update to 4.7-rc6

* Sat Jun 25 2016 tmb <tmb> 4.6.3-1.mga6
+ Revision: 1037593
- ACPICA: Namespace: Fix deadlock triggered by MLC support in dynamic
  table loading
- sd: Fix rw_max for devices that report an optimal xfer size
- drm/i915/fbc: Disable on HSW by default for now
- mm, sl[au]b: add __GFP_ATOMIC to the GFP reclaim mask
- tmpfs: don't undo fallocate past its last page
- update to 4.6.3 final

* Thu Jun 23 2016 tmb <tmb> 4.6.2-3.mga6
+ Revision: 1037239
- update to 4.6.3-rc1

* Sun Jun 19 2016 tmb <tmb> 4.6.2-2.mga6
+ Revision: 1036781
- add current -stable queue fixes

* Fri Jun 10 2016 tmb <tmb> 4.6.2-1.mga6
+ Revision: 1020978
- use SLUB allocator on server kernels too
- update to 4.6.2 final

* Tue Jun 07 2016 tmb <tmb> 4.6.1-2.mga6
+ Revision: 1020613
- update to 4.6.2-rc1

* Thu Jun 02 2016 tmb <tmb> 4.6.1-1.mga6
+ Revision: 1019789
- add missing fs/aufs/magic.mk to -devel packages
- conflict too old dkms packages that dont support kernel 4.6
- update to 4.6.1
- update and re-enable aufs support

* Mon May 30 2016 tmb <tmb> 4.6.0-2.mga6
+ Revision: 1019431
- add current -stable queue fixes

* Mon May 16 2016 tmb <tmb> 4.6.0-1.mga6
+ Revision: 1016013
- update to 4.6.0 final

* Fri May 13 2016 tmb <tmb> 4.6.0-0.rc7.4.mga6
+ Revision: 1015047
- update post -rc7 fixes from git

* Wed May 11 2016 tmb <tmb> 4.6.0-0.rc7.3.mga6
+ Revision: 1013613
- sync post rc7 fixes from git

* Tue May 10 2016 tmb <tmb> 4.6.0-0.rc7.2.mga6
+ Revision: 1012168
- add post rc7 fixes from git

* Mon May 09 2016 tmb <tmb> 4.6.0-0.rc7.1.mga6
+ Revision: 1011195
- add net fixes from DaveM
- update to 4.6-rc7

* Sat May 07 2016 tmb <tmb> 4.6.0-0.rc6.2.mga6
+ Revision: 1010184
- add post -rc6 fixes from git
+ blino <blino>
- RPi 2 support: backport patches to read MAC address from Device Tree (instead of random one)
- desktop-armv6v7: enable back FB_SIMPLE (works fine on RPi2 after u-boot commit 1382648b6bef3921086abeadadbd9fbc54619ab1)

* Tue May 03 2016 tmb <tmb> 4.6.0-0.rc6.1.mga6
+ Revision: 1009055
- update ndiswrapper to 1.60
- update to 4.6-rc6-git

* Sat Apr 30 2016 tmb <tmb> 4.6.0-0.rc5.2.mga6
+ Revision: 1008059
- add post -rc5 fixes from git
+ blino <blino>
- desktop-armv6v7: enable Broadcom 2835/2836 support (Raspberry Pi)
- desktop-armv6v7: disable FB_SIMPLE to avoid taking over serial console
- desktop-armv6v7: enable dwc2 USB host driver (for Raspberry Pi) as builtin (early rootfs mount)

* Mon Apr 25 2016 tmb <tmb> 4.6.0-0.rc5.1.mga6
+ Revision: 1006085
- rediff mrproper patch
- update to 4.6-rc5
+ blino <blino>
- desktop-armv6v7: enable mailbox driver (to be used for RPi support)
- desktop-armv6v7: make SD support builtin for early rootfs mount, to avoid initrd

* Thu Apr 21 2016 tmb <tmb> 4.6.0-0.rc4.1.mga6
+ Revision: 1003957
- update perf filelist
- add post -rc4 fixes from git
- clean up arm defconfig creation
- arm: CGROUPS is needed for all systems using systemd
- arm: make desktop config the default one
- update defconfigs
- drop merged patches
- rebase 3rdparty and shuttle-wmi driver patches
- disable aufs for now (no 4.6 support yet)
- update to 4.6-rc4
- update conflicts and requires on firmware and microcode

* Thu Mar 17 2016 tmb <tmb> 4.4.6-1.mga6
+ Revision: 992328
- disable perf silent install during build
- update to 4.4.6
  * drop merged patches
- re-enable perf build
- netfilter: x_tables: check for size overflow (CVE pending)
- netfilter: x_tables: deal with bogus nextoffset values (CVE pending)
- pipe: limit the per-user amount of pages allocated in pipes (CVE-2016-2847)

* Thu Mar 10 2016 tmb <tmb> 4.4.5-1.mga6
+ Revision: 988788
- Revert "ipmi: Start the timer and thread on internal msgs"
  (fixes hard lock on Dell R720xd)
- update to 4.4.5 final

* Wed Mar 09 2016 tmb <tmb> 4.4.4-2.mga6
+ Revision: 988501
- Revert "drm/radeon: call hpd_irq_event on resume"
  Revert "drm/radeon/pm: adjust display configuration after powerstate"
- x86/mm: Fix slow_virt_to_phys() for X86_PAE again
- update to 4.4.5-rc1

* Sat Mar 05 2016 tmb <tmb> 4.4.4-1.mga6
+ Revision: 986037
- ata: add Intel Lewisburg device IDs for SATA
- ata: ahci: don't mark HotPlugCapable Ports as external/removable
- libata: align ata_device's id on a cacheline
- libata: fix HDIO_GET_32BIT ioctl
- arm/arm64: KVM: Fix ioctl error handling
- block: Initialize max_dev_sectors to 0
- btrfs: async-thread: Fix a use-after-free error for trace
- btrfs: fix deadlock running delayed iputs at transaction commit time
- btrfs: Fix no_space in write and rm loop
- cifs: fix out-of-bounds access in lease parsing
- cifs: Fix SMB2+ interim response processing for read requests
- drivers: sh: Restore legacy clock domain on SuperH platforms
- drm/amdgpu: mask out WC from BO on unsupported arches
- fbcon: set a default value to blink interval
- Fix cifs_uniqueid_to_ino_t() function for s390
- iommu/amd: Apply workaround for ATS write permission check
- iommu/amd: Fix boot warning when device 00:00.0 is not iommu covered
- iommu/vt-d: Use BUS_NOTIFY_REMOVED_DEVICE in hotplug path
- kvm: x86: fix root cause for missed hardware breakpoints
- kvm: x86: Update tsc multiplier on change
- mips/kvm: fix ioctl error handling
- parisc: Fix ptrace syscall number and return value modification
- pci: keystone: Fix MSI code that retrieves struct pcie_port pointer
- fs/dcache: use ->d_seq to get coherency between ->d_inode and ->d_flags
- vfio: fix ioctl error handling
- update to 4.4.4 final
- update conflicts on utils, drivers, microcode and firmware for kernel 4.4 series

* Thu Mar 03 2016 tmb <tmb> 4.4.3-1.mga6
+ Revision: 984458
- update exports for aufs modular support
- update aufs4.4 and re-enable it
- update to 4.4.4-rc1
+ blino <blino>
- desktop-armv6v7: enable VFP (and thus VPFv3) and NEON
- create_configs: fix bug that rewrote previous config option instead of comments or empty lines
- desktop-armv6v7: make sure big endian is disabled
- arm: do not attempt to set CPU_V* configs that are non-visible
- desktop-armv6v7: enable SMSC network drivers (smsc911x is used by Versatile Express)
- desktop-armv6v7: enable namespaces
- desktop-armv6v7: enable Versatile Express board (for qemu): serial console, SD/MMC controller, framebuffer, keyboard are working
- desktop-armv6v7: enable SCHED_AUTOGROUP
- desktop-armv6v7: enable cgroups
- desktop-armv6v7: enable DEVTMPFS and DEVTMPFS_MOUNT for early rootfs mount, to avoid initrd

* Thu Feb 25 2016 tmb <tmb> 4.4.2-2.mga6
+ Revision: 979109
- Revert 'workqueue: make sure delayed work run in local cpu'
- update to 4.4.3-rc1
  * drop merged patches
  * temporarily disable aufs because of mm/vma changes
- uapi: update install list after nvme.h rename (reported by tv)

* Wed Feb 17 2016 tmb <tmb> 4.4.2-1.mga6
+ Revision: 964454
- update to 4.4.2
  * drop merged patches

* Sat Feb 13 2016 tmb <tmb> 4.4.1-2.mga6
+ Revision: 959766
- ALSA: hda - Implement loopback control switch for Realtek and other codecs
- base/platform: Fix platform drivers with no probe callback
- block: fix bio splitting on max sectors
- block: split bios to max possible length
- crypto: sun4i-ss - add missing statesize
- HID: usbhid: fix recursive deadlock
- NFSv4.1/pnfs: Fixup an lo->plh_block_lgets imbalance in layoutreturn
- ocfs2/dlm: clear refmap bit of recovery lock while doing local recovery cleanup
- ocfs2/dlm: ignore cleaning the migration mle that is inuse
- ocfs2: NFS hangs in __ocfs2_cluster_lock due to race with ocfs2_unblock_lock
- Revert 'xfs: clear PF_NOFREEZE for xfsaild kthread' (mga#17489)
- ahci: Intel DNV device IDs SATA
- drm: No-Op redundant calls to drm_vblank_off() (v2)
- drm: Prevent vblank counter bumps > 1 with active vblank clients. (v2)
- drm: Fix drm_vblank_pre/post_modeset regression from Linux 4.4
- drm: Fix treatment of drm_vblank_offdelay in drm_vblank_on() (v2)
- drm/nouveau/display: Enable vblank irqs after display engine is on again.
+ blino <blino>
- build multi-platform ARMv6 + ARMv7 desktop kernel on armv5tl
- IFWLOG: remove unused label
- arm: do not build dtbs explicitely, this is done by default since 3.7

* Mon Feb 01 2016 tmb <tmb> 4.4.1-1.mga6
+ Revision: 930226
- ovl: allow zero size xattr
- ovl: use a minimal buffer in ovl_copy_xattr
- ovl: move super block magic number to magic.h
- ovl: root: copy attr
- ovl: setattr: check permissions before copy-up
- ovl: check dentry positiveness in ovl_cleanup_whiteouts()
- update to 4.4.1

* Thu Jan 28 2016 tmb <tmb> 4.4.0-3.mga6
+ Revision: 928366
- update to 4.4.1-rc1
- drm/radeon: Update radeon_get_vblank_counter_kms() (fdo#93879)

* Thu Jan 21 2016 tmb <tmb> 4.4.0-2.mga6
+ Revision: 926272
- KEYS: Fix keyring ref leak in join_session_keyring() (CVE-2016-0728)
- libata: disable forced PORTS_IMPL for >= AHCI 1.3

* Mon Jan 11 2016 tmb <tmb> 4.4.0-1.mga6
+ Revision: 921476
- update to 4.4 final

* Sat Jan 09 2016 tmb <tmb> 4.4.0-0.rc8.2.mga6
+ Revision: 920748
- add post -rc8 fixes from git
- drm/etnaviv: unlock on error in etnaviv_gem_get_iova()
- drm/etnaviv: fix workaround for GC500
- add VC4 (Rpi) 3D acceleration support
- add etnaviv / vivante gpu support

* Mon Jan 04 2016 tmb <tmb> 4.4.0-0.rc8.1.mga6
+ Revision: 919390
- make psmouse modular (mga#15660)
- update to 4.4-rc8

* Wed Dec 30 2015 tmb <tmb> 4.4.0-0.rc7.3.mga6
+ Revision: 916929
- add Rpi 2 support
- net, socket, socket_wq: fix missing initialization of flags
- add post -rc7 git fixes

* Mon Dec 28 2015 tmb <tmb> 4.4.0-0.rc7.2.mga6
+ Revision: 916602
- temporarily disable perf
- update to 4.4-rc7
+ blino <blino>
- include arch/x86/ras in non-x86 devel packages, since it is needed by drivers/ras
- disable versatile config on ARM (to be re-enabled later)
- build desktop kernel on ARM and drop Kirkwood kernel
- drop ARM Kirkwood config and instead create a multiplatform ARMv5 config enabling Kirkwood (Kirkwood options not ported yet)

* Wed Dec 23 2015 tmb <tmb> 4.4.0-0.rc6.2.mga6
+ Revision: 913717
- add post -rc6 git fixes
+ blino <blino>
- create_configs: explicitely set GDB_SCRIPTS=n when debug is enabled, to avoid prompt in interactive build
- create_configs: factorize debug settings and use it on ARM

* Mon Dec 21 2015 tmb <tmb> 4.4.0-0.rc6.1.mga6
+ Revision: 913257
- update defconfigs
- update aufs to 4.4-rc
- drop merged patches
- update to 4.4-rc6

* Sat Dec 12 2015 tmb <tmb> 4.3.2-2.mga6
+ Revision: 909772
- x86 smpboot: Re-enable init_udelay=0 by default on modern CPUs
- ovl: fix permission checking for setattr
- update to 4.3.3-rc1

* Fri Dec 11 2015 tmb <tmb> 4.3.2-1.mga6
+ Revision: 909573
- add -stable net fixes from DaveM
- certs: add .gitignore to stop git nagging about x509_certificate_list
- update to 4.3.2

* Wed Dec 09 2015 tmb <tmb> 4.3.1-1.mga6
+ Revision: 909204
- update to 4.3.1
  * drop merged patches

* Sat Dec 05 2015 tmb <tmb> 4.3.0-5.mga6
+ Revision: 908279
- bump rel for broken arm buildsystem
- rebuild with gcc 5.3.0 final

* Fri Dec 04 2015 tmb <tmb> 4.3.0-3.mga6
+ Revision: 908122
- drm: Fix an unwanted master inheritance v2
- drm/i915: Fix RPS pointer passed from wait_ioctl to i915_wait_request
- iwlwifi: Add new PCI IDs for the 8260 series
- x86/setup: Fix recent boot crash on 32-bit SMP machines

* Sun Nov 29 2015 tmb <tmb> 4.3.0-2.mga6
+ Revision: 907052
- ACPI / video: Add a quirk to force acpi-video backlight on
  Dell XPS L421X
- ACPI / video: Add a quirk to force native backlight on Lenovo
  IdeaPad S405
- ahci: Add Marvell 88se91a2 device id
- ahci: add new Intel Lewisburg IDs
- Revert "x86/efi: Request desired alignment via the PE/COFF
  headers"
- Revert "x86/mm/mtrr: Remove kernel internal MTRR interfaces:
  unexport mtrr_add() and mtrr_del()" as it breaks nvidia304

* Sat Nov 21 2015 tmb <tmb> 4.3.0-1.mga6
+ Revision: 904751
- update firmware conflicts to get new firmware in initrds
- update perf filelist
- update rtl8723bs driver
- add current -stable queue
- update filelists
- update mrproper patch
- update defconfigs
- drop merged patch
- update aufs to 4.3
- update to 4.3.0
+ blino <blino>
- buildrequire numa only on x86 (to match its ExclusiveArch)

* Tue Nov 10 2015 tmb <tmb> 4.2.6-1.mga6
+ Revision: 901316
- rtlwifi: rtl8821ae: Fix lockups on boot
- KVM: x86: work around infinite loop in microcode when #AC is delivered
  (CVE-2015-5307)
- KVM: svm: unconditionally intercept #DB (CVE-2015-8104)
- netfilter: ipset: Fix extension alignment
- netfilter: ipset: Fix hash:* type expiration
- netfilter: ipset: Fix hash type expire: release empty hash bucket block
- netfilter: Fix removal of GRE expectation entries created by PPTP
- update to 4.2.6
  * drop merged patches

* Wed Oct 28 2015 tmb <tmb> 4.2.5-1.mga6
+ Revision: 895999
- silence DT warnings on non-DT 32bit installs (mga#17010)
- ath9k: declare required extra tx headroom
- mac80211: Fix hwflags debugfs file format
- mmc: core: Fix init_card in 52Mhz
- update to 4.2.5
  * drop merged patches

* Fri Oct 23 2015 tmb <tmb> 4.2.4-1.mga6
+ Revision: 894637
- revert: 'x86/efi: Fix boot crash by mapping EFI memmap entries
  bottom-up at runtime, instead of top-down' (already in 4.2.4)
- alps: Only Dell Latitude D420/430/620/630 have separate stick button bits
- btrfs: fix possible leak in btrfs_ioctl_balance()
- iwlwifi: fix firmware filename for 3160
- x86/efi: Fix boot crash by mapping EFI memmap entries bottom-up at runtime,
  instead of top-down
- x86/efi: Fix multiple GOP device support
- add current -stable queue
- update to 4.2.4
  * drop merged patches
- conflict too old x11-driver-input-vmmouse (mga#16954)

* Sat Oct 03 2015 tmb <tmb> 4.2.3-1.mga6
+ Revision: 886034
- thunderbolt: Allow loading of module on recent Apple MacBooks
  with thunderbolt 2 controller
- usb: phy: phy-generic: Fix reset behaviour on legacy boot
- xhci: change xhci 1.0 only restrictions to support xhci 1.1
- x86/efi: Fix boot crash by mapping EFI memmap entries bottom-up
  at runtime, instead of top-down
- update to 4.2.3
  * drop merged patches

* Fri Oct 02 2015 tmb <tmb> 4.2.2-2.mga6
+ Revision: 885731
- rtlwifi: rtl8821ae: Fix system lockups on boot
- Bind mount escape fixes (CVE-2015-2925)
- netfilter: conntrack: use nf_ct_tmpl_free in CT/synproxy error paths (mga#16867)
- netfilter: nfnetlink: work around wrong endianess in res_id field
- netfilter: bridge: fix IPv6 packets not being bridged with CONFIG_IPV6=n
- netfilter: nf_tables: Use 32 bit addressing register from nft_type_to_reg()
- netfilter: ipset: Out of bound access in hash:net* types fixed
- netfilter: ipset: Fixing unnamed union init
- zram: fix possible use after free in zcomp_create()
- hp-wmi: limit hotkey enable

* Wed Sep 30 2015 tmb <tmb> 4.2.2-1.mga6
+ Revision: 885401
- update dkms conflicts
- add current -stable net queue
- add 4.2 buildfixes for ndiswrapper, rtl823bs, shuttle-wmi
- update to 4.2.2
- update filelists
- update defconfigs
- update aufs to 4.2
- drop merged patches
- rebase 3rdparty-merge, mach64, psd patches

* Sun Sep 20 2015 tmb <tmb> 4.1.8-1.mga6
+ Revision: 881929
- sync with mga5
  * update to 4.1.8
    * drop merged patches
  * arm: rockchip: fix broken build
  * aufs3: mmap: Fix races in madvise_remove() and sys_msync() (CVE pending)
  * cpu/cacheinfo: Fix teardown path (mga#16527)

* Thu Sep 17 2015 tmb <tmb> 4.1.7-1.mga6
+ Revision: 880038
- sync with mga5
  * update to 4.1.7
  * drop merged / obsolete patches
  * add current -stable queue
  * Input: evdev - do not report errors from flush()
  * Revert "SCSI: Fix NULL pointer dereference in runtime PM"
  * SCSI: Fix NULL pointer dereference in RTPM of block layer

* Sat Aug 29 2015 tmb <tmb> 4.1.6-5.mga6
+ Revision: 871097
- add -stable net fixes queue from DaveM
- enable early microcode loading (mga#16657)

* Tue Aug 25 2015 tmb <tmb> 4.1.6-4.mga6
+ Revision: 869354
- SCSI: Fix NULL pointer dereference in runtime PM
- Revert "sched/x86_64: Don't save flags on context switch"
- x86/apic: Fix fallout from x2apic cleanup
- x86/idle: Restore trace_cpu_idle to mwait_idle() calls
- drm/i915: remove HBR2 from chv supported list
- drm/i915: Avoid TP3 on CHV

* Fri Aug 21 2015 tmb <tmb> 4.1.6-3.mga6
+ Revision: 867049
- Revert "ext4: remove block_device_ejected"
- Revert "libata-eh: Set 'information' field for autosense"
- Revert "libata: Implement support for sense data reporting"
- Revert "libata: Implement NCQ autosense"
- add current -stable queue

* Thu Aug 20 2015 tmb <tmb> 4.1.6-2.mga6
+ Revision: 866683
- rebuild with gcc 5.2.1

* Tue Aug 18 2015 tmb <tmb> 4.1.6-1.mga6
+ Revision: 865421
- update to 4.1.6

* Thu Aug 13 2015 tmb <tmb> 4.1.5-1.mga6
+ Revision: 864552
- clean tools tree in source rpm to keep it noarch
- update to 4.1.5

* Tue Aug 04 2015 tmb <tmb> 4.1.4-1.mga6
+ Revision: 861122
- update tools, firmware and driver requires and conflicts
- update to 4.1.4
  * drop merged patch

* Wed Jul 22 2015 tmb <tmb> 4.1.3-1.mga6
+ Revision: 856194
- update to 4.1.3
  * drop merged patches

* Fri Jul 10 2015 tmb <tmb> 4.1.2-1.mga6
+ Revision: 853190
- add current -stable queue
- update to 4.1.2
  * drop merged patches

* Tue Jul 07 2015 tmb <tmb> 4.1.1-1.mga6
+ Revision: 852299
- add current -stable queue
- update to 4.1.1

* Thu Jun 25 2015 tmb <tmb> 4.1.0-1.mga6
+ Revision: 843965
- export missing symbols for aufs
- fix ndiswrapper build with 4.0+ series kernels
- update -devel/-source filelists
- upate 3rdparty merge and mrproper patches
- update defconfigs
- update to aufs4
- drop merged / obsolete patches
- update to 4.1

* Sat Jun 13 2015 tmb <tmb> 3.19.8-3.mga5
+ Revision: 823046
- require fixed dracut, and conflict old firmware-nonfree and gfxboot-theme
- ahci: avoton port-disable reset-quirk
- ALSA: hda - Add Conexant codecs CX20721, CX20722, CX20723 and CX20724
- ALSA: hda - Fix noise on AMD radeon 290x controlle
- block: Make CFQ default to IOPS mode on SSDs
- cfq-iosched: fix the setting of IOPS mode on SSDs
- drm/plane-helper: Adapt cursor hack to transitional helpers
- drm/radeon: add new bonaire pci id
- d_walk() might skip too much
- ext4: check for zero length extent explicitly
- ext4: fix NULL pointer dereference when journal restart fails
- fs/binfmt_elf.c:load_elf_binary(): return -EINVAL on zero-length mappings
- iwlwifi: mvm: clean net-detect info if device was reset during suspend
- iwlwifi: mvm: Free fw_status after use to avoid memory leak
- iwlwifi: pcie: prevent using unmapped memory in fw monitor
- jbd2: fix r_count overflows leading to buffer overflow in journal recovery
- kvm: fix crash in kvm_vcpu_reload_apic_access_page
- libata: Blacklist queued TRIM on all Samsung 800-series
- mm, numa: really disable NUMA balancing by default on single node machine
- rt2x00: add new rt2800usb device DWA 130
- rtlwifi: rtl8192cu: Fix kernel deadlock
- sched: Handle priority boosted tasks proper in setscheduler()
- vfs: read file_handle only once in handle_to_path
- x86/fpu: Disable XSAVES* support for now
- x86/mce: Fix MCE severity messages
- xfs: xfs_attr_inactive leaves inconsistent attr fork state behind
- xfs: xfs_iozero can return positive errno
- kvm: x86: fix kvm_apic_has_events to check for NULL pointer (CVE pending)
- xen/pciback: Don't disable PCI_COMMAND on PCI device reset (CVE-2015-2150)
- ozwpan: Use unsigned ints to prevent heap overflow (CVE-2015-4001)
- ozwpan: Use proper check to prevent heap overflow (CVE-2015-4002)
- ozwpan: unchecked signed subtraction leads to DoS (CVE-2015-4002)
- ozwpan: divide-by-zero leading to panic (CVE-2015-4003)
- disable RT_GROUP_SCHED
- update to v3.19.8-ckt1
  * drop merged patches

* Fri May 22 2015 tmb <tmb> 3.19.8-2.mga5
+ Revision: 822495
- aio: fix serial draining in exit_aio()
- drm/i915: silence PCH transcoder FIFO underrun messages (mga#14869)
- gpio: sysfs: fix memory leaks and device hotplug
- mmc: card: Don't access RPMB partitions for normal read/write
- mmc: core: add missing pm event in mmc_pm_notify to fix hib restore
- mmc: sh_mmcif: Fix timeout value for command request
- mm/memory-failure: call shake_page() when error hits thp tail page
- mm: soft-offline: fix num_poisoned_pages counting on concurrent events
- pinctrl: Don't just pretend to protect pinctrl_maps, do it for real
- RDMA/CMA: Canonize IPv4 on IPV6 sockets properly
- vhost/scsi: potential memory corruption (CVE-2015-4036)
- ACPICA: Tables: Change acpi_find_root_pointer() to use acpi_physical_address
- ACPICA: Utilities: Cleanup to enforce ACPI_PHYSADDR_TO_PTR()/ACPI_PTR_TO_PHYSADDR()
- ACPICA: Utilities: Cleanup to convert physical address printing formats
- ACPICA: Utilities: Cleanup to remove useless ACPI_PRINTF/FORMAT_xxx helpers
- media: Fix regression in some more dib0700 based devices
- md/raid0: fix restore to sector variable in raid0_make_request
- drm: Zero out invalid vblank timestamp in drm_update_vblank_count
- drm/amdkfd: allow unregister process with queues
- drm/radeon: Use drm_calloc_ab for CS relocs
- drm/radeon: adjust pll when audio is not enabled
- drm/radeon: add SI DPM quirk for Sapphire R9 270 Dual-X 2G GDDR5
- drm/radeon: fix lockup when BOs aren't part of the VM on release
- drm/radeon: reset BOs address after clearing it
- drm/radeon: check new address before removing old one
- drm/radeon: disable semaphores for UVD V1 (v2)
- drm/radeon: fix userptr BO unpin bug v3
- drm/radeon: make VCE handle check more strict
- drm/radeon: make UVD handle checking more strict
- drm/radeon: more strictly validate the UVD codec
- drm/i915: Assume dual channel LVDS if pixel clock necessitates it
- drm/i915: Add missing MacBook Pro models with dual channel LVDS
- drm/i915/dp: there is no audio on port A

* Mon May 11 2015 tmb <tmb> 3.19.8-1.mga5
+ Revision: 821867
- mnt: Fail collect_mounts when applied to unmounted mounts
- update to 3.19.8
  * drop merged patches

* Mon May 11 2015 tmb <tmb> 3.19.7-2.mga5
+ Revision: 821775
- update patches to disable async_suspend for Jmicron
- SCSI: add 1024 max sectors black list flag (needed for QNAP)
- xhci: fix isoc endpoint dequeue from advancing too far on transaction error
- xhci: Solve full event ring by increasing TRBS_PER_SEGMENT to 256
- xhci: gracefully handle xhci_irq dead device
- writeback: use |1 instead of +1 to protect against div by zero
- ALSA: emu10k1: Fix card shortname string buffer overflow
- ALSA: emu10k1: Emu10k2 32 bit DMA mode
- uas: Allow uas_use_uas_driver to return usb-storage flags
- uas: Add US_FL_MAX_SECTORS_240 flag
- uas: Set max_sectors_240 quirk for ASM1053 devices
- cdc-acm: prevent infinite loop when parsing CDC headers
- usb: chipidea: otg: remove mutex unlock and lock while stop and start role
- btrfs: unlock i_mutex after attempting to delete subvolume during send
- ext4: move check under lock scope to close a race.
- mnt: Fix fs_fully_visible to verify the root directory is visible
- path_openat(): fix double fput(
- splice: sendfile() at once fails for big files
- blk-mq: fix CPU hotplug handling
- blk-mq: fix race between timeout and CPU hotplug
- blk-mq: fix FUA request hang
- blk-mq: don't lose requests if a stopped queue restarts
- ACPICA: Add "Windows 2015" string to _OSI support
- ACPI / SBS: Enable battery manager when present
- ACPI / table: Use pr_debug() instead of pr_info() for MADT table scanning
- ACPI / video: Allow forcing native backlight on non win8 machines
- pull in upstream fixes/cleanups for rtl8723bs

* Fri May 08 2015 tmb <tmb> 3.19.7-1.mga5
+ Revision: 821480
- ACPI / PNP: add two IDs to list for PNPACPI device enumeration
- ACPI / SBS: Add 5 us delay to fix SBS hangs on MacBook
- ext4: fix data corruption caused by unwritten and delayed extents
- md/raid5: don't record new size if resize_stripes fails.
- x86/efi: Store upper bits of command line buffer address in ext_cmd_line_ptr
- efi: Fix error handling in add_sysfs_runtime_map_entry()
- x86/spinlocks: Fix regression in spinlock contention detection
- ACPI / init: Fix the ordering of acpi_reserve_resources()
- bpf: fix 64-bit divide
- clk: at91: usb: fix determine_rate prototype
- cxgb4: Fix MC1 memory offset calculation
- mlx4: Fix tx ring affinity_mask creation
- net/mlx4_en: Schedule napi when RX buffers allocation fails
- route: Use ipv4_mtu instead of raw rt_pmtu
- add Realtek 8723A/B SDIO / SPI WiFi (mga#15874)
- update to 3.19.7 final

* Sun May 03 2015 tmb <tmb> 3.19.6-2.mga5
+ Revision: 821129
- fix filelists
- net: add sk_fullsock() helpe
- inet: add TCP_NEW_SYN_RECV state
- ipv4: Missing sk_nulls_node_init() in ping_unhash() (CVE-2015-3636)
- PCI: ACS quirks for Intel Lynx Point (9-series) and Wellsburg (X99)
  PCH root ports
- update to 3.19.7-rc1

* Sat May 02 2015 tmb <tmb> 3.19.6-1.mga5
+ Revision: 821037
- conflict old efibootmgr so we use the fixed one
- conflict old kernel-firmware-nonfree to get newest one in initrd
- switch squashfs decompressor from percpu to multi on desktop kernels
- brcmfmac: avoid null pointer access when brcmf_msgbuf_get_pktid() fails
- btrfs: don't accept bare namespace as a valid xattr
- btrfs: fix inode eviction infinite loop after cloning into it
- btrfs: fix inode eviction infinite loop after extent_same ioctl
- btrfs: fix log tree corruption when fs mounted with -o discard
- ip_forward: Drop frames with attached skb->sk
- KVM: x86: Fix MSR_IA32_BNDCFGS in msrs_to_save
- md: fix md io stats accounting broken
- net: add skb_checksum_complete_unset
- net: do not deplete pfmemalloc reserve
- net: fix crash in build_skb()
- net/mlx4_en: Prevent setting invalid RSS hash function
- perf/x86/intel: Fix Core2,Atom,NHM,WSM cycles:pp events
- ppp: call skb_checksum_complete_unset in ppp_receive_frame
- pxa168: fix double deallocation of managed resources
- tcp: avoid looping in tcp_send_fin()
- tcp: fix possible deadlock in tcp_send_fin()
- usb: gadget: printer: enqueue printer's response for setup request
- x86/asm/decoder: Fix and enforce max instruction size in the insn decoder
- update to 3.19.6
  * drop merged patches

* Fri Apr 17 2015 tmb <tmb> 3.19.4-2.mga5
+ Revision: 820405
- update to 3.19.5-rc1
  * drop merged patches
- update conflicts on btrfs-progs
- update conflicts on plymouth
- only change symlinks if initrd creation succeeded to avoid breakage
- take care of vmlinuz and initrd.img symlinks (mga#15710)
- conflict too old grub2(-efi) (mga#15532)

* Tue Apr 14 2015 tmb <tmb> 3.19.4-1.mga5
+ Revision: 820203
- efivarfs: Ensure VariableName is NUL-terminated
- ALSA: hda/realtek - Support Dell headset mode for ALC256
- ALSA: hda/realtek - Support headset mode for ALC286/288
- ALSA: hda/realtek - Support Dell headset mode for ALC288
- ALSA: bebob: fix to processing in big-endian machine for sending cue
- ALSA: hda - Add dock support for Thinkpad T450s (17aa:5036)
- ALSA: hda - Add one more node in the EAPD supporting candidate list
- ALSA: hda - Fix headphone pin config for Lifebook T731
- ALSA: hda/realtek - Make more stable to get pin sense for ALC283
- ALSA: usb - Creative USB X-Fi Pro SB1095 volume knob support
- update to 3.19.4
  * drop merged patches
- btrfs: fix BUG_ON in btrfs_orphan_add() when delete unused block group

* Fri Apr 03 2015 tmb <tmb> 3.19.3-1.mga5
+ Revision: 819581
- IB/uverbs: Prevent integer overflow in ib_umem_get address arithmetic
  (CVE-2014-8159)
- drm: Fixup racy refcounting in plane_force_disable
- btrfs: simplify insert_orphan_item
- Input: psmouse - remove hardcoded touchpad size from the focaltech driver
- Input: psmouse - ensure that focaltech reports consistent coordinates
- Input: psmouse - disable changing resolution/rate/scale for FocalTech
- Input: psmouse - disable "palm detection" in the focaltech driver
- Revert "cpufreq: pcc: Enable autoload of pcc-cpufreq for ACPI processors"
  as it slows down atleast affected Proliant servers, so relying on manual
  loading is needed for those that wants this cpufreq function
- iommu/vt-d: Detach domain *only* from attached iommus
- genirq: Set initial affinity in irq_set_affinity_hint()
- video: fbdev: fix sys_copyarea
- video: fbdev: Add additional vesa modes
- video: fbdev: Check Standard Timing against DMT
- video: fbdev: Validate mode timing against monspec
- video: fbdev: Fix sparse warning messages
- video: fbdev: fix CVT vertical front and back porch values
- update to 3.19.3 final

* Tue Mar 24 2015 tmb <tmb> 3.19.2-2.mga5
+ Revision: 819186
- video: fbdev: fix possible null dereference
- ensure new plymouth gets in initrd (mga#15486)
- update to 3.19.3-rc1

* Wed Mar 18 2015 tmb <tmb> 3.19.2-1.mga5
+ Revision: 818836
- update conflicts on radeon-firmware and kernel-firmware-nonfree for latest firmwares in initrd
- conflict old mageia-gfxboot-theme to get mga5 theme in initrd (mga#15486)
- sched/idle/x86: Restore mwait_idle() to fix boot hangs, improve
  power savings and to improve performance
- sched/idle/x86: Optimize unnecessary mwait_idle() resched IPIs
- drm/i915: gen4: work around hang during hibernation
- update to 3.19.2
  * drop merged patches

* Sat Mar 14 2015 tmb <tmb> 3.19.1-2.mga5
+ Revision: 818518
- usb: xhci: apply XHCI_AVOID_BEI quirk to all Intel xHCI controllers
- ACPI / LPSS: provide con_id for the clkdev
- sync in -stable fixes

* Tue Mar 10 2015 tmb <tmb> 3.19.1-1.mga5
+ Revision: 818314
- update requires/conflicts on firmware to ensure latest is added to initrd
- iwlwifi: mvm: BT Coex - fix a NULL pointer exception
- brcmfmac: Add support for bcm43340/1 wireless chipsets
- b43: fix support for 5 GHz only BCM43228 model
- drop 'xhci: Clear the host side toggle manually when endpoint is 'soft
  reset'' as requested by upstream
- usb: xhci: handle Config Error Change (CEC)
- xhci: Workaround for PME stuck issues in Intel xhci
- xhci: fix reporting of 0-sized URBs in control endpoint
- drm/i915/vlv: revert back to legacy turbo (fixes random crashes)
- revert: 'netfilter: xt_recent: relax ip_pkt_list_tot restrictions' as
  it breaks iptables userspace
- update to 3.19.1

* Sat Mar 07 2015 tmb <tmb> 3.19.0-6.mga5
+ Revision: 818005
- sound: Add VT1613 AC97 codec support
- x86/fpu/xsaves: Fix improper uses of __ex_table
- x86/asm/entry/64: Remove a bogus 'ret_from_fork' optimization
- tg3: Hold tp->lock before calling tg3_halt() from tg3_init_one()
- sync in more upstream -stable fixes

* Mon Mar 02 2015 tmb <tmb> 3.19.0-5.mga5
+ Revision: 817298
- disable paravirt spinlock fixes as they need more work
- drm/i915: Push vblank enable/disable past encoder->enable/disable
- sync in stable queue
- require dracut with logitech hid fixes

* Thu Feb 26 2015 tmb <tmb> 3.19.0-4.mga5
+ Revision: 817044
- mm/gup: Replace ACCESS_ONCE with READ_ONCE
- x86/xen/p2m: Replace ACCESS_ONCE with READ_ONCE
- mac80211: Send EAPOL frames at lowest rate
- rtlwifi: Improve handling of IPv6 packets
- ext4: ignore journal checksum on remount, dont fail
- i2c-hid: Limit reads to wMaxInputLength bytes for input events
- kernel: tighten rules for ACCESS ONCE
- kernel: Fix sparse warning for ACCESS_ONCE
- kernel: make READ_ONCE() valid on const arguments
- kvm: ia64: drop kvm.h from installed user headers
- x86, mm/ASLR: Fix stack randomization on 64-bit systems

* Tue Feb 24 2015 tmb <tmb> 3.19.0-3.mga5
+ Revision: 816819
- dont use blk-mq i/o path by default as it still lacks i/o schedulers
- xhci: remove unused parameter 'xhci' in function xhci_handshake()
- xhci: clean up work to remove unused parameters for functions in xhci-mem.c
- xhci: platform: Move the Marvell quirks after the enabling of the clocks
- xhci: Allocate correct amount of scratchpad buffers
- xhci: Clear the host side toggle manually when endpoint is 'soft reset'
- x86/spinlocks/paravirt: Fix memory corruption on unlock
- procfs: fix race between symlink removals and traversals
- drm/i915/bdw: PCI IDs ending in 0xb are ULT
- drm/i915: avoid processing spurious/shared interrupts in low-power states
- drm/i915: Align initial plane backing objects correctly

* Mon Feb 23 2015 tmb <tmb> 3.19.0-2.mga5
+ Revision: 816590
- ntp: Fixup adjtimex freq validation on 32-bit systems
- blk-throttle: check stats_cpu before reading it from sysfs
- btrfs: fix fsync data loss after adding hard link to inode
- drm/radeon: fix 1 RB harvest config setup for TN/RL
- drm/radeon: fix voltage setup on hawaii
- fsnotify: Fix handling of renames in audit
- xhci: use dma_alloc_coherent with fully cleared pages
- update FocalTech patch to final revision merged upstream
- update aufs to 3.19 final
-  x86, irq: Fix regression caused by 'Treat SCI interrupt as normal
   GSI interrupt'

* Mon Feb 09 2015 tmb <tmb> 3.19.0-1.mga5
+ Revision: 814232
- update to 3.19 final
- drm/i915: Improve HiZ throughput on Cherryview
- drm/i915: Enable the HiZ RAW Stall Optimization on Broadwell
- drm/i915: Ensure the HiZ RAW Stall Optimization is on for Cherryview

* Wed Feb 04 2015 tmb <tmb> 3.19.0-0.rc7.3.mga5
+ Revision: 813327
- update to v3.19-rc7-git

* Mon Feb 02 2015 tmb <tmb> 3.19.0-0.rc7.2.mga5
+ Revision: 813107
- temporarily revert 'time: adjtimex: Validate the ADJ_FREQUENCY values'
  as it breaks userspace, atleast chrony (mga#14174)

* Mon Feb 02 2015 tmb <tmb> 3.19.0-0.rc7.1.mga5
+ Revision: 813092
- update to 3.19-rc7

* Mon Jan 26 2015 tmb <tmb> 3.19.0-0.rc6.1.mga5
+ Revision: 812417
- fix perf filelist
- update perf filelist
- update to 3.19-rc6
  * drop merged/obsolete patches
- update filelists
- update defconfigs
- release to testing
- update 3.19-rc5+ git snapshot
- rediff mrproper patch
- dont ship unneeded nios2 files
- update defconfigs
- export d_walk for aufs
- rediff mach64 and haswell speedup patches
- update aufs for kernel 3.19
- update to 3.19-rc5-git
  * drop merged patches

* Wed Jan 21 2015 tmb <tmb> 3.18.3-2.mga5
+ Revision: 811710
- sync in current stable queue
+ pterjan <pterjan>
- Fix a double up_read
- Fix SOURCE URLs

* Fri Jan 16 2015 tmb <tmb> 3.18.3-1.mga5
+ Revision: 810999
- update to 3.18.3
  * drop merged patches

* Tue Jan 13 2015 tmb <tmb> 3.18.2-1.mga5
+ Revision: 810438
- iwlwifi: mvm: fix Rx with both chains
- x86, vdso: Use asm volatile in __getcpu
- add current -stable queue
- update to 3.18.2 final
- drop merged patch

* Wed Jan 07 2015 tmb <tmb> 3.18.1-4.mga5
+ Revision: 809032
- update to 3.18.2-rc1
- mm, vmscan: prevent kswapd livelock due to pfmemalloc-throttled process
  being killed
- mm, vmscan: wake up all pfmemalloc-throttled processes at once
- enable SUNRPC_DEBUG (requested by Colin)
- ath9k: Update PCI IDs for AR9565
- Revert 'mac80211: Fix accounting of the tailroom-needed counter'
- update 'rtlwifi: Fix error when accessing unmapped memory in skb' fix
  to last revision merged upstream
- drm/i915: Make sample_c messages go faster on Haswell

* Tue Dec 30 2014 tmb <tmb> 3.18.1-3.mga5
+ Revision: 807477
- psmouse: add support for the FocalTech PS/2 protocol extensions (mga #14897)
- aufs: sync up with 3.18 stable branch
- split out fix for d_child change not in upstream aufs tree
- rcu: Fix rcu_barrier() race that could result in too-short wait
- x86: mm: consolidate VM_FAULT_RETRY handling
- x86: mm: move mmap_sem unlock from mm_fault_error() to caller
- x86: mm: fix VM_FAULT_RETRY handling
- rtlwifi: Fix error when accessing unmapped memory in skb
- mei: clean reset bit before reset
- drm/i915: Ban Haswell from using RCS flips

* Sun Dec 21 2014 tmb <tmb> 3.18.1-2.mga5
+ Revision: 804671
- net/tg3: tg3_disable_ints using uninitialized mailbox value to disable
  interrupts
- drm/i915: Filter gmch fifo underruns (mga#14867)
- drm/nouveau: fix a missed hunk of "fix regression on agp boards"
- drm/radeon: check the right ring in radeon_evict_flags()
- drm/radeon: fix for memory training on bonaire 0x6649
- drm/radeon: fix typo in CI dpm disable
- drm/radeon: work around a hw bug in MGCG on CIK
- btrfs: do not move em to modified list when unpinning
- btrfs: fix fs corruption on transaction abort if device supports discard
- btrfs: fix wrong accounting of raid1 data profile in statfs
- btrfs: make sure we wait on logged extents when fsycning two subvols
- btrfs: make sure logged extents complete in the current transaction
- isofs: Fix infinite looping over CE entries
- x86_64, switch_to(): Load TLS descriptors before switching DS and ES
- x86/tls: Disallow unusual TLS segments
- x86/tls: Validate TLS entries to protect espfix (CVE-2014-8133)
- x86, kvm: Clear paravirt_enabled on KVM guests for espfix32's benefit
  (CVE-2014-8134)
- require dracut with fixes for splitted xhci support

* Sun Dec 14 2014 tmb <tmb> 3.18.1-1.mga5
+ Revision: 803178
- fix aufs for d_child changes in 3.18.1
- update to 3.18.1
- drop merged patches
- rtlwifi: rtl8192ce: Set fw_ready flag

* Sun Dec 14 2014 tmb <tmb> 3.18.0-2.mga5
+ Revision: 803031
- require dracut with fixed mgalive module
- clk: Really fix deadlock with mmap_sem
- pull in -stable net fixes from DaveM
- genhd: check for int overflow in disk_expand_part_tbl()
- blk-mq: Avoid that __bt_get_word() wraps multiple times
- blk-mq: Fix a race between bt_clear_tag() and bt_get()
- blk-mq: Fix a use-after-free
- blk-mq: Use all available hardware queues
- blk-mq: use 'nr_cpu_ids' as highest CPU ID count for hwq <-> cpu map

* Mon Dec 08 2014 tmb <tmb> 3.18.0-1.mga5
+ Revision: 802151
- update to 3.18 final

* Fri Dec 05 2014 tmb <tmb> 3.18.0-0.rc7.2.mga5
+ Revision: 801619
- sync in upstream git fixes

* Mon Dec 01 2014 tmb <tmb> 3.18.0-0.rc7.1.mga5
+ Revision: 800144
- update to 3.18-rc7
- drop merged patch

* Sun Nov 30 2014 tmb <tmb> 3.18.0-0.rc6.1.mga5
+ Revision: 799977
- require dracut with fixed mgalive overlay fix
- update git snapshot
- fix broken rtl8192ce
- fix mach64 build with 3.18 series
- update defconfigs
- drop merged patches
- update aufs to 3.18 branch
- drop overlayfs patches (merged upstream)
- update to 3.18-rc6-git

* Fri Nov 21 2014 tmb <tmb> 3.17.4-1.mga5
+ Revision: 798123
- drm/radeon: initialize sadb to NULL in the audio code
- update to 3.17.4

* Sat Nov 15 2014 tmb <tmb> 3.17.3-1.mga5
+ Revision: 797348
- add ahci, alsa, i2c support for Intel Sunrise Point PCH / Skylake
- update to 3.17.3
- drop merged patches

* Mon Nov 10 2014 tmb <tmb> 3.17.2-4.mga5
+ Revision: 796223
- rcu: Provide counterpart to rcu_dereference() for non-RCU situations
- require dracut with fixed mgalive module
- ACPI/osl: speedup grace period in acpi_os_map_cleanup
- disable broken async_suspend on jmicron (korg#81551)
- overlayfs: barriers for opening upper-layer directory
- overlayfs: fix check for cursor
- overlayfs: fix lockdep misannotation
- overlayfs: initialize ->is_cursor
- overlayfs: don't poison cursor
- add current -stable queue (266 fixes all over)

* Tue Nov 04 2014 tmb <tmb> 3.17.2-3.mga5
+ Revision: 795417
- drm/i915: Do not store the error pointer for a failed userptr registration
- drm/i915: Do not leak pages when freeing userptr objects
- drm/radeon/dpm: disable ulv support on SI
- drm/radeon: dpm fixes for asrock systems
- lib/scatterlist: fix memory leak with scsi-mq
- Revert 'block: all blk-mq requests are tagged'
- scsi: set REQ_QUEUE for the blk-mq case
- Revert 'ACPI / EC: Add support to disallow QR_EC to be issued before
  completing previous QR_EC'
- ACPI / EC: Fix regression due to conflicting firmware behavior between
  Samsung and Acer
- re-enable Support for uevent helper

* Sat Nov 01 2014 tmb <tmb> 3.17.2-2.mga5
+ Revision: 795116
- Input: i8042 - touchpad quirks for Fujitsu Lifebook A(H)544
- ext4: fix oops when loading block bitmap failed
- re-add aufs support
- saa7146: Create a device name before it's used

* Thu Oct 30 2014 tmb <tmb> 3.17.2-1.mga5
+ Revision: 794759
- netlink: Re-add locking to netlink_lookup() and seq walker
  (fixes latency regression)
- update to 3.17.2
- drop merged patches
- update to overlayfs code being merged in upstream 3.18

* Sat Oct 25 2014 tmb <tmb> 3.17.1-2.mga5
+ Revision: 793173
- pull in current -stable queue

* Wed Oct 15 2014 tmb <tmb> 3.17.1-1.mga5
+ Revision: 756894
- mnt: Prevent pivot_root from creating a loop in the mount tree (CVE-2014-7970)
- update to 3.17.1 final
- drop merged patches

* Tue Oct 14 2014 tmb <tmb> 3.17.0-5.mga5
+ Revision: 738580
- switch to performance governor by default
- add current -stable queue (from upcoming 3.17.1)

* Fri Oct 10 2014 tmb <tmb> 3.17.0-4.mga5
+ Revision: 737832
- fs: Add a missing permission check to do_umount (CVE-2014-7975)
- irq_work: Introduce arch_irq_work_has_interrupt()
- irq_work: Force raised irq work to run on irq work interrupt
- x86: Tell irq work about self IPI support
- arm: Tell irq work about self IPI support

* Mon Oct 06 2014 tmb <tmb> 3.17.0-3.mga5
+ Revision: 737091
- update to 3.17 final
- drop merged patches

* Fri Oct 03 2014 tmb <tmb> 3.17.0-1.rc7.2.mga5
+ Revision: 736360
- update to 3.17-rc7-git

* Mon Sep 29 2014 tmb <tmb> 3.17.0-1.rc7.1.mga5
+ Revision: 731532
- update to 3.17-rc7
- disable X86_SYSFB as it breaks KMS on some systems (mga#13098)

* Sat Sep 27 2014 tmb <tmb> 3.17.0-1.rc6.2.mga5
+ Revision: 726560
- update to 3.17-rc6-git+
- reset fakerel and update comment about not changing it

* Fri Sep 26 2014 tv <tv> 3.17.0-1.rc6.1.mga5
+ Revision: 725097
- rebuild for bogus file deps

* Tue Sep 23 2014 tmb <tmb> 3.17.0-0.rc6.1.mga5
+ Revision: 720428
- update to 3.17-rc6

* Mon Sep 15 2014 tmb <tmb> 3.17.0-0.rc5.1.mga5
+ Revision: 676781
- BR perl-devel and numa-devel for perf
- define _DEFAULT_SOURCE for perf build
- update to 3.17-rc5
+ tv <tv>
- s/uggests:/Recommends:/

* Mon Sep 08 2014 tmb <tmb> 3.17.0-0.rc4.1.mga5
+ Revision: 673576
- update to 3.17-rc4-git+
- update to 3.17-rc4

* Wed Sep 03 2014 tmb <tmb> 3.17.0-0.rc3.1.mga5
+ Revision: 671160
- update conflicts on dkms packages, firmwares and tools
- update -devel and -source filelists
- fix mach64 build with 3.17
- update defconfigs
- drop merged patches
- rediff patches so they apply correctly
- temporarily disable aufs support
- update to 3.17-rc3

* Thu Jul 24 2014 tmb <tmb> 3.15.6-1.mga5
+ Revision: 656137
- update to 3.15.6
- x86_32, entry: store badsys error code in eax, fixes
  breakage introduced by CVE-2014-4508 fix

* Sun Jun 29 2014 tmb <tmb> 3.15.2-2.mga5
+ Revision: 641085
- update to 3.15.3-rc1

* Fri Jun 27 2014 tmb <tmb> 3.15.2-1.mga5
+ Revision: 640224
- revert upstream 'Bluetooth: Add a new PID/VID 0cf3/e005 for AR3012'
  as it breaks AR3011 device with same pid/vid (mga#13597)
- update to 3.15.2

* Tue Jun 17 2014 tmb <tmb> 3.15.1-1.mga5
+ Revision: 637740
- make Intel MEI modular so it can be blacklisted on problematic hw
- update to 3.15.1

* Mon Jun 09 2014 tmb <tmb> 3.15.0-1.mga5
+ Revision: 634869
- update dkms conflicts
- update defconfigs
- drop merged patches
- rebase a few patches to apply cleanly
- update aufs patches
- update to 3.15

* Thu Jun 05 2014 tmb <tmb> 3.14.5-3.mga5
+ Revision: 633390
- update to 3.14.6-rc1

* Wed Jun 04 2014 tmb <tmb> 3.14.5-2.mga5
+ Revision: 633010
- require 2014-06-03 firmwares
- add stable queue fixes

* Sun Jun 01 2014 tmb <tmb> 3.14.5-1.mga5
+ Revision: 629869
- update to 3.14.5 final

* Thu May 29 2014 tmb <tmb> 3.14.4-3.mga5
+ Revision: 627504
- ALSA: hda - Fix onboard audio on Intel H97/Z97 chipsets
- md/raid10: call wait_barrier() for each request submitted
- update to 3.14.5-rc1
- disable AUDITSYSCALL as its broken beyond repair
  (avoids CVE-2014-3917, and other upcoming CVEs)

* Wed May 21 2014 tmb <tmb> 3.14.4-2.mga5
+ Revision: 624798
- iwlwifi: mvm: disable beacon filtering
- kernfs: add back missing error check in kernfs_fop_mmap() (mga #13361)
- pull in current -stable queue

* Tue May 13 2014 tmb <tmb> 3.14.4-1.mga5
+ Revision: 622548
- drop merged patches
- update to 3.14.4

* Tue May 06 2014 tmb <tmb> 3.14.3-1.mga5
+ Revision: 620897
- drivers/tty/hvc: don't free hvc_console_setup after init
- n_tty: Fix n_tty_write crash when echoing in raw mode (CVE-2014-0196)
- tty: Fix lockless tty buffer race
- tty: serial: 8250_core.c Bug fix for Exar chips
- drop merged patches
- update to 3.14.3

* Wed Apr 30 2014 tmb <tmb> 3.14.2-2.mga5
+ Revision: 619042
- update conflicts on dkms packages that does not build against 3.14
- fix up duplicated conflicts define
- e1000e: Fix no connectivity when driver loaded with cable out
- iwlwifi: 7000: bump max API to 9
- add r8192ee wireless support
- drm/i915: restore QUIRK_NO_PCH_PWM_ENABLE
- add current -stable queue fixes

* Sun Apr 27 2014 tmb <tmb> 3.14.2-1.mga5
+ Revision: 618352
- update filelists
- fix mach64 build with 3.14
- fix ndiswrapper build with 3.14
- drop mwait_idle patches, fixed differently upstream
- update defconfigs
- drop merged / obsolete patches
- rediff patches to apply cleanly
- update to 3.14.2
- enable Intel P-state driver (mga#13080)
- switch transparent hugepages back to MADVISE
- net: ping: refcount issue in ping_init_sock() function (CVE-2014-2851)

* Fri Apr 11 2014 tmb <tmb> 3.13.10-1.mga5
+ Revision: 613489
- update to 3.13.10

* Fri Apr 04 2014 shlomif <shlomif> 3.13.9-1.mga5
+ Revision: 611702
- New version 3.13.9

* Thu Apr 03 2014 shlomif <shlomif> 3.13.8-1.mga5
+ Revision: 611584
- New version 3.13.8.

* Sat Mar 08 2014 tmb <tmb> 3.13.6-1.mga5
+ Revision: 601359
- update perf filelist
- update defconfigs
- rebase mach64 and shuttle-wmi patches
- update aufs support for kernel-3.13
- resync overlayfs support
- drop merged patches
- update to 3.13.6

* Sun Feb 23 2014 tmb <tmb> 3.12.13-2.mga5
+ Revision: 595735
- ALSA: hda - Add QEMU codec vendor ID
- sata_sil: apply MOD15WRITE quirk to TOSHIBA MK2561GSYN
- ata-pmp: enable quirk from jmicron JMB350 for JMB394
- ahci: disable NCQ on Samsung pci-e SSDs on macbooks
- Revert 'tty: Set correct tty name in 'active' sysfs attribute' as it breaks plymouth

* Sat Feb 22 2014 tmb <tmb> 3.12.13-1.mga5
+ Revision: 595403
- install source and devel as /usr/src/kernel-... to be more consistent with rpm name
- ACPICA: Add 'Windows 2013' string to _OSI support
- net: use __GFP_NORETRY for high order allocations
- enable MEMCG on server kernels (mga#12629)
- drop merged patches
- update to 3.12.13
- drop merged patches
- update to 3.12.12

* Sat Feb 01 2014 tmb <tmb> 3.12.9-1.mga4
+ Revision: 568586
- e1000e: fix compiler warnings
- e752x_edac: Fix pci_dev usage count
- kvm: x86: fix apic_base enable check
- md/raid5: fix long-standing problem with bitmap handling on write failure.
- mm: hugetlbfs: fix hugetlbfs optimization
- mm/mempolicy.c: fix mempolicy printing in numa_maps
- x86, x32: Correct invalid use of user timespec in the kernel (CVE-2014-0038)
- disable broken pci-pciprobe-CardBusNo change, should be done as DMI matching (mga#6077)
- upate to final 3.12.9

* Fri Jan 24 2014 tmb <tmb> 3.12.8-2.mga4
+ Revision: 567732
- fix xen NUMA crash (3.12.7 regression, LKML)
- drm/radeon: add UVD support for OLAND
- update to 3.12.9-rc1
- drop merged patches

* Sun Jan 19 2014 tmb <tmb> 3.12.8-1.mga4
+ Revision: 566911
- revert: usbcore: set lpm_capable field for LPM capable root hubs
  (breaks some usb devices)
- revert: 'ACPI: Add BayTrail SoC GPIO and LPSS ACPI IDs' as it causes boot hangs
- x86, cpu: Add workaround for AMD F16h Erratum 793 (CVE-2013-6885)
- x86, quirks: Add workaround for AMD F16h Erratum 792
- x86 idle: restore mwait_idle()
- b43: fix the wrong assignment of status.freq in b43_rx()
- net, via-rhine: Fix tx_timeout handling
- net: rds: fix per-cpu helper usage
- hwmon: (coretemp) Fix truncated name of alarm attributes
- writeback: Fix data corruption on NFS
- fork: Allow CLONE_PARENT after setns(CLONE_NEWPID)
- vfs: In d_path don't call d_dname on a mount point
- vfs: Fix a regression in mounting proc
- md/raid5: Fix possible confusion when multiple write errors occur
- md/raid10: fix two bugs in handling of known-bad-blocks
- md/raid10: fix bug when raid10 recovery fails to recover a block
- md: fix problem when adding device to read-only array with bitmap
- allow 64 cores/threads on desktop586 kernel too (as its also used in installer and on live i586 images)
- update to 3.12.8
- drop merged patches

* Sun Jan 12 2014 tmb <tmb> 3.12.7-1.mga4
+ Revision: 566385
- add -stable network fixes (DaveM)
- ax88179_178a: Remove AX_MEDIUM_ALWAYS_ONE bit in AX_MEDIUM_STATUS_MODE
  register to avoid TX throttling
- Input: ALPS - add support for Dolphin devices
- Input: ALPS - add support for DualPoint device on Dell XT2
- Input: ALPS - change secondary devices name
- drop merged patch
- update to 3.12.7

* Thu Jan 09 2014 tmb <tmb> 3.12.6-5.mga4
+ Revision: 565949
- xhci: Set scatter-gather limit to avoid failed block writes
- xhci: Avoid infinite loop when sg urb requires too many trbs
- staging: r8712u: Set device type to wlan
- rtlwifi: rtl8192cu: Add new device ID: Sitecom WLA2100V2
- ath9k: Use correct channel for RX packets
- ath9k: Disable cross-band FCC
- sata_sis: add missing PM support
- drm/nouveau: return offset of allocated notifier
- drm/nouveau/bios: make jump conditional
- drm/nouveau/bios: fix offset calculation for BMPv1 bioses
- ahci: add PCI ID for Marvell 88SE9170 SATA controller
- update to 3.12.7-rc2

* Tue Jan 07 2014 tmb <tmb> 3.12.6-4.mga4
+ Revision: 565325
- cpufreq: Fix timer/workqueue corruption by protecting reading governor_enabled
- update to 3.12.7-rc1

* Fri Jan 03 2014 tmb <tmb> 3.12.6-3.mga4
+ Revision: 564316
- switch i586 squashfs to percpu multi-decompressor
- ACPI: Blacklist Win8 OSI for Asus VivoBook X202E (mga#7857)
- ACPI: Blacklist Win8 OSI for some HP laptop 2013 models
- drm/ttm: Fix accesses through vmas with only partial coverage
- drm/radeon: fix asic gfx values for scrapper asics
- drm/radeon: fix UVD 256MB check
- drm/radeon/dpm: disable ss on Cayman
- drm/radeon/dpm: Fix hwmon crash
- drm/radeon: add missing display tiling setup for oland
- drm/edid: add quirk for BPC in Samsung NP700G7A-S01PL notebook
- ACPI / PCI / hotplug: Avoid warning when _ADR not present
- add current -stable queue (49 fixes)
- ACPIPHP / radeon / nouveau: Fix VGA switcheroo problem related to hotplug
- nouveau_acpi: convert acpi_get_handle() to acpi_has_method()

* Sun Dec 29 2013 tmb <tmb> 3.12.6-2.mga4
+ Revision: 563031
- drm/i915: Fix erroneous dereference of batch_obj inside reset_status
- drm/i915: Use the correct GMCH_CTRL register for Sandybridge+
- drm/i915: Take modeset locks around intel_modeset_setup_hw_state()
- x86 idle: Repair large-server 50-watt idle-power regression
- ext4: fix deadlock when writing in ENOSPC conditions
- switch to single squashfs decompressor on i586
- switch to percpu squashfs multi-decompressor on x86_64
- drop parts of Q57 patch already applied upstream (Eugene A. Shatokhin / Rosalab)
- drop 3rdparty heci driver (obsoleted by in-kernel mei driver)
- drm/radeon: fix render backend setup for SI and CIK

* Fri Dec 20 2013 tmb <tmb> 3.12.6-1.mga4
+ Revision: 559211
- update to 3.12.6

* Sun Dec 15 2013 tmb <tmb> 3.12.5-1.mga4
+ Revision: 556853
- xfs: underflow bug in xfs_attrlist_by_handle() (CVE-2013-6382)
- xfs: add capability check to free eofblocks ioctl (CVE pending)
- kvm: rtc_status.dest_map out-of-bounds access (CVE-2013-4587)
- kvm: division by zero in apic_get_tmcct() (CVE-2013-6367)
- kvm: cross page vapic_addr access (CVE-2013-6368)
- kvm: BUG_ON() in apic_cluster_id() (CVE-2013-6376)
- update to 3.12.5

* Wed Dec 04 2013 tmb <tmb> 3.12.3-1.mga4
+ Revision: 555206
- ensure new stable btrfs-progs gets in the initrd when used
- Squashfs: fix failure to unlock pages on decompress error
- update to 3.12.3

* Sat Nov 30 2013 tmb <tmb> 3.12.2-1.mga4
+ Revision: 554298
- update ndiswrapper to 1.59
- add 33 fixes from -stable queue
- update to 3.12.2

* Thu Nov 21 2013 tmb <tmb> 3.12.1-1.mga4
+ Revision: 552194
- update squashfs multi-decompressor to revision being merged in 3.13
- update to 3.12.1

* Sun Nov 17 2013 tmb <tmb> 3.12.0-3.mga4
+ Revision: 551594
- ALSA: hda - hdmi: Fix reported channel map on common default layouts
- cxgb3: Fix length calculation in write_ofld_wr() on 32-bit architectures
- hyperv-fb: add pci stub
- ipv6: ip6_dst_check needs to check for expired dst_entries
- ipv6: reset dst.expires value when clearing expire flag
- net: flow_dissector: fail on evil iph->ihl
- net/mlx4_core: Fix call to __mlx4_unregister_mac
- net: sctp: do not trigger BUG_ON in sctp_cmd_delete_tcb
- tcp: do not rearm RTO when future data are sacked
- tcp: fix SYNACK RTT estimation in Fast Open
- tcp: gso: fix truesize tracking
- tcp: only take RTT from timestamps if new data is acked
- USB: add new zte 3g-dongle's pid to option.c
- virtio-net: correctly handle cpu hotplug notifier during resuming
- xen-netback: use jiffies_64 value to calculate credit timeout
- re-enable FB_SIMPLE

* Fri Nov 08 2013 tmb <tmb> 3.12.0-2.mga4
+ Revision: 550012
- make 'Fast TSC calibration failed' message a debug one to hide it during normal boot (mga#11532)
- pull in network fixes heading for -stable tree
- gpu/drm/i915: add disable_pch_pwm module option (Colin, bko #47941)
- disable FB_SIMPLE

* Mon Nov 04 2013 tmb <tmb> 3.12.0-1.mga4
+ Revision: 549323
- update to 3.12 final

* Sat Nov 02 2013 tmb <tmb> 3.12.0-0.rc7.2.mga4
+ Revision: 549135
- squashfs: Use multiple decompressors for handling parallel I/O
- xfrm: Fix null pointer dereference when decoding sessions
- update to latest 3.12-rc7-git

* Thu Oct 31 2013 tmb <tmb> 3.12.0-0.rc7.1.mga4
+ Revision: 548128
- update to 3.12-rc7 + current git

* Sat Oct 26 2013 tmb <tmb> 3.12.0-0.rc6.2.mga4
+ Revision: 547145
- update to current 3.12-rc6-git
- require dracut-034-4 for fixed /usr mounting

* Mon Oct 21 2013 tmb <tmb> 3.12.0-0.rc6.1.mga4
+ Revision: 540652
- update to 3.12-rc6

* Wed Oct 16 2013 tmb <tmb> 3.12.0-0.rc5.2.mga4
+ Revision: 501511
- build with new gcc & binutils
- update to latest git

* Mon Oct 14 2013 tmb <tmb> 3.12.0-0.rc5.1.mga4
+ Revision: 496717
- update to 3.12-rc5
- drop merged/obsolete patches
- fix ndiswrapper and mach64 drivers build with 3.12
- update aufs patch
- update overlayfs patches
- rediff IFWLOG patch
- update defconfigs
- update dkms conflicts

* Thu Oct 03 2013 tmb <tmb> 3.11.4-1.mga4
+ Revision: 490925
- update to 3.11.4
- drop merged patch

* Mon Sep 30 2013 tmb <tmb> 3.11.2-2.mga4
+ Revision: 489560
- require fixed dracut
- update to 3.11.3-rc1

* Fri Sep 27 2013 tmb <tmb> 3.11.2-1.mga4
+ Revision: 487565
- update dkms conflicts
- update to 3.11.2

* Wed Sep 25 2013 tmb <tmb> 3.11.1-1.mga4
+ Revision: 486267
- temporarily disable broken dothan-3 patch
- net: sync some IP headers with glibc
- update defconfigs
- update filelists
- rebase IBM BladeCenter HS20 hid quirk
- rebase shuttle-wmi driver
- rebase i915 patches for bko#59841
- update aufs for 3.11
- update overlayfs support
- drop merged patches
- update to 3.11.2-rc1
- disable GOLDFISH emulator support (mga #11062)

* Tue Sep 03 2013 tmb <tmb> 3.10.10-3.mga4
+ Revision: 474665
- [SCSI] pm80xx: fix Adaptec 71605H hang
- HID: Revert 'Revert 'HID: Fix logitech-dj: missing Unifying device issue''
- drm/i915: i915.disable_pch_pwm overrides PCH_PWM_ENABLE quirk,
            Allow disabling of eDP BPP overrides (coling, bko#59841)

* Fri Aug 30 2013 tmb <tmb> 3.10.10-2.mga4
+ Revision: 473322
- switch server kernel image compression back to GZIP so it works with
  Amazon EC2 and other older XEN setups
- Input: elantech - fix packet check for v3 and v4 hardware
- Input: wacom - add support for 0x300 and 0x301
- Input: xpad - add signature for Razer Onza Classic Edition
- drm/nouveau/mc: fix race condition between constructor and request_irq()
- jfs: fix readdir cookie incompatibility with NFSv4
- sunrpc: Fix memory corruption issue on 32-bit highmem systems
- workqueue: cond_resched() after processing each work item

* Thu Aug 29 2013 tmb <tmb> 3.10.10-1.mga4
+ Revision: 473059
- drop merged patches
- update to 3.10.10
- enable checkpoint/restore (requested by blino)

* Wed Aug 21 2013 tmb <tmb> 3.10.9-1.mga4
+ Revision: 469169
- mac80211: add a flag to indicate CCK support for HT clients
- ath9k: Enable PLL fix only for AR9340/AR9330
- net_sched: psched_ratecfg_precompute() improvements
- net_sched: restore "linklayer atm" handling
- dtop merged patches
- update to 3.10.9

* Sat Aug 17 2013 tmb <tmb> 3.10.7-1.mga4
+ Revision: 467151
- drm/radeon: fix WREG32_OR macro setting bits in a register
- drm/radeon/r7xx: fix copy paste typo in golden register setup
- add current stable queue (43 fixes)
- drop merged patches
- update to 3.10.7

* Mon Aug 12 2013 tmb <tmb> 3.10.6-1.mga4
+ Revision: 465860
- zram: allow request end to coincide with disksize
- drm/radeon: always program the MC on startup
- drm/radeon: fix halting UVD v2
- drm/radeon: only save UVD bo when we have open handles v2
- drop revert of "SCSI: sd: Update WRITE SAME heuristics" as the breakage
  is now fixed with "SCSI: Don't attempt to send extended INQUIRY command
  if skip_vpd_pages is set"
- add current -stable queue (44 fixes)
- update to 3.10.6 final

* Sun Aug 11 2013 tmb <tmb> 3.10.5-4.mga4
+ Revision: 465432
- update to 3.10.6-rc1
- drop merged patches

* Mon Aug 05 2013 tmb <tmb> 3.10.5-3.mga4
+ Revision: 464025
- atl1c: Fix misuse of netdev_alloc_skb in refilling rx ring
- iwlwifi: dvm: don't send BT_CONFIG on devices w/o Bluetooth
- iwlwifi: mvm: set SSID bits for passive channels
- disable FW_LOADER_USER_HELPER as udev is not doing any fw loading anymore
- fix and enable ndiswrapper with 3.10 series kernels (arch)
- drop 2 broken stable queue fixes

* Mon Aug 05 2013 tmb <tmb> 3.10.5-2.mga4
+ Revision: 463810
- add current stable queue (78 fixes)

* Sun Aug 04 2013 tmb <tmb> 3.10.5-1.mga4
+ Revision: 463583
- disable Initio 162x SATA support as its seriously broken
- drop merged patches
- update to 3.10.5

* Mon Jul 29 2013 tmb <tmb> 3.10.4-1.mga4
+ Revision: 460396
- revert: 'SCSI: sd: Update WRITE SAME heuristics' introduced upstream in
  3.10.3 as it breaks several usb3 connected disks.
- drop merged patches
- update to 3.10.4

* Fri Jul 26 2013 tmb <tmb> 3.10.3-1.mga4
+ Revision: 458375
- md: Remove recent change which allows devices to skip recovery
- md/raid5: fix interaction of 'replace' and 'recovery'
- md/raid10: remove use-after-free bug
- add current -stable queue fixes (44)
- drop merged patches
- update to 3.10.3

* Mon Jul 22 2013 tmb <tmb> 3.10.2-1.mga4
+ Revision: 457038
- suggest cpupower
- update to 3.10.2
- update conflicts on dkms drivers to get 3.10 for better upgrade support
- update conflicts on radeon-firmware to get all uvd and smc in initrd
- iwlwifi/mvm: enable 7000 series devices
- iwlwifi: pcie: don't read INTA register in ICT IRQ handler
- iwlwifi: make TX seqno validation more efficient
- Input: elantech - fix for newer hardware versions (v7)
- cpufreq/intel_pstate: Change to scale off of max P-state
- cpufreq: Revert commit 2f7021a to fix CPU hotplug regression

* Sun Jul 14 2013 tmb <tmb> 3.10.1-1.mga4
+ Revision: 454223
- disable broken ndiswrapper
- disable broken ppscsi driver
- disable parallell build for perf
- cpufreq: Revert commit a66b2e to fix cpufreq regression during suspend/resume
- make each kernel-*(-devel) suggest the matching -latest package
- suggest iw as we also suggest crda
- require new kernel-firmware
- conflict too old radeon-firmware to get the new UVD firmware in initrd
- update filelists
- re-add aufs support (mga#8314)
- update defconfigs
- drop merged patches
- rediff patches to apply cleanly
- update overlayfs patches
- update to 3.10.1
- add support for extended stable builds

* Fri Jun 28 2013 tmb <tmb> 3.9.8-1.mga4
+ Revision: 447730
- bcma: add support for BCM43142 (mga#9378, mga#10611)
- drop merged patches
- add current -stable queue (17 fixes)
- update to 3.9.8

* Fri Jun 21 2013 tmb <tmb> 3.9.7-1.mga4
+ Revision: 445339
- rtlwifi: rtl8192cu: Fix problem in connecting to WEP or WPA(1) networks
- ath9k_htc: Handle IDLE state transition properly
- update to 3.9.7

* Tue Jun 18 2013 tv <tv> 3.9.6-1.mga4
+ Revision: 444605
- new release

* Sun Jun 02 2013 tmb <tmb> 3.9.4-1.mga4
+ Revision: 434738
- fix ndiswrapper build with kernel-3.9
- add current stable queue fixes (82 fixes all over)
- fix -devel filelist
- fix up alx AR8161 breakage (mga #10079)
- conflict too old plymouth to make cleaner upgrades (mga #10128)
- dont package arc and metag arches
- enable CONFIG_FHANDLE
- update defconfigs
- drop merged patches
- BR: bc (as timeconst.pl has been replaced with a bc script)
- update to 3.9.4

* Tue May 14 2013 tmb <tmb> 3.8.13-1.mga3
+ Revision: 413188
- ACPICA: Fix possible buffer overflow during a field unit read operation
- ALSA: HDA: Fix Oops caused by dereference NULL pointer
- ARM: OMAP: RX-51: change probe order of touchscreen and panel SPI devices
- ASoC: wm8994: missing break in wm8994_aif3_hw_params()
- dm stripe: fix regression in stripe_width calculation
- dm table: fix write same support
- KVM: VMX: fix halt emulation while emulating invalid guest sate
- nfsd4: don't allow owner override on 4.1 CLAIM_FH opens
- nfsd: fix oops when legacy_recdir_name_error is passed a -ENOENT error
- shm: fix null pointer deref when userspace specifies invalid hugepage size
- revert 'drm/i915: set CPT FDI RX polarity bits based on VBT' as it
  triggers OOM on some Cougar Point systems (mga #10056)
- switch to 3.8.13 final (no change from -rc in 3.8.12-2)

* Fri May 10 2013 tmb <tmb> 3.8.12-2.mga3
+ Revision: 412824
- Input: Wacom: add support for DTH-2242 and 0x10d
- Input: ALPS: add Rushmore and Dolphin V1 support (mga #8033)
- Input: synaptics - fix 1->3 contact transition reporting
- Input: synaptics - initialize pointer emulation usage
- Input: Cypress/ps2 - fix trackpad found in Dell XPS12
- Input: Cypress APA - add support for smbus protocol
- add Cypress APA I2C Trackpad support
- update to 3.8.13-rc1
- drop merged patches

* Wed May 08 2013 tmb <tmb> 3.8.12-1.mga3
+ Revision: 412651
- drm/i915: Add no-lvds quirk for Fujitsu Esprimo Q900
- drm/i915: Fixup Oops in the pipe config computation
- drm/i915: set CPT FDI RX polarity bits based on VBT
- drm/cirrus: deal with bo reserve fail in dirty update path
- drm/cirrus: Correct register values for 16bpp
- carl9170: fix frame drop and WARN due to minstrel_ht change
- carl9170: remove fast channel change feature (unreliable)
- drm/i915: Fix detection of base of stolen memory
- drm/i915: Use MLC (l3$) for context objects
- drop merged patch
- update to 3.8.12
- update Atheros alx gigabit ethernet to latest upstream
- add support for Atheros Killer e2200 ethernet (#9979)

* Wed May 01 2013 tmb <tmb> 3.8.11-1.mga3
+ Revision: 411798
- tty: fix up atime/mtime mess, take three (Linus, upstream)
- drop merged patches
- update to 3.8.11
- dont make NLS_CODEPAGE_437 builtin

* Sat Apr 27 2013 tmb <tmb> 3.8.10-1.mga3
+ Revision: 411320
- block: fix max discard sectors limit
- drm/radeon: add some new SI PCI ids
- drm/radeon: add new richland pci ids
- aio: fix possible invalid memory access when DEBUG is enabled
- TTY: do not update atime/mtime on read/write (CVE-2013-0160)
- TTY: fix atime/mtime regression
- update to 3.8.10
- drop merged patches
- update to 3.8.9

* Mon Apr 22 2013 tmb <tmb> 3.8.8-3.mga3
+ Revision: 410885
- ssb: implement spurious tone avoidance (fixes b43 regression)
- more stable queue fixes (arm, ath9k, sched)

* Sat Apr 20 2013 tmb <tmb> 3.8.8-2.mga3
+ Revision: 410585
- kvm: fix cve-2013-1796, cve-2013-1797, cve-2013-1798
- make sure to get latest btrfs-progs in initrd if in use
- add upstream -stable queue (11 fixes)
- intel_idle: add Haswell support
- tg3: Add 57766 device support
- sort posttrans so build and source symlinks are added before calling dkms_autoinstaller
- change kernel post scripts to posttrans (#9536)

* Wed Apr 17 2013 tmb <tmb> 3.8.8-1.mga3
+ Revision: 410270
- drop removal of check in disable-aspm-link as upstream breakage has been reverted
- update to 3.8.8
- bump requires on bootloader-utils, dracut, kmod, sysfsutils, kernel-firmware
- set DEFAULT_NLS to utf8 (#9722)
- conflict too old drakxtools-backend to avoid adding bogus root=/dev/ (#9536)
- enable CONFIG_RELOCATABLE on i586 too (needed for UEFI boot)
- conflict too old lvm2 rules to make upgrades work (tv, mga #9356)

* Sat Apr 13 2013 tmb <tmb> 3.8.7-1.mga3
+ Revision: 409914
- ALSA: usb: Work around CM6631 sample rate change bug (upstream)
- drm/radeon: don't use get_engine_clock() on APUs (mga #8077, fdo #62493)
- add current -stable queue fixes (16 fixes)
- drop merged patches
- update to 3.8.7
+ rtp <rtp>
- drop uimage support. It's not compatible with dtb usage
- build dtbs on arm
- fix usage of udelay() for a msecs delay
- put zsmalloc as built-in on arm to workaround build failure

* Tue Apr 09 2013 tmb <tmb> 3.8.6-2.mga3
+ Revision: 409204
- make EFI_VARS builtin
- ata_piix: Fix DVD not dectected at some Haswell platforms
- libata: fix DMA to stack in reading devslp_timing parameters
- libata: Set max sector to 65535 for Slimtype DVD A DS8A8SH drive
- libata: Use integer return value for atapi_command_packet_set
- md: raid1,10: Handle REQ_WRITE_SAME flag in write bios
  (fixes raid10 crash on mptsas)
- drop requires on carl9170-firmware as its merged in kernel-firmware

* Sun Apr 07 2013 tmb <tmb> 3.8.6-1.mga3
+ Revision: 408736
- add -stable queue fixes (20 fixes)
- update to 3.8.6

* Sat Mar 30 2013 tmb <tmb> 3.8.5-1.mga3
+ Revision: 406608
- disable efivars as a storage backend for pstore by default
  as it can brick some computers
- SUNRPC: Add barriers to ensure read ordering in rpc_wake_up_task_queue_locked
- update to 3.8.5
- drop merged patches

* Mon Mar 18 2013 tmb <tmb> 3.8.3-2.mga3
+ Revision: 403953
- enable XEN_BALLOON_MEMORY_HOTPLUG on server kernels (#9372)
- more -stable queue fixes
- revert 2 drm/i915 patches introduced in 3.8.3 as they break more than they fix
- PCI: Remove not needed check in disable aspm link (should fix ath5k problems)
- more fixes from -stable queue

* Fri Mar 15 2013 tmb <tmb> 3.8.3-1.mga3
+ Revision: 403296
- net: ax88179_178a: add ASIX AX88179_178A USB 3.0/2.0 to gigabit ethernet
  adapter driver
- net: asix: init ASIX AX88772B MAC from EEPROM
- net: asix: handle packets crossing URB boundaries
- usb/net/asix_devices: Add USBNET HG20F9 ethernet dongle
  (requested by Colin)
- atl1c: restore buffer state
- add current -stable queue fixes (28)
- update to 3.8.3

* Sat Mar 02 2013 tmb <tmb> 3.8.1-1.mga3
+ Revision: 401081
- drm/i915: Fix Haswell/CRW PCI IDs
- update to 3.8.2-rc1
- drop merged patches

* Thu Feb 28 2013 tmb <tmb> 3.8.0-3.mga3
+ Revision: 400575
- sync up with current -stable queue (154 additional fixes all over)
- require fixed dracut

* Fri Feb 22 2013 tmb <tmb> 3.8.0-2.mga3
+ Revision: 399983
- disable 'mac80211: improve latency and throughput while software scanning' for now
- perf hists: Fix period symbol_conf.field_sep display
- perf tools: Fix build with bison 2.3 and older
- x86-32, mm: Remove reference to alloc_remap()
- x86-32, mm: Remove reference to resume_map_numa_kva()
- x86-32, mm: Rip out x86_32 NUMA remapping code
- x86, efi: Make noefi really disable EFI runtime serivces
- btrfs: access superblock via pagecache in scan_one_device
- btrfs: fix crash in log replay with qgroups enabled
- update ndiswrapper to 1.58

* Tue Feb 19 2013 tmb <tmb> 3.8.0-1.mga3
+ Revision: 399296
- update to 3.8 final
- drop merged patches
- add Intel Wellsburg PCH support to ahci, ata_piix, i2c, lpc, sound

* Fri Feb 08 2013 tmb <tmb> 3.8.0-0.rc7.1.mga3
+ Revision: 397185
- r8169: revert: 'enable ALDPS for power saving' as it breaks some hw (#8622)
- r8169: revert: 'enable internal ASPM and clock request settings' as it
  increases boot time
- update to 3.8-rc7

* Fri Feb 08 2013 tmb <tmb> 3.8.0-0.rc6.2.mga3
+ Revision: 397028
- drm/ttm: fix fence locking in ttm_buffer_object_transfer
- mac80211: improve latency and throughput while software scanning
- brcmsmac: double time for timeout
- ath9k: fix DMA idle but MAC is still stuck processing events
- rtlwifi: fix scheduling while atomic bug
- add support for Cypress PS2 Trackpads
- update to rc6-git as of: Wed Feb 6 12:11:10 2013 -0500

* Wed Feb 06 2013 tmb <tmb> 3.8.0-0.rc6.1.mga3
+ Revision: 394927
- disable perf build as it breaks on BS
- add more updates from upstream git
- add support for booting without initrd
  * https://wiki.mageia.org/en/Feature:BootSansRamdisk
  * works on ahci controllers, with ext4 and btrfs filesystems
  * theese options are now builtin: CONFIG_SCSI_MOD, CONFIG_SCSI,
    CONFIG_BLK_DEV_SD, CONFIG_ATA, CONFIG_SATA_AHCI, CONFIG_EXT4_FS,
    CONFIG_JBD2, CONFIG_BTRFS_FS, CONFIG_CRYPTO_CRC32C, CONFIG_CRC16,
    CONFIG_CRC_T10DIF, CONFIG_LIBCRC32C, CONFIG_ZLIB_DEFLATE
- update to 3.8-rc6-git
- fix perf build

* Sun Jan 27 2013 tmb <tmb> 3.8.0-0.rc5.1.mga3
+ Revision: 392632
- update to 3.8-rc5

* Fri Jan 18 2013 tmb <tmb> 3.8.0-0.rc4.1.mga3
+ Revision: 389476
- update to 3.8-rc4

* Wed Jan 16 2013 tmb <tmb> 3.8.0-0.rc3.2.mga3
+ Revision: 388788
- iwlwifi: audit single frames from AGG queue in RS
- drop __devinit/exit from heci, ndiswrapper, alx, shuttle-wmi
- update to 3.8-rc3-git as of 2013-01-16
- drop build, source symlinking of source package to kernel tree as it
  makes dkms build unusable modules
- rename -debug packages to -debuginfo
- specfile cleanups
- add more dkms conflicts
- conflict dkms packages that does not support kernel-3.8 to help upgrade ordering

* Thu Jan 10 2013 tmb <tmb> 3.8.0-0.rc3.1.mga3
+ Revision: 344645
- disable broken perf build for now
- update defconfigs
- rediff patches to apply cleanly
- drop merged zram patches
- update to 3.8-rc3
- update to 3.8-rc2-git as of 2013-01-04

* Tue Dec 18 2012 tmb <tmb> 3.7.1-1.mga3
+ Revision: 332459
- sync defconfigs
- update to 3.7.1
- fix zram oops (upstream, reported by wally)

* Tue Dec 11 2012 tmb <tmb> 3.7.0-1.mga3
+ Revision: 329575
- drop merged patch
- update to 3.7.0 final

* Thu Dec 06 2012 tmb <tmb> 3.7.0-0.rc8.1.mga3
+ Revision: 327546
- add perf bash_completion
- more filelist updates
- add 3.7 buildfixes for alx, IFWLOG, mach64, ndiswrapper
- pull in more upstream git fixes
- rediff disable-mrproper patch
- update to current rc8+ git
- update filelists
- update defconfigs
- restore patch preferring ata over ide drivers
- rediff patches to apply properly
- drop compress modules at install time patch
  (obsolete as we compress them at rpm build time)
- drop netbook kernel as it has no real advantage over desktop
  kernel anymore
- obsolete kernel-netbook*-latest kernel with the matching
  desktop kernels to keep upgrade path
- drop merged patches
- update to 3.7-rc8

* Wed Oct 31 2012 tmb <tmb> 3.6.5-1.mga3
+ Revision: 311802
- updates from stable queue:
  blkcg: Fix use-after-free of q->root_blkg and q->root_rl.blkg
  ceph: avoid 32-bit page index overflow
  ceph: fix dentry reference leak in encode_fh()
  ceph: Fix oops when handling mdsmap that decreases max_mds
  libceph: avoid NULL kref_put when osd reset races with alloc_msg
  libceph: check for invalid mapping
  floppy: don't call alloc_ordered_workqueue inside the alloc_disk loop
  floppy: do put_disk on current dr if blk_init_queue fails
  floppy: properly handle failure on add_disk loop
  gpio-timberdale: fix a potential wrapping issue
  gpiolib: Don't return -EPROBE_DEFER to sysfs, or for invalid gpios
  md/raid1: Fix assembling of arrays containing Replacements
  rbd: reset BACKOFF if unable to re-queue
- replace 'ext4: revert jbd2: don't write superblock when if its empty'
  with upstream fix: 'ext4: fix unjournaled inode bitmap modification'
  (wich properly fixes the possible data corruption bug)
- drop merged patches
- update to 3.6.5

* Sun Oct 28 2012 tmb <tmb> 3.6.4-1.mga3
+ Revision: 311107
- ext4: revert 'jbd2: don't write superblock when if its empty' (fixes possible data corruption)
- cpufreq / powernow-k8: Remove usage of smp_processor_id() in preemptible code
- add current stable queue fixes (71 fixes all over)
- update to 3.6.4

* Sun Oct 21 2012 tmb <tmb> 3.6.3-1.mga3
+ Revision: 309009
- drop merged patches
- update to 3.6.3
- add Atheros AR8161/8165 PCI-E Gigabit support (#7853)

* Wed Oct 17 2012 tmb <tmb> 3.6.2-1.mga3
+ Revision: 307752
- add mach64 and ipt_IFWLOG buildfixes for kernel-3.6
- sync in current stable queue (53 fixes)
- update defconfigs
- sync overlayfs support with opensuse
- disable acpi-video-add-blacklist-to-use-vendor-driver.patch, needs to be rewritten
- drop tools-perf-fix-strerror_r-usage.patch (merged)
- rediff patches:
  char-agp-intel-new-Q57-id.patch
  net-netfilter-psd-mdv.patch
  pci-pciprobe-CardBusNo.patch
- add include/ras/ to -devel and -source filelists
- update to 3.6.2
- move -doc to Documentation group

* Sun Sep 30 2012 tmb <tmb> 3.5.5-0.rc1.1.mga3
+ Revision: 300733
- update to 3.5.5-rc1 (262 fixes all over)

* Sat Sep 15 2012 tmb <tmb> 3.5.4-1.mga3
+ Revision: 294085
- drop merged patches
- update to 3.5.4
+ tv <tv>
- cpupower obsoletes cpufreq cpufrequtils
- set default policy as 'ondemand' (like cpufreq)

* Tue Sep 11 2012 tmb <tmb> 3.5.3-3.mga3
+ Revision: 292275
- ext3: Fix fdatasync() for files with only i_size changes (mga #7343)
- udf: Fix data corruption for files in ICB
- update defconfigs for overlayfs
- add overlayfs support (from ubuntu)
- disable broken unionfs
- sync with -stable queue (30 added fixes)

* Thu Aug 30 2012 tmb <tmb> 3.5.3-2.mga3
+ Revision: 285684
- pull in stable queue fixes (55 fixes all over)

* Sun Aug 26 2012 tmb <tmb> 3.5.3-1.mga3
+ Revision: 284238
- update to 3.5.3

* Thu Aug 16 2012 tmb <tmb> 3.5.2-1.mga3
+ Revision: 281575
- update to 3.5.2

* Sat Aug 11 2012 tmb <tmb> 3.5.1-1.mga3
+ Revision: 280494
- adapt unionfs for FD and BITS changes in 3.5.1
- enable CLEANCACHE, FRONTSWAP and ZCACHE (mga #6946)
- update to 3.5.1

* Sat Jul 28 2012 tmb <tmb> 3.5.0-1.mga3
+ Revision: 275103
- fix perf build with glibc-2.16
- fix unionfs build with 3.5 series kernels
- rediff mrproper patch
- update defconfigs
- drop merged patches
- rediff unionfs patch
- add include/memory/ to -devel and -source filelists
- update to 3.5

* Fri Jul 20 2012 tmb <tmb> 3.4.6-1.mga3
+ Revision: 272883
- add fixes from current stable queue (13 fixes)
- update to 3.4.6
- drop merged patch

* Wed Jul 18 2012 tmb <tmb> 3.4.5-1.mga3
+ Revision: 272320
- drop merged patches
- update to 3.4.5
- scsi: Silence unnecessary warnings about ioctl to partition (requested by colin)

* Sun Jul 01 2012 tmb <tmb> 3.4.4-2.mga3
+ Revision: 266170
- block: fix infinite loop in __getblk_slow
- enable EFI_STUB support (#6598)
- cifs: fix parsing of password mount option (requested by blino)
- ARM: Orion: Fix Virtual/Physical mixup with watchdog
- ARM: tegra: make tegra_cpu_reset_handler_enable() __init

* Wed Jun 27 2012 tmb <tmb> 3.4.4-1.mga3
+ Revision: 264235
- Tools: hv: verify origin of netlink connector message (CVE-2012-2669)
- drop merged patches
- update to 3.4.4

* Wed Jun 20 2012 tmb <tmb> 3.4.3-1.mga3
+ Revision: 262305
- pull in current -stable queue (61 fixes all over)
- rediff patch for added Q57 agp id
- drop merged ext4 uninit_bg fix
- update to 3.4.3

* Sat Jun 09 2012 tmb <tmb> 3.4.2-1.mga3
+ Revision: 258990
- ext4: fix the free blocks calculation for ext3 file systems w/ uninit_bg
- drop merged patches
- update to 3.4.2
- BR kmod instead of module-init-tools

* Tue Jun 05 2012 tmb <tmb> 3.4.1-1.mga3
+ Revision: 255531
- add patches from stable queue (66 fixes all over)
- require kmod instead of module-init-tools
- re-enable pwersaving by default on rt2800usb
- disable changing ata/ide link order
- update to 3.4.1 final

* Mon May 28 2012 tmb <tmb> 3.4.1-0.rc1.1.mga3
+ Revision: 247815
- BR bison for kernel utils
- BR flex for kernel utils
- BR pkgconfig(gtk+-2.0) for kernel tools
- disable acpi dsdt and events patches
- update to 3.4.1-rc1
  * drop merged patches
  * rediff IFWLOG, psd, unionfs shuttle-wmi and arm-udelay-fix patches
- add buildfix for unionfs and kernel-3.4
- add buildfix for radio-rttrack
- update defconfigs
- update filelists

* Thu May 17 2012 tmb <tmb> 3.3.6-2.mga2
+ Revision: 235853
- net/e1000: Prevent reset task killing itself (fixes deadlock)
- pull in fixes from stable queue:
  * ALSA: echoaudio: Remove incorrect part of assertion
  * ALSA: HDA: Lessen CPU usage when waiting for chip to respond
  * ALSA: hda/realtek - Add missing CD-input pin for MSI-7350 mobo
  * ALSA: hda/idt - Fix power-map for speaker-pins with some HP laptops
  * usbnet: fix skb traversing races during unlink(v2)
  * namespaces, pid_ns: fix leakage on fork() failure
- ipw2x00: add support for nl80211 clients like Network Manager (#5720)
- disable APM_CPU_IDLE as it causes some hw to hang on boot

* Sat May 12 2012 tmb <tmb> 3.3.6-1.mga2
+ Revision: 235512
- switch server kernels back to SLAB allocator as it performs better on
  bigger server hardware and workloads
- disable memory cgroups on desktop(586) and netbook kernels as it has
  unwanted overhead (server kernels still have it enabled)
- sync defconfigs for 3.3.6
- drop merged patches
- update to 3.3.6

* Thu May 10 2012 tmb <tmb> 3.3.5-1.mga2
+ Revision: 235140
- obsolete dkms-psb (replaced by in-kernel gma500_gfx)
- add current stable queue fixes:
  ARM: 7410/1: Add extra clobber registers for assembly in kernel_execve
  ARM: 7411/1: audit: fix treatment of saved ip register during syscall tracing
  ARM: 7412/1: audit: use only AUDIT_ARCH_ARM regardless of endianness
  ARM: 7414/1: SMP: prevent use of the console when using idmap_pgd
  ARM: OMAP: Revert "ARM: OMAP: ctrl: Fix CONTROL_DSIPHY register fields"
  ARM: orion5x: Fix GPIO enable bits for MPP9
  asix: Fix tx transfer padding for full-speed USB
  asm-generic: Use __BITS_PER_LONG in statfs.h
  ASoC: core: check of_property_count_strings failure
  ASoC: tlv312aic23: unbreak resume
  drm/i915: disable sdvo hotplug on i945g/gm
  drm/i915: Do no set Stencil Cache eviction LRA w/a on gen7+
  drm/i915: enable dip before writing data on gen4
  e1000: fix vlan processing regression
  Fix __read_seqcount_begin() to use ACCESS_ONCE for sequence value read
  fs/cifs: fix parsing of dfs referrals
  netem: fix possible skb leak
  net: Add memory barriers to prevent possible race in byte queue limits
  net: Fix issue with netdev_tx_reset_queue not resetting queue from XOFF state
  net: In unregister_netdevice_notifier unregister the netdevices
  net: l2tp: unlock socket lock before returning from l2tp_ip_sendmsg
  percpu, x86: don't use PMD_SIZE as embedded atom_size on 32bit
  regulator: Fix the logic to ensure new voltage setting in valid range
  sky2: fix receive length error in mixed non-VLAN/VLAN traffic
  sky2: propogate rx hash when packet is copied
  smsc95xx: mark link down on startup and let PHY interrupt deal with carrier changes
  sungem: Fix WakeOnLan
  tcp: change tcp_adv_win_scale and tcp_rmem[2]
  tcp: fix infinite cwnd in tcp_complete_cwr()
  tg3: Avoid panic from reserved statblk field access
  x86, relocs: Remove an unused variable
  xen/pci: don't use PCI BIOS service for configuration space accesses
  xen/pte: Fix crashes when trying to see non-existent PGD/PMD/PUD/PTEs
- drop merged samsung-laptop patches
- drop merged patches
- update to 3.3.5
- dell-laptop: Terminate quirks list properly (mga #5724)

* Sat Apr 28 2012 tmb <tmb> 3.3.4-1.mga2
+ Revision: 233744
- ata_piix: detect IDE mode SATA for Intel DH89xxCC
- ahci detect Marvell 88SE9172 SATA controller
- iwlwifi: use 6000G2B for 6030 device series
- iwlwifi: fix hardware queue programming
- cpupower: Require rpm-helper >= 0.24.8-1 for systemd support
- drop perf revert as it's now fixed upstream
- update to 3.3.4
- require dracut >= 017-9

* Mon Apr 23 2012 tmb <tmb> 3.3.3-1.mga2
+ Revision: 232856
- revert: "perf hists: Catch and handle out-of-date hist entry maps"
  added in stable 3.3.3 as it breaks perf build
- ath5k: do not stop queues for full calibration
- ath5k: do not re-run AGC calibration periodically
- iwlwifi: use correct released ucode version
- disable floppy autoloading as it makes some systems hang (mga #4696)
- drop merged patches
- update to 3.3.3

* Wed Apr 04 2012 tmb <tmb> 3.3.1-2.mga2
+ Revision: 228344
- ACPICA: Fix regression in FADT revision checks
- revert 'gpu/nouveau/bios: Fix tracking of BIOS image data' as it breaks some hw
- clean dkms tree on kernel uninstall
- clean -devel tree on uninstall
- drm/nouveau: create m2mf for nvd9 too
- drm/nouveau: inform userspace of relaxed kernel subchannel requirements
- drm/nouveau: select POWER_SUPPLY
- drm/nouveau: Fix crash when pci_ram_rom() returns a size of 0
- drm/nouveau/bios: Fix tracking of BIOS image data
- drm/radeon/kms: fix fans after resume
- drm/radeon: Don't dereference possibly-NULL pointer
- revert: 'x86/ioapic: Add register level checks to detect bogus io-apic
  entries' as it breaks xen
- revert: 'ath9k: fix going to full-sleep on PS idle' as it breaks atleast 9285

* Tue Apr 03 2012 tmb <tmb> 3.3.1-1.mga2
+ Revision: 228038
- drm/i915: add Ivy Bridge GT2 Server entries
- only server kernel provides drbd-api
- make sure dracut is always installed
- update defconfigs
- drm/nouveau: fix thinko causing init to fail on cards without accel
- drm/nouveau: default to 8bpc for non-LVDS panels if EDID isn't useful
- drm/nouveau/i2c: fix thinko/regression on really old chipsets
- drop merged patches
- resync radeon backport with 3.4-rc1
- update to 3.3.1
- replace kernel-tools package with separate perf and cpupower packages

* Sat Mar 24 2012 tmb <tmb> 3.3.0-2.mga2
+ Revision: 226128
- disable ath9k fix for mga #144 to verify if its still needed
- ata: add ide/ahci/raid mode support for Intel Lynx Point chipset
- nouveau: backport Kepler (GTX6xx) support
- radeon: backport support for Southern Islands (HD7xxx) GPUs and Trinity APUs
- add upstream drm changes to support gpu driver backports
- ata: prefer ata drivers over ide drivers when both are built (Anssi)

* Mon Mar 19 2012 tmb <tmb> 3.3.0-1.mga2
+ Revision: 224352
- disable framebuffer logo to try and reduce screen flickering on boot
- media/tda10071: correct delivery system to DVB-S/S2
- media: fix initialization on Hauppauge WinTV Nova HD-S2 and similar hardware
- update defconfigs
- update to 3.3 final

* Sat Mar 10 2012 tmb <tmb> 3.3.0-0.rc7.1.mga2
+ Revision: 222555
- update to 3.3-rc7
- re-enable some more nics that got disabled by mistake
- re-enable MACVLAN and VETH (#4833)

* Mon Mar 05 2012 tmb <tmb> 3.3.0-0.rc6.1.mga2
+ Revision: 219069
- remove c6x arch from source tarball
- fix mach64 build with 3.3 series
- update defconfigs
- update unionfs to 2.5.11
- fix ndiswrapper build with 3.3 series kernels
- update to ndiswrapper 1.57 final
- update filelists
- rediff patches to apply cleanly
- drop merged patches
- update to 3.3-rc6

* Sat Mar 03 2012 tmb <tmb> 3.2.9-2.mga2
+ Revision: 217219
- rebuild with new gcc
- sync in current -stable queue (14 fixes)

* Thu Mar 01 2012 tmb <tmb> 3.2.9-1.mga2
+ Revision: 216396
- obsolete dkms-lzma
- require dracut >= 017-1
- add another needed fix for r8172u wireless driver in staging (#4491)
- drop merged fixes
- update to 3.2.9

* Sat Feb 25 2012 tmb <tmb> 3.2.7-1.mga2
+ Revision: 214713
- PCI: workaround hard-wired bus number
- mac80211: Fix a rwlock bad magic bug
- fix nonworking r8172u wireless driver in staging (#4491)
- enable PRINTK_TIME by default to help debugging boot delays
- drop merged patches
- update to 3.2.7

* Thu Feb 16 2012 tmb <tmb> 3.2.6-3.mga2
+ Revision: 209763
- rebuild for missing kmod provides
- require dracut >= 016-1 for more needed fixes
- fix modules.description generation with .xz modules

* Tue Feb 14 2012 tmb <tmb> 3.2.6-2.mga2
+ Revision: 208929
- require dracut >= 015-2 to get the latest fixes
- pull in current -stable queue (20 fixes)
- add post and preun service calls for cpupower in kernel-tools package
- require dracut >= 015-1 for support of xz compressed modules
- compress modules with xz
- update to 3.2.6 final
- compress symvers files in /boot with xz

* Sun Feb 12 2012 tmb <tmb> 3.2.6-0.rc1.1.mga2
+ Revision: 207659
- ath9k: stop on rates with idx -1 in ath9k rate control's .tx_status
- ath9k_hw: fix a RTS/CTS timeout regression
- ath9k: fix a WEP crypto related regression (# 4309)
- update to 3.2.6-rc1
- enable PPS_CLIENT_LDISC (mga #4221)

* Mon Feb 06 2012 tmb <tmb> 3.2.5-1.mga2
+ Revision: 205596
- pull in carl9170-firmware too as it's not in upstream kernel-firmware yet (#2386)
- update to 3.2.5
  * drop merged ASPM rework patch
- correct requires: module-init-tools >= 3.16-14 for xz support

* Thu Jan 26 2012 tmb <tmb> 3.2.2-1.mga2
+ Revision: 201806
- drop merged patches
- update to 3.2.2 (CVE-2012-0056)

* Fri Jan 20 2012 tmb <tmb> 3.2.1-2.mga2
+ Revision: 198861
- BR module-init-tools >= 3.6-14 for xz support
- add support for compressing modules with xz (disabled until dracut gets support)
- compress desktop* and server kernels with XZ (even xen supports it since v4.0)
- enable xen support on x86_64 kernel-desktop
- require module-init-tools >= 3.6-14 for xz support
- require dracut instead of mkinitrd

* Sun Jan 15 2012 tmb <tmb> 3.2.1-1.mga2
+ Revision: 196371
- fix groups on on kernel-utils(-devel)
- add BR docbook-style-xsl
- add patches from -stable queue (51 fixes all over the kernel)
- add kernel-tools(-devel) packages providing perf and cpupower tools (#3413)
- drop kernel-xen-pvops flavour as kernel-server provides all that is needed
  * kernel-server-latest now obsoletes kernel-xen-pvops-latest
  * kernel-server-devel-latest now obsoletes kernel-xen-pvops-devel-latest
- sync xen config with fedora
- update to 3.2.1

* Thu Jan 05 2012 tmb <tmb> 3.2.0-1.mga2
+ Revision: 191540
- update to 3.2 final
- require newest kernel-firmware
- obsolete dkms-r8192se as it is merged upstream
- upstream tarball is now compressed with xz

* Wed Dec 28 2011 tmb <tmb> 3.2.0-0.rc7.2.mga2
+ Revision: 188492
- update to latest upstream git including: drm/i915: Disable RC6 on
  Sandybridge by default (371de6e4e0042adf4f9b54c414154f57414ddd37)
- disable SQUASHFS_4K_DEVBLK_SIZE as it breaks livecd builds

* Sun Dec 25 2011 tmb <tmb> 3.2.0-0.rc7.1.mga2
+ Revision: 187363
- ndiswrapper: fix build with 3.2 series kernels
- unionfs: convert ->i_nlink usage to set_nlink()
- drm/mach64: module.h must now be included directly
- update defconfigs
- add fixes for radeon and vmwgfx from upstream git headed for 3.2 final
- update filelists
- rebase patches to apply cleanly
- drop merged patches
- update to 3.2-rc7
- make sure -devel rpm is installed before triggering dkms rebuild

* Sat Dec 24 2011 tmb <tmb> 3.1.6-2.mga2
+ Revision: 187103
- update netbook summary and description too regarding memory usage
- sync with current stable queue (38 fixes to all over the kernel)

* Thu Dec 22 2011 tmb <tmb> 3.1.6-1.mga2
+ Revision: 185703
- update to 3.1.6 final
- enable ISDN in netbook config (#3367)
- switch transparent hugepages from on by default to madvise (only enabled
  for apps that requests it), as it fixes desktop freeze when accessing
  slow media such as usb (thanks to fbui/mdv mail on @cooker ml).
- update desktop(586) summaries and descriptions to point out that only
  3-3.5GB RAM is detected on 32bit, and that server kernel is needed to
  fully support 4GB or more
- drop defattr and buildroot
- trigger dkms build in posttrans so modules get built at kernel install
  instead of at boot (speeds up boot time with new kernel)

* Fri Dec 16 2011 tmb <tmb> 3.1.6-0.rc1.1.mga2
+ Revision: 182783
- bump requires on kernel-firmware
- drop merged drm and xfs patches
- update to 3.1.6-rc1

* Mon Dec 05 2011 tmb <tmb> 3.1.4-2.mga2
+ Revision: 176941
- rebuild with gcc-4.6.2
+ blino <blino>
- IFWLOG: fix return value of checkentry (not properly modified in 2.6.35+ patch, #3594)

* Tue Nov 29 2011 tmb <tmb> 3.1.4-1.mga2
+ Revision: 174077
- update to 3.1.4
  * reverts usb patch that broke isochronous devices
    (i.e. webcam, audio, or other streaming devices)

* Sun Nov 27 2011 tmb <tmb> 3.1.3-1.mga2
+ Revision: 172918
- xfs fixes from upstream:
  * don't serialise direct IO reads on page cache checks
    (fixes performance regression introduced in 2.6.38)
  * avoid direct I/O write vs buffered I/O race
  * return -EIO when xfs_vn_getattr() failed
  * fix buffer flushing during unmount
  * fix possible memory corruption in xfs_readlink
  * use doalloc flag in xfs_qm_dqattach_one()
- drm fixes from stable queue:
  * fix integer overflow in drm_mode_dirtyfb_ioctl()
  * radeon/kms: fix up gpio i2c mask bits for r4xx for real
  * i915: Ivybridge still has fences
  * i915: Turn on a required 3D clock gating bit on Sandybridge
  * i915: Turn on another required clock gating bit on Sandybridge
- update to 3.1.3

* Sun Nov 20 2011 tmb <tmb> 3.1.2-0.rc1.1.mga2
+ Revision: 170001
- update to 3.1.2-rc1
- pci: rework ASPM disable code
- drm/i915: Fix inconsistent backlight level during disabled
- update to 3.1.1 final

* Thu Nov 10 2011 tmb <tmb> 3.1.1-0.rc1.1.mga2
+ Revision: 166212
- update to 3.1.1-rc1
  * rediff unionfs patch
  * drop merged patches
  * update defconfigs

* Tue Nov 01 2011 tmb <tmb> 3.1.0-2.mga2
+ Revision: 161124
- md/raid10: Fix bug when activating a hot-spare.
- md/raid5: fix bug that could result in reads from a failed device.
- enable PM_RUNTIME and USB_SUSPEND

* Mon Oct 24 2011 tmb <tmb> 3.1.0-1.mga2
+ Revision: 157691
- update to 3.1 final

* Tue Oct 18 2011 tmb <tmb> 3.1.0-0.rc10.1.mga2
+ Revision: 156037
- update to 3.1-rc10
- drop merged patches
- re-enable usblp as it is needed by both usb-pp adapters and some printers (mga #2240, #2264)
  (cups is patched to work with both usblp and libusb)

* Thu Oct 06 2011 tmb <tmb> 3.1.0-0.rc9.1.mga2
+ Revision: 152256
- fix ndiswrapper Makefile
- remove openrisc arch
- more defconfig updates
- SCSI: libsas: fix panic when single phy is disabled on a wide port
  SCSI: qla2xxx: Fix crash in qla2x00_abort_all_cmds() on unload
- Input: wacom - revert 'Cintiq 21UX2 does not have menu strips'
- update ndiswrapper to 1.57-rc1 and drop merged patches
- update unionfs to 2.5.10
- update defconfigs
- drop merged: media-video-uvc-fix-init-hang.patch
- drop merged patch:
  scripts-headers_install-fix-__packed-in-exported-kernel-headers.patch
- drop patch: sound-alsa-hda_intel-prealloc-4mb-dmabuffer.patch
  (it's replaced by the upstream SND_HDA_PREALLOC_SIZE config option)
- rediff patches to apply cleanly
- rediff unionfs patch
- update to 3.1-rc9

* Mon Oct 03 2011 tmb <tmb> 3.0.6-1.mga2
+ Revision: 151408
- fix boot hang on uvc webcam init (mga #2425)
- update to 3.0.6
- ndiswrapper: add IoUnregisterPlugPlayNotification symbol (mga #2162)

* Mon Aug 29 2011 tmb <tmb> 3.0.4-1.mga2
+ Revision: 136300
- update to 3.0.4
- headers_install: fix __packed in exported kernel headers
- btrfs: btrfs_calc_avail_data_space: cope with no read/write devices
- update to 3.0.3
- drop merged: net-wireless-iwlagn-5000-do-not-support-idle-mode.patch
- update to 3.0.2-rc1
- update to 3.0.1 final
- enable RT33XX/RT35XX pci/usb support
- iwlagn: 5000 do not support idle mode
- drop debug-latest rpms as they are not really used
- rename debug rpms so the name ends with -debug like all other debug packages
- update to 3.0.1-rc1
- build with -s(ilent) so only warnings and errors gets logged
- fix build with -stable -rc patches
- drop obsolete conflicts/obsoletes
- remove powerpc and sparc support (already disabled)
- convert -source rpm to noarch
- release 3.0 final
- samsung-laptop: add support for NC110, NC210, R700 and X520
- samsung-laptop: fix detection of N150/N210/N220 models (mga #2175)
- disable SOUND_OSS_CORE_PRECLAIM to allow osspd to work (request by Coling Guthrie)
- prepare for 3.0 final
- drop uclevel define as its unused
- drop kstable defines as sublevel will be used for stable patches

* Sun Jul 17 2011 tmb <tmb> 3.0.0-0.rc7.5.1.mga2
+ Revision: 125370
- update to 3.0-rc7-git5 (fixes 32bit sched race/hang and a possible rcu hang/crash)

* Fri Jul 15 2011 tmb <tmb> 3.0.0-0.rc7.2.1.mga2
+ Revision: 124486
- update filelists
- rediff patch disabling mrproper in -devel rpms
- disable acerhk on x86_64 as it contains unsafe asm code
- fix mach64, ndiswrapper, ppscsi, rfswitch and viahss builds for linix-3.0
- update defconfigs
- update unionfs to 2.5.9.2
- disable aufs2 for now (broken)
- disable framebuffer oops fixes for now to verify if they are still needed
- rediff patches:
  3rd-3rdparty-merge.patch
  acpi-add-proc-event-regs.patch
  arm_fix_bad_udelay_usage.patch
  net-netfilter-psd.patch
  net-netfilter-psd-mdv.patch
  platform-x86-add-shuttle-wmi-driver.patch
  x86-cpufreq-speedstep-dothan-3.patch
  x86-p4_clockmod-reasonable-default-for-scaling_min_freq.patch
- drop merged patch:
  net-usb-rndis_host-poll-status-channel-before-control-channel.patch
- drop obsolete patch:
  mv643xx_eth_csum_part2.patch
- update to 3.0-rc7-git2
  * drop merged patches:
    ata-ahci-Intel-Panther-Point-ids.patch
    ata-ata_piix-Intel-Panther-Point-ids.patch
    block-blkdev_get-should-access-bd_disk-only-after.patch
    block-export-blk_-get-put-_queue.patch
    fs-ext4-init-timer-earlier-to-avoid-a-kernel-panic-in-__save_error_info_CVE-2011-2493.patch
    fs-fat-fix-corrupt-inode-flags-when-remove-attr_sys-flag.patch
    fs-proc-restrict-access-to-proc-PID-io_CVE-2011-2495.patch
    gpu-drm-i915-add-a-no-lvds-quirk-for-the-asus-eeebox-pc-eb1007.patch
    gpu-drm-i915-Avoid-unmapping-pages-from-a-NULL-address-s.patch
    gpu-drm-i915-dp-Sanity-check-eDP-existence.patch
    gpu-drm-i915-Enable-GPU-semaphores-by-default.patch
    gpu-drm-i915-Fix-tiling-corruption-from-pipelined-fencin.patch
    gpu-drm-i915-Restore-missing-command-flush-before-interr.patch
    gpu-drm-radeon-kms-fix-for-radeon-on-systems-4gb-without.patch
    gpu-drm-radeon-kms-viewport-height-has-to-be-even.patch
    gpu-drm-Retry-i2c-transfer-of-EDID-block-after-failure.patch
    hwmon-coretemp-relax-target-temperature-range-check.patch
    kernel-taskstats-dont-allow-duplicate-entries-in-listener-mode_CVE-2011-2484.patch
    mm-ksm-fix-race-between-ksmd-and-exiting-task-CVE-2011-2183.patch
    net-bluetooth-l2cap-and-rfcomm-fix-1-byte-infoleak-to-userspace_CVE-2011-2492.patch
    net-bluetooth-Prevent-buffer-overflow-in-l2cap-config-request_CVE-2011-2497.patch
    net-ipv4-check-for-mistakenly-passed-in-non-ipv4-address.patch
    net-ipv4-inet_diag-fix-inet_diag_bc_audit_CVE-2011-2213.patch
    net-netfilter-ipset-6.2.patch
    net-netfilter-ipset-6.4.patch
    net-r8169-add-a-new-chip-for-RTL8105.patch
    net-r8169-add-a-new-chip-for-RTL8168DP.patch
    net-r8169-Be-verbose-when-unable-to-load-fw.patch
    net-r8169-support-RTL8168E-RTL8111E.patch
    net-r8169-support-the-new-chips-for-RTL8105E.patch
    net-wireless-ath9k-Fix-a-locking-related-issue.patch
    net-wireless-ath9k-fix-two-more-bugs-in-tx-power.patch
    net-wireless-ath9k-reset-chip-on-baseband-hang.patch
    net-wireless-ath9k-set-40-mhz-rate-only-if-hw-is-configured-in-ht40.patch
    net-wireless-nl80211-fix-check-for-valid-ssid-size-in-scan-operations_CVE-2011-2517.patch
    net-wireless-nl80211-fix-overflow-in-ssid_len_CVE-2011-2517.patch
    pci-intel-iommu-add-domain-check-in-domain_remove_one_dev_info.patch
    pci-intel-iommu-check-for-identity-mapping-candidate-using.patch
    pci-intel-iommu-dont-cache-iova-above-32bit.patch
    pci-intel-iommu-flush-unmaps-at-domain_exit.patch
    pci-intel-iommu-only-unlink-device-domains-from-iommu.patch
    pci-intel-iommu-remove-host-bridge-devices-from-identity.patch
    pci-intel-iommu-speed-up-processing-of-the-identity_mapping.patch
    pci-intel-iommu-use-coherent-dma-mask-when-requested.patch
    platform-x86-hp-wmi-add-rfkill-support-for-wireless-query-0x1b.patch
    platform-x86-hp-wmi-allow-setting-input-and-output-buffer-sizes-s.patch
    platform-x86-hp-wmi-check-query-return-value-in-hp_wmi_perform_qu.patch
    platform-x86-hp-wmi-clear-rfkill-device-pointers-when-appropriate.patch
    platform-x86-hp-wmi-make-rfkill-initialization-failure-non-fatal.patch
    platform-x86-hp-wmi-remove-a-variable-that-is-never-read.patch
    platform-x86-hp-wmi-split-rfkill-initialization-out-of-hp_wmi_bio.patch
    platform-x86-samsung-laptop-add-support-for-N230-model.patch
    platform-x86-samsung-laptop-make-dmi_check_cb-to-return-1-instead-of-0.patch
    platform-x86-samsung-laptop.patch
    platform-x86-samsung-laptop-Samsung-R410P-backlight-driver.patch
    revert-dell-laptop-Toggle-the-unsupported-hardware-killswitch.patch
    revert-usb-option-add-id-for-zte-mf-330.patch
    scsi-fix-oops-caused-by-queue-refcounting-failure.patch
    security-tomoyo-fix-oops-in-tomoyo_mount_acl.patch
    usb-cdc-acm-adding-second-acm-channel-support-for-nokia-e7.patch
    usb-core-tolerate-protocol-stall-during-hub-and-port.patch
    usb-option-add-alcatel-x200-to-sendsetup-blacklist.patch
    usb-option-add-blacklist-for-zte-k3765-z-19d2-2002.patch
    usb-option-add-prolink-ph300-modem-ids.patch
    usb-option-add-zoom-4597-modem-usb-ids.patch
    usb-serial-add-another-4n-galaxy.de-pid-to-ftdi_sio-driver.patch
    usb-storage-redo-incorrect-reads.patch
    usb-usbnet-cdc_ncm-add-missing-.reset_resume-hook.patch
    video-fix-use-after-free-by-vga16fb-on-rmmod.patch
    watchdog-iTCO_wdt-add-Intel-Panther-Point-support.patch
    x86-amd-iommu-fix-3-possible-endless-loops.patch
    x86-amd-iommu-fix-boot-crash-with-hidden-pci-devices.patch
    x86-amd-iommu-use-only-per-device-dma_ops.patch
    xen-irq-implement-bind_interdomain_evtchn_to_irqhandler-for-backend-drivers.patch
    xen-network-backend-driver.patch
    xen-off-by-one-errors-in-multicalls.c.patch

* Fri Jul 08 2011 tmb <tmb> 2.6.38.8-5.mga2
+ Revision: 120242
- rebuild for missing packages

* Thu Jul 07 2011 tmb <tmb> 2.6.38.8-4.mga2
+ Revision: 119919
- fix non-expanding xen-pvops macros
- net/ipv4: Check for mistakenly passed in non-IPv4 address
- Bluetooth: Prevent buffer overflow in l2cap config request (CVE-2011-2497)
- Bluetooth: l2cap and rfcomm: fix 1 byte infoleak to userspace (CVE-2011-2492)
- proc: restrict access to /proc/PID/io (CVE-2011-2495)
- ext4: init timer earlier to avoid a kernel panic in __save_error_info (CVE-2011-2493)
- nl80211: fix overflow in ssid_len (CVE-2011-2517)
- TOMOYO: Fix oops in tomoyo_mount_acl() (CVE-2011-2518)
- inet_diag: fix inet_diag_bc_audit() (CVE-2011-2213)
- taskstats: don't allow duplicate entries in listener mode (CVE-2011-2484)

* Tue Jun 14 2011 tmb <tmb> 2.6.38.8-2.mga2
+ Revision: 106310
- add mgaver to 'uname -r'
- ath9k: revert changes that crashes the kernel (mga #144, regression since 2.6.35)
- xen: fix off by one errors in multicalls.c
- video: Fix use-after-free by vga16fb on rmmod
- nl80211: fix check for valid SSID size in scan operations (CVE-2011-2517)
- fat: Fix corrupt inode flags when remove ATTR_SYS flag
- intel-iommu: Flush unmaps at domain_exit
- intel-iommu: Only unlink device domains from iommu
- intel-iommu: Check for identity mapping candidate using system dma mask
- intel-iommu: Speed up processing of the identity_mapping function
- intel-iommu: Dont cache iova above 32bit
- intel-iommu: Use coherent DMA mask when requested
- intel-iommu: Remove Host Bridge devices from identity mapping
- intel-iommu: Add domain check in domain_remove_one_dev_info
- x86/amd-iommu: Fix 3 possible endless loops
- x86/amd-iommu: Use only per-device dma_ops
- x86/amd-iommu: Fix boot crash with hidden PCI devices
- usb: core: Tolerate protocol stall during hub and port status read
- usb-storage: redo incorrect reads
- usbnet/cdc_ncm: add missing .reset_resume hook
- usb: cdc-acm: Adding second ACM channel support for Nokia E7 and C7
- usb: serial: add another 4N-GALAXY.DE PID to ftdi_sio driver
- option: add Zoom 4597 modem USB IDs
- option: add Alcatel X200 to sendsetup blacklist
- option: add Prolink PH300 modem IDs
- option: Add blacklist for ZTE K3765-Z
- Revert "USB: option: add ID for ZTE MF 330" as its a usb hub
- ath9k: fix two more bugs in tx power
- ath9k: Reset chip on baseband hang
- ath9k: set 40 Mhz rate only if hw is configured in ht40
- drm/i915: Add a no lvds quirk for the Asus EeeBox PC EB1007
- drm/radeon/kms: viewport height has to be even
- drm/radeon/kms: fix for radeon on systems >4GB without hardware iommu

* Tue Jun 07 2011 tmb <tmb> 2.6.38.8-1.mga2
+ Revision: 101625
- block: export blk_{get,put}_queue()
- block: blkdev_get() should access ->bd_disk only after success
- scsi:  Fix oops caused by queue refcounting failure
- hwmon: coretemp: Relax target temperature range check
- ksm: fix race between ksmd and exiting task (CVE-2011-2183)
- update to 2.6.38.8 (CVE-2011-1017)
- drop merged patches

* Sun May 22 2011 tmb <tmb> 2.6.38.7-1.mga1
+ Revision: 100106
- r8169: add a new chip for RTL8105
- r8169: add a new chip for RTL8168DP
- r8169: add support for RTL8168E/RTL8111E
- update to 2.6.38.7 final (CVE-2011-1770, CVE-2011-1776, CVE-2011-1927, CVE-2011-2496)
- drop merged stable-queue fixes

* Thu May 19 2011 tmb <tmb> 2.6.38.6-2.mga1
+ Revision: 99781
- watchdog: iTCO_wdt: TCO Watchdog patch for Intel Panther Point PCH
- more stable fixes
  * cifs: clean up various nits in unicode routines
  * cifs: fix cifsConvertToUCS() for the mapchars case
  * iwlegacy: fix IBSS mode crashes
- merge current stable queue:
  * ARM: zImage: make sure the stack is 64-bit aligned
  * ASoC: SSM2602: Fix 'Mic Boost2' control
  * ASoC: UDA134x: Remove POWER_OFF_ON_STANDBY define
  * block: rescan partitions on invalidated devices on -ENOMEDIA too
  * can: fix SJA1000 dlc for RTR packets
  * cdrom: always check_disk_change() on open
  * cifs: add fallback in is_path_accessible for old servers
  * cifs: Fix memory over bound bug in cifs_parse_mount_options
  * clocksource: Install completely before selecting
  * dccp: handle invalid feature options length (CVE-2011-1770)
  * drm/radeon/kms: fix extended lvds info parsing
  * ehea: Fix memory hotplug oops
  * ehea: fix wrongly reported speed and port
  * media: Fix cx88 remote control input
  * hydra: Fix regression caused during net_device_ops conversion
  * ipheth: Properly distinguish length and alignment in URBs and skbs
  * libata: fix oops when LPM is used with PMP
  * libertas: fix cmdpendingq locking
  * megaraid_sas: Sanity check user supplied length before passing it to
    dma_alloc_coherent()
  * mm: use alloc_bootmem_node_nopanic() on really needed path
  * ne-h8300: Fix regression caused during net_device_ops conversion
  * net: dev_close() should check IFF_UP
  * net: ip_expire() must revalidate route (CVE-2011-1927)
  * net: slip, fix ldisc->open retval
  * PCH_GbE : Fixed the issue of checksum judgment
  * PCH_GbE : Fixed the issue of collision detection
  * pch_gbe: support ML7223 IOH
  * PM: Fix warning in pm_restrict_gfp_mask() during SNAPSHOT_S2RAM ioctl
  * PM / Hibernate: Fix ioctl SNAPSHOT_S2RAM
  * PM / Hibernate: Make snapshot_release() restore GFP mask
  * rapidio: fix default routing initialization
  * Revert "mmc: fix a race between card-detect rescan and clock-gate work
    instances"
  * rtc-s3c: fixup wake support for rtc
  * scsi: Revert "[SCSI] Retrieve the Caching mode page"
  * Revert "x86, AMD: Fix APIC timer erratum 400 affecting K8 Rev.A-E
    processors"
  * slcan: fix ldisc->open retval
  * tick: Clear broadcast active bit when switching to oneshot
  * tmpfs: fix off-by-one in max_blocks checks
  * tmpfs: fix race between swapoff and writepage
  * tmpfs: fix race between umount and swapoff
  * tmpfs: fix race between umount and writepage
  * tmpfs: fix spurious ENOSPC when racing with unswap
  * media/v4l: Release module if subdev registration fails
  * vmxnet3: Consistently disable irqs when taking adapter->cmd_lock
  * vmxnet3: Fix inconsistent LRO state after initialization
  * x86, AMD: Fix ARAT feature setting again
  * x86, apic: Fix spurious error interrupts triggering on all non-boot APs
  * x86: Fix UV BAU for non-consecutive nasids
  * x86, mce, AMD: Fix leaving freed data in a list
  * zorro8390: Fix regression caused during net_device_ops conversion
+ rtp <rtp>
- Revert to unionfs 2.5.8 until 2.5.9 problems are solved (cf bug #1326 and
  unionfs ml)

* Tue May 10 2011 tmb <tmb> 2.6.38.6-1.mga1
+ Revision: 97089
- merge current stable queue:
  cifs: change bleft in decode_unicode_ssetup back to signed type
  cifs: check for bytes_remaining going to zero in CIFS_SessSetup
  cifs: handle errors from coalesce_t2
  cifs: refactor mid finding loop in cifs_demultiplex_thread
  cifs: sanitize length checking in coalesce_t2
  drm/radeon/kms: add pci id to acer travelmate quirk for 5730
  drm/radeon/kms: fix gart setup on fusion parts (v2) backport
  drm/i915/dp: Be paranoid in case we disable a DP before it is attached
  drm/i915/lvds: Only act on lid notify when the device is on
  drm/i915: Release object along create user fb error path
  efi: Validate size of EFI GUID partition entries (CVE-2011-1776)
  hw_breakpoints, powerpc: Fix CONFIG_HAVE_HW_BREAKPOINT off-case in ptrace_set_debugreg()
  iwlwifi: add {ack, plpc}_check module parameters
  ptrace: Prepare to fix racy accesses on task breakpoints
  thinkpad-acpi: module autoloading for newer Lenovo ThinkPads
  vm: Don't lock guardpage if the stack is growing up
  vm: fix vm_pgoff wrap in upward expansion
  x86, hw_breakpoints: Fix racy access to ptrace breakpoints
- revert: "dell-laptop: Toggle the unsupported hardware killswitch"
  as it causes regressions on existing hw (reported by Colin Guthrie)
- drop Amd K8 erratum 400 fix (merged)
- update to 2.6.38.6
- clean /lib/modules tree on uninstall
- disable ACPI_PROCFS_POWER as its obsoleted by the sysfs interface

* Tue May 03 2011 tmb <tmb> 2.6.38.5-1.mga1
+ Revision: 94519
- update unionfs to 2.5.9
- update to 2.6.38.5 (CVE-2011-2479, CVE-2011-2498)

* Sat Apr 30 2011 tmb <tmb> 2.6.38.5-0.rc1.1.mga1
+ Revision: 93738
- raise default vmalloc area to 192MB (Anssi, #904)
- r8169: be verbose when unable to load firmware
- samsung-laptop: drop backlight type setting patch as its 2.6.39 specific
- r8169: add support for RTL8105E
- samsung-laptop: set backlight type and add support for N230, R410P
- x86, AMD: K8 Rev.A-E processors are subject to erratum 400
- enable DEBUG_RODATA and DEBUG_SET_MODULE_RONX
- update to 2.6.38.5-rc1
- hp-wmi: add support for rfkill on HP Mini 5102 (Anssi)

* Fri Apr 22 2011 tmb <tmb> 2.6.38.4-1.mga1
+ Revision: 89804
- enable radeon kernel modesetting
- add aliases for old ieee1394 modules to the new firewire stack
- add ide/ahci/raid ids for Intel Panther Point
- update ipset to 6.4 (includes ipv6 support)
- intel_ips: fix monitor thread to use TASK_INTERRUPTIBLE
- disable powersaving on rt2800 as it is broken (noted by rtp)
- update aufs to aufs2.1-38 stable branch
- update to 2.6.38.4 (CVE-2011-2496)

* Sat Apr 16 2011 tmb <tmb> 2.6.38.3-1.mga1
+ Revision: 86561
- drm/radeon/kms: fix suspend on rv530 asics
- drm/radeon/kms: pll tweaks for rv6xx
- vm: fix mlock() on stack guard page
- vm: fix vm_pgoff wrap in stack expansion
- update 'drm/i915: Fix tiling corruption from pipelined fencing'
- drm: Retry i2c transfer of EDID block after failure
- drm/i915/dp: Sanity check eDP existence
- drm/i915: Restore missing command flush before interrupt on BLT ring
- drm/i915: Avoid unmapping pages from a NULL address space
- drm/i915: Enable GPU semaphores by default
- update to 2.6.38.3 final (CVE-2011-2496)
- drop merged xen revert patch
- re-enable debug

* Tue Apr 12 2011 tmb <tmb> 2.6.38.3-0.rc1.1.mga1
+ Revision: 84037
- add missing virtual provides
- revert: 'x86-64, mm: Put early page table high' as it breaks xen
- rediff HP Compaq DC7900 alsa patch
- update to 2.6.38.3-rc1
- drop merged patches

* Mon Apr 11 2011 tmb <tmb> 2.6.38.2-4.mga1
+ Revision: 83133
- add xen netdev backend support
- compress patch tarball with xz
- ath9k: fix a chip wakeup related crash in ath9k_start
- add xen-pvops kernel
- spec cleanup
+ rtp <rtp>
- import arm support. The kernel can build iop32x, kirkwood and versatile (qemu)
  kernels but build only kirkwood and versatile atm.

* Sat Apr 02 2011 tmb <tmb> 2.6.38.2-2.mga1
+ Revision: 79847
- add module_alias matching old dm-raid45
- ALSA: Fix yet another race in disconnection
- ALSA: hda - Fix SPDIF out regression on ALC889
- ALSA: vmalloc buffers should use normal mmap
- ath9k: Fix kernel panic in AR2427
- cciss: fix lost command issue
- crypto: aesni-intel - fix problem with packets that are not multiple of 64b
- eCryptfs: ecryptfs_keyring_auth_tok_for_sig() bug fix
- eCryptfs: Unlock page in write_begin error path
- mac80211: initialize sta->last_rx in sta_info_alloc
- myri10ge: fix rmmod crash
- PCI/ACPI: Report ASPM support to BIOS if not disabled from command line
- perf: Better fit max unprivileged mlock pages for tools needs
- scsi/ses: Avoid kernel panic when lun 0 is not mapped
- scsi/ses: show devices for enclosures with no page 7
- sound/oss/opl3: validate voice and channel indexes
- x86-64, mm: Put early page table high
- drop -devel provides from -source as dkms fails to build correctly with -source
- Relax si_code check in rt_sigqueueinfo and rt_tgsigqueueinfo
- Revert "x86: Cleanup highmap after brk is concluded",
  as it causes systems to freeze on resume
- restore framebuffer oops and deadlock fixes by Herton as
  they seem to work better than the Ubuntu one (mdv#62864)

* Mon Mar 28 2011 tmb <tmb> 2.6.38.2-1.mga1
+ Revision: 78347
- update to 2.6.38.2 (CVE-2011-0726)
- add kernel-netbook build (mga #313)

* Thu Mar 24 2011 tmb <tmb> 2.6.38.1-1.mga1
+ Revision: 76866
- drm/i915: Fix pipelined fencing (colin, fdo bug #34584)
- enable ath9k debugging
- ath9k: Fix a locking related issue
- update to 2.6.38.1

* Sun Mar 20 2011 tmb <tmb> 2.6.38-1.mga1
+ Revision: 74958
- add 70 fixes from upstream -stable queue
- rediff S2 to apply cleanly
- fix acerhk build with 2.6.38 series kernels
- update filelists
- fix ndiswrapper build with 2.6.38
- update aufs2 to 2.6.38-rc
- update defconfigs
- rediff 3rd-3rdparty-merge.patch
- rediff fs-aufs2.1-for-2.6.37.patch
- rediff platform-x86-add-shuttle-wmi-driver.patch
- rediff char-agp-intel-new-Q57-id.patch
- rediff acpi-video-add-blacklist-to-use-vendor-driver.patch
- rediff acpi-add-proc-event-regs.patch
- rediff x86-pci-toshiba-equium-a60-assign-busses.patch
- update unionfs to 2.5.8
- update samsung-laptop driver
- drop old samsung-backlight driver
- update plymouth framebuffer oops fix (from ubuntu)
- disable broken docomo patches
- update to 2.6.38
   * drop merged patches:
     block-fix-mis-synchronisation-in-blkdev_issue_zeroout.patch
     btrfs-deal-with-short-returns-from-copy_from_user.patch
     dm-crypt-scale-to-multiple-CPUs-v5-2.6.36.patch
     drm-i915-fix-calculation-of-backlight-value-in-combined-mode.patch
     fs-squashfs-add-XZ-compression-configuration-option.patch
     fs-squashfs-add-XZ-compression-support.patch
     fs-squashfs-fix-use-of-uninitialised-variable-in-zlib-and-xz-decompressors.patch
     idle-intel_idle-update-Sandy-Bridge-core-C-state-residency-targets.patch
     kbuild-do-not-remove-a.out-kvm.h-and-kvm_para.h-on-headers_install_all.patch
     kernel-sched-autogroup-Fix-reference-leak.patch
     kernel-sched-automated-per-session-task-groups-20101130.patch
     kernel-sched-fix-potential-access-to-freed-memory.patch
     kernel-sched-Fix-struct-autogroup-memory-leak.patch
     lib-decompressors-add-boot-time-XZ-support.patch
     lib-decompressors-add-XZ-decompressor-module.patch
     net-wireless-ath9k-fix-race-conditions-when-stop-device.patch
     net-wireless-rtl8187-avoid-redundant-write-to-register-FF72.patch
     net-wireless-rtl8187-consolidate-anaparam-on-off-write-sequences.patch
     net-wireless-rtl8187-do-not-do-per-packet-TX-AGC.patch
     net-wireless-rtl8187-don-t-set-RTL818X_CONFIG3_GNT_SELECT.patch
     net-wireless-rtl8187-fix-wrong-register-initialization-in-8187B.patch
     net-wireless-rtl8187-move-pll-reset-at-start-out-of-ANAPARAM-write.patch
     net-wireless-rtl8187-remove-redundant-initialization-of-ARFR.patch
     net-wireless-rtl8187-remove-setting-of-beacon-atim-regs-from-init.patch
     net-wireless-rtl8187-remove-uneeded-setting-of-anaparam-write.patch
     net-wireless-rtl8187-restore-anaparam-registers-after-reset.patch
     net-wireless-zd1201-add-id.patch
     net-wireless-zd1211rw-add-id.patch
     nfs-fix-compilation-warning.patch
     nfs-nfsroot-should-default-to-proto-udp.patch
     x86-support-XZ-compressed-kernel.patch

* Tue Mar 15 2011 tmb <tmb> 2.6.37.4-1.mga1
+ Revision: 71895
- block: fix mis-synchronisation in blkdev_issue_zeroout()
- btrfs: deal with short returns from copy_from_user
- drm/i915: Fix calculation of backlight value in combined mode
- nfs: nfsroot should default to: proto=udp
- nfs: fix compilation warning
- update to 2.6.37.4

* Tue Mar 08 2011 tmb <tmb> 2.6.37.3-1.mga1
+ Revision: 66712
- add Mageia framebuffer boot logo
- update to 2.6.37.3 (CVE-2011-1013, CVE-2011-1076)
  * drop merged patches:
    mm-prevent-concurrent-unmap_mapping_range-on-the-same-inode.patch
    net-ipv4-tcp-fix-inet_twsk_deschedule.patch
    usb-serial-usb_wwan-fix-tty-null-dereference.patch
    revert-bluetooth-enable-usb-autosuspend-by-default-on-btusb.patch
    staging-brcm80211-bugfix-for-softmac-crash-on-multi-cpu-configurations.patch
    staging-brcm80211-remove-assert-to-avoid-panic-since-2.6.37-kernel.patch

* Sat Feb 26 2011 tmb <tmb> 2.6.37.2-1.mga1
+ Revision: 60143
- fix aufs2 -devel includes
- add aufs2 support
- staging: brcm80211: remove assert to avoid panic since 2.6.37 kernel
- staging: brcm80211: bugfix for softmac crash on multi cpu configurations
- USB: serial/usb_wwan, fix tty NULL dereference
- Revert 'Bluetooth: Enable USB autosuspend by default on btusb'
- mm: prevent concurrent unmap_mapping_range() on the same inode
- tcp: fix inet_twsk_deschedule()
- ath9k: fix race conditions when stop device (#144)
- i586 server kernel and x86_64 kernels needs to be compressed with gzip
  so they work with xen (got broken during lzma -> xz update, noted by
  Guillaume Rousse on mdv kernel-discuss ml)
- update to 2.6.37.2
  * drop merged patch
    fs-xfs-fix-dquot-shaker-deadlock.patch

* Sat Feb 19 2011 tmb <tmb> 2.6.37.1-1.mga1
+ Revision: 54140
- xfs: fix dquot shaker deadlock
- drop merged patches:
  idle-intel_idle-open-broadcast-clock-event-to-fix-boot-hang.patch
  idle-intel_idle-fix-a-shutdown-regression.patch
- rediff patches:
  kernel-sched-automated-per-session-task-groups-20101130.patch
  kernel-sched-autogroup-Fix-reference-leak.patch
  kernel-sched-Fix-struct-autogroup-memory-leak.patch
- update to 2.6.37.1
- intel_idle: update Sandy Bridge core C-state residency targets
- intel_idle: open broadcast clock event to prevent boot hang
              due to local apic stalls
- intel_idle: fix a shutdown regression due to open broadcast fix

* Tue Jan 25 2011 tmb <tmb> 2.6.37-3.mga1
+ Revision: 38796
- drop obsoletes/provides for ancient mandriva releases
- Squashfs: Fix use of uninitialised variable in zlib & xz decompressors
- update defconfigs
- add xz support for kernel, initrd and squashfs
  (from upstream 2.6.38-rc1)
- drop lzma support (obsoleted by xz support)
- disable sparc and powerpc in buildscripts too
- unpack patches tarball
- convert 3rdparty tarballs to patches
- build only for i586 and x86_64 for now

* Sat Jan 08 2011 tmb <tmb> 2.6.37-2.mga1
+ Revision: 1280
- drop SOURCE5, not needed anymore
- imported package kernel
- Created package structure for kernel.