%define kernel_base_version 5.4
%define kernel_sublevel .163
%define kernel_extra_version %nil
%define _optlevel 3
Name: kernel-image-elbrus-8c2
Version: %kernel_base_version%kernel_sublevel%kernel_extra_version
Release: alt2.23.5
%define kernel_extra_version_numeric 1.0.0
%define krelease %release
%define flavour %( s='%name'; printf %%s "${s#kernel-image-}" )
%define base_flavour %( s='%flavour'; printf %%s "${s%%%%-*}" )
%define sub_flavour %( s='%flavour'; printf %%s "${s#*-}" )
# do not enable docs per mike's request
#if "%sub_flavour" == "def"
#def_enable docs
#endif
## Don't edit below this line ##################################
%define kversion %kernel_base_version%kernel_sublevel%kernel_extra_version
%define modules_dir /lib/modules/%kversion-%flavour-%krelease
%define kheaders_dir %_prefix/include/linux-%kversion-%flavour
%define kbuild_dir %_prefix/src/linux-%kversion-%flavour-%krelease
%define old_kbuild_dir %_prefix/src/linux-%kversion-%flavour
%brp_strip_none /boot/*
%define debug_package %nil
Summary: The Linux kernel (the core of the Linux operating system)
License: GPL-2.0-only
Group: System/Kernel and hardware
Url: http://www.kernel.org/
Source: kernel-image-elbrus-8c2-%version.tar
%if "%sub_flavour" == "def"
ExclusiveArch: %e2k
%endif
%if "%sub_flavour" == "4c"
ExclusiveArch: e2k
%endif
%if "%sub_flavour" == "1cp" || "%sub_flavour" == "8c"
ExclusiveArch: e2kv4
%endif
%if "%sub_flavour" == "8c2"
ExclusiveArch: e2kv5
%endif
%if "%sub_flavour" == "12c" || "%sub_flavour" == "16c" || "%sub_flavour" == "2c3"
ExclusiveArch: e2kv6
%endif
ExclusiveOS: Linux
%define arch_dir e2k
BuildRequires(pre): rpm-build-kernel
BuildRequires: flex
BuildRequires: libdb4-devel
BuildRequires: gcc gcc-c++
BuildRequires: libgmp-devel libmpc-devel
BuildRequires: module-init-tools >= 3.16
BuildRequires: lzma-utils
BuildRequires: libelf-devel
BuildRequires: bc
BuildRequires: rsync
BuildRequires: openssl-devel openssl
BuildRequires: dwarves >= 1.16
BuildRequires: xxd
%if_enabled docs
BuildRequires: python3-module-sphinx /usr/bin/sphinx-build perl-Pod-Usage python3-module-sphinx_rtd_theme
BuildRequires: fontconfig
%endif
%if_enabled ccache
BuildRequires: ccache
%endif
%ifdef use_ccache
BuildRequires: ccache
%endif
Requires: bootloader-utils >= 0.4.26-alt4
Requires: module-init-tools >= 3.16-alt2
Provides: kernel = %kversion
Prereq: coreutils
Prereq: module-init-tools >= 3.1
Prereq: make-initrd
%description
This package contains the Linux kernel that is used to boot and run
your system.
Most hardware drivers for this kernel are built as modules. Some of
these drivers are built separately from the kernel; they are available
in separate packages (kernel-modules-*-%flavour).
This is a standard longterm kernel for E2K arches.
%package -n kernel-vmlinux-%flavour
Summary: vmlinux file for the Linux kernel
Group: Development/Debug
%description -n kernel-vmlinux-%flavour
This package provides raw vmlinux image for those who need it.
%package -n kernel-modules-ide-%flavour
Summary: IDE driver modules (obsolete by PATA)
Group: System/Kernel and hardware
Provides: kernel-modules-ide-%kversion-%flavour-%krelease = %version-%release
Conflicts: kernel-modules-ide-%kversion-%flavour-%krelease < %version-%release
Conflicts: kernel-modules-ide-%kversion-%flavour-%krelease > %version-%release
Prereq: coreutils
Prereq: module-init-tools >= 3.1
Requires(pre,post,postun): %name = %EVR
%description -n kernel-modules-ide-%flavour
This package contains IDE driver modules for the Linux kernel
package %name-%version-%release.
These drivers are declared obsolete by the kernel maintainers; PATA
drivers should be used instead. However, the older IDE drivers may be
still useful for some hardware, if the corresponding PATA drivers do
not work well.
Install this package only if you really need it.
%package -n kernel-modules-drm-etnaviv-%flavour
Summary: The DRI modules for Vivante cards using free Etnaviv implementation
Group: System/Kernel and hardware
Provides: kernel-modules-drm-etnaviv-%kversion-%flavour-%krelease = %version-%release
Conflicts: kernel-modules-drm-etnaviv-%kversion-%flavour-%krelease < %version-%release
Conflicts: kernel-modules-drm-etnaviv-%kversion-%flavour-%krelease > %version-%release
Prereq: coreutils
Prereq: module-init-tools >= 3.1
Requires(pre,post,postun): %name = %EVR
%description -n kernel-modules-drm-etnaviv-%flavour
The Direct Rendering Infrastructure, also known as the DRI, is a framework
for allowing direct access to graphics hardware in a safe and efficient
manner. It includes changes to the X server, to several client libraries,
and to the kernel. The first major use for the DRI is to create fast
OpenGL implementations.
These are Etnaviv modules for your Vivante card on ALT Linux system
%package -n kernel-headers-%flavour
Summary: Header files for the Linux kernel
Group: Development/Kernel
Requires: kernel-headers-common >= 1.1.5
Provides: kernel-headers = %version
%description -n kernel-headers-%flavour
This package makes Linux kernel headers corresponding to the Linux
kernel package %name-%version-%release available for building
userspace programs (if this version of headers is selected by
adjust_kernel_headers).
Since Linux 2.6.18 the kernel build system supports creation of
sanitized kernel headers for use in userspace (by deleting headers
which are not usable in userspace and removing #ifdef __KERNEL__
blocks from installed headers). This package contains sanitized
headers instead of raw kernel headers which were present in some
previous versions of similar packages.
If possible, try to use glibc-kernheaders instead of this package.
%package -n kernel-headers-modules-%flavour
Summary: Headers and other files needed for building kernel modules
Group: Development/Kernel
# dummy provides for external kernel modules on arch-specific kernels
# without them buggy ExclusiveArch may fail
%if "%sub_flavour" != "def"
%ifnarch e2k
Provides: kernel-headers-modules-elbrus-4c
%endif
%ifnarch e2kv4
Provides: kernel-headers-modules-elbrus-8c
Provides: kernel-headers-modules-elbrus-1cp
%endif
%ifnarch e2kv5
Provides: kernel-headers-modules-elbrus-8c2
%endif
%ifnarch e2kv6
Provides: kernel-headers-modules-elbrus-12c
Provides: kernel-headers-modules-elbrus-16c
Provides: kernel-headers-modules-elbrus-2c3
%endif
%endif
%description -n kernel-headers-modules-%flavour
This package contains header files, Makefiles and other parts of the
Linux kernel build system which are needed to build kernel modules for
the Linux kernel package %name-%version-%release.
If you need to compile a third-party kernel module for the Linux
kernel package %name-%version-%release, install this package
and specify %kbuild_dir as the kernel source
directory.
%package -n kernel-doc-%base_flavour
Summary: Linux kernel %kversion-%base_flavour documentation
Group: System/Kernel and hardware
BuildArch: noarch
%description -n kernel-doc-%base_flavour
This package contains documentation files for ALT Linux kernel packages:
* kernel-image-%base_flavour-up-%kversion-%krelease
* kernel-image-%base_flavour-smp-%kversion-%krelease
The documentation files contained in this package may be different
from the similar files in upstream kernel distributions, because some
patches applied to the corresponding kernel packages may change things
in the kernel and update the documentation to reflect these changes.
%package -n kernel-source-%kernel_base_version
Summary: Linux kernel sources for E2K.
Group: Development/Kernel
BuildArch: noarch
# Many packages in Sisyphus require exactly 1.0.0 version :/
Provides: kernel-source-%kernel_base_version = 1.0.0
%description -n kernel-source-%kernel_base_version
Kernel sources for the Elbrus Linux kernel %version.
%prep
%setup -n kernel-image-%flavour-%kversion
subst 's/EXTRAVERSION[[:space:]]*=.*/EXTRAVERSION = %kernel_extra_version-%flavour-%krelease/g' Makefile
subst 's/CC.*$(CROSS_COMPILE)gcc/CC := $(shell echo $${GCC_USE_CCACHE:+ccache}) gcc/g' Makefile
# get rid of unwanted files resulting from patch fuzz
find . -name "*.orig" -delete -or -name "*~" -delete
# just in case
:>localversion-rt
%build
export ARCH=%arch_dir
export NPROCS=%__nprocs
KernelVer=%kversion-%flavour-%krelease
echo "Building Kernel $KernelVer"
%make_build V=1 mrproper
%if "%sub_flavour" == "def"
# save kernel sources
pushd ..
rm -rf kernel-source-%kernel_base_version
cp -al %name-%version kernel-source-%kernel_base_version
rm -r kernel-source-%kernel_base_version/{config-*,.gear}
tar --owner=root --group=root --mode=u+w,go-w,go+rX -cf \
kernel-source-%kernel_base_version.tar \
kernel-source-%kernel_base_version
rm -rf kernel-source-%kernel_base_version
popd
%ifarch e2kv6
e2k_ver=6
%else
%ifarch e2kv5
e2k_ver=5
%else
%ifarch e2kv4
e2k_ver=4
%else
e2k_ver=3
%endif
%endif
%endif
# set minimal CPU version
sed "s/^CONFIG_E2K_MINVER_V.*=y/CONFIG_E2K_MINVER_V$e2k_ver=y/" config-elbrus-def > .config
%else # sub_flavour == def
awk -f gen_config-elbrus-%sub_flavour.awk config-elbrus-def > .config
%endif # sub_flavour == def
%make_build V=1 oldconfig
%make_build V=1 zImage
%make_build V=1 modules
echo "Kernel built $KernelVer"
%if_enabled docs
# psdocs, pdfdocs don't work yet
%make_build SPHINXOPTS="-j %__nprocs" V=1 htmldocs
%endif
%install
%if "%sub_flavour" == "def"
# save kernel sources
mkdir -p %kernel_srcdir
mv ../kernel-source-%kernel_base_version.tar %kernel_srcdir/kernel-source-%kernel_base_version.tar
%endif
export ARCH=%arch_dir
KernelVer=%kversion-%flavour-%krelease
install -Dp -m644 System.map %buildroot/boot/System.map-$KernelVer
install -Dp -m755 zImage %buildroot/boot/image-$KernelVer
install -Dp -m755 vmlinux %buildroot/boot/vmlinux-$KernelVer
install -Dp -m644 .config %buildroot/boot/config-$KernelVer
mkdir -p %buildroot/lib/firmware/$KernelVer
%make_build V=1 modules_install INSTALL_MOD_PATH=%buildroot
install -d %buildroot%modules_dir/updates
# e2k: firmware requires manual installation for 5.4
#cp -a firmware/* %buildroot/lib/firmware/$KernelVer
# arch/l is common for arch/e2k
rm -f %buildroot%kbuild_dir/arch/%arch_dir/include/asm-l
mkdir -p %buildroot%kbuild_dir/arch/%arch_dir
mkdir -p %buildroot%kbuild_dir/arch/l
install -d %buildroot%kbuild_dir
cp -a include %buildroot%kbuild_dir/include
cp -a arch/%arch_dir/include %buildroot%kbuild_dir/arch/%arch_dir
cp -a arch/l/include %buildroot%kbuild_dir/arch/l
# drivers-headers install
install -d %buildroot%kbuild_dir/drivers/scsi
install -d %buildroot%kbuild_dir/drivers/md
install -d %buildroot%kbuild_dir/drivers/usb/core
install -d %buildroot%kbuild_dir/drivers/net/wireless
install -d %buildroot%kbuild_dir/net/mac80211
install -d %buildroot%kbuild_dir/kernel
install -d %buildroot%kbuild_dir/lib
cp -a drivers/scsi/scsi.h \
%buildroot%kbuild_dir/drivers/scsi/
cp -a drivers/md/dm*.h \
%buildroot%kbuild_dir/drivers/md/
cp -a drivers/usb/core/*.h \
%buildroot%kbuild_dir/drivers/usb/core/
cp -a drivers/net/wireless/Kconfig \
%buildroot%kbuild_dir/drivers/net/wireless/
cp -a lib/hexdump.c %buildroot%kbuild_dir/lib/
cp -a kernel/workqueue.c %buildroot%kbuild_dir/kernel/
cp -a net/mac80211/ieee80211_i.h \
%buildroot%kbuild_dir/net/mac80211/
cp -a net/mac80211/sta_info.h \
%buildroot%kbuild_dir/net/mac80211/
# Install files required for building external modules (in addition to headers)
KbuildFiles="
Makefile
Module.symvers
arch/%arch_dir/Makefile
arch/l/Makefile
scripts/pnmtologo
scripts/mod/modpost
scripts/mkmakefile
scripts/mkversion
scripts/link-vmlinux.sh
scripts/mod/mk_elfconfig
scripts/kconfig/conf
scripts/mkcompile_h
scripts/makelst
scripts/Makefile.*
scripts/Makefile
scripts/Kbuild.include
scripts/kallsyms
scripts/genksyms/genksyms
scripts/basic/fixdep
scripts/basic/hash
scripts/extract-ikconfig
scripts/conmakehash
scripts/checkversion.pl
scripts/checkincludes.pl
scripts/checkconfig.pl
scripts/bin2c
scripts/gcc-version.sh
scripts/gcc-goto.sh
scripts/recordmcount.pl
scripts/recordmcount.h
scripts/recordmcount.c
scripts/recordmcount
scripts/module-common.lds
scripts/subarch.include
scripts/depmod.sh
scripts/ld-version.sh
.config
.kernelrelease
System.map
"
for f in $KbuildFiles; do
[ -e "$f" ] || continue
[ -x "$f" ] && mode=755 || mode=644
install -Dp -m$mode "$f" %buildroot%kbuild_dir/"$f"
done
# Fix symlinks to kernel sources in /lib/modules
rm -f %buildroot%modules_dir/{build,source}
ln -s %kbuild_dir %buildroot%modules_dir/build
# Provide kbuild directory with old name (without %%krelease)
ln -s "$(relative %kbuild_dir %old_kbuild_dir)" %buildroot%old_kbuild_dir
# Provide kernel headers for userspace
%make_build headers_install V=1 INSTALL_HDR_PATH=%buildroot%kheaders_dir
#provide symlink to autoconf.h for back compat
pushd %buildroot%old_kbuild_dir/include/linux
ln -s ../generated/autoconf.h
ln -s ../generated/utsrelease.h
ln -s ../generated/uapi/linux/version.h
popd
# remove *.bin files
rm -f %buildroot%modules_dir/modules.{alias,dep,symbols,builtin}.bin
touch %buildroot%modules_dir/modules.{alias,dep,symbols,builtin}.bin
touch %buildroot%modules_dir/modules.{alias,dep,devname,softdep,symbols}
# install documentation
%if_enabled docs
install -d %buildroot%_docdir/kernel-doc-%base_flavour-%version/
cp -a Documentation/* %buildroot%_docdir/kernel-doc-%base_flavour-%version/
%endif
%set_verify_elf_method none
# blacklist vivante when etnaviv is used
mkdir -p %buildroot/%_sysconfdir/modprobe.d
echo "blacklist vivante" > %buildroot/%_sysconfdir/modprobe.d/blacklist-vivante.conf
%post
blacklist=/etc/modprobe.d/blacklist-ixgbe.conf
[ -f $blacklist ] && mv $blacklist $blacklist.rpmsave ||:
%files
/boot/image-%kversion-%flavour-%krelease
/boot/System.map-%kversion-%flavour-%krelease
/boot/config-%kversion-%flavour-%krelease
/lib/firmware/%kversion-%flavour-%krelease
%modules_dir
%dir %modules_dir/updates
%defattr(0600,root,root,0700)
%exclude %modules_dir/build
%if "%sub_flavour" != "1cp"
%exclude %modules_dir/kernel/drivers/ide
%endif
%exclude %modules_dir/kernel/drivers/gpu/drm/etnaviv
%ghost %modules_dir/modules.alias.bin
%ghost %modules_dir/modules.dep.bin
%ghost %modules_dir/modules.symbols.bin
%ghost %modules_dir/modules.builtin.bin
%files -n kernel-vmlinux-%flavour
/boot/vmlinux-%kversion-%flavour-%krelease
%files -n kernel-headers-%flavour
%kheaders_dir
%files -n kernel-headers-modules-%flavour
%kbuild_dir
%old_kbuild_dir
%dir %modules_dir
%modules_dir/build
%if_enabled doc
%files -n kernel-doc-%base_flavour
%doc %_docdir/kernel-doc-%base_flavour-%version
%endif
%if "%sub_flavour" != "1cp"
%files -n kernel-modules-ide-%flavour
%modules_dir/kernel/drivers/ide
%endif
%files -n kernel-modules-drm-etnaviv-%flavour
%modules_dir/kernel/drivers/gpu/drm/etnaviv
%config(noreplace) %_sysconfdir/modprobe.d/blacklist-vivante.conf
%if "%sub_flavour" == "def"
%files -n kernel-source-%kernel_base_version
%kernel_src/kernel-source-%kernel_base_version.tar
%endif
%changelog
* Mon Apr 11 2022 Andrew Savchenko <bircoph@altlinux.org> 5.4.163-alt2.23.5
- CONFIG_MGB=y (from m), it doesn't work other way.
* Fri Apr 01 2022 Andrew Savchenko <bircoph@altlinux.org> 5.4.163-alt2.23.4
- Enable CONFIG_DLM per user request.
* Wed Feb 02 2022 Andrew Savchenko <bircoph@altlinux.org> 5.4.163-alt2.23.3
- Fix DMA buffer overflow in snd-hda-codec-cmedia, MCST bug 6804.
* Fri Dec 24 2021 Andrew Savchenko <bircoph@altlinux.org> 5.4.163-alt2.23.2
- Enable all hwmon sensors (as modules)
* Fri Dec 03 2021 Andrew Savchenko <bircoph@altlinux.org> 5.4.163-alt2.23.1
- Version bump to 5.4.154-2.23
- Update to upstream 5.4.163
- Sync with sisyphus std-def-5.4.163-alt1
(Fixes: CVE-2017-6074 CVE-2020-16119 CVE-2021-3640)
- Build compressed kernel image
* Thu Oct 28 2021 Andrew Savchenko <bircoph@altlinux.org> 5.4.91-alt2.20.3
- Fix kernel panic in VGA console initialization on e8c2.
* Mon Sep 06 2021 Andrew Savchenko <bircoph@altlinux.org> 5.4.91-alt2.20.2
- Disable CONFIG_SCHED_STACK_END_CHECK, as scheduler stack is broken again :/
* Thu Aug 19 2021 Andrew Savchenko <bircoph@altlinux.org> 5.4.91-alt2.20.1
- Version bump to 5.4.91-2.20
- Most fixes from upstream v5.4.142
Fixes: CVE-2021-3573
Not affected by: CVE-2020-26541 (secure boot);
CVE-2020-36311, CVE-2021-3653, CVE-2021-3656, CVE-2021-22543 (kvm).
- Sync with sisyphus std-def-5.4.129-alt1.
- CONFIG_E2K_PCS_CPUFREQ:
- now builds as module in generic kernels;
- enabled for E8C2 specific kernel.
* Thu Jul 01 2021 Andrew Savchenko <bircoph@altlinux.org> 5.4.91-alt2.12.1
- Version bump to 5.4.91-2.10
- Most fixes from upstream v5.4.128
(Fixes: CVE-2020-24586 CVE-2020-24587 CVE-2020-24588 CVE-2020-26141 CVE-2020-26145)
(Fixes: CVE-2020-26147 CVE-2021-3564 CVE-2021-23133 CVE-2021-23134)
- Sync with sisyphus v5.4.129
- Disable docs build by default.
* Fri Apr 30 2021 Andrew Savchenko <bircoph@altlinux.org> 5.4.91-alt2.10.1
- Version bump to 5.4.91-2.10
- Most memory related and security fixes from upstream v5.4.114
(Fixes: CVE-2019-2308 CVE-2020-25670 CVE-2020-25671 CVE-2020-25672 CVE-2021-23133)
- Sync with sisyphus v5.4.114
- Enable EDAC support (starting from v4)
- Support new e2k cpufreq, hwmon hardware
* Thu Jan 28 2021 Andrew Savchenko <bircoph@altlinux.org> 5.4.58-alt2.4.1
- Fix sync with 5.4.58-2.4.sd ("core" dirs were omitted)
- Security fixes:
- CVE-2020-28374 (scsi: target: Fix XCOPY NAA identifier lookup)
- RDMA/i40iw: Address an mmap handler exploit in i40iw
- ath10k: check idx validity in __ath10k_htt_rx_ring_fill_n()
- fs/io_uring.c: Fix uninitialized variable is referenced in io_submit_sqe
- net/mlx5e: Add resiliency in Striding RQ mode for packets larger than MTU
* Mon Jan 25 2021 Andrew Savchenko <bircoph@altlinux.org> 5.4.58-alt2.4.0
- Version bump to 5.4.58-2.4.sd.
* Wed Dec 16 2020 Andrew Savchenko <bircoph@altlinux.org> 5.4.58-alt1.12.0
- Version bump to 5.4.58-1.12.sd.
- Security: E2K is not affected by:
- CVE-2020-28588: vulnerability affects only 32-bit kernels.
* Mon Dec 07 2020 Andrew Savchenko <bircoph@altlinux.org> 5.4.58-alt1.10.4
- Add provides necessary for arch-specific external kernel modules.
* Wed Dec 02 2020 Andrew Savchenko <bircoph@altlinux.org> 5.4.58-alt1.10.3
- Use common spec template for def and cpu-specific kernels.
- Build 1cp only kernel with no IDE and no drivers for MCST hardware
not present on 1cp.
- Build 4c, 8c, 8c2 kernels with absent MCST hardware (features) disabled.
- Enable more USB features, notably Type C and TMC.
* Tue Nov 24 2020 Andrew Savchenko <bircoph@altlinux.org> 5.4.58-alt1.10.2
- Move optional FB drivers to modules.
- Add xxd BuirdReq.
* Tue Nov 24 2020 Andrew Savchenko <bircoph@altlinux.org> 5.4.58-alt1.10.1
- Do not strip modules, rpm-build can now handle it better.
* Mon Nov 23 2020 Andrew Savchenko <bircoph@altlinux.org> 5.4.58-alt1.10.0
- Version bump to 5.4.58-1.10.sd.
- Revert md deadlock workaround since e2k kernels are not affected
due to CONFIG_PREEMPT_VOLUNTARY=y.
- Security backports from upstream 5.4 branch:
Fixes: CVE-2020-14386, CVE-2019-19448, CVE-2019-19770, CVE-2020-25656.
- E2K is not affected by:
- CVE-2020-12888: vfio-pci is disabled;
- CVE-2020-4788: Power9-specific vulnerability.
* Wed Nov 11 2020 Andrew Savchenko <bircoph@altlinux.org> 5.4.58-alt1.9.1
- Fix deadlock in md, thanks to mcpain@.
* Fri Nov 06 2020 Andrew Savchenko <bircoph@altlinux.org> 5.4.58-alt1.9.0
- Version bump to 5.4.58-1.9.sd.
- Disable support for CPUs older than target arch (boot, setup).
* Tue Nov 03 2020 Andrew Savchenko <bircoph@altlinux.org> 5.4.58-alt1.7.1
- Backport bluetooth fixes from upstream kernel
Fixes: CVE-2020-12351.
- Build e2kv5-optimized kernel, refactor E2K_MINVER.
- Enable full e2kv6 support (except KVM):
- EPIC, new MMU modes, IMGTEC, new MCST eth cards.
- Enable CONFIG_FUSION and its features.
- Enable CONFIG_BLK_DEV_ZONED and CONFIG_DM_ZONED.
- Build various SCSI and DM debug modules.
* Wed Oct 21 2020 Andrew Savchenko <bircoph@altlinux.org> 5.4.58-alt1.7.0
- Version bump to 5.4.58-1.7.sd.
- Install scripts required for external modules build.
- Enable CONFIG_PCSM=m (Power Control System (PCS) for e8c* and e2c3
system's)
- Compile-in DRM_MGA2 to workaround e1c+ drm2 load issue.
* Mon Oct 05 2020 Andrew Savchenko <bircoph@altlinux.org> 5.4.58-alt1.6.0
- Version bump to 5.4.58-1.6.sd.
- Build smem memory sanitizer (use smem option to enable).
* Fri Sep 18 2020 Andrew Savchenko <bircoph@altlinux.org> 5.4.58-alt1.5.1
- Port F2FS on E2K.
* Mon Sep 14 2020 Andrew Savchenko <bircoph@altlinux.org> 5.4.58-alt1.5.0
- Version bump to 5.4.58-1.5.sd.
- Sync with std-def-5.4 changes (patches, config, spec).
- Enable parallel documentation build.
* Thu Sep 10 2020 Andrew Savchenko <bircoph@altlinux.org> 5.4.40-alt1.3.0
- Version bump to 5.4.40-1.3.sd.
- Apply all alt-specific changes from kernelbot/std-def-5.4.
- -O3 -> -O2 to avoid stability problems.
- Move IDE modules to the separate package.
- Build Etnaviv module for Vivante cards as the separate package.
- Enable html documentation.
* Thu Aug 20 2020 Andrew Savchenko <bircoph@altlinux.org> 4.19.72-alt1.5.2
- Switch CONFIG_USB_STORAGE y -> m to fix squashfs boot problem:
http://dev.archive.openwrt.org/ticket/13914
* Thu Jul 23 2020 Andrew Savchenko <bircoph@altlinux.org> 4.19.72-alt1.5.1
- Apply Sisyphus patchset (AltHA LSM,...)
- Apply E2K patchset from 4.9 when needed (smem, disable, usb debug,...)
- Enable DRM, OverlafFS, Bcache, Yama
- Enable new modules: crypto, networking options, net devices (most
eth, wifi), tty2usb devs, most file systems.
- Switch to unirevsal kernels generation with disabled v2-only
hacks (and v3-only on v4+ kernels).
- Remove perf subpackages as it should be provided by linux-tools.
- Provide kernel-source supackage.
* Thu Jul 09 2020 Andrew Savchenko <bircoph@altlinux.org> 4.19.72-alt1.5.0
- build using 4.19.0-1.5 mcst source tree
- enable E8C CPU support correctly
* Fri Apr 10 2020 Michael Shigorin <mike@altlinux.org> 4.19.72-alt1.2.0
- initial build using 4.19.0-1.2 mcst source tree (mcst#4863)
+ two most basic ALT patches transferred for now
+ mcst defconfig
* Wed Jan 22 2020 Michael Shigorin <mike@altlinux.org> 4.9.170-alt4.9.2
- FIREWIRE=m et al (see also mcst#4540)
* Tue Dec 10 2019 Michael Shigorin <mike@altlinux.org> 4.9.170-alt4.9.1
- rebased onto 4.9.0-4.9 mcst source tree
* Tue Nov 19 2019 Michael Shigorin <mike@altlinux.org> 4.9.170-alt4.3.3
- config additions (see also Elbrus HCL PCI wiki page):
+ VIDEO_IVTV=m et al
+ SND_USB_*=m
+ SND_*=m (a few more)
+ NET_9P*=m
- added P: kernel-image-std-def
* Wed Nov 13 2019 Michael Shigorin <mike@altlinux.org> 4.9.170-alt4.3.2
- config additions (see also Elbrus HCL wiki pages):
+ USB_SERIAL_*=m, USB_NET_*=m, VIA_RHINE=m
+ SND_*=m, VIDEO_*=m, DVB_*=m, IR_*=m
+ SCSI_*=m
* Tue Sep 24 2019 Michael Shigorin <mike@altlinux.org> 4.9.170-alt4.3.1
- rebased onto 4.9.0-4.3 mcst source tree
* Thu Sep 12 2019 Michael Shigorin <mike@altlinux.org> 4.9.170-alt4.2.2
- make oldconfig and turn off VIRTUALIZATION (mcst#4338)
* Thu Sep 12 2019 Michael Shigorin <mike@altlinux.org> 4.9.170-alt4.2.1
- rebased onto 4.9.0-4.2 mcst source tree
* Tue Jul 09 2019 Michael Shigorin <mike@altlinux.org> 4.9.146-alt2.7.8
- don't rely on kernel-source (following c8.1's 1:4.9.126-alt0.M80C.2)
- multiple kernel remote denial of service issues fixed
(Fixes: CVE-2019-11477, CVE-2019-11478, CVE-2019-11479)
- config update (backport of changes up to and including -alt3.8.5):
+ un-modularized IDE (mcst#3985)
+ modularized USB_HID (for tests)
+ IP_NF_SECURITY=m (rm#2088)
+ IPX=m, PPPO{ATM,L2TP}=m, IP_DCCP=m et al, HSR=m, GENEVE=m,
NET_KEY_MIGRATE disabled, INET_DIAG_DESTROY=y (rm#5979)
+ turned into modules: CRYPTO_DES, INET_XFRM_MODE_, INET_*DIAG (rm#5979)
+ USB_ETH=m and friends
* Wed Mar 20 2019 Michael Shigorin <mike@altlinux.org> 4.9.146-alt2.7.7
- reverted FB_RADEON=m (to =y) either
* Wed Mar 20 2019 Michael Shigorin <mike@altlinux.org> 4.9.146-alt2.7.6
- reverted VGA_CONSOLE=y
* Tue Mar 19 2019 Michael Shigorin <mike@altlinux.org> 4.9.146-alt2.7.5
- config review:
+ SCSI_DH*=m for multipath-tools
+ RD_LZMA=y, RD_XZ=y
+ NET_UDP_TUNNEL=m
+ RDS*=m
+ L2TP=m
+ BRIDGE_VLAN_FILTERING=y
+ NET_DEVLINK=m
+ BLK_DEV_DRBD=m
+ NVME_*=m
+ DM_RAID=m
+ VGA_CONSOLE=y
+ GFS2_FS=m
+ NFSD_PNFS=y
+ CIFS_SMB2=y
+ slightly more USB peripheral devices supported
+ modularized a few options (mainly storage, fs, video, and i/o)
+ adjusted FAT charset defaults
+ tweaked CMDLINE to conform to installer's default
* Thu Feb 28 2019 Michael Shigorin <mike@altlinux.org> 4.9.146-alt2.7.4
- SECURITY_YAMA=y (bircoph@)
- set optlevel back to 3 just in case (forgot as of 4.9.115-alt2.4.2)
* Fri Feb 22 2019 Michael Shigorin <mike@altlinux.org> 4.9.146-alt2.7.3
- applied upstream af_alg_release() patch (Fixes: CVE-2019-8912)
* Wed Feb 20 2019 Michael Shigorin <mike@altlinux.org> 4.9.146-alt2.7.2
- config sync with MCST's defconfig, highlights:
+ NO_HZ_IDLE=y, PREEMPT_NONE=y
+ BSD_PROCESS_ACCT=y, TASK_IO_ACCOUNTING=y
+ *CGROUP*=y (and friends)
+ RAS=y; DCB=y; CAN=m; BT=m
+ DRM=m (instead of =y); DRM_AMDGPU=m; DRM_NOUVEAU=m
+ I40E=m, SKY2=m (NB: ETH1000-y will blow up)
+ SND_MPU401=m (more soundcards added as well)
+ INPUT_JOYSTICK=y (many other HIDs enabled)
+ SERIAL_8250_MANY_PORTS=y
+ I2C_MUX_LTC4306=m (instead of LTC4306)
+ NLS_DEFAULT="utf-8" (instead of "iso8859-1")
+ FRAME_WARN=0 (instead of 4096)
- drop debuginfo subpackage
* Wed Feb 20 2019 Michael Shigorin <mike@altlinux.org> 4.9.146-alt2.7.1
- rebased onto 4.9.115-2.7 mcst source tree
- ARCH_USE_BUILTIN_BSWAP=y (no more lcc-1.21 builds)
* Tue Feb 05 2019 Michael Shigorin <mike@altlinux.org> 4.9.115-alt2.4.6
- added vmlinux subpackage
* Tue Jan 15 2019 Michael Shigorin <mike@altlinux.org> 4.9.115-alt2.4.5
- fix stack handling
* Thu Dec 27 2018 Michael Shigorin <mike@altlinux.org> 4.9.115-alt2.4.4
- disable *unconditional* usb host debug
* Thu Dec 20 2018 Michael Shigorin <mike@altlinux.org> 4.9.115-alt2.4.3
- fixed aufs build with lcc-1.21 (thx vt@ again)
* Tue Dec 18 2018 Michael Shigorin <mike@altlinux.org> 4.9.115-alt2.4.2
- revert -O4 for now (needs more thorough performance testing)
- added/enabled aufs
- DRM_VIVANTE=m
* Tue Dec 18 2018 Michael Shigorin <mike@altlinux.org> 4.9.115-alt2.4.1
- rebased onto 4.9.115-2.4 mcst source tree (without AUFS)
- actually optimize for v3/v4 as expected (thx bircoph@)
- build with -O4 when on lcc-1.23
* Mon Dec 17 2018 Michael Shigorin <mike@altlinux.org> 4.9.115-alt2.3.1
- rebased onto 4.9.115-2.3 mcst source tree
- built without AUFS (needs updating)
* Wed Dec 12 2018 Michael Shigorin <mike@altlinux.org> 4.9.76-alt1.11.8
- MEMORY_SANITIZE=y
- VETH=m
- enabled NET_TEAM*, NETCONSOLE*, MACVLAN/MACVTAP
* Wed Dec 05 2018 Michael Shigorin <mike@altlinux.org> 4.9.76-alt1.11.7
- UEVENT_HELPER_PATH=""
- TIMER_STATS=y (zerg@)
* Tue Nov 20 2018 Michael Shigorin <mike@altlinux.org> 4.9.76-alt1.11.6
- applied get_arg_page() patch by ldv@ (Fixes: CVE-2018-14634)
- fixed kernel-headers-modules subpackage (added missing makefiles)
* Tue Nov 13 2018 Michael Shigorin <mike@altlinux.org> 4.9.76-alt1.11.5
- disable *unconditional* usb host debug
* Thu Oct 18 2018 Michael Shigorin <mike@altlinux.org> 4.9.76-alt1.11.4
- modularize IDE
* Wed Oct 17 2018 Michael Shigorin <mike@altlinux.org> 4.9.76-alt1.11.3
- added/enabled SECURITY_ALTHA
* Tue Oct 16 2018 Michael Shigorin <mike@altlinux.org> 4.9.76-alt1.11.2
- enabled IMA/EVM
* Mon Oct 15 2018 Michael Shigorin <mike@altlinux.org> 4.9.76-alt1.11.1
- rebased onto 4.9.76-1.11 mcst source tree
* Thu Sep 20 2018 Michael Shigorin <mike@altlinux.org> 4.9.76-alt1.10.2
- added/enabled aufs
* Thu Sep 20 2018 Michael Shigorin <mike@altlinux.org> 4.9.76-alt1.10.1
- rebased onto 4.9.76-1.10 mcst source tree
* Wed Jul 18 2018 Michael Shigorin <mike@altlinux.org> 4.9.76-alt1.6.3
- try building for all of %%e2k arches
* Thu Jun 28 2018 Michael Shigorin <mike@altlinux.org> 4.9.76-alt1.6.2
- added/enabled aufs
* Wed Jun 27 2018 Michael Shigorin <mike@altlinux.org> 4.9.76-alt1.6.1
- rebased onto 4.9-1.6 mcst source tree
- added ALT patches
* Sun Jun 10 2018 Michael Shigorin <mike@altlinux.org> 4.9.76-alt1.4.1
- initial 4.9 spec (based on 3.14.79-alt13.72.2)
- default optimization level