代码拉取完成,页面将自动刷新
同步操作将从 src-anolis-sig/cloud-kernel 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# We have to override the new %%install behavior because, well... the kernel is special.
%global __spec_install_pre %{___build_pre}
# For a kernel released for public testing, released_kernel should be 1.
# For internal testing builds during development, it should be 0.
%global released_kernel 1
# Do not sign modules by default
%global signmodules 0
# define buildid .local
%if 0%{?with_64k}
%define dist .an8.64k
%else
%define dist .an8
%endif
%define rpmversion %{?KVER:%{KVER}}%{?!KVER:4.19.91}
%define pkgrelease %{?KREL:%{KREL}}%{?!KREL:27.1}
# allow pkg_release to have configurable %%{?dist} tag
%define specrelease %{pkgrelease}%{?dist}
%define pkg_release %{specrelease}%{?buildid}
# What parts do we want to build? We must build at least one kernel.
# These are the kernels that are built IF the architecture allows it.
# All should default to 1 (enabled) and be flipped to 0 (disabled)
# by later arch-specific checks.
# The following build options are enabled by default.
# Use either --without <opt> in your rpmbuild command or force values
# to 0 in here to disable them.
#
# standard kernel
%define with_up %{?_without_up: 0} %{?!_without_up: 1}
# kernel-debug
%define with_debug %{?_without_debug: 0} %{?!_without_debug: 1}
# kernel-doc
%define with_doc %{?_without_doc: 0} %{?!_without_doc: 1}
# kernel-headers
%define with_headers %{?_without_headers: 0} %{?!_without_headers: 1}
# perf
%define with_perf %{?_without_perf: 0} %{?!_without_perf: 1}
# tools
%define with_tools %{?_without_tools: 0} %{?!_without_tools: 1}
# bpf tool
%define with_bpftool %{?_without_bpftool: 0} %{?!_without_bpftool: 1}
# kernel-debuginfo
%define with_debuginfo %{?_without_debuginfo: 0} %{?!_without_debuginfo: 1}
#
# Additional options for user-friendly one-off kernel building:
#
# Only build the base kernel (--with baseonly):
%define with_baseonly %{?_with_baseonly: 1} %{?!_with_baseonly: 0}
# Only build the debug kernel (--with dbgonly):
%define with_dbgonly %{?_with_dbgonly: 1} %{?!_with_dbgonly: 0}
#
# should we do C=1 builds with sparse
%define with_sparse %{?_with_sparse: 1} %{?!_with_sparse: 0}
# The kernel tarball/base version
%define kversion 4.19
%define with_gcov %{?_with_gcov: 1} %{?!_with_gcov: 0}
# turn off debug kernel for gcov builds
%if %{with_gcov}
%define with_debug 0
%endif
%define make_target bzImage
%define image_install_path boot
%define KVERREL %{version}-%{release}.%{_target_cpu}
%define KVERREL_RE %(echo %KVERREL | sed 's/+/[+]/g')
%define hdrarch %_target_cpu
%define asmarch %_target_cpu
%if !%{with_debuginfo}
%define _enable_debug_packages 0
%endif
%define debuginfodir /usr/lib/debug
# Needed because we override almost everything involving build-ids
# and debuginfo generation. Currently we rely on the old alldebug setting.
%global _build_id_links alldebug
# if requested, only build base kernel
%if %{with_baseonly}
%define with_debug 0
%endif
# if requested, only build debug kernel
%if %{with_dbgonly}
%define with_up 0
%define with_tools 0
%define with_perf 0
%define with_bpftool 0
%endif
# Overrides for generic default options
# only package docs noarch
%ifnarch noarch
%define with_doc 0
%define doc_build_fail true
%endif
# don't build noarch kernels or headers (duh)
%ifarch noarch
%define with_up 0
%define with_headers 0
%define with_tools 0
%define with_perf 0
%define with_bpftool 0
%define with_debug 0
%define with_doc 0
%define all_arch_configs kernel-%{version}-*.config
%endif
# Per-arch tweaks
%ifarch x86_64
%define asmarch x86
%define all_arch_configs kernel-%{version}-x86_64*.config
%define kernel_image arch/x86/boot/bzImage
%endif
%ifarch aarch64
%define all_arch_configs kernel-%{version}-aarch64*.config
%define asmarch arm64
%define hdrarch arm64
%define make_target Image.gz
%define kernel_image arch/arm64/boot/Image.gz
%endif
# To temporarily exclude an architecture from being built, add it to
# %%nobuildarches. Do _NOT_ use the ExclusiveArch: line, because if we
# don't build kernel-headers then the new build system will no longer let
# us use the previous build of that package -- it'll just be completely AWOL.
# Which is a BadThing(tm).
# We only build kernel-headers on the following...
%define nobuildarches i386 i686
%ifarch %nobuildarches
%define with_up 0
%define with_debug 0
%define with_debuginfo 0
%define with_perf 0
%define with_tools 0
%define with_bpftool 0
%define _enable_debug_packages 0
%endif
# Architectures we build tools/cpupower on
%define cpupowerarchs x86_64 aarch64
#
# Packages that need to be installed before the kernel is, because the %%post
# scripts use them.
#
%define kernel_prereq coreutils, systemd >= 203-2, /usr/bin/kernel-install
%define initrd_prereq dracut >= 027
Name: kernel%{?variant}
Group: System Environment/Kernel
License: GPLv2 and Redistributable, no modification permitted
URL: http://www.kernel.org/
Version: %{rpmversion}
Release: %{pkg_release}
Summary: The Linux kernel, based on version %{version}, heavily modified with backports
# DO NOT CHANGE THE 'ExclusiveArch' LINE TO TEMPORARILY EXCLUDE AN ARCHITECTURE BUILD.
# SET %%nobuildarches (ABOVE) INSTEAD
ExclusiveArch: noarch i686 x86_64 aarch64
ExclusiveOS: Linux
%ifnarch %{nobuildarches}
Requires: kernel-core-uname-r = %{KVERREL}%{?variant}
Requires: kernel-modules-uname-r = %{KVERREL}%{?variant}
%endif
#
# List the packages used during the kernel build
#
BuildRequires: kmod, patch, bash, sh-utils, tar, git
BuildRequires: bzip2, xz, findutils, gzip, m4, perl-interpreter, perl-Carp, perl-devel, perl-generators, make, diffutils, gawk
BuildRequires: gcc, binutils, redhat-rpm-config, hmaccalc, python3-devel
BuildRequires: net-tools, hostname, bc, bison, flex, elfutils-devel
%if %{with_doc}
BuildRequires: xmlto, asciidoc, python3-sphinx
%endif
%if %{with_sparse}
BuildRequires: sparse
%endif
%if %{with_perf}
BuildRequires: zlib-devel binutils-devel newt-devel perl(ExtUtils::Embed) bison flex xz-devel
BuildRequires: audit-libs-devel
BuildRequires: java-devel
%ifnarch s390x
BuildRequires: numactl-devel
%endif
%endif
%if %{with_tools}
BuildRequires: gettext ncurses-devel
%ifnarch s390x
BuildRequires: pciutils-devel
%endif
%endif
%if %{with_bpftool}
BuildRequires: python3-docutils
BuildRequires: zlib-devel binutils-devel
%endif
BuildConflicts: rhbuildsys(DiskFree) < 500Mb
%if %{with_debuginfo}
BuildRequires: rpm-build, elfutils
#BuildConflicts: rpm < 4.13.0.1-19
# Most of these should be enabled after more investigation
%undefine _include_minidebuginfo
%undefine _find_debuginfo_dwz_opts
%undefine _unique_build_ids
%undefine _unique_debug_names
%undefine _unique_debug_srcs
%undefine _debugsource_packages
%undefine _debuginfo_subpackages
%global _find_debuginfo_opts -r
%global _missing_build_ids_terminate_build 1
%global _no_recompute_build_ids 1
%endif
BuildRequires: openssl openssl-devel
# These below are required to build man pages
%if %{with_perf}
BuildRequires: xmlto
%endif
%if %{with_perf} || %{with_tools}
BuildRequires: asciidoc
%endif
Source0: linux-%{rpmversion}-%{pkg_release}.tar.xz
Source16: mod-extra.list
Source17: mod-blacklist.sh
Source90: filter-x86_64.sh
Source93: filter-aarch64.sh
Source99: filter-modules.sh
%define modsign_cmd %{SOURCE18}
%if ! 0%{?with_64k}
Source20: kernel-%{version}-aarch64.config
Source21: kernel-%{version}-aarch64-debug.config
%else
Source22: kernel-%{version}-aarch64-64k-debug.config
Source23: kernel-%{version}-aarch64-64k.config
%endif
Source39: kernel-%{version}-x86_64.config
Source40: kernel-%{version}-x86_64-debug.config
Source43: generate_bls_conf.sh
Source44: mod-internal.list
## Patches needed for building this package
# %%PATCH_LIST%%
# END OF PATCH DEFINITIONS
BuildRoot: %{_tmppath}/kernel-%{KVERREL}-root
%description
This is the package which provides the Linux kernel for Anolis OS.
It is based on upstream Linux at version %{version} and maintains kABI
compatibility of a set of approved symbols, however it is heavily modified with
backports and fixes pulled from newer upstream Linux kernel releases. This means
this is not a %{version} kernel anymore: it includes several components which come
from newer upstream linux versions, while maintaining a well tested and stable
core. Some of the components/backports that may be pulled in are: changes like
updates to the core kernel (eg.: scheduler, cgroups, memory management, security
fixes and features), updates to block layer, supported filesystems, major driver
updates for supported hardware in Anolis OS, enhancements for
enterprise customers, etc.
#
# This macro does requires, provides, conflicts, obsoletes for a kernel package.
# %%kernel_reqprovconf <subpackage>
# It uses any kernel_<subpackage>_conflicts and kernel_<subpackage>_obsoletes
# macros defined above.
#
%define kernel_reqprovconf \
Provides: kernel = %{rpmversion}-%{pkg_release}\
Provides: kernel-%{_target_cpu} = %{rpmversion}-%{pkg_release}%{?1:+%{1}}\
Provides: kernel-drm-nouveau = 16\
Provides: kernel-uname-r = %{KVERREL}%{?variant}%{?1:+%{1}}\
Requires(pre): %{kernel_prereq}\
Requires(pre): %{initrd_prereq}\
Requires(pre): linux-firmware >= 20150904-56.git6ebf5d57\
Requires(preun): systemd >= 200\
Conflicts: xfsprogs < 4.3.0-1\
Conflicts: xorg-x11-drv-vmmouse < 13.0.99\
%{expand:%%{?kernel%{?1:_%{1}}_conflicts:Conflicts: %%{kernel%{?1:_%{1}}_conflicts}}}\
%{expand:%%{?kernel%{?1:_%{1}}_obsoletes:Obsoletes: %%{kernel%{?1:_%{1}}_obsoletes}}}\
%{expand:%%{?kernel%{?1:_%{1}}_provides:Provides: %%{kernel%{?1:_%{1}}_provides}}}\
# We can't let RPM do the dependencies automatic because it'll then pick up\
# a correct but undesirable perl dependency from the module headers which\
# isn't required for the kernel proper to function\
AutoReq: no\
AutoProv: yes\
%{nil}
%package doc
Summary: Various documentation bits found in the kernel source
Group: Documentation
%description doc
This package contains documentation files from the kernel
source. Various bits of information about the Linux kernel and the
device drivers shipped with it are documented in these files.
You'll want to install this package if you need a reference to the
options that can be passed to Linux kernel modules at load time.
%package headers
Summary: Header files for the Linux kernel for use by glibc
Group: Development/System
Obsoletes: glibc-kernheaders < 3.0-46
Provides: glibc-kernheaders = 3.0-46
%if "0%{?variant}"
Obsoletes: kernel-headers < %{rpmversion}-%{pkg_release}
Provides: kernel-headers = %{rpmversion}-%{pkg_release}
%endif
%description headers
Kernel-headers includes the C header files that specify the interface
between the Linux kernel and userspace libraries and programs. The
header files define structures and constants that are needed for
building most standard programs and are also needed for rebuilding the
glibc package.
%package debuginfo-common-%{_target_cpu}
Summary: Kernel source files used by %{name}-debuginfo packages
Group: Development/Debug
Provides: installonlypkg(kernel)
%description debuginfo-common-%{_target_cpu}
This package is required by %{name}-debuginfo subpackages.
It provides the kernel source files common to all builds.
%if %{with_perf}
%package -n perf
Summary: Performance monitoring for the Linux kernel
Group: Development/System
License: GPLv2
%description -n perf
This package contains the perf tool, which enables performance monitoring
of the Linux kernel.
%package -n perf-debuginfo
Summary: Debug information for package perf
Group: Development/Debug
Requires: %{name}-debuginfo-common-%{_target_cpu} = %{version}-%{release}
AutoReqProv: no
%description -n perf-debuginfo
This package provides debug information for the perf package.
# Note that this pattern only works right to match the .build-id
# symlinks because of the trailing nonmatching alternation and
# the leading .*, because of find-debuginfo.sh's buggy handling
# of matching the pattern against the symlinks file.
%{expand:%%global _find_debuginfo_opts %{?_find_debuginfo_opts} -p '.*%%{_bindir}/perf(\.debug)?|.*%%{_libexecdir}/perf-core/.*|.*%%{_libdir}/traceevent/plugins/.*|.*%%{_libdir}/libperf-jvmti.so(\.debug)?|XXX' -o perf-debuginfo.list}
%package -n python3-perf
Summary: Python bindings for apps which will manipulate perf events
Group: Development/Libraries
%description -n python3-perf
The python3-perf package contains a module that permits applications
written in the Python programming language to use the interface
to manipulate perf events.
%package -n python3-perf-debuginfo
Summary: Debug information for package perf python bindings
Group: Development/Debug
Requires: %{name}-debuginfo-common-%{_target_cpu} = %{version}-%{release}
AutoReqProv: no
%description -n python3-perf-debuginfo
This package provides debug information for the perf python bindings.
# the python_sitearch macro should already be defined from above
%{expand:%%global _find_debuginfo_opts %{?_find_debuginfo_opts} -p '.*%%{python3_sitearch}/perf.*so(\.debug)?|XXX' -o python3-perf-debuginfo.list}
%endif # with_perf
%if %{with_tools}
%package -n kernel-tools
Summary: Assortment of tools for the Linux kernel
Group: Development/System
License: GPLv2
%ifarch %{cpupowerarchs}
Provides: cpupowerutils = 1:009-0.6.p1
Obsoletes: cpupowerutils < 1:009-0.6.p1
Provides: cpufreq-utils = 1:009-0.6.p1
Provides: cpufrequtils = 1:009-0.6.p1
Obsoletes: cpufreq-utils < 1:009-0.6.p1
Obsoletes: cpufrequtils < 1:009-0.6.p1
Obsoletes: cpuspeed < 1:1.5-16
Requires: kernel-tools-libs = %{version}-%{release}
%endif
%define __requires_exclude ^%{_bindir}/python
%description -n kernel-tools
This package contains the tools/ directory from the kernel source
and the supporting documentation.
%package -n kernel-tools-libs
Summary: Libraries for the kernels-tools
Group: Development/System
License: GPLv2
%description -n kernel-tools-libs
This package contains the libraries built from the tools/ directory
from the kernel source.
%package -n kernel-tools-libs-devel
Summary: Assortment of tools for the Linux kernel
Group: Development/System
License: GPLv2
Requires: kernel-tools = %{version}-%{release}
%ifarch %{cpupowerarchs}
Provides: cpupowerutils-devel = 1:009-0.6.p1
Obsoletes: cpupowerutils-devel < 1:009-0.6.p1
%endif
Requires: kernel-tools-libs = %{version}-%{release}
Provides: kernel-tools-devel
%description -n kernel-tools-libs-devel
This package contains the development files for the tools/ directory from
the kernel source.
%package -n kernel-tools-debuginfo
Summary: Debug information for package kernel-tools
Group: Development/Debug
Requires: %{name}-debuginfo-common-%{_target_cpu} = %{version}-%{release}
AutoReqProv: no
%description -n kernel-tools-debuginfo
This package provides debug information for package kernel-tools.
# Note that this pattern only works right to match the .build-id
# symlinks because of the trailing nonmatching alternation and
# the leading .*, because of find-debuginfo.sh's buggy handling
# of matching the pattern against the symlinks file.
%{expand:%%global _find_debuginfo_opts %{?_find_debuginfo_opts} -p '.*%%{_bindir}/centrino-decode(\.debug)?|.*%%{_bindir}/powernow-k8-decode(\.debug)?|.*%%{_bindir}/cpupower(\.debug)?|.*%%{_libdir}/libcpupower.*|.*%%{_bindir}/turbostat(\.debug)?|.*%%{_bindir}/x86_energy_perf_policy(\.debug)?|.*%%{_bindir}/tmon(\.debug)?|.*%%{_bindir}/lsgpio(\.debug)?|.*%%{_bindir}/gpio-hammer(\.debug)?|.*%%{_bindir}/gpio-event-mon(\.debug)?|.*%%{_bindir}/iio_event_monitor(\.debug)?|.*%%{_bindir}/iio_generic_buffer(\.debug)?|.*%%{_bindir}/lsiio(\.debug)?|XXX' -o kernel-tools-debuginfo.list}
%endif # with_tools
%if %{with_bpftool}
%package -n bpftool
Summary: Inspection and simple manipulation of eBPF programs and maps
License: GPLv2
%description -n bpftool
This package contains the bpftool, which allows inspection and simple
manipulation of eBPF programs and maps.
%package -n bpftool-debuginfo
Summary: Debug information for package bpftool
Group: Development/Debug
Requires: %{name}-debuginfo-common-%{_target_cpu} = %{version}-%{release}
AutoReqProv: no
%description -n bpftool-debuginfo
This package provides debug information for the bpftool package.
%{expand:%%global _find_debuginfo_opts %{?_find_debuginfo_opts} -p '.*%%{_sbindir}/bpftool(\.debug)?|XXX' -o bpftool-debuginfo.list}
%endif # with_bpftool
%if %{with_gcov}
%package gcov
Summary: gcov graph and source files for coverage data collection.
Group: Development/System
%description gcov
kernel-gcov includes the gcov graph and source files for gcov coverage collection.
%endif
#
# This macro creates a kernel-<subpackage>-debuginfo package.
# %%kernel_debuginfo_package <subpackage>
#
%define kernel_debuginfo_package() \
%package %{?1:%{1}-}debuginfo\
Summary: Debug information for package %{name}%{?1:-%{1}}\
Group: Development/Debug\
Requires: %{name}-debuginfo-common-%{_target_cpu} = %{version}-%{release}\
Provides: %{name}%{?1:-%{1}}-debuginfo-%{_target_cpu} = %{version}-%{release}\
Provides: installonlypkg(kernel)\
AutoReqProv: no\
%description %{?1:%{1}-}debuginfo\
This package provides debug information for package %{name}%{?1:-%{1}}.\
This is required to use SystemTap with %{name}%{?1:-%{1}}-%{KVERREL}.\
%{expand:%%global _find_debuginfo_opts %{?_find_debuginfo_opts} -p '/.*/%%{KVERREL_RE}%{?1:[+]%{1}}/.*|/.*%%{KVERREL_RE}%{?1:\+%{1}}(\.debug)?' -o debuginfo%{?1}.list}\
%{nil}
#
# This macro creates a kernel-<subpackage>-devel package.
# %%kernel_devel_package <subpackage> <pretty-name>
#
%define kernel_devel_package() \
%package %{?1:%{1}-}devel\
Summary: Development package for building kernel modules to match the %{?2:%{2} }kernel\
Group: System Environment/Kernel\
Provides: kernel%{?1:-%{1}}-devel-%{_target_cpu} = %{version}-%{release}\
Provides: kernel-devel-%{_target_cpu} = %{version}-%{release}%{?1:+%{1}}\
Provides: kernel-devel-uname-r = %{KVERREL}%{?variant}%{?1:+%{1}}\
Provides: installonlypkg(kernel)\
AutoReqProv: no\
Requires(pre): findutils\
Requires: findutils\
Requires: perl-interpreter\
%description %{?1:%{1}-}devel\
This package provides kernel headers and makefiles sufficient to build modules\
against the %{?2:%{2} }kernel package.\
%{nil}
#
# This macro creates a kernel-<subpackage>-modules-internal package.
# %%kernel_modules_internal_package <subpackage> <pretty-name>
#
%define kernel_modules_internal_package() \
%package %{?1:%{1}-}modules-internal\
Summary: Extra kernel modules to match the %{?2:%{2} }kernel\
Group: System Environment/Kernel\
Provides: kernel%{?1:-%{1}}-modules-internal-%{_target_cpu} = %{version}-%{release}\
Provides: kernel%{?1:-%{1}}-modules-internal-%{_target_cpu} = %{version}-%{release}%{?1:+%{1}}\
Provides: kernel%{?1:-%{1}}-modules-internal = %{version}-%{release}%{?1:+%{1}}\
Provides: installonlypkg(kernel-module)\
Provides: kernel%{?1:-%{1}}-modules-internal-uname-r = %{KVERREL}%{?variant}%{?1:+%{1}}\
Requires: kernel-uname-r = %{KVERREL}%{?variant}%{?1:+%{1}}\
Requires: kernel%{?1:-%{1}}-modules-uname-r = %{KVERREL}%{?variant}%{?1:+%{1}}\
AutoReq: no\
AutoProv: yes\
%description %{?1:%{1}-}modules-internal\
This package provides kernel modules for the %{?2:%{2} }kernel package for Anolis OS internal usage.\
%{nil}
#
# This macro creates a kernel-<subpackage>-modules-extra package.
# %%kernel_modules_extra_package <subpackage> <pretty-name>
#
%define kernel_modules_extra_package() \
%package %{?1:%{1}-}modules-extra\
Summary: Extra kernel modules to match the %{?2:%{2} }kernel\
Group: System Environment/Kernel\
Provides: kernel%{?1:-%{1}}-modules-extra-%{_target_cpu} = %{version}-%{release}\
Provides: kernel%{?1:-%{1}}-modules-extra-%{_target_cpu} = %{version}-%{release}%{?1:+%{1}}\
Provides: kernel%{?1:-%{1}}-modules-extra = %{version}-%{release}%{?1:+%{1}}\
Provides: installonlypkg(kernel-module)\
Provides: kernel%{?1:-%{1}}-modules-extra-uname-r = %{KVERREL}%{?variant}%{?1:+%{1}}\
Requires: kernel-uname-r = %{KVERREL}%{?variant}%{?1:+%{1}}\
Requires: kernel%{?1:-%{1}}-modules-uname-r = %{KVERREL}%{?variant}%{?1:+%{1}}\
AutoReq: no\
AutoProv: yes\
%description %{?1:%{1}-}modules-extra\
This package provides less commonly used kernel modules for the %{?2:%{2} }kernel package.\
%{nil}
#
# This macro creates a kernel-<subpackage>-modules package.
# %%kernel_modules_package <subpackage> <pretty-name>
#
%define kernel_modules_package() \
%package %{?1:%{1}-}modules\
Summary: kernel modules to match the %{?2:%{2}-}core kernel\
Group: System Environment/Kernel\
Provides: kernel%{?1:-%{1}}-modules-%{_target_cpu} = %{version}-%{release}\
Provides: kernel-modules-%{_target_cpu} = %{version}-%{release}%{?1:+%{1}}\
Provides: kernel-modules = %{version}-%{release}%{?1:+%{1}}\
Provides: installonlypkg(kernel-module)\
Provides: kernel%{?1:-%{1}}-modules-uname-r = %{KVERREL}%{?variant}%{?1:+%{1}}\
Requires: kernel-uname-r = %{KVERREL}%{?variant}%{?1:+%{1}}\
AutoReq: no\
AutoProv: yes\
%description %{?1:%{1}-}modules\
This package provides commonly used kernel modules for the %{?2:%{2}-}core kernel package.\
%{nil}
#
# this macro creates a kernel-<subpackage> meta package.
# %%kernel_meta_package <subpackage>
#
%define kernel_meta_package() \
%package %{1}\
summary: kernel meta-package for the %{1} kernel\
group: system environment/kernel\
Requires: kernel-%{1}-core-uname-r = %{KVERREL}%{?variant}+%{1}\
Requires: kernel-%{1}-modules-uname-r = %{KVERREL}%{?variant}+%{1}\
Provides: installonlypkg(kernel)\
%description %{1}\
The meta-package for the %{1} kernel\
%{nil}
#
# This macro creates a kernel-<subpackage> and its -devel and -debuginfo too.
# %%define variant_summary The Linux kernel compiled for <configuration>
# %%kernel_variant_package [-n <pretty-name>] <subpackage>
#
%define kernel_variant_package(n:) \
%package %{?1:%{1}-}core\
Summary: %{variant_summary}\
Group: System Environment/Kernel\
Provides: kernel-%{?1:%{1}-}core-uname-r = %{KVERREL}%{?variant}%{?1:+%{1}}\
Provides: installonlypkg(kernel)\
%{expand:%%kernel_reqprovconf}\
%if %{?1:1} %{!?1:0} \
%{expand:%%kernel_meta_package %{?1:%{1}}}\
%endif\
%{expand:%%kernel_devel_package %{?1:%{1}} %{!?{-n}:%{1}}%{?{-n}:%{-n*}}}\
%{expand:%%kernel_modules_package %{?1:%{1}} %{!?{-n}:%{1}}%{?{-n}:%{-n*}}}\
%{expand:%%kernel_modules_extra_package %{?1:%{1}} %{!?{-n}:%{1}}%{?{-n}:%{-n*}}}\
%{expand:%%kernel_modules_internal_package %{?1:%{1}} %{!?{-n}:%{1}}%{?{-n}:%{-n*}}}\
%{expand:%%kernel_debuginfo_package %{?1:%{1}}}\
%{nil}
# Now, each variant package.
%define variant_summary The Linux kernel compiled with extra debugging enabled
%kernel_variant_package debug
%description debug-core
The kernel package contains the Linux kernel (vmlinuz), the core of any
Linux operating system. The kernel handles the basic functions
of the operating system: memory allocation, process allocation, device
input and output, etc.
This variant of the kernel has numerous debugging options enabled.
It should only be installed when trying to gather additional information
on kernel bugs, as some of these options impact performance noticably.
# And finally the main -core package
%define variant_summary The Linux kernel
%kernel_variant_package
%description core
The kernel package contains the Linux kernel (vmlinuz), the core of any
Linux operating system. The kernel handles the basic functions
of the operating system: memory allocation, process allocation, device
input and output, etc.
%prep
# do a few sanity-checks for --with *only builds
%if %{with_baseonly}
%if !%{with_up}
echo "Cannot build --with baseonly, up build is disabled"
exit 1
%endif
%endif
# more sanity checking; do it quietly
if [ "%{patches}" != "%%{patches}" ] ; then
for patch in %{patches} ; do
if [ ! -f $patch ] ; then
echo "ERROR: Patch ${patch##/*/} listed in specfile but is missing"
exit 1
fi
done
fi 2>/dev/null
patch_command='patch -p1 -F1 -s'
ApplyPatch()
{
local patch=$1
shift
if [ ! -f $RPM_SOURCE_DIR/$patch ]; then
exit 1
fi
if ! grep -E "^Patch[0-9]+: $patch\$" %{_specdir}/${RPM_PACKAGE_NAME%%%%%{?variant}}.spec ; then
if [ "${patch:0:8}" != "patch-4." ] ; then
echo "ERROR: Patch $patch not listed as a source patch in specfile"
exit 1
fi
fi 2>/dev/null
case "$patch" in
*.bz2) bunzip2 < "$RPM_SOURCE_DIR/$patch" | sed -n '/^---$/,$p' | $patch_command ${1+"$@"} ;;
*.gz) gunzip < "$RPM_SOURCE_DIR/$patch" | sed -n '/^---$/,$p' | $patch_command ${1+"$@"} ;;
*.xz) unxz < "$RPM_SOURCE_DIR/$patch" | sed -n '/^---$/,$p' | $patch_command ${1+"$@"} ;;
*) sed -n '/^---$/,$p' "$RPM_SOURCE_DIR/$patch" | $patch_command ${1+"$@"} ;;
esac
}
# don't apply patch if it's empty
ApplyOptionalPatch()
{
local patch=$1
shift
if [ ! -f $RPM_SOURCE_DIR/$patch ]; then
exit 1
fi
local C=$(wc -l $RPM_SOURCE_DIR/$patch | awk '{print $1}')
if [ "$C" -gt 9 ]; then
ApplyPatch $patch ${1+"$@"}
fi
}
%setup -q -n kernel-%{rpmversion}-%{pkg_release} -c
mv linux-%{rpmversion}-%{pkg_release} linux-%{KVERREL}
cd linux-%{KVERREL}
# Drop some necessary files from the source dir into the buildroot
cp $RPM_SOURCE_DIR/kernel-%{version}-*.config .
# %%PATCH_APPLICATION%%
# END OF PATCH APPLICATIONS
# Any further pre-build tree manipulations happen here.
chmod +x scripts/checkpatch.pl
mv COPYING COPYING-%{version}
# This Prevents scripts/setlocalversion from mucking with our version numbers.
touch .scmversion
%define make make HOSTCFLAGS="%{?build_hostcflags}" HOSTLDFLAGS="%{?build_hostldflags}"
# only deal with configs if we are going to build for the arch
%ifnarch %nobuildarches
rm -rf configs
mkdir configs
# Remove configs not for the buildarch
for cfg in kernel-%{version}-*.config; do
if [ `echo %{all_arch_configs} | grep -c $cfg` -eq 0 ]; then
rm -f $cfg
fi
done
# enable GCOV kernel config options if gcov is on
%if %{with_gcov}
for i in *.config
do
sed -i 's/# CONFIG_GCOV_KERNEL is not set/CONFIG_GCOV_KERNEL=y\nCONFIG_GCOV_PROFILE_ALL=y\n/' $i
done
%endif
# now run oldconfig over all the config files
for i in *.config
do
mv $i .config
Arch=`sed -n 3p .config | cut -d' ' -f2 | cut -d'/' -f2`
make ARCH=$Arch listnewconfig | grep -E '^CONFIG_' >.newoptions || true
if [ -s .newoptions ]; then
cat .newoptions
#exit 1
fi
rm -f .newoptions
make ARCH=$Arch olddefconfig
echo "# $Arch" > configs/$i
cat .config >> configs/$i
done
# end of kernel config
%endif
# # End of Configs stuff
# get rid of unwanted files resulting from patch fuzz
find . \( -name "*.orig" -o -name "*~" \) -exec rm -f {} \; >/dev/null
# remove unnecessary SCM files
find . -name .gitignore -exec rm -f {} \; >/dev/null
%if 0%{?rhel} >= 8
# Mangle /usr/bin/python shebangs to /usr/bin/python3
# Mangle all Python shebangs to be Python 3 explicitly
# -p preserves timestamps
# -n prevents creating ~backup files
# -i specifies the interpreter for the shebang
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" scripts/
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" scripts/diffconfig
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" scripts/bloat-o-meter
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" scripts/show_delta
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" tools/ tools/perf/scripts/python/*.py tools/kvm/kvm_stat/kvm_stat
%endif
cd ..
###
### build
###
%build
%if %{with_sparse}
%define sparse_mflags C=1
%endif
cp_vmlinux()
{
eu-strip --remove-comment -o "$2" "$1"
}
BuildKernel() {
MakeTarget=$1
KernelImage=$2
Flavour=$3
Flav=${Flavour:++${Flavour}}
InstallName=${5:-vmlinuz}
DoModules=1
# Pick the right config file for the kernel we're building
%if 0%{?with_64k}
Config=kernel-%{version}-%{_target_cpu}-64k${Flavour:+-${Flavour}}.config
%else
Config=kernel-%{version}-%{_target_cpu}${Flavour:+-${Flavour}}.config
%endif
DevelDir=/usr/src/kernels/%{KVERREL}${Flav}
# When the bootable image is just the ELF kernel, strip it.
# We already copy the unstripped file into the debuginfo package.
if [ "$KernelImage" = vmlinux ]; then
CopyKernel=cp_vmlinux
else
CopyKernel=cp
fi
KernelVer=%{version}-%{release}.%{_target_cpu}${Flav}
echo BUILDING A KERNEL FOR ${Flavour} %{_target_cpu}...
# make sure EXTRAVERSION says what we want it to say
perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -%{release}.%{_target_cpu}${Flav}/" Makefile
# and now to start the build process
%{make} -s %{?_smp_mflags} mrproper
cp configs/$Config .config
%if %{signmodules}
cp %{SOURCE11} certs/.
cp %{SOURCE12} certs/.
%endif
Arch=`head -1 .config | cut -b 3-`
echo USING ARCH=$Arch
KCFLAGS="%{?kcflags}"
# add kpatch flags for base kernel
if [ "$Flavour" == "" ]; then
KCFLAGS="$KCFLAGS %{?kpatch_kcflags}"
fi
%{make} -s ARCH=$Arch olddefconfig >/dev/null
%{make} -s ARCH=$Arch V=1 %{?_smp_mflags} KCFLAGS="$KCFLAGS" WITH_GCOV="%{?with_gcov}" $MakeTarget %{?sparse_mflags} %{?kernel_mflags}
if [ $DoModules -eq 1 ]; then
%{make} -s ARCH=$Arch V=1 %{?_smp_mflags} KCFLAGS="$KCFLAGS" WITH_GCOV="%{?with_gcov}" modules %{?sparse_mflags} || exit 1
fi
mkdir -p $RPM_BUILD_ROOT/%{image_install_path}
mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer
%if %{with_debuginfo}
mkdir -p $RPM_BUILD_ROOT%{debuginfodir}/%{image_install_path}
%endif
%ifarch aarch64
%{make} -s ARCH=$Arch V=1 dtbs dtbs_install INSTALL_DTBS_PATH=$RPM_BUILD_ROOT/%{image_install_path}/dtb-$KernelVer
cp -r $RPM_BUILD_ROOT/%{image_install_path}/dtb-$KernelVer $RPM_BUILD_ROOT/lib/modules/$KernelVer/dtb
find arch/$Arch/boot/dts -name '*.dtb' -type f | xargs rm -f
%endif
# Start installing the results
install -m 644 .config $RPM_BUILD_ROOT/boot/config-$KernelVer
install -m 644 .config $RPM_BUILD_ROOT/lib/modules/$KernelVer/config
install -m 644 System.map $RPM_BUILD_ROOT/boot/System.map-$KernelVer
install -m 644 System.map $RPM_BUILD_ROOT/lib/modules/$KernelVer/System.map
# We estimate the size of the initramfs because rpm needs to take this size
# into consideration when performing disk space calculations. (See bz #530778)
dd if=/dev/zero of=$RPM_BUILD_ROOT/boot/initramfs-$KernelVer.img bs=1M count=20
if [ -f arch/$Arch/boot/zImage.stub ]; then
cp arch/$Arch/boot/zImage.stub $RPM_BUILD_ROOT/%{image_install_path}/zImage.stub-$KernelVer || :
cp arch/$Arch/boot/zImage.stub $RPM_BUILD_ROOT/lib/modules/$KernelVer/zImage.stub-$KernelVer || :
fi
$CopyKernel $KernelImage \
$RPM_BUILD_ROOT/%{image_install_path}/$InstallName-$KernelVer
chmod 755 $RPM_BUILD_ROOT/%{image_install_path}/$InstallName-$KernelVer
cp $RPM_BUILD_ROOT/%{image_install_path}/$InstallName-$KernelVer $RPM_BUILD_ROOT/lib/modules/$KernelVer/$InstallName
# hmac sign the kernel for FIPS
echo "Creating hmac file: $RPM_BUILD_ROOT/%{image_install_path}/.vmlinuz-$KernelVer.hmac"
ls -l $RPM_BUILD_ROOT/%{image_install_path}/$InstallName-$KernelVer
sha512hmac $RPM_BUILD_ROOT/%{image_install_path}/$InstallName-$KernelVer | sed -e "s,$RPM_BUILD_ROOT,," > $RPM_BUILD_ROOT/%{image_install_path}/.vmlinuz-$KernelVer.hmac;
cp $RPM_BUILD_ROOT/%{image_install_path}/.vmlinuz-$KernelVer.hmac $RPM_BUILD_ROOT/lib/modules/$KernelVer/.vmlinuz.hmac
if [ $DoModules -eq 1 ]; then
# Override $(mod-fw) because we don't want it to install any firmware
# we'll get it from the linux-firmware package and we don't want conflicts
%{make} -s %{?_smp_mflags} ARCH=$Arch INSTALL_MOD_PATH=$RPM_BUILD_ROOT modules_install KERNELRELEASE=$KernelVer mod-fw=
fi
%if %{with_gcov}
# install gcov-needed files to $BUILDROOT/$BUILD/...:
# gcov_info->filename is absolute path
# gcno references to sources can use absolute paths (e.g. in out-of-tree builds)
# sysfs symlink targets (set up at compile time) use absolute paths to BUILD dir
find . \( -name '*.gcno' -o -name '*.[chS]' \) -exec install -D '{}' "$RPM_BUILD_ROOT/$(pwd)/{}" \;
%endif
if [ $DoVDSO -ne 0 ]; then
%{make} -s ARCH=$Arch INSTALL_MOD_PATH=$RPM_BUILD_ROOT vdso_install KERNELRELEASE=$KernelVer
if [ ! -s ldconfig-kernel.conf ]; then
echo > ldconfig-kernel.conf "\
# Placeholder file, no vDSO hwcap entries used in this kernel."
fi
%{__install} -D -m 444 ldconfig-kernel.conf \
$RPM_BUILD_ROOT/etc/ld.so.conf.d/kernel-$KernelVer.conf
rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/vdso/.build-id
fi
# And save the headers/makefiles etc for building modules against
#
# This all looks scary, but the end result is supposed to be:
# * all arch relevant include/ files
# * all Makefile/Kconfig files
# * all script/ files
rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/source
mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
(cd $RPM_BUILD_ROOT/lib/modules/$KernelVer ; ln -s build source)
# dirs for additional modules per module-init-tools, kbuild/modules.txt
mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/updates
mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/weak-updates
# first copy everything
cp --parents `find -type f -name "Makefile*" -o -name "Kconfig*"` $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
cp Module.symvers $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
cp System.map $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
if [ -s Module.markers ]; then
cp Module.markers $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
fi
# create the kABI metadata for use in packaging
# NOTENOTE: the name symvers is used by the rpm backend
# NOTENOTE: to discover and run the /usr/lib/rpm/fileattrs/kabi.attr
# NOTENOTE: script which dynamically adds exported kernel symbol
# NOTENOTE: checksums to the rpm metadata provides list.
# NOTENOTE: if you change the symvers name, update the backend too
echo "**** GENERATING kernel ABI metadata ****"
gzip -c9 < Module.symvers > $RPM_BUILD_ROOT/boot/symvers-$KernelVer.gz
cp $RPM_BUILD_ROOT/boot/symvers-$KernelVer.gz $RPM_BUILD_ROOT/lib/modules/$KernelVer/symvers.gz
# then drop all but the needed Makefiles/Kconfig files
rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/Documentation
rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts
rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
cp .config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
cp -a scripts $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/tracing
rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/spdxcheck.py
if [ -f tools/objtool/objtool ]; then
cp -a tools/objtool/objtool $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/tools/objtool/ || :
fi
if [ -d arch/$Arch/scripts ]; then
cp -a arch/$Arch/scripts $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/%{_arch} || :
fi
if [ -f arch/$Arch/*lds ]; then
cp -a arch/$Arch/*lds $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/%{_arch}/ || :
fi
if [ -f arch/%{asmarch}/kernel/module.lds ]; then
cp -a --parents arch/%{asmarch}/kernel/module.lds $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
fi
rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/*.o
rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/*/*.o
if [ -d arch/%{asmarch}/include ]; then
cp -a --parents arch/%{asmarch}/include $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
fi
%ifarch aarch64
# arch/arm64/include/asm/xen references arch/arm
cp -a --parents arch/arm/include/asm/xen $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
# arch/arm64/include/asm/opcodes.h references arch/arm
cp -a --parents arch/arm/include/asm/opcodes.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
%endif
cp -a include $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
%ifarch x86_64
# files for 'make prepare' to succeed with kernel-devel
cp -a --parents arch/x86/entry/syscalls/syscall_32.tbl $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
cp -a --parents arch/x86/entry/syscalls/syscalltbl.sh $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
cp -a --parents arch/x86/entry/syscalls/syscallhdr.sh $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
cp -a --parents arch/x86/entry/syscalls/syscall_64.tbl $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
cp -a --parents arch/x86/tools/relocs_32.c $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
cp -a --parents arch/x86/tools/relocs_64.c $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
cp -a --parents arch/x86/tools/relocs.c $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
cp -a --parents arch/x86/tools/relocs_common.c $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
cp -a --parents arch/x86/tools/relocs.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
cp -a --parents tools/include/tools/le_byteshift.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
cp -a --parents arch/x86/purgatory/purgatory.c $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
cp -a --parents arch/x86/purgatory/stack.S $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
cp -a --parents arch/x86/purgatory/setup-x86_64.S $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
cp -a --parents arch/x86/purgatory/entry64.S $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
cp -a --parents arch/x86/boot/string.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
cp -a --parents arch/x86/boot/string.c $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
cp -a --parents arch/x86/boot/ctype.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
%endif
# Make sure the Makefile and version.h have a matching timestamp so that
# external modules can be built
touch -r $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/Makefile $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/generated/uapi/linux/version.h
# Copy .config to include/config/auto.conf so "make prepare" is unnecessary.
cp $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/.config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/config/auto.conf
%if %{with_debuginfo}
eu-readelf -n vmlinux | grep "Build ID" | awk '{print $NF}' > vmlinux.id
cp vmlinux.id $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/vmlinux.id
#
# save the vmlinux file for kernel debugging into the kernel-debuginfo rpm
#
mkdir -p $RPM_BUILD_ROOT%{debuginfodir}/lib/modules/$KernelVer
cp vmlinux $RPM_BUILD_ROOT%{debuginfodir}/lib/modules/$KernelVer
%endif
find $RPM_BUILD_ROOT/lib/modules/$KernelVer -name "*.ko" -type f >modnames
# mark modules executable so that strip-to-file can strip them
xargs --no-run-if-empty chmod u+x < modnames
# Generate a list of modules for block and networking.
grep -F /drivers/ modnames | xargs --no-run-if-empty nm -upA |
sed -n 's,^.*/\([^/]*\.ko\): *U \(.*\)$,\1 \2,p' > drivers.undef
collect_modules_list()
{
sed -r -n -e "s/^([^ ]+) \\.?($2)\$/\\1/p" drivers.undef |
LC_ALL=C sort -u > $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.$1
if [ ! -z "$3" ]; then
sed -r -e "/^($3)\$/d" -i $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.$1
fi
}
collect_modules_list networking \
'register_netdev|ieee80211_register_hw|usbnet_probe|phy_driver_register|rt(l_|2x00)(pci|usb)_probe|register_netdevice'
collect_modules_list block \
'ata_scsi_ioctl|scsi_add_host|scsi_add_host_with_dma|blk_alloc_queue|blk_init_queue|register_mtd_blktrans|scsi_esp_register|scsi_register_device_handler|blk_queue_physical_block_size' 'pktcdvd.ko|dm-mod.ko'
collect_modules_list drm \
'drm_open|drm_init'
collect_modules_list modesetting \
'drm_crtc_init'
# detect missing or incorrect license tags
( find $RPM_BUILD_ROOT/lib/modules/$KernelVer -name '*.ko' | xargs /sbin/modinfo -l | \
grep -E -v 'GPL( v2)?$|Dual BSD/GPL$|Dual MPL/GPL$|GPL and additional rights$' ) && exit 1
# remove files that will be auto generated by depmod at rpm -i time
pushd $RPM_BUILD_ROOT/lib/modules/$KernelVer/
rm -f modules.{alias*,builtin.bin,dep*,*map,symbols*,devname,softdep}
popd
# Identify modules in the kernel-modules-extras package
%{SOURCE17} $RPM_BUILD_ROOT lib/modules/$KernelVer %{SOURCE16}
# Identify modules in the kernel-modules-internal package
%{SOURCE17} $RPM_BUILD_ROOT lib/modules/$KernelVer %{SOURCE44} internal
#
# Generate the kernel-core and kernel-modules files lists
#
# Copy the System.map file for depmod to use, and create a backup of the
# full module tree so we can restore it after we're done filtering
cp System.map $RPM_BUILD_ROOT/.
pushd $RPM_BUILD_ROOT
mkdir restore
cp -r lib/modules/$KernelVer/* restore/.
# don't include anything going into kernel-modules-extra in the file lists
xargs rm -rf < mod-extra.list
# don't include anything going int kernel-modules-internal in the file lists
xargs rm -rf < mod-internal.list
if [ $DoModules -eq 1 ]; then
# Find all the module files and filter them out into the core and
# modules lists. This actually removes anything going into -modules
# from the dir.
find lib/modules/$KernelVer/kernel -name *.ko | sort -n > modules.list
cp $RPM_SOURCE_DIR/filter-*.sh .
%{SOURCE99} modules.list %{_target_cpu}
rm filter-*.sh
# Run depmod on the resulting module tree and make sure it isn't broken
depmod -b . -aeF ./System.map $KernelVer &> depmod.out
if [ -s depmod.out ]; then
echo "Depmod failure"
cat depmod.out
exit 1
else
rm depmod.out
fi
else
# Ensure important files/directories exist to let the packaging succeed
echo '%%defattr(-,-,-)' > modules.list
echo '%%defattr(-,-,-)' > k-d.list
mkdir -p lib/modules/$KernelVer/kernel
# Add files usually created by make modules, needed to prevent errors
# thrown by depmod during package installation
touch lib/modules/$KernelVer/modules.order
touch lib/modules/$KernelVer/modules.builtin
fi
# remove files that will be auto generated by depmod at rpm -i time
pushd $RPM_BUILD_ROOT/lib/modules/$KernelVer/
rm -f modules.{alias*,builtin.bin,dep*,*map,symbols*,devname,softdep}
popd
# Go back and find all of the various directories in the tree. We use this
# for the dir lists in kernel-core
find lib/modules/$KernelVer/kernel -mindepth 1 -type d | sort -n > module-dirs.list
# Cleanup
rm System.map
cp -r restore/* lib/modules/$KernelVer/.
rm -rf restore
popd
# Make sure the files lists start with absolute paths or rpmbuild fails.
# Also add in the dir entries
sed -e 's/^lib*/\/lib/' %{?zipsed} $RPM_BUILD_ROOT/k-d.list > ../kernel${Flavour:+-${Flavour}}-modules.list
sed -e 's/^lib*/%dir \/lib/' %{?zipsed} $RPM_BUILD_ROOT/module-dirs.list > ../kernel${Flavour:+-${Flavour}}-core.list
sed -e 's/^lib*/\/lib/' %{?zipsed} $RPM_BUILD_ROOT/modules.list >> ../kernel${Flavour:+-${Flavour}}-core.list
sed -e 's/^lib*/\/lib/' %{?zipsed} $RPM_BUILD_ROOT/mod-extra.list >> ../kernel${Flavour:+-${Flavour}}-modules-extra.list
sed -e 's/^lib*/\/lib/' %{?zipsed} $RPM_BUILD_ROOT/mod-internal.list >> ../kernel${Flavour:+-${Flavour}}-modules-internal.list
# Cleanup
rm -f $RPM_BUILD_ROOT/k-d.list
rm -f $RPM_BUILD_ROOT/modules.list
rm -f $RPM_BUILD_ROOT/module-dirs.list
rm -f $RPM_BUILD_ROOT/mod-extra.list
rm -f $RPM_BUILD_ROOT/mod-internal.list
%if %{signmodules}
if [ $DoModules -eq 1 ]; then
# Save the signing keys so we can sign the modules in __modsign_install_post
cp certs/signing_key.pem certs/signing_key.pem.sign${Flav}
cp certs/signing_key.x509 certs/signing_key.x509.sign${Flav}
fi
%endif
# Move the devel headers out of the root file system
mkdir -p $RPM_BUILD_ROOT/usr/src/kernels
mv $RPM_BUILD_ROOT/lib/modules/$KernelVer/build $RPM_BUILD_ROOT/$DevelDir
# This is going to create a broken link during the build, but we don't use
# it after this point. We need the link to actually point to something
# when kernel-devel is installed, and a relative link doesn't work across
# the F17 UsrMove feature.
ln -sf $DevelDir $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
# prune junk from kernel-devel
find $RPM_BUILD_ROOT/usr/src/kernels -name ".*.cmd" -exec rm -f {} \;
# build a BLS config for this kernel
%{SOURCE43} "$KernelVer" "$RPM_BUILD_ROOT" "%{?variant}"
}
###
# DO it...
###
# prepare directories
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/boot
mkdir -p $RPM_BUILD_ROOT%{_libexecdir}
cd linux-%{KVERREL}
%if %{with_debug}
BuildKernel %make_target %kernel_image debug
%endif
%if %{with_up}
BuildKernel %make_target %kernel_image
%endif
%global perf_make \
make EXTRA_CFLAGS="${RPM_OPT_FLAGS}" LDFLAGS="%{__global_ldflags}" -C tools/perf V=1 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 prefix=%{_prefix} PYTHON=%{__python3}
%if %{with_perf}
# perf
# make sure check-headers.sh is executable
chmod +x tools/perf/check-headers.sh
%{perf_make} DESTDIR=$RPM_BUILD_ROOT all
%endif
%global tools_make \
%{make} V=1
%if %{with_tools}
%ifarch %{cpupowerarchs}
# cpupower
# make sure version-gen.sh is executable.
chmod +x tools/power/cpupower/utils/version-gen.sh
%{tools_make} -C tools/power/cpupower CPUFREQ_BENCH=false DEBUG=false
%ifarch x86_64
pushd tools/power/cpupower/debug/x86_64
%{tools_make} centrino-decode powernow-k8-decode
popd
%endif
%ifarch x86_64
pushd tools/power/x86/x86_energy_perf_policy/
%{tools_make}
popd
pushd tools/power/x86/turbostat
%{tools_make}
popd
%endif #turbostat/x86_energy_perf_policy
%endif
pushd tools/thermal/tmon/
%{tools_make}
popd
pushd tools/iio/
%{tools_make}
popd
pushd tools/gpio/
%{tools_make}
popd
%endif
%global bpftool_make \
make EXTRA_CFLAGS="${RPM_OPT_FLAGS}" EXTRA_LDFLAGS="%{__global_ldflags}" DESTDIR=$RPM_BUILD_ROOT V=1
%if %{with_bpftool}
pushd tools/bpf/bpftool
%{bpftool_make}
popd
%endif
%if %{with_doc}
# Make the HTML pages.
make htmldocs || %{doc_build_fail}
# sometimes non-world-readable files sneak into the kernel source tree
chmod -R a=rX Documentation
find Documentation -type d | xargs chmod u+w
%endif
# In the modsign case, we do 3 things. 1) We check the "flavour" and hard
# code the value in the following invocations. This is somewhat sub-optimal
# but we're doing this inside of an RPM macro and it isn't as easy as it
# could be because of that. 2) We restore the .tmp_versions/ directory from
# the one we saved off in BuildKernel above. This is to make sure we're
# signing the modules we actually built/installed in that flavour. 3) We
# grab the arch and invoke mod-sign.sh command to actually sign the modules.
#
# We have to do all of those things _after_ find-debuginfo runs, otherwise
# that will strip the signature off of the modules.
%define __modsign_install_post \
if [ "%{signmodules}" -eq "1" ]; then \
if [ "%{with_debug}" -ne "0" ]; then \
%{modsign_cmd} certs/signing_key.pem.sign+debug certs/signing_key.x509.sign+debug $RPM_BUILD_ROOT/lib/modules/%{KVERREL}+debug/ \
fi \
if [ "%{with_up}" -ne "0" ]; then \
%{modsign_cmd} certs/signing_key.pem.sign certs/signing_key.x509.sign $RPM_BUILD_ROOT/lib/modules/%{KVERREL}/ \
fi \
fi \
%{nil}
###
### Special hacks for debuginfo subpackages.
###
# This macro is used by %%install, so we must redefine it before that.
%define debug_package %{nil}
%if %{with_debuginfo}
%ifnarch noarch
%global __debug_package 1
%files -f debugfiles.list debuginfo-common-%{_target_cpu}
%defattr(-,root,root)
%endif
%endif
#
# Disgusting hack alert! We need to ensure we sign modules *after* all
# invocations of strip occur, which is in __debug_install_post if
# find-debuginfo.sh runs, and __os_install_post if not.
#
%define __spec_install_post \
%{?__debug_package:%{__debug_install_post}}\
%{__arch_install_post}\
%{__os_install_post}\
%{__modsign_install_post}
###
### install
###
%install
cd linux-%{KVERREL}
%if %{with_doc}
docdir=$RPM_BUILD_ROOT%{_datadir}/doc/kernel-doc-%{rpmversion}
# copy the source over
mkdir -p $docdir
tar -h -f - --exclude=man --exclude='.*' -c Documentation | tar xf - -C $docdir
%endif # with_doc
# We have to do the headers install before the tools install because the
# kernel headers_install will remove any header files in /usr/include that
# it doesn't install itself.
%if %{with_headers}
# Install kernel headers
%{make} ARCH=%{hdrarch} INSTALL_HDR_PATH=$RPM_BUILD_ROOT/usr headers_install
find $RPM_BUILD_ROOT/usr/include \
\( -name .install -o -name .check -o \
-name ..install.cmd -o -name ..check.cmd \) | xargs rm -f
%endif
%if %{with_perf}
# perf tool binary and supporting scripts/binaries
%{perf_make} DESTDIR=$RPM_BUILD_ROOT lib=%{_lib} install-bin install-traceevent-plugins
# remove the 'trace' symlink.
rm -f %{buildroot}%{_bindir}/trace
# For both of the below, yes, this should be using a macro but right now
# it's hard coded and we don't actually want it anyway right now.
# Whoever wants examples can fix it up!
# remove examples
rm -rf %{buildroot}/usr/lib/examples/perf
# remove the stray header file that somehow got packaged in examples
rm -rf %{buildroot}/usr/lib/include/perf/bpf/bpf.h
# remove perf-bpf examples
rm -rf %{buildroot}/usr/lib/perf/examples
rm -rf %{buildroot}/usr/lib/perf/include
# python-perf extension
%{perf_make} DESTDIR=$RPM_BUILD_ROOT install-python_ext
# perf man pages (note: implicit rpm magic compresses them later)
mkdir -p %{buildroot}/%{_mandir}/man1
%{perf_make} DESTDIR=$RPM_BUILD_ROOT install-man
%endif
%if %{with_tools}
%ifarch %{cpupowerarchs}
%{make} -C tools/power/cpupower DESTDIR=$RPM_BUILD_ROOT libdir=%{_libdir} mandir=%{_mandir} CPUFREQ_BENCH=false install
rm -f %{buildroot}%{_libdir}/*.{a,la}
%find_lang cpupower
mv cpupower.lang ../
%ifarch x86_64
pushd tools/power/cpupower/debug/x86_64
install -m755 centrino-decode %{buildroot}%{_bindir}/centrino-decode
install -m755 powernow-k8-decode %{buildroot}%{_bindir}/powernow-k8-decode
popd
%endif
chmod 0755 %{buildroot}%{_libdir}/libcpupower.so*
mkdir -p %{buildroot}%{_unitdir} %{buildroot}%{_sysconfdir}/sysconfig
%endif
%ifarch x86_64
mkdir -p %{buildroot}%{_mandir}/man8
pushd tools/power/x86/x86_energy_perf_policy
%{tools_make} DESTDIR=%{buildroot} install
popd
pushd tools/power/x86/turbostat
%{tools_make} DESTDIR=%{buildroot} install
popd
%endif #turbostat/x86_energy_perf_policy
pushd tools/thermal/tmon
%{tools_make} INSTALL_ROOT=%{buildroot} install
popd
pushd tools/iio
%{tools_make} DESTDIR=%{buildroot} install
popd
pushd tools/gpio
%{tools_make} DESTDIR=%{buildroot} install
popd
pushd tools/kvm/kvm_stat
make INSTALL_ROOT=%{buildroot} install-tools
make INSTALL_ROOT=%{buildroot} install-man
popd
%endif
%if %{with_bpftool}
pushd tools/bpf/bpftool
%{bpftool_make} prefix=%{_prefix} bash_compdir=%{_sysconfdir}/bash_completion.d/ mandir=%{_mandir} install doc-install
popd
%endif
# We have to do the headers checksum calculation after the tools install because
# these might end up installing their own set of headers on top of kernel's
%if %{with_headers}
# compute a content hash to export as Provides: kernel-headers-checksum
HEADERS_CHKSUM=$(export LC_ALL=C; find $RPM_BUILD_ROOT/usr/include -type f -name "*.h" \
! -path $RPM_BUILD_ROOT/usr/include/linux/version.h | \
sort | xargs cat | sha1sum - | cut -f 1 -d ' ');
# export the checksum via usr/include/linux/version.h, so the dynamic
# find-provides can grab the hash to update it accordingly
echo "#define KERNEL_HEADERS_CHECKSUM \"$HEADERS_CHKSUM\"" >> $RPM_BUILD_ROOT/usr/include/linux/version.h
%endif
###
### clean
###
%clean
rm -rf $RPM_BUILD_ROOT
###
### scripts
###
%if %{with_tools}
%post -n kernel-tools-libs
/sbin/ldconfig
%postun -n kernel-tools-libs
/sbin/ldconfig
%endif
#
# This macro defines a %%post script for a kernel*-devel package.
# %%kernel_devel_post [<subpackage>]
#
%define kernel_devel_post() \
%{expand:%%post %{?1:%{1}-}devel}\
if [ -f /etc/sysconfig/kernel ]\
then\
. /etc/sysconfig/kernel || exit $?\
fi\
if [ "$HARDLINK" != "no" -a -x /usr/sbin/hardlink ]\
then\
(cd /usr/src/kernels/%{KVERREL}%{?1:+%{1}} &&\
/usr/bin/find . -type f | while read f; do\
hardlink -c /usr/src/kernels/*%{?dist}.*/$f $f\
done)\
fi\
%{nil}
#
# This macro defines a %%post script for a kernel*-modules-extra package.
# It also defines a %%postun script that does the same thing.
# %%kernel_modules_extra_post [<subpackage>]
#
%define kernel_modules_extra_post() \
%{expand:%%post %{?1:%{1}-}modules-extra}\
/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\
%{nil}\
%{expand:%%postun %{?1:%{1}-}modules-extra}\
/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\
%{nil}
#
# This macro defines a %%post script for a kernel*-modules-internal package.
# It also defines a %%postun script that does the same thing.
# %%kernel_modules_internal_post [<subpackage>]
#
%define kernel_modules_internal_post() \
%{expand:%%post %{?1:%{1}-}modules-internal}\
/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\
%{nil}\
%{expand:%%postun %{?1:%{1}-}modules-internal}\
/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\
%{nil}
#
# This macro defines a %%post script for a kernel*-modules package.
# It also defines a %%postun script that does the same thing.
# %%kernel_modules_post [<subpackage>]
#
%define kernel_modules_post() \
%{expand:%%post %{?1:%{1}-}modules}\
/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\
%{nil}\
%{expand:%%postun %{?1:%{1}-}modules}\
/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\
%{nil}
# This macro defines a %%posttrans script for a kernel package.
# %%kernel_variant_posttrans [<subpackage>]
# More text can follow to go at the end of this variant's %%post.
#
%define kernel_variant_posttrans() \
%{expand:%%posttrans %{?1:%{1}-}core}\
if [ -x %{_sbindir}/weak-modules ]\
then\
%{_sbindir}/weak-modules --add-kernel %{KVERREL}%{?1:+%{1}} || exit $?\
fi\
/bin/kernel-install add %{KVERREL}%{?1:+%{1}} /lib/modules/%{KVERREL}%{?1:+%{1}}/vmlinuz || exit $?\
grubby --update-kernel /boot/vmlinuz-%{KVERREL}%{?1:+%{1}} --remove-args="crashkernel=auto" --args="crashkernel=0M-2G:0M,2G-8G:192M,8G-:256M" --args="cgroup.memory=nokmem"\
%{nil}
#
# This macro defines a %%post script for a kernel package and its devel package.
# %%kernel_variant_post [-v <subpackage>] [-r <replace>]
# More text can follow to go at the end of this variant's %%post.
#
%define kernel_variant_post(v:r:) \
%{expand:%%kernel_devel_post %{?-v*}}\
%{expand:%%kernel_modules_post %{?-v*}}\
%{expand:%%kernel_modules_extra_post %{?-v*}}\
%{expand:%%kernel_modules_internal_post %{?-v*}}\
%{expand:%%kernel_variant_posttrans %{?-v*}}\
%{expand:%%post %{?-v*:%{-v*}-}core}\
%{-r:\
if [ `uname -i` == "x86_64" -o `uname -i` == "i386" ] &&\
[ -f /etc/sysconfig/kernel ]; then\
/bin/sed -r -i -e 's/^DEFAULTKERNEL=%{-r*}$/DEFAULTKERNEL=kernel%{?-v:-%{-v*}}/' /etc/sysconfig/kernel || exit $?\
fi}\
%{nil}
#
# This macro defines a %%preun script for a kernel package.
# %%kernel_variant_preun <subpackage>
#
%define kernel_variant_preun() \
%{expand:%%preun %{?1:%{1}-}core}\
/bin/kernel-install remove %{KVERREL}%{?1:+%{1}} /lib/modules/%{KVERREL}%{?1:+%{1}}/vmlinuz || exit $?\
if [ -x %{_sbindir}/weak-modules ]\
then\
%{_sbindir}/weak-modules --remove-kernel %{KVERREL}%{?1:+%{1}} || exit $?\
fi\
%{nil}
%kernel_variant_preun
%kernel_variant_post -r kernel-smp
%kernel_variant_preun debug
%kernel_variant_post -v debug
if [ -x /sbin/ldconfig ]
then
/sbin/ldconfig -X || exit $?
fi
###
### file lists
###
%if %{with_headers}
%files headers
%defattr(-,root,root)
/usr/include/*
%endif
# only some architecture builds need kernel-doc
%if %{with_doc}
%files doc
%defattr(-,root,root)
%{_datadir}/doc/kernel-doc-%{rpmversion}/Documentation/*
%dir %{_datadir}/doc/kernel-doc-%{rpmversion}/Documentation
%dir %{_datadir}/doc/kernel-doc-%{rpmversion}
%endif
%if %{with_perf}
%files -n perf
%defattr(-,root,root)
%{_bindir}/perf
%{_libdir}/libperf-jvmti.so
%dir %{_libdir}/traceevent/plugins
%{_libdir}/traceevent/plugins/*
%dir %{_libexecdir}/perf-core
%{_libexecdir}/perf-core/*
%{_datadir}/perf-core/*
%{_mandir}/man[1-8]/perf*
%{_sysconfdir}/bash_completion.d/perf
%doc linux-%{KVERREL}/tools/perf/Documentation/examples.txt
%{_docdir}/perf-tip/tips.txt
%files -n python3-perf
%defattr(-,root,root)
%{python3_sitearch}/*
%if %{with_debuginfo}
%files -f perf-debuginfo.list -n perf-debuginfo
%defattr(-,root,root)
%files -f python3-perf-debuginfo.list -n python3-perf-debuginfo
%defattr(-,root,root)
%endif
%endif # with_perf
%if %{with_tools}
%ifarch %{cpupowerarchs}
%defattr(-,root,root)
%files -n kernel-tools -f cpupower.lang
%{_bindir}/cpupower
%ifarch x86_64
%{_bindir}/centrino-decode
%{_bindir}/powernow-k8-decode
%endif
%{_mandir}/man[1-8]/cpupower*
%ifarch x86_64
%{_bindir}/x86_energy_perf_policy
%{_mandir}/man8/x86_energy_perf_policy*
%{_bindir}/turbostat
%{_mandir}/man8/turbostat*
%endif
%else # !cpupowerarchs
%files -n kernel-tools
%defattr(-,root,root)
%endif # cpupowerarchs
%{_bindir}/tmon
%{_bindir}/iio_event_monitor
%{_bindir}/iio_generic_buffer
%{_bindir}/lsiio
%{_bindir}/lsgpio
%{_bindir}/gpio-hammer
%{_bindir}/gpio-event-mon
%{_mandir}/man1/kvm_stat*
%{_bindir}/kvm_stat
%if %{with_debuginfo}
%files -f kernel-tools-debuginfo.list -n kernel-tools-debuginfo
%defattr(-,root,root)
%endif
%ifarch %{cpupowerarchs}
%files -n kernel-tools-libs
%{_libdir}/libcpupower.so.0
%{_libdir}/libcpupower.so.0.0.1
%files -n kernel-tools-libs-devel
%{_libdir}/libcpupower.so
%{_includedir}/cpufreq.h
%endif
%endif # with_tools
%if %{with_bpftool}
%files -n bpftool
%{_sbindir}/bpftool
%{_sysconfdir}/bash_completion.d/bpftool
%{_mandir}/man8/bpftool-cgroup.8.gz
%{_mandir}/man8/bpftool-map.8.gz
%{_mandir}/man8/bpftool-prog.8.gz
%{_mandir}/man8/bpftool-perf.8.gz
%{_mandir}/man8/bpftool.8.gz
%{_mandir}/man7/bpf-helpers.7.gz
%if %{with_debuginfo}
%files -f bpftool-debuginfo.list -n bpftool-debuginfo
%defattr(-,root,root)
%endif
%endif
# empty meta-package
%ifnarch %nobuildarches noarch
%files
%defattr(-,root,root)
%endif
%if %{with_gcov}
%ifarch x86_64 aarch64
%files gcov
%defattr(-,root,root)
%{_builddir}
%endif
%endif
# This is %%{image_install_path} on an arch where that includes ELF files,
# or empty otherwise.
%define elf_image_install_path %{?kernel_image_elf:%{image_install_path}}
#
# This macro defines the %%files sections for a kernel package
# and its devel and debuginfo packages.
# %%kernel_variant_files [-k vmlinux] <condition> <subpackage> <without_modules>
#
%define kernel_variant_files(k:) \
%if %{1}\
%{expand:%%files -f kernel-%{?2:%{2}-}core.list %{?2:%{2}-}core}\
%defattr(-,root,root)\
%{!?_licensedir:%global license %%doc}\
%license linux-%{KVERREL}/COPYING-%{version}\
/lib/modules/%{KVERREL}%{?2:+%{2}}/%{?-k:%{-k*}}%{!?-k:vmlinuz}\
%ghost /%{image_install_path}/%{?-k:%{-k*}}%{!?-k:vmlinuz}-%{KVERREL}%{?2:+%{2}}\
/lib/modules/%{KVERREL}%{?2:+%{2}}/.vmlinuz.hmac \
%ghost /%{image_install_path}/.vmlinuz-%{KVERREL}%{?2:+%{2}}.hmac \
%ifarch aarch64\
/lib/modules/%{KVERREL}%{?2:+%{2}}/dtb \
%ghost /%{image_install_path}/dtb-%{KVERREL}%{?2:+%{2}} \
%endif\
%attr(0600, root, root) /lib/modules/%{KVERREL}%{?2:+%{2}}/System.map\
%attr(0600, root, root) /boot/System.map-%{KVERREL}%{?2:+%{2}}\
/lib/modules/%{KVERREL}%{?2:+%{2}}/symvers.gz\
/lib/modules/%{KVERREL}%{?2:+%{2}}/config\
%attr(0600, root, root) /boot/symvers-%{KVERREL}%{?2:+%{2}}.gz\
%attr(0600, root, root) /boot/initramfs-%{KVERREL}%{?2:+%{2}}.img\
%attr(0644, root, root) /boot/config-%{KVERREL}%{?2:+%{2}}\
%dir /lib/modules\
%dir /lib/modules/%{KVERREL}%{?2:+%{2}}\
%dir /lib/modules/%{KVERREL}%{?2:+%{2}}/kernel\
/lib/modules/%{KVERREL}%{?2:+%{2}}/build\
/lib/modules/%{KVERREL}%{?2:+%{2}}/source\
/lib/modules/%{KVERREL}%{?2:+%{2}}/updates\
/lib/modules/%{KVERREL}%{?2:+%{2}}/weak-updates\
/lib/modules/%{KVERREL}%{?2:+%{2}}/bls.conf\
/lib/modules/%{KVERREL}%{?2:+%{2}}/modules.*\
%{expand:%%files -f kernel-%{?2:%{2}-}modules.list %{?2:%{2}-}modules}\
%defattr(-,root,root)\
%{expand:%%files %{?2:%{2}-}devel}\
%defattr(-,root,root)\
%defverify(not mtime)\
/usr/src/kernels/%{KVERREL}%{?2:+%{2}}\
%{expand:%%files -f kernel-%{?2:%{2}-}modules-extra.list %{?2:%{2}-}modules-extra}\
%defattr(-,root,root)\
%config(noreplace) /etc/modprobe.d/*-blacklist.conf\
%{expand:%%files -f kernel-%{?2:%{2}-}modules-internal.list %{?2:%{2}-}modules-internal}\
%if %{with_debuginfo}\
%ifnarch noarch\
%{expand:%%files -f debuginfo%{?2}.list %{?2:%{2}-}debuginfo}\
%defattr(-,root,root)\
%endif\
%endif\
%if %{?2:1} %{!?2:0}\
%{expand:%%files %{2}}\
%defattr(-,root,root)\
%endif\
%endif\
%{nil}
%kernel_variant_files %{with_up}
%kernel_variant_files %{with_debug} debug
# plz don't put in a version string unless you're going to tag
# and build.
#
#
%changelog
* Mon Jan 16 2023 Qiao Ma <mqaio@linux.alibaba.com> [4.19.91-27.1.an8]
- anolis: bpf: add reserve fields for bpf structures (Tianchen Ding)
- xprtrdma: fix incorrect header size calculations (Colin Ian King) {CVE-2022-0812}
- proc: proc_skip_spaces() shouldn't think it is working on C strings (Linus Torvalds) {CVE-2022-4378}
- proc: avoid integer type confusion in get_proc_long (Linus Torvalds) {CVE-2022-4378}
- KVM: x86: do not report a vCPU as preempted outside instruction boundaries (Paolo Bonzini) {CVE-2022-39189}
- nvme: ensure subsystem reset is single threaded (Keith Busch) {CVE-2022-3169}
- nvme: Wait for reset state when required (Keith Busch) {CVE-2022-3169}
- nvme-pci: Allow PCI bus-level PM to be used if ASPM is disabled (Rafael J. Wysocki) {CVE-2022-3169}
- PCI/ASPM: Add pcie_aspm_enabled() (Rafael J. Wysocki) {CVE-2022-3169}
- nvme-pci: use host managed power state for suspend (Keith Busch) {CVE-2022-3169}
- nvme: introduce nvme_sync_io_queues (Chao Leng) {CVE-2022-3169}
- nvme: include admin_q sync with nvme_sync_queues (Edmund Nadolski) {CVE-2022-3169}
- nvme-pci: Sync queues on reset (Keith Busch) {CVE-2022-3169}
- nvme: export get and set features (Keith Busch) {CVE-2022-3169}
- nvme: Prevent resets during paused controller state (Keith Busch) {CVE-2022-3169}
- nvme: restrict management ioctls to admin (Keith Busch) {CVE-2022-3169}
- sch_sfb: Don't assume the skb is still around after enqueueing to child (Toke Høiland-Jørgensen) {CVE-2022-3586}
- arm64: spectre: increase parameters that can be used to turn off bhb mitigation individually (Liu Song)
- KVM: arm64: Check arm64_get_bp_hardening_data() didn't return NULL (James Morse)
- arm64: Use the clearbhb instruction in mitigations (James Morse)
- arm64: add ID_AA64ISAR2_EL1 sys register (Joey Gouly)
- KVM: arm64: Allow SMCCC_ARCH_WORKAROUND_3 to be discovered and migrated (James Morse)
- arm64: Mitigate spectre style branch history side channels (James Morse)
- KVM: arm64: Add templates for BHB mitigation sequences (James Morse)
- arm64: proton-pack: Report Spectre-BHB vulnerabilities as part of Spectre-v2 (James Morse)
- arm64: Add percpu vectors for EL1 (James Morse)
- arm64: entry: Add macro for reading symbol addresses from the trampoline (James Morse)
- arm64: entry: Add vectors that have the bhb mitigation sequences (James Morse)
- arm64: entry: Add non-kpti __bp_harden_el1_vectors for mitigations (James Morse)
- arm64: entry: Allow the trampoline text to occupy multiple pages (James Morse)
- arm64: entry: Make the kpti trampoline's kpti sequence optional (James Morse)
- arm64: entry: Move trampoline macros out of ifdef'd section (James Morse)
- arm64: entry: Don't assume tramp_vectors is the start of the vectors (James Morse)
- arm64: entry: Allow tramp_alias to access symbols after the 4K boundary (James Morse)
- arm64: entry: Move the trampoline data page before the text page (James Morse)
- arm64: entry: Free up another register on kpti's tramp_exit path (James Morse)
- arm64: entry: Make the trampoline cleanup optional (James Morse)
- arm64: entry.S: Add ventry overflow sanity checks (James Morse)
- arm64: Add Cortex-X2 CPU part definition (Anshuman Khandual)
- arm64: Add Neoverse-N2, Cortex-A710 CPU part definition (Suzuki K Poulose)
- arm64: Add part number for Arm Cortex-A77 (Rob Herring)
- ARM: 9209/1: Spectre-BHB: avoid pr_info() every time a CPU comes out of idle (Ard Biesheuvel)
- ARM: 9197/1: spectre-bhb: fix loop8 sequence for Thumb2 (Ard Biesheuvel)
- ARM: 9196/1: spectre-bhb: enable for Cortex-A15 (Ard Biesheuvel)
- ARM: fix Thumb2 regression with Spectre BHB (Russell King (Oracle))
- ARM: Spectre-BHB: provide empty stub for non-config (Randy Dunlap)
- ARM: fix build warning in proc-v7-bugs.c (Russell King (Oracle))
- ARM: Do not use NOCROSSREFS directive with ld.lld (Nathan Chancellor)
- ARM: fix co-processor register typo (Russell King (Oracle))
- kbuild: add CONFIG_LD_IS_LLD (Sami Tolvanen)
- ARM: fix build error when BPF_SYSCALL is disabled (Emmanuel Gil Peyrot)
- ARM: include unprivileged BPF status in Spectre V2 reporting (Russell King (Oracle))
- ARM: Spectre-BHB workaround (Russell King (Oracle))
- ARM: use LOADADDR() to get load address of sections (Russell King (Oracle))
- ARM: early traps initialisation (Russell King (Oracle))
- ARM: report Spectre v2 status through sysfs (Russell King (Oracle))
- arm/arm64: smccc/psci: add arm_smccc_1_1_get_conduit() (Mark Rutland)
- arm/arm64: Provide a wrapper for SMCCC 1.1 calls (Steven Price)
- xen/netfront: fix leaking data in shared pages (Roger Pau Monne) {CVE-2022-33740}
- powerpc/32: Fix overread/overwrite of thread_struct via ptrace (Michael Ellerman) {CVE-2022-32981}
- floppy: disable FDRAWCMD by default (Willy Tarreau) {CVE-2022-33981,CVE-2022-1836}
- x86/speculation: Add LFENCE to RSB fill sequence (Pawan Gupta) {CVE-2022-26373}
- x86/speculation: Add RSB VM Exit protections (Daniel Sneddon) {CVE-2022-26373}
- x86/speculation: Fill RSB on vmexit for IBRS (Josh Poimboeuf) {CVE-2022-26373}
- x86/entry: Add kernel IBRS implementation (Peter Zijlstra) {CVE-2022-26373}
- x86/bugs: Keep a per-CPU IA32_SPEC_CTRL value (Peter Zijlstra) {CVE-2022-26373}
- x86/cpufeatures: Move RETPOLINE flags to word 11 (Peter Zijlstra) {CVE-2022-26373}
- xen/arm: Fix race in RB-tree based P2M accounting (Oleksandr Tyshchenko) {CVE-2022-33744}
- tcp: drop the hash_32() part from the index calculation (Willy Tarreau) {CVE-2022-32296}
- tcp: increase source port perturb table to 2^16 (Willy Tarreau) {CVE-2022-32296}
- tcp: dynamically allocate the perturb table used by source ports (Willy Tarreau) {CVE-2022-32296}
- tcp: add small random increments to the source port (Kangjie Xu) {CVE-2022-32296}
- tcp: resalt the secret every 10 seconds (Eric Dumazet) {CVE-2022-32296}
- tcp: use different parts of the port_offset for index and offset (Willy Tarreau) {CVE-2022-32296}
- tcp: change source port randomizarion at connect() time (Willy Tarreau) {CVE-2022-32296}
- kcm: avoid potential race in kcm_tx_work (Eric Dumazet) {CVE-2022-3521}
- af_key: Do not call xfrm_probe_algs in parallel (Herbert Xu) {CVE-2022-3028}
- mISDN: fix use-after-free bugs in l1oip timer handlers (Duoming Zhou) {CVE-2022-3565}
- vsock: Fix memory leak in vsock_connect() (Peilin Ye) {CVE-2022-3629}
- nfp: fix use-after-free in area_cache_get() (Jialiang Wang) {CVE-2022-3545}
- netfilter: nf_conntrack_irc: Fix forged IP logic (David Leadbeater) {CVE-2022-2663}
- Bluetooth: L2CAP: Fix attempting to access uninitialized memory (Luiz Augusto von Dentz) {CVE-2022-42895}
- igmp: Add ip_mc_list lock in ip_check_mc_rcu (Liu Jian) {CVE-2022-20141}
- net/x25: Fix null-ptr-deref caused by x25_disconnect (Duoming Zhou) {CVE-2022-1516}
- arm64: fix oops in concurrently setting insn_emulation sysctls (haibinzhang (张海斌))
- efi: capsule-loader: Fix use-after-free in efi_capsule_write (Hyunwoo Kim) {CVE-2022-40307}
- wifi: brcmfmac: Fix potential buffer overflow in brcmf_fweh_event_worker() (Dokyung Song) {CVE-2022-3628}
- usb: mon: make mmapped memory read only (Tadeusz Struk) {CVE-2022-43750}
- r8152: Rate limit overflow messages (Andrew Gaul) {CVE-2022-3594}
- atm: idt77252: fix use-after-free bugs caused by tst_timer (Duoming Zhou) {CVE-2022-3635}
- video: fbdev: pxa3xx-gcu: Fix integer overflow in pxa3xx_gcu_write (Hyunwoo Kim) {CVE-2022-39842}
- media: v4l2-mem2mem: Apply DST_QUEUE_OFF_BASE on MMAP buffers across ioctls (Chen-Yu Tsai) {CVE-2022-20369}
- sr9700: sanity check for packet length (Oliver Neukum) {CVE-2022-26966}
- parisc: Declare pci_iounmap() parisc version only when CONFIG_PCI enabled (Helge Deller)
- pci_iounmap'2: Electric Boogaloo: try to make sense of it all (Linus Torvalds)
- asm-generic/io.h: Fix !CONFIG_GENERIC_IOMAP pci_iounmap() implementation (Lorenzo Pieralisi)
* Fri Dec 23 2022 Qiao Ma <mqaio@linux.alibaba.com> [4.19.91-27.an8]
- xfs: fix an ABBA deadlock in xfs_rename (Darrick J. Wong)
- xfs: Fix deadlock between AGI and AGF when target_ip exists in xfs_rename() (kaixuxia)
- iomap: Fix negative assignment to unsigned sis->pages in iomap_swapfile_activate (Ritesh Harjani)
- ext4: prevent partial update of the extent blocks (Zhang Yi)
- ext4: check for inconsistent extents between index and leaf block (Zhang Yi)
- ext4: check for out-of-order index extents in ext4_valid_extent_entries() (Zhang Yi)
- ext4: add check to prevent attempting to resize an fs with sparse_super2 (Josh Triplett)
- ext4: add reserved GDT blocks check (Zhang Yi)
- anolis: mm: avoid shmem_getpage_gfp sleep in atomic (Rongwei Wang)
- anolis: mm: gup:remove FOLL_GET_PGSTABLE flag checking (Simon Guo)
- anolis: psi: fix compile error when cgroup disabled (Joseph Qi)
- anolis: io_uring: fix compile error when cgroup disabled (Joseph Qi)
- anolis: erofs: make fscache and RAFS mode mutually exclusive (Jingbo Xu)
- anolis: erofs: force bootstrap_path to be regular file (Jingbo Xu)
- anolis: erofs: make bootstrap_path mandatory in RAFS mode (Jingbo Xu)
- anolis: erofs: fix erofs_is_fscache_mode() (Jingbo Xu)
- net: Fix gro aggregation for udp encaps with zero csum (Daniel Borkmann)
- anolis: rtc: Fix set RTC time delay 500ms on some Zhaoxin SOCs (leoliu)
- USB: HCD: Fix URB giveback issue in tasklet function (leoliu-oc)
- anolis: iommu: SMMU will be passthrough on PHYTIUM FT2000 & FT2500 Socs due to hardware limitation (Gu Mi)
- printk: Drop console_sem during panic (Stephen Brennan)
- printk: Avoid livelock with heavy printk during panic (Stephen Brennan)
- printk: disable optimistic spin during panic (Stephen Brennan)
- printk: Add panic_in_progress helper (Stephen Brennan)
* Mon Nov 28 2022 Qiao Ma <mqaio@linux.alibaba.com> [4.19.91-27_rc3.an8]
- anolis: sched/fair: fix sched_group_identity_enabled read error (Cruz Zhao)
- mm: fix a race on nr_swap_pages (Zhaoyang Huang)
- anolis: sched/fair: fix group identity fast path omits select_idle_core() (Cruz Zhao)
* Wed Nov 23 2022 Qiao Ma <mqaio@linux.alibaba.com> [4.19.91-27_rc2.an8]
- anolis: kbuild: fix error remind bug for libelf check (Yuanhe Shu)
- anolis: configs: enable RCU_TORTURE_TEST for arm64 (Erwei Deng)
- erofs: use kill_anon_super() to kill super in fscache mode (Jia Zhu)
- hardirq/nmi: Allow nested nmi_enter() (Peter Zijlstra)
- cachefiles: make on-demand request distribution fairer (Xin Yin)
- anolis: cachefiles: refactor cachefiles_ondemand_daemon_read() (Jingbo Xu)
- cachefiles: fix error return code in cachefiles_ondemand_copen() (Sun Ke)
- anolis: erofs: update page for .readpages() in fscache mode (Jingbo Xu)
- anolis: cachefiles: fix volume key setup for cachefiles_open (Jingbo Xu)
- anolis: cachefiles: replace BUG_ON() with WARN_ON() (Jingbo Xu)
- xfs: Sanity check flags of Q_XQUOTARM call (Jan Kara)
- anolis: configs: enable CONFIG_LOCK_TORTURE_TEST for arm64 (Erwei Deng)
- vfio/pci: Handle concurrent vma faults (liuxinwei)
- anolis: revert: pci: shorten waiting time in pci_reset_secondary_bus (Yang Su)
- io_uring: don't convert to jiffies for waiting on timeouts (Jens Axboe)
- x86/speculation: Warn about eIBRS + LFENCE + Unprivileged eBPF + SMT (Josh Poimboeuf) {CVE-2022-0001,CVE-2022-0002}
- x86/speculation: Warn about Spectre v2 LFENCE mitigation (Josh Poimboeuf) {CVE-2022-0001,CVE-2022-0002}
- x86/speculation: Update link to AMD speculation whitepaper (Kim Phillips) {CVE-2022-0001,CVE-2022-0002}
- x86/speculation: Use generic retpoline by default on AMD (Kim Phillips) {CVE-2022-0001,CVE-2022-0002}
- x86/speculation: Include unprivileged eBPF status in Spectre v2 mitigation reporting (Josh Poimboeuf) {CVE-2022-0001,CVE-2022-0002}
- Documentation/hw-vuln: Update spectre doc (Peter Zijlstra) {CVE-2022-0001,CVE-2022-0002}
- x86/speculation: Add eIBRS + Retpoline options (Peter Zijlstra) {CVE-2022-0001,CVE-2022-0002}
- x86/speculation: Rename RETPOLINE_AMD to RETPOLINE_LFENCE (Peter Zijlstra (Intel)) {CVE-2022-0001,CVE-2022-0002}
- x86,bugs: Unconditionally allow spectre_v2=retpoline,amd (Peter Zijlstra) {CVE-2022-0001,CVE-2022-0002}
- x86/speculation: Merge one test in spectre_v2_user_select_mitigation() (Borislav Petkov) {CVE-2022-0001,CVE-2022-0002}
- xen/blkfront: fix leaking data in shared pages (Ziyang Zhang) {CVE-2022-26365}
- bnx2x: fix potential memory leak in bnx2x_tpa_stop() (Jianglei Nie) {CVE-2022-3542}
- scsi: qla2xxx: Fix wrong return value in qlt_chk_unresolv_exchg() (Gu Mi)
- scsi: qla2xxx: Set the qpair in SRB to NULL when SRB is released (Gu Mi)
- scsi: qla2xxx: Move ABTS code behind qpair (Gu Mi)
- scsi: qla2xxx: Fix out of order Termination and ABTS response (Gu Mi)
- scsi: qla2xxx: Add logic to detect ABTS hang and response completion (Gu Mi)
- dm verity: set DM_TARGET_IMMUTABLE feature flag (Sarthak Kukreti) {CVE-2022-2503}
- bitops: protect variables in set_mask_bits() macro (Miklos Szeredi)
- anolis: mm: kidled: improve efficiency of scanning valid PFNs (Rongwei Wang)
- x86/speculation/mmio: Reuse SRBDS mitigation for SBDS (Pawan Gupta)
- x86/speculation/mmio: Enable CPU Fill buffer clearing on idle (Pawan Gupta)
- x86/speculation/mmio: Add mitigation for Processor MMIO Stale Data (Pawan Gupta)
- x86/speculation: Add a common function for MD_CLEAR mitigation update (Pawan Gupta)
- x86/speculation/mmio: Enumerate Processor MMIO Stale Data bug (Pawan Gupta)
- x86/cpu: Add Lakefield, Alder Lake and Rocket Lake models to the to Intel CPU family (Tony Luck)
- x86/cpu: Add Jasper Lake to Intel family (Zhang Rui)
- x86/cpu: Add Elkhart Lake to Intel family (Gayatri Kammela)
- perf: Fix sys_perf_event_open() race against self (Peter Zijlstra) {CVE-2022-1729}
* Tue Nov 01 2022 Qiao Ma <mqaio@linux.alibaba.com> [4.19.91-27_rc1.an8]
- configs: refresh the ANCK default configs (Qiao Ma)
- xfrm: xfrm_policy: fix a possible double xfrm_pols_put() in xfrm_bundle_lookup() (Hangyu Hua)
- anolis: configs: enable CONFIG_NF_CT_NETLINK_HELPER for x86 (Qiao Ma)
- anolis: configs: disable CONFIG_MODULE_SIG_ALL for x86 (Qiao Ma)
- anolis: mm: add module parameters for virtiofs dax on demand (Ning Zhang)
- anolis: mm: initialize ZONE_DEVICE page struct on demand in guest kernel (Ning Zhang)
- mm: defer ZONE_DEVICE page initialization to the point where we init pgmap (Alexander Duyck)
- mm: create non-atomic version of SetPageReserved for init use (Alexander Duyck)
- anolis: pci: shorten waiting time in pci_reset_secondary_bus (Yang Su)
- anolis: fsdax: remove useless functions (Shiyang Ruan)
- anolis: fsdax: replace mmap entry in case of cow (Xiaoguang Wang)
- anolis: fsdax: do page cow properly to support file system cow operations (Shiyang Ruan)
- anolis: fsdax: output address in dax_iomap_pfn() and rename it (Shiyang Ruan)
- anolis: mm, pmem: Implement ->memory_failure() in pmem driver (zhongjiang-ali)
- anolis: mm, fsdax: Refactor memory-failure handler for dax mapping (Shiyang Ruan)
- mm/memory-failure.c clean up around tk pre-allocation (Jane Chu)
- anolis: mm: gup: allow to follow _PAGE_DEVMAP && !ZONE_DEVICE pages optionally (Zhu Yanhai)
- anolis: kbuild: move elflib check out of KBUILD_EXTMOD (Yuanhe Shu)
- block-map: add __GFP_ZERO flag for alloc_page in function bio_copy_kern (Haimin Zhang) {CVE-2022-0494}
- io_uring/af_unix: defer registered files gc to io_uring release (Pavel Begunkov) {CVE-2022-2602}
- VFS: use synchronize_rcu_expedited() in namespace_unlock() (NeilBrown)
- fuse: fix revalidation of attributes for permission check (Miklos Szeredi)
- fuse: only invalidate atime in direct read (Miklos Szeredi)
- fuse: don't need GETATTR after every READ (Miklos Szeredi)
- fuse: allow fine grained attr cache invaldation (Miklos Szeredi)
- X.509: Support parsing certificate using SM2 algorithm (Tianjia Zhang)
- anolis: erofs,ovl: enable RCU'd ->get_acl() (Jingbo Xu)
- vfs: add rcu argument to ->get_acl() callback (Miklos Szeredi)
- anolis: erofs,ovl: bypass [override|revert]_creds for overlayfs (Jingbo Xu)
- anolis: erofs, virtiofs, dax: fix incorrect locking around busy_ranges (Gao Xiang)
- xfs: don't account extra agfl blocks as available (Brian Foster)
- arm64: smp: Increase secondary CPU boot timeout value (Will Deacon)
- anolis: driver/crypto: Introduce HGSC_CERT_IMPORT API. (fangbaoshun)
- selftests/bpf: Fix test_align verifier log patterns (Stanislav Fomichev)
- xfs: fix up non-directory creation in SGID directories (Ziyang Zhang) {CVE-2021-4037}
- scsi: mpt3sas: Fix two kernel-doc headers (Gu Mi)
- scsi: mpt3sas: Fix incorrect 4GB boundary check (Gu Mi)
- scsi: mpt3sas: Force reply post array allocations to be within same 4 GB region (Gu Mi)
- scsi: mpt3sas: Force reply post buffer allocations to be within same 4 GB region (Gu Mi)
- scsi: mpt3sas: Force reply buffer allocations to be within same 4 GB region (Gu Mi)
- scsi: mpt3sas: Force sense buffer allocations to be within same 4 GB region (Gu Mi)
- scsi: mpt3sas: Force chain buffer allocations to be within same 4 GB region (Gu Mi)
- scsi: mpt3sas: Force PCIe scatterlist allocations to be within same 4 GB region (Gu Mi)
- scsi: mpt3sas: Replace readl with ioc->base_readl (Suganath Prabu)
- scsi: mpt3sas: Add separate function for aero doorbell reads (Gu Mi)
- scsi: mpt3sas: Introduce flag for aero based controllers (Suganath Prabu)
- scsi: mpt3sas: Add support for Aero controllers (Suganath Prabu)
- scsi: mpt3sas: Update MPI headers to support Aero controllers (Suganath Prabu)
- anolis: mm: add switch for file zero page (Kaihao Bai)
- anolis: mm: avoid MMAP_POPULATE filling zero page (Kaihao Bai)
- anolis: mm: support filling in zero page if read fault in file hole (Kaihao Bai)
- anolis: mm: mark zero page special and avoid being counted (Kaihao Bai)
- anolis: mm: support unmapping zeropage of the same file offset (Kaihao Bai)
- anolis: mm: add zero page judgement helper (Kaihao Bai)
- anolis: mm: add special config to make cpuless memory to be normal or movable (zhongjiang-ali)
- anolis: mm: make cpu-less memory node to movable node only (Feng Tang)
- autonuma: reduce cache footprint when scanning page tables (Huang Ying)
- anolis: memory tiering: Fix panic when disabling memory tiering mode in runtime (Huang Ying)
- anolis: memory tiering: fix promote_success count when thp numa fault work (zhongjiang-ali)
- memory tiering: adjust promotion threshold based on hot pages demoted (Huang Ying)
- memory tiering: measure whether demoted pages are hot (Huang Ying)
- mm, migrate: use flags parameter for remove_migration_ptes() (Huang Ying)
- anolis: mm: migrate: Move the page refcount failure statistics to the correct place (Baolin Wang)
- NUMA balancing: reduce TLB flush via delaying mapping on hint page fault (Huang Ying)
- mm/migrate: correct thp migration stats (Zi Yan)
- mm/vmstat: add events for THP migration without split (Anshuman Khandual)
- mm: memcontrol: set the correct memcg swappiness restriction (Baolin Wang)
- autonuma: fix watermark checking in migrate_balanced_pgdat() (Huang Ying)
- memory tiering: double hot threshold for write hint page fault (Huang Ying)
- memory tiering: loosen per second rate limit (Huang Ying)
- memory tiering: extend promotion threshold range (Huang Ying)
- memory tiering: accelerate promotion threshold adjustment (Huang Ying)
- mm/migrate: add vm counters to track reasons of page migration failure (Feng Tang)
- memory tiering: avoid kswap to be keep in failure state for long (Huang Ying)
- memory tiering: check order in migrate_balanced_pgdat() (Huang Ying)
- memory tiering: fix THP failed to be isolated live lock (Huang Ying)
- memory tiering: add file pages demotion counter (Huang Ying)
- memory tiering: add file pages promotion counter (Huang Ying)
- NUMA balancing: migrate dirty file cache pages (Huang Ying)
- memory tiering: support unmapped file cache pages promotion (Feng Tang)
- mm/migrate: make migrate_misplaced_page works for unmapped file pages (Feng Tang)
- memory tiering: add node-vmstat for promote threshold (Huang Ying)
- memory tiering: add trace point for threshold adjustment (Huang Ying)
- memory tiering: adjust hot threshold automatically (Huang Ying)
- memory tiering: rate limit NUMA migration throughput (Huang Ying)
- memory tiering: hot page selection with hint page fault latency (Huang Ying)
- memory tiering: skip to scan fast memory (Huang Ying)
- NUMA balancing: optimize page placement for memory tiering system (Huang Ying)
- NUMA Balancing: add page promotion counter (Huang Ying)
- mm/migrate: move node demotion code to near its user (Huang Ying)
- mm: migrate: add more comments for selecting target node randomly (Baolin Wang)
- mm: migrate: support multiple target nodes demotion (Baolin Wang)
- mm: migrate: make demotion knob depend on migration (Yang Shi)
- mm/migrate: fix CPUHP state to update node demotion order (Huang Ying)
- mm/migrate: add CPU hotplug to demotion #ifdef (Dave Hansen)
- mm/migrate: optimize hotplug-time demotion order updates (Dave Hansen)
- mm/migrate: add sysfs interface to enable reclaim migration (Huang Ying)
- mm/vmscan: never demote for memcg reclaim (Dave Hansen)
- mm/vmscan: Consider anonymous pages without swap (Keith Busch)
- mm/vmscan: add helper for querying ability to age anonymous pages (Dave Hansen)
- mm/vmscan: add page demotion counter (Yang Shi)
- mm/migrate: demote pages during reclaim (Dave Hansen)
- anolis: mm: migrate: introduce a standard migration target allocation function (Baolin Wang)
- mm/migrate: enable returning precise migrate_pages() success count (Yang Shi)
- mm/migrate: update node demotion order on hotplug events (Dave Hansen)
- mm/numa: automatically generate node migration order (Dave Hansen)
- io_uring: disable polling pollfree files (Pavel Begunkov) {CVE-2022-3176}
- jfs: prevent NULL deref in diFree (Haimin Zhang) {CVE-2022-3202}
- jfs: fix GPF in diFree (Pavel Skripkin) {CVE-2022-3202}
- anolis: doc: Add WangXun txgbe driver known issues (Jiawen Wu)
- anolis: net: txgbe: Support sysfs file system (Jiawen Wu)
- anolis: net: txgbe: Support debug filesystem (Jiawen Wu)
- anolis: net: txgbe: Support power management (Jiawen Wu)
- anolis: net: txgbe: Add ethtool support (Jiawen Wu)
- anolis: net: txgbe: Support PTP (Jiawen Wu)
- anolis: net: txgbe: Support flow director (Jiawen Wu)
- anolis: net: txgbe: Support flow control (Jiawen Wu)
- anolis: net: txgbe: Support to receive and tranmit packets (Jiawen Wu)
- anolis: net: txgbe: Add interrupt support (Jiawen Wu)
- anolis: net: txgbe: Add PHY interface support (Jiawen Wu)
- anolis: net: txgbe: Add operations to interact with firmware (Jiawen Wu)
- anolis: net: txgbe: Add hardware initialization (Jiawen Wu)
- anolis: config: Add TXGBE support in anolis defconfig (Jiawen Wu)
- net: txgbe: Add build support for txgbe (Jiawen Wu)
- fuse: Pass correct lend value to filemap_write_and_wait_range() (Xie Yongji)
- fuse: flush extending writes (Miklos Szeredi)
- fuse: copy_file_range should truncate cache (Miklos Szeredi)
- fuse: fix copy_file_range cache issues (Miklos Szeredi)
- fuse: extract helper for range writeback (Miklos Szeredi)
- fuse: fix copy_file_range() in the writeback case (Miklos Szeredi)
- fuse: add support for copy_file_range() (Niels de Vos)
- mm: Force TLB flush for PFNMAP mappings before unlink_file_vma() (Jann Horn) {CVE-2022-39188}
- anolis: erofs: implement fscache-based data readahead (Jingbo Xu)
- anolis: fscache,cachefiles: add fscache_prepare_read() helper (Jingbo Xu)
- anolis: cachefiles: maintain a file descriptor to the backing file (Jingbo Xu)
- xfs: preserve default grace interval during quotacheck (Darrick J. Wong)
- openvswitch: fix OOB access in reserve_sfa_size() (Paolo Valerio) {CVE-2022-2639}
- anolis: Kconfig: Enable group identity (Yi Tao)
- anolis: configs: Enable group identity (Yi Tao)
- anolis: sched/fair: Group Identity flips using stop_machine() (Cruz Zhao)
- anolis: sched/fair: Introduce fast path for group identity unused (Cruz Zhao)
- anolis: sched/fair: Introduce sysctl interface to enable group identity (Cruz Zhao)
- scsi: megaraid_sas: Update structures for HOST_DEVICE_LIST DCMD (Shivasharan S)
- scsi: megaraid_sas: Add support for DEVICE_LIST DCMD in driver (Shivasharan S)
- scsi: megaraid_sas: Rework device add code in AEN path (Shivasharan S)
- scsi: megaraid_sas: Rework code to get PD and LD list (Shivasharan S)
- scsi: megaraid_sas: Add support for FW snap dump (Shivasharan S)
- anolis: ftrace: fix the failure of nop insertion at compile time (Yinan Liu)
- bpf: Verifer, adjust_scalar_min_max_vals to always call update_reg_bounds() (John Fastabend) {CVE-2021-4159}
- netfilter: nf_queue: do not allow packet truncation below transport header offset (Florian Westphal) {CVE-2022-36946}
- secure_seq: use the 64 bits of the siphash for port offset calculation (Willy Tarreau)
- anolis: configs: x86: Enable CONFIG_SCSI_MQ_DEFAULT for x86 (Bitao Hu)
- fs: fix UAF/GPF bug in nilfs_mdt_destroy (Dongliang Mu) {CVE-2022-2978}
- perf bench futex-wake: Restore thread count default to online CPU count (Tommi Rantala)
- selftests/bpf: Enlarge select() timeout for test_maps (Li Zhijian)
- scsi: mpt3sas: Fix memset() in non-RDPQ mode (Gu Mi)
- scsi: mpt3sas: Fix reply queue count in non RDPQ mode (Gu Mi)
- scsi: mpt3sas: Handle RDPQ DMA allocation in same 4G region (Gu Mi)
- scsi: mpt3sas: Separate out RDPQ allocation to new function (Gu Mi)
- scsi: mpt3sas: Rename function name is_MSB_are_same (Gu Mi)
- scsi: mpt3sas: Don't change the DMA coherent mask after allocations (Gu Mi)
- can: usb_8dev: usb_8dev_start_xmit(): fix double dev_kfree_skb() in error path (Hangyu Hua) {CVE-2022-28388}
- net_sched: cls_route: remove from list when handle is 0 (Thadeu Lima de Souza Cascardo) {CVE-2022-2588}
- iommu: Don't print warning when IOMMU driver only supports unmanaged domains (Joerg Roedel)
- netfilter: nf_tables: do not allow RULE_ID to refer to another chain (Thadeu Lima de Souza Cascardo) {CVE-2022-2586}
- nfsd4: fix NULL dereference in nfsd/clients display code (J. Bruce Fields)
- NFSD: Fix possible sleep during nfsd4_release_lockowner() (Chuck Lever)
- NFSD: prevent underflow in nfssvc_decode_writeargs() (Dan Carpenter)
- NFSD: Fix offset type in I/O trace points (Chuck Lever)
- nfsd: nfsd4_setclientid_confirm mistakenly expires confirmed client. (Dai Ngo)
- nfsd: fix use-after-free due to delegation race (J. Bruce Fields)
- NFSD: Keep existing listeners on portlist error (Benjamin Coddington)
- nfsd4: Handle the NFSv4 READDIR 'dircount' hint being zero (Trond Myklebust)
- nfsd4: Fix forced-expiry locking (J. Bruce Fields)
- nfsd: Fix message level for normal termination (kazuo ito)
- NFSD: Add missing NFSv2 .pc_func methods (Chuck Lever)
- nfsd: fix nfsdfs inode reference count leak (J. Bruce Fields)
- nfsd4: fix nfsdfs reference count loop (J. Bruce Fields)
- nfsd: apply umask on fs without ACL support (J. Bruce Fields)
- nfsd: Fix svc_xprt refcnt leak when setup callback client failed (Xiyu Yang)
- nfsd: memory corruption in nfsd4_lock() (Vasily Averin)
- nfsd: Don't add locks to closed or closing open stateids (Trond Myklebust)
- nfsd: fix jiffies/time_t mixup in LRU list (Arnd Bergmann)
- nfsd: fix delay timer on 32-bit architectures (Arnd Bergmann)
- nfsd4: fix up replay_matches_cache() (Scott Mayhew)
- nfsd4: add filename to states output (Achilles Gaikwad)
- nfsd4: stid display should preserve on-the-wire byte order (J. Bruce Fields)
- nfsd4: common stateid-printing code (J. Bruce Fields)
- nfsd: remove read permission bit for ctl sysctl (Petr Vorel)
- nfsd: "\%s" should be "%s" (J. Bruce Fields)
- nfsd: initialize i_private before d_add (J. Bruce Fields)
- nfsd: use i_wrlock instead of rcu for nfsdfs i_private (J. Bruce Fields)
- nfsd: fix dentry leak upon mkdir failure. (Tetsuo Handa)
- nfsd: Make __get_nfsdfs_client() static (YueHaibing)
- nfsd: Make two functions static (YueHaibing)
- nfsd: decode implementation id (J. Bruce Fields)
- nfsd: create xdr_netobj_dup helper (J. Bruce Fields)
- nfsd: allow forced expiration of NFSv4 clients (J. Bruce Fields)
- nfsd: create get_nfsdfs_clp helper (J. Bruce Fields)
- nfsd4: show layout stateids (J. Bruce Fields)
- nfsd: show lock and deleg stateids (J. Bruce Fields)
- nfsd4: add file to display list of client's opens (J. Bruce Fields)
- nfsd: add more information to client info file (J. Bruce Fields)
- nfsd: escape high characters in binary data (J. Bruce Fields)
- nfsd: copy client's address including port number to cl_addr (J. Bruce Fields)
- nfsd4: add a client info file (J. Bruce Fields)
- nfsd: make client/ directory names small ints (J. Bruce Fields)
- nfsd: add nfsd/clients directory (J. Bruce Fields)
- nfsd4: use reference count to free client (J. Bruce Fields)
- nfsd: rename cl_refcount (J. Bruce Fields)
- nfsd: persist nfsd filesystem across mounts (J. Bruce Fields)
- nfsd: use 64-bit seconds fields in nfsd v4 code (J. Bruce Fields)
- netfilter: nf_tables: do not allow SET_ID to refer to another table (Thadeu Lima de Souza Cascardo) {CVE-2022-2586}
- scsi: megaraid_sas: Update optimal queue depth for SAS and NVMe devices (Anand Lodnoor)
- scsi: megaraid_sas: Fix resource leak in case of probe failure (Chandrakanth Patil)
- scsi: megaraid_sas: Reset adapter if FW is not in READY state after device resume (Anand Lodnoor)
- scsi: megaraid_sas: Send all non-RW I/Os for TYPE_ENCLOSURE device through firmware (Chandrakanth Patil)
- scsi: megaraid_sas: Enable msix_load_balance for Invader and later controllers (Shivasharan S)
- scsi: megaraid_sas: fixup MSIx interrupt setup during resume (Hannes Reinecke)
- net: Prevent infinite while loop in skb_tx_hash() (Michael Chan)
- bnxt_en: Fix TC queue mapping. (Michael Chan)
- scsi: megaraid_sas: Introduce various Aero performance modes (Chandrakanth Patil)
- scsi: megaraid_sas: Use high IOPS queues based on IO workload (Chandrakanth Patil)
- scsi: megaraid_sas: Set affinity for high IOPS reply queues (Chandrakanth Patil)
- scsi: megaraid_sas: Enable coalescing for high IOPS queues (Chandrakanth Patil)
- scsi: megaraid_sas: Add support for High IOPS queues (Chandrakanth Patil)
- scsi: megaraid_sas: Load balance completions across all MSI-X (Shivasharan S)
- scsi: megaraid_sas: Offload Aero RAID5/6 division calculations to driver (Chandrakanth Patil)
- scsi: megaraid_sas: Handle sequence JBOD map failure at driver level (Chandrakanth Patil)
- scsi: megaraid_sas: Don't send FPIO to RL Bypass queue (Chandrakanth Patil)
- scsi: megaraid_sas: Remove few debug counters from IO path (Chandrakanth Patil)
- scsi: megaraid_sas: Add support for Non-secure Aero PCI IDs (Chandrakanth Patil)
- scsi: megaraid_sas: Add 32 bit atomic descriptor support to AERO adapters (Chandrakanth Patil)
- ptrace: Check PTRACE_O_SUSPEND_SECCOMP permission on PTRACE_SEIZE (Jann Horn) {CVE-2022-30594}
- anolis: cgroup: fix memory leak of cgroup_root->orphanage (Yi Tao)
- scsi: megaraid_sas: optimize raid context access in IO path (Shivasharan S)
- scsi: megaraid_sas: In probe context, retry IOC INIT once if firmware is in fault (Chandrakanth Patil)
- scsi: megaraid_sas: Release Mutex lock before OCR in case of DCMD timeout (Chandrakanth Patil)
- scsi: megaraid_sas: IRQ poll to avoid CPU hard lockups (Shivasharan S)
- scsi: megaraid_sas: Remove spin lock for dpc operation (Shivasharan S)
- scsi: megaraid_sas: Add watchdog thread to detect Firmware fault (Shivasharan S)
- scsi: megaraid_sas: Block PCI config space access from userspace during OCR (Shivasharan S)
- scsi: megaraid_sas: Rework code around controller reset (Shivasharan S)
- scsi: megaraid_sas: fw_reset_no_pci_access required for MFI adapters only (Shivasharan S)
- scsi: megaraid_sas: increase timeout for IOC INIT to 180seconds (Shivasharan S)
- scsi: megaraid_sas: Fail init if heartbeat timer fails (Shivasharan S)
- cachefiles: narrow the scope of flushed requests when releasing fd (Jia Zhu)
- torture: Don't try to offline the last CPU (Paul E. McKenney)
- KVM: x86: Avoid theoretical NULL pointer dereference in kvm_irq_delivery_to_apic_fast() (Vitaly Kuznetsov) {CVE-2022-2153}
- KVM: x86: Check lapic_in_kernel() before attempting to set a SynIC irq (Vitaly Kuznetsov) {CVE-2022-2153}
- KVM: Add infrastructure and macro to mark VM as bugged (Sean Christopherson) {CVE-2022-2153}
- tpm: Unify the mismatching TPM space buffer sizes (Jarkko Sakkinen)
- ath9k_htc: fix uninit value bugs (Pavel Skripkin) {CVE-2022-1679}
- netfilter: nf_tables: disallow non-stateful expression in sets earlier (Pablo Neira Ayuso) {CVE-2022-32250}
- anolis: net/netfilter: rename nft_expr_info (Kangjie Xu) {CVE-2022-32250}
- vt: drop old FONT ioctlis (Xingrui Yi) {CVE-2021-33656}
- tracing: Move pipe reference to trace array instead of current_tracer (Steven Rostedt (VMware))
- ext4: fix use-after-free in ext4_search_dir (Ye Bin) {CVE-2022-1184}
- anolis: userns: add a sysctl to control the max depth (Jiang Liu)
- userns: add a sysctl to disable unprivileged user namespace (Serge Hallyn)
- anolis: configs: enable fscache-based on-demand read (Jeffle Xu)
- io_uring: fix soft lockup when call __io_remove_buffers (Ye Bin)
- net: rose: fix UAF bugs caused by timer handler (Duoming Zhou) {CVE-2022-2318}
- mm/memcg: optimize memory.numa_stat like memory.stat (Shakeel Butt)
- mount: fix mounting of detached mounts onto targets that reside on shared mounts (Christian Brauner)
- tools include UAPI: Update copy of files related to new fspick, fsmount, fsconfig, fsopen, move_mount and open_tree syscalls (Arnaldo Carvalho de Melo)
- uapi: Wire up the mount API syscalls on non-x86 arches [ver #2] (David Howells)
- vfs: move_mount: reject moving kernel internal mounts (Eric Biggers)
- do_move_mount(): fix an unsafe use of is_anon_ns() (Al Viro)
- selinux: fix regression introduced by move_mount(2) syscall (Stephen Smalley)
- fs/namespace: add __user to open_tree and move_mount syscalls (Ben Dooks)
- uapi, x86: Fix the syscall numbering of the mount API syscalls [ver #2] (David Howells)
- teach move_mount(2) to work with OPEN_TREE_CLONE (David Howells)
- vfs: syscall: Add move_mount(2) to move mounts around (David Howells)
- vfs: syscall: Add open_tree(2) to reference or clone a mount (Al Viro)
- saner handling of temporary namespaces (Al Viro)
- tools include UAPI: Sync x86's syscalls_64.tbl, generic unistd.h and fcntl.h to pick up openat2 and pidfd_getfd (Arnaldo Carvalho de Melo)
- tools include UAPI: Sync x86's syscalls_64.tbl and generic unistd.h to pick up clone3 and pidfd_open (Arnaldo Carvalho de Melo)
- objtool: Don't fail on missing symbol table (Josh Poimboeuf)
- anolis: mm: use seq_file to show add_pid file (Gang Deng)
- anolis: cachefiles: skip check for n_children in on-demand mode (Jeffle Xu)
- erofs: scan devices from device table (Gao Xiang)
- erofs: add 'fsid' mount option (Gao Xiang)
- erofs: implement fscache-based data read for inline layout (Gao Xiang)
- erofs: implement fscache-based data read for non-inline layout (Gao Xiang)
- erofs: implement fscache-based metadata read (Gao Xiang)
- erofs: register fscache context for extra data blobs (Gao Xiang)
- erofs: register fscache context for primary data blob (Gao Xiang)
- erofs: add anonymous inode caching metadata for data blobs (Gao Xiang)
- erofs: add fscache context helper functions (Gao Xiang)
- erofs: register fscache volume (Gao Xiang)
- erofs: add fscache mode check helper (Gao Xiang)
- cachefiles: enable on-demand read mode (Jeffle Xu)
- cachefiles: implement on-demand read (Jeffle Xu)
- cachefiles: notify the user daemon when withdrawing cookie (Jeffle Xu)
- cachefiles: unbind cachefiles gracefully in on-demand mode (Jeffle Xu)
- cachefiles: notify the user daemon when looking up cookie (Jeffle Xu)
- tty: fix deadlock caused by calling printk() under tty_port->lock (Qi Zheng) {CVE-2022-1462}
- can: mcba_usb: mcba_usb_start_xmit(): fix double dev_kfree_skb in error path (Hangyu Hua) {CVE-2022-28389}
- ALSA: pcm: Fix races among concurrent hw_params and hw_free calls (Takashi Iwai) {CVE-2022-1048}
- drivers: hamradio: 6pack: fix UAF bug caused by mod_timer() (Duoming Zhou) {CVE-2022-1198}
- USB: gadget: validate endpoint index for xilinx udc (Szymon Heidrich) {CVE-2022-27223}
- nfc: st21nfca: Fix potential buffer overflows in EVT_TRANSACTION (Jordy Zomer) {CVE-2022-26490}
- can: ems_usb: ems_usb_start_xmit(): fix double dev_kfree_skb() in error path (Hangyu Hua) {CVE-2022-28390}
- nfc: nfcmrvl: main: reorder destructive operations in nfcmrvl_nci_unregister_dev to avoid bugs (Duoming Zhou) {CVE-2022-1734}
- usb: gadget: clear related members when goto fail (Hangyu Hua) {CVE-2022-24958}
- USB: gadget: validate interface OS descriptor requests (Szymon Heidrich) {CVE-2022-25258}
- sched/fair: Fix wrong cpu selecting from isolated domain (Xunlei Pang)
- anolis: filemap: check compound_head(page)->mapping in generic_file_buffered_read() (Rongwei Wang)
- anolis: x86/kdump: Have crashkernel=X reserve under 4G by default (Dave Young)
- anolis: uio: Replace mutex info_lock with percpu_ref to improve performance (Guixin Liu)
- anolis: scsi: target: tcmu: Make zero copy and bypass data area configurable (Guixin Liu)
- anolis: scsi: target: tcmu: use new rw_semaphore to protect truncate (Xiaoguang Wang)
- scsi: target: tcmu: Fix possible page UAF (Xiaoguang Wang)
- anolis: scsi: target: tcmu: Support zero copy (Xiaoguang Wang)
- anolis: mm: export zap_page_range() (Xiaoguang Wang)
- anolis: scsi: target: tcmu: Introduce cmd_lock to tcmu_cmd (Guixin Liu)
- anolis: scsi:target: reduce one copy by using uio ioctl (Guixin Liu)
- anolis: uio: add ioctl to uio (Guixin Liu)
- anolis: mm: introduce vm_insert_page(s)_mkspecial (Xu Yu)
- mm: define pte_index as macro for x86 (Arjun Roy)
- xfs: don't take a spinlock unconditionally in the DIO fastpath (Dave Chinner)
- xfs: show the proper user quota options (Kaixu Xia)
- anolis: UAPI: Fix macro definition of KVM_HC_VM_ATTESTATION in include/uapi/linux/kvm_para.h (hanliyang)
* Thu Oct 27 2022 Qiao Ma <mqaio@linux.alibaba.com> [4.19.91-26.6.an8]
- arm64: smp: Increase secondary CPU boot timeout value (Will Deacon)
- xfs: fix up non-directory creation in SGID directories (Ziyang Zhang) {CVE-2021-4037}
- jfs: prevent NULL deref in diFree (Haimin Zhang) {CVE-2022-3202}
- jfs: fix GPF in diFree (Pavel Skripkin) {CVE-2022-3202}
- mm: Force TLB flush for PFNMAP mappings before unlink_file_vma() (Jann Horn) {CVE-2022-39188}
- bpf: Verifer, adjust_scalar_min_max_vals to always call update_reg_bounds() (John Fastabend) {CVE-2021-4159}
- netfilter: nf_queue: do not allow packet truncation below transport header offset (Florian Westphal) {CVE-2022-36946}
- can: usb_8dev: usb_8dev_start_xmit(): fix double dev_kfree_skb() in error path (Hangyu Hua) {CVE-2022-28388}
- net_sched: cls_route: remove from list when handle is 0 (Thadeu Lima de Souza Cascardo) {CVE-2022-2588}
- ptrace: Check PTRACE_O_SUSPEND_SECCOMP permission on PTRACE_SEIZE (Jann Horn) {CVE-2022-30594}
- KVM: x86: Avoid theoretical NULL pointer dereference in kvm_irq_delivery_to_apic_fast() (Vitaly Kuznetsov) {CVE-2022-2153}
- KVM: x86: Check lapic_in_kernel() before attempting to set a SynIC irq (Vitaly Kuznetsov) {CVE-2022-2153}
- KVM: Add infrastructure and macro to mark VM as bugged (Sean Christopherson) {CVE-2022-2153}
- ath9k_htc: fix uninit value bugs (Pavel Skripkin) {CVE-2022-1679}
- vt: drop old FONT ioctlis (Xingrui Yi) {CVE-2021-33656}
- ext4: fix use-after-free in ext4_search_dir (Ye Bin) {CVE-2022-1184}
- net: rose: fix UAF bugs caused by timer handler (Duoming Zhou) {CVE-2022-2318}
- tty: fix deadlock caused by calling printk() under tty_port->lock (Qi Zheng) {CVE-2022-1462}
- can: mcba_usb: mcba_usb_start_xmit(): fix double dev_kfree_skb in error path (Hangyu Hua) {CVE-2022-28389}
- ALSA: pcm: Fix races among concurrent hw_params and hw_free calls (Takashi Iwai) {CVE-2022-1048}
- drivers: hamradio: 6pack: fix UAF bug caused by mod_timer() (Duoming Zhou) {CVE-2022-1198}
- USB: gadget: validate endpoint index for xilinx udc (Szymon Heidrich) {CVE-2022-27223}
- nfc: st21nfca: Fix potential buffer overflows in EVT_TRANSACTION (Jordy Zomer) {CVE-2022-26490}
- can: ems_usb: ems_usb_start_xmit(): fix double dev_kfree_skb() in error path (Hangyu Hua) {CVE-2022-28390}
- nfc: nfcmrvl: main: reorder destructive operations in nfcmrvl_nci_unregister_dev to avoid bugs (Duoming Zhou) {CVE-2022-1734}
- usb: gadget: clear related members when goto fail (Hangyu Hua) {CVE-2022-24958}
- USB: gadget: validate interface OS descriptor requests (Szymon Heidrich) {CVE-2022-25258}
- io_uring/af_unix: defer registered files gc to io_uring release (Pavel Begunkov) {CVE-2022-2602}
* Thu Sep 29 2022 Qiao Ma <mqaio@linux.alibaba.com> [4.19.91-26.5.an8]
- io_uring: disable polling pollfree files (Pavel Begunkov) {CVE-2022-3176}
* Wed Sep 14 2022 Qiao Ma <mqaio@linux.alibaba.com> [4.19.91-26.4.an8]
- release 4.19.91-26.4.an8 (Qiao Ma)
* Fri Sep 09 2022 Qiao Ma <mqaio@linux.alibaba.com> [4.19.91-26.4_rc2.an8]
- openvswitch: fix OOB access in reserve_sfa_size() (Paolo Valerio) {CVE-2022-2639}
* Tue Sep 06 2022 Qiao Ma <mqaio@linux.alibaba.com> [4.19.91-26.4_rc1.an8]
- configs: refresh the ANCK default configs (Qiao Ma)
- scsi: megaraid_sas: Update structures for HOST_DEVICE_LIST DCMD (Shivasharan S)
- scsi: megaraid_sas: Add support for DEVICE_LIST DCMD in driver (Shivasharan S)
- scsi: megaraid_sas: Rework device add code in AEN path (Shivasharan S)
- scsi: megaraid_sas: Rework code to get PD and LD list (Shivasharan S)
- scsi: megaraid_sas: Add support for FW snap dump (Shivasharan S)
- anolis: Kconfig: Enable group identity (Yi Tao)
- anolis: configs: Enable group identity (Yi Tao)
- anolis: sched/fair: Group Identity flips using stop_machine() (Cruz Zhao)
- anolis: sched/fair: Introduce fast path for group identity unused (Cruz Zhao)
- anolis: sched/fair: Introduce sysctl interface to enable group identity (Cruz Zhao)
- net: Prevent infinite while loop in skb_tx_hash() (Michael Chan)
- bnxt_en: Fix TC queue mapping. (Michael Chan)
- nfsd4: fix NULL dereference in nfsd/clients display code (J. Bruce Fields)
- NFSD: Fix possible sleep during nfsd4_release_lockowner() (Chuck Lever)
- NFSD: prevent underflow in nfssvc_decode_writeargs() (Dan Carpenter)
- NFSD: Fix offset type in I/O trace points (Chuck Lever)
- nfsd: nfsd4_setclientid_confirm mistakenly expires confirmed client. (Dai Ngo)
- nfsd: fix use-after-free due to delegation race (J. Bruce Fields)
- NFSD: Keep existing listeners on portlist error (Benjamin Coddington)
- nfsd4: Handle the NFSv4 READDIR 'dircount' hint being zero (Trond Myklebust)
- nfsd4: Fix forced-expiry locking (J. Bruce Fields)
- nfsd: Fix message level for normal termination (kazuo ito)
- NFSD: Add missing NFSv2 .pc_func methods (Chuck Lever)
- nfsd: fix nfsdfs inode reference count leak (J. Bruce Fields)
- nfsd4: fix nfsdfs reference count loop (J. Bruce Fields)
- nfsd: apply umask on fs without ACL support (J. Bruce Fields)
- nfsd: Fix svc_xprt refcnt leak when setup callback client failed (Xiyu Yang)
- nfsd: memory corruption in nfsd4_lock() (Vasily Averin)
- nfsd: Don't add locks to closed or closing open stateids (Trond Myklebust)
- nfsd: fix jiffies/time_t mixup in LRU list (Arnd Bergmann)
- nfsd: fix delay timer on 32-bit architectures (Arnd Bergmann)
- nfsd4: fix up replay_matches_cache() (Scott Mayhew)
- nfsd4: add filename to states output (Achilles Gaikwad)
- nfsd4: stid display should preserve on-the-wire byte order (J. Bruce Fields)
- nfsd4: common stateid-printing code (J. Bruce Fields)
- nfsd: remove read permission bit for ctl sysctl (Petr Vorel)
- nfsd: "\%s" should be "%s" (J. Bruce Fields)
- nfsd: initialize i_private before d_add (J. Bruce Fields)
- nfsd: use i_wrlock instead of rcu for nfsdfs i_private (J. Bruce Fields)
- nfsd: fix dentry leak upon mkdir failure. (Tetsuo Handa)
- nfsd: Make __get_nfsdfs_client() static (YueHaibing)
- nfsd: Make two functions static (YueHaibing)
- nfsd: decode implementation id (J. Bruce Fields)
- nfsd: create xdr_netobj_dup helper (J. Bruce Fields)
- nfsd: allow forced expiration of NFSv4 clients (J. Bruce Fields)
- nfsd: create get_nfsdfs_clp helper (J. Bruce Fields)
- nfsd4: show layout stateids (J. Bruce Fields)
- nfsd: show lock and deleg stateids (J. Bruce Fields)
- nfsd4: add file to display list of client's opens (J. Bruce Fields)
- nfsd: add more information to client info file (J. Bruce Fields)
- nfsd: escape high characters in binary data (J. Bruce Fields)
- nfsd: copy client's address including port number to cl_addr (J. Bruce Fields)
- nfsd4: add a client info file (J. Bruce Fields)
- nfsd: make client/ directory names small ints (J. Bruce Fields)
- nfsd: add nfsd/clients directory (J. Bruce Fields)
- nfsd4: use reference count to free client (J. Bruce Fields)
- nfsd: rename cl_refcount (J. Bruce Fields)
- nfsd: persist nfsd filesystem across mounts (J. Bruce Fields)
- nfsd: use 64-bit seconds fields in nfsd v4 code (J. Bruce Fields)
- anolis: configs: x86: Enable CONFIG_SCSI_MQ_DEFAULT for x86 (Bitao Hu)
* Mon Aug 29 2022 Qiao Ma <mqaio@linux.alibaba.com> [4.19.91-26.3.an8]
- fs: fix UAF/GPF bug in nilfs_mdt_destroy (Dongliang Mu) {CVE-2022-2978}
* Wed Aug 17 2022 Qiao Ma <mqaio@linux.alibaba.com> [4.19.91-26.2.an8]
- netfilter: nf_tables: do not allow RULE_ID to refer to another chain (Thadeu Lima de Souza Cascardo) {CVE-2022-2586}
- netfilter: nf_tables: do not allow SET_ID to refer to another table (Thadeu Lima de Souza Cascardo) {CVE-2022-2586}
* Tue Jul 26 2022 Qiao Ma <mqaio@linux.alibaba.com> [4.19.91-26.1.an8]
- netfilter: nf_tables: disallow non-stateful expression in sets earlier (Pablo Neira Ayuso) {CVE-2022-32250}
- anolis: net/netfilter: rename nft_expr_info (Kangjie Xu) {CVE-2022-32250}
* Tue May 24 2022 Shile Zhang <shile.zhang@linux.alibaba.com> [4.19.91-26.an8]
- net/sched: cls_u32: fix netns refcount changes in u32_change() (Eric Dumazet) {CVE-2022-29581}
- anolis: configs: Open CONFIG_RT_GROUP_SCHED (Xuchun)
- perf tests: Fix a typo (Leo Yan)
- perf tests: Disable bp_signal testing for arm64 (Leo Yan)
- perf tests bp_account: Add dedicated checking helper is_supported() (Leo Yan)
- netfilter: nat: limit port clash resolution attempts (Florian Westphal)
- anolis: ftrace: fix update_tot_cnt statistic for x86 (Yinan Liu)
- fuse: fix pipe buffer lifetime for direct_io (Miklos Szeredi) {CVE-2022-1011}
- anolis: compiler: Make symbols visible defaultly when build vdso (Zeng Jiahao)
- anolis: selftests/sgx: Add sgx functional test support without vdso (GuoRui.Yu)
- anolis: selftests/sgx: make the sgx testcase compile with older openssl (GuoRui.Yu)
- anolis: selftests/sgx: Fix sgx testcase compile error without vdso (GuoRui.Yu)
- mm/vmalloc.c: keep track of free blocks for vmap allocation (Uladzislau Rezki (Sony))
- anolis: irqbypass: optimize list traversal and lock contention (Zhiheng Tao)
- ovl: fix regression with re-formatted lower squashfs (Amir Goldstein)
- ovl: fix corner case of non-constant st_dev;st_ino (Amir Goldstein)
- ovl: fix corner case of conflicting lower layer uuid (Amir Goldstein)
- ovl: generalize the lower_fs[] array (Amir Goldstein)
- ovl: generalize the lower_layers[] array (Amir Goldstein)
- ovl: fix lookup failure on multi lower squashfs (Amir Goldstein)
- ovl: relax requirement for non null uuid of lower fs (Amir Goldstein)
- locks: print unsigned ino in /proc/locks (Amir Goldstein)
- anolis: fuse: rename FUSE_PERFILE_DAX to FUSE_HAS_INODE_DAX (Jeffle Xu)
- bpf, selftests: use :: 1 for localhost in tcp_server.py (John Fastabend)
- anolis: configs: Enable CONFIG_IP_DCCP by default (Heng Qi)
- ovl: return required buffer size for file handles (Lubos Dolezel)
- ovl: fix WARN_ON nlink drop to zero (Miklos Szeredi)
- cuse: fix broken release (Miklos Szeredi)
- selftests: vm: drop dependencies on page flags from mlock2 tests (Michal Hocko)
- af_unix: fix races in sk_peer_pid and sk_peer_cred accesses (Eric Dumazet) {CVE-2021-4203}
- cred: allow get_cred() and put_cred() to be given NULL. (NeilBrown) {CVE-2021-4203}
- ring-buffer: Protect ring_buffer_reset() from reentrancy (Steven Rostedt (VMware))
- tracing: Fix race in trace_open and buffer resize call (Gaurav Kohli)
- ring-buffer: speed up buffer resets by avoiding synchronize_rcu for each CPU (Nicholas Piggin)
- xfs: replace -EIO with -EFSCORRUPTED for corrupt metadata (Darrick J. Wong)
- xfs: namecheck directory entry names before listing them (Darrick J. Wong)
- xfs: namecheck attribute names before listing them (Darrick J. Wong)
- xfs: check attribute leaf block structure (Darrick J. Wong)
- xfs: check attribute name validity (Darrick J. Wong)
- xfs: check directory name validity (Darrick J. Wong)
- xfs: scrub should flag dir/attr offsets that aren't mappable with xfs_dablk_t (Darrick J. Wong)
- xfs: abort xattr scrub if fatal signals are pending (Darrick J. Wong)
- anolis: xfs: serialise aio+dio for missing xfs specific ioctls (Joseph Qi)
* Tue May 10 2022 Shile Zhang <shile.zhang@linux.alibaba.com> [4.19.91-26_rc3.an8]
- anolis: configs: refresh default configs (Shile Zhang)
* Tue May 10 2022 Shile Zhang <shile.zhang@linux.alibaba.com> [4.19.91-26_rc2.an8]
- netfilter: nat: never update the UDP checksum when it's 0 (Guillaume Nault)
- anolis: configs: Enable CONFIG_NETDEVSIM by default (Heng Qi)
- anolis: sched: Fix the performence regression because of update_rq_on_expel() (Cruz Zhao)
- NFC: reorder the logic in nfc_{un,}register_device (Lin Ma) {CVE-2021-4202}
- NFC: reorganize the functions in nci_request (Lin Ma) {CVE-2021-4202}
- pNFS/flexfiles: fix incorrect size check in decode_nfs_fh() (Nikola Livic) {CVE-2021-4157}
- xfs: fix missing CoW blocks writeback conversion retry (Darrick J. Wong)
- xfs: force writes to delalloc regions to unwritten (Darrick J. Wong)
- xfs: retry COW fork delalloc conversion when no extent was found (Christoph Hellwig)
- xfs: remove the truncate short cut in xfs_map_blocks (Christoph Hellwig)
- xfs: move xfs_iomap_write_allocate to xfs_aops.c (Christoph Hellwig)
- xfs: move stat accounting to xfs_bmapi_convert_delalloc (Christoph Hellwig)
- xfs: move transaction handling to xfs_bmapi_convert_delalloc (Christoph Hellwig)
- xfs: split XFS_BMAPI_DELALLOC handling from xfs_bmapi_write (Christoph Hellwig)
- xfs: factor out two helpers from xfs_bmapi_write (Christoph Hellwig)
- xfs: simplify the xfs_bmap_btree_to_extents calling conventions (Christoph Hellwig)
- xfs: remove the s_maxbytes checks in xfs_map_blocks (Christoph Hellwig)
- xfs: remove the io_type field from the writeback context and ioend (Christoph Hellwig)
- xfs: refactor xfs_iomap_prealloc_size (Darrick J. Wong)
- xfs: measure all contiguous previous extents for prealloc size (Darrick J. Wong)
- xfs: don't fail unwritten extent conversion on writeback due to edquot (Darrick J. Wong)
- xfs: attach dquots and reserve quota blocks during unwritten conversion (Darrick J. Wong)
- xfs: use the latest extent at writeback delalloc conversion time (Brian Foster)
- xfs: create delalloc bmapi wrapper for full extent allocation (Brian Foster)
- xfs: remove superfluous writeback mapping eof trimming (Brian Foster)
- xfs: validate writeback mapping using data fork seq counter (Brian Foster)
- xfs: update fork seq counter on data fork changes (Brian Foster)
- mm/page_alloc.c: ratelimit allocation failure warnings more aggressively (Johannes Weiner)
- mm, page_alloc: drop should_suppress_show_mem (Michal Hocko)
- mm, page_alloc: move_freepages should not examine struct page of reserved memory (David Rientjes)
- drm/vgem: Close use-after-free race in vgem_gem_create (Daniel Vetter) {CVE-2022-1419}
- drm/vgem: Reclassify buffer creation debug message (Chris Wilson) {CVE-2022-1419}
- mm/swapfile.c: fix potential memory leak in sys_swapon (Miaohe Lin)
- mm/swapfile.c: move inode_lock out of claim_swapfile (Naohiro Aota)
- mm/swapfile.c: fix a comment in sys_swapon() (Christoph Hellwig)
- hibernate: Allow uswsusp to write to swap (Domenico Andreoli)
- vfs: don't allow writes to swap files (Darrick J. Wong)
- mm: set S_SWAPFILE on blockdev swap devices (Darrick J. Wong)
- hinic: fix bug of wq out of bound access (XiangZao)
- ext4: do not zeroout extents beyond i_disksize (Jan Kara)
- anolis: mm, kidled: optimize kidled_set_page_age() call (Gang Deng)
- af_key: add __GFP_ZERO flag for compose_sadb_supported in function pfkey_register (Haimin Zhang) {CVE-2022-1353}
- xfs: Fix tail rounding in xfs_alloc_file_space() (Max Reitz)
- anolis: configs: Enable CONFIG_TEST_BPF by default (root)
- xfs: properly serialise fallocate against AIO+DIO (Dave Chinner)
- xfs: prohibit fstrim in norecovery mode (Darrick J. Wong)
- tracing/kprobes: Do the notrace functions check without kprobes on ftrace (Masami Hiramatsu)
- net/mlx5: Add command entry handling completion (Moshe Shemesh)
- anolis: tcmu: fix compile warnings (Joseph Qi)
- io_uring: fix race between timeout flush and removal (Jens Axboe) {CVE-2022-29582}
- anolis: x86: Enable Kidled for x86 (zhongjiang-ali)
* Mon Apr 25 2022 Shile Zhang <shile.zhang@linux.alibaba.com> [4.19.91-26_rc1.an8]
- anolis: mm: kidled: use different variables to store the rounds (zhongjiang-ali)
- anolis: mm: kidled: Make kidled scan both page and slab equally (zhongjiang-ali)
- anolis: mm: kidled: make kidled to support scan slab separately (zhongjiang-ali)
- anolis: mm: kidled: isolate slab scan with page scan (zhongjiang-ali)
- anolis: mm: kidled: make kidled support to identify cold slab (zhongjiang-ali)
- anolis: mm: kidled: provide a unified interface in preparation for scanning slab (zhongjiang-ali)
- perf/x86/intel/uncore: Fix CAS_COUNT_WRITE issue for ICX (Yuemin Wu)
- anolis: net: keep cgroup classid when skb crosses veth and ipvlan (Tony Lu)
- anolis: mm: introduce ability to reserve page cache on system wide (zhongjiang-ali)
- bpf: increase complexity limit and maximum program size (Alexei Starovoitov)
- Revert "bpf/verifier: per-register parent pointers" (Shile Zhang)
- Revert "bpf: correct slot_type marking logic to allow more stack slot sharing" (Shile Zhang)
- Revert "bpf: Support variable offset stack access from helpers" (Shile Zhang)
- Revert "bpf: Reject indirect var_off stack access in raw mode" (Shile Zhang)
- Revert "bpf: Reject indirect var_off stack access in unpriv mode" (Shile Zhang)
- Revert "bpf: Sanity check max value for var_off stack access" (Shile Zhang)
- Revert "selftests/bpf: Test variable offset stack access" (Shile Zhang)
- Revert "bpf: track spill/fill of constants" (Shile Zhang)
- Revert "selftests/bpf: fix tests due to const spill/fill" (Shile Zhang)
- Revert "bpf: Introduce BPF nospec instruction for mitigating Spectre v4" (Shile Zhang)
- Revert "bpf: Fix leakage due to insufficient speculative store bypass mitigation" (Shile Zhang)
- Revert "bpf: verifier: Allocate idmap scratch in verifier env" (Shile Zhang)
- Revert "bpf: Fix pointer arithmetic mask tightening under state pruning" (Shile Zhang)
- Revert "bpf: precise scalar_value tracking" (Qiao Ma)
- Revert "bpf: add memlock precharge check for cgroup_local_storage" (Qiao Ma)
- Revert "bpf: group memory related fields in struct bpf_map_memory" (Qiao Ma)
- Revert "bpf: rework memlock-based memory accounting for maps" (Qiao Ma)
- Revert "bpf: move memory size checks to bpf_map_charge_init()" (Qiao Ma)
- Revert "bpf: export bpf_map_inc_not_zero" (Qiao Ma)
- Revert "bpf: Switch bpf_map ref counter to atomic64_t so bpf_map_inc() never fails" (Qiao Ma)
- Revert "bpf: Convert bpf_prog refcnt to atomic64_t" (Qiao Ma)
- Revert "bpf: Try harder when allocating memory for large maps" (Qiao Ma)
- Revert "bpf: Add mmap() support for BPF_MAP_TYPE_ARRAY" (Qiao Ma)
- Revert "bpf: Add iterator for spilled registers" (Qiao Ma)
- Revert "bpf: Simplify ptr_min_max_vals adjustment" (Qiao Ma)
- Revert "bpf: Reuse canonical string formatter for ctx errs" (Qiao Ma)
- Revert "bpf: Generalize ptr_or_null regs check" (Qiao Ma)
- Revert "bpf: Add PTR_TO_SOCKET verifier type" (Qiao Ma)
- Revert "bpf: Macrofy stack state copy" (Qiao Ma)
- Revert "bpf: Add reference tracking to verifier" (Qiao Ma)
- Revert "bpf: Add helper to retrieve socket in BPF" (Qiao Ma)
- Revert "selftests/bpf: Generalize dummy program types" (Qiao Ma)
- Revert "selftests/bpf: Add tests for reference tracking" (Qiao Ma)
- Revert "libbpf: Support loading individual progs" (Qiao Ma)
- Revert "selftests/bpf: Add C tests for reference tracking" (Qiao Ma)
- Revert "Documentation: Describe bpf reference tracking" (Qiao Ma)
- Revert "net: core: Fix build with CONFIG_IPV6=m" (Qiao Ma)
- Revert "bpf: Allow sk_lookup with IPv6 module" (Qiao Ma)
- Revert "bpf: Implement BPF ring buffer and verifier support for it" (Qiao Ma)
- Revert "libbpf: Add BPF ring buffer support" (Qiao Ma)
- Revert "selftests/bpf: Add BPF ringbuf selftests" (Qiao Ma)
- Revert "docs/bpf: Add BPF ring buffer design notes" (Qiao Ma)
- Revert "bpf: Enforce BPF ringbuf size to be the power of 2" (Qiao Ma)
- Revert "bpf, ringbuf: Deny reserve of buffers larger than ringbuf" (Qiao Ma)
- Revert "bpf: Prevent writable memory-mapping of read-only ringbuf pages" (Qiao Ma)
- Revert "bpf: Fix false positive kmemleak report in bpf_ringbuf_area_alloc()" (Qiao Ma)
- Revert "bpf: add self-check logic to liveness analysis" (Qiao Ma)
- Revert "bpf: add verifier stats and log_level bit 2" (Qiao Ma)
- Revert "bpf: improve verification speed by droping states" (Qiao Ma)
- Revert "bpf: cleanup explored_states" (Qiao Ma)
- Revert "bpf: split explored_states" (Qiao Ma)
- Revert "bpf: convert explored_states to hash table" (Qiao Ma)
- Revert "bpf: introduce bounded loops" (Qiao Ma)
- Revert "bpf: verifier: make sure callees don't prune with caller differences" (Qiao Ma)
- Revert "bpf: fix callees pruning callers" (Qiao Ma)
- Revert "selftests/bpf: add basic verifier tests for loops" (Qiao Ma)
- udf: Restore i_lenAlloc when inode expansion fails (Jan Kara)
- udf: Fix NULL ptr deref when converting from inline format (Jan Kara)
- anolis: KVM: x86: Support VM_ATTESTATION hypercall (hanliyang)
- KVM/SVM: add support for SEV attestation command (Brijesh Singh)
- writeback: fix obtain a reference to a freeing memcg css (Muchun Song)
- SUNRPC: More fixes for backlog congestion (Trond Myklebust)
- SUNRPC in case of backlog, hand free slots directly to waiting task (NeilBrown)
- anolis: mm, kidled: add some missed comments (Gang Deng)
- anolis: sched: Credit clarification for BVT and its related work (Cruz Zhao)
- netfilter: nf_tables: initialize registers in nft_do_chain() (Pablo Neira Ayuso)
- fuse: Switch to using async direct IO for FOPEN_DIRECT_IO (Martin Raiber)
- anolis: kdump: Fix vmcore fail to be saved in phytium S2500 (Yinan Liu)
- anolis: mm: fix suspicious RCU usage in mem_cgroup_account_oom_skip (Gu Mi)
- fs: fix lazytime expiration handling in __writeback_single_inode() (Eric Biggers)
- NFS: Don't corrupt the value of pg_bytes_written in nfs_do_recoalesce() (Trond Myklebust)
- NFS: Fix initialisation of nfs_client cl_flags field (Trond Myklebust)
- esp: Fix possible buffer overflow in ESP transformation (Steffen Klassert)
- net: qrtr: fix another OOB Read in qrtr_endpoint_post (Xiaolong Huang)
- anolis: configs: Disable group identity by default (Cruz Zhao)
- anolis: Kconfig: Disable group identity by default (Cruz Zhao)
- scsi: target: tcmu: Make cmd_ring_size changeable via configfs. (Guixin Liu)
- quota: check block number when reading the block in quota file (Zhang Yi)
- anolis: mm, memcg: use css_tryget_online() instead of css_get() (Gang Deng)
- writeback, cgroup: do not reparent dax inodes (Roman Gushchin)
- writeback, cgroup: remove wb from offline list before releasing refcnt (Roman Gushchin)
- writeback, cgroup: release dying cgwbs by switching attached inodes (Roman Gushchin)
- writeback, cgroup: support switching multiple inodes at once (Roman Gushchin)
- writeback, cgroup: split out the functional part of inode_switch_wbs_work_fn() (Roman Gushchin)
- writeback, cgroup: keep list of inodes attached to bdi_writeback (Roman Gushchin)
- writeback, cgroup: switch to rcu_work API in inode_switch_wbs() (Roman Gushchin)
- writeback, cgroup: increment isw_nr_in_flight before grabbing an inode (Roman Gushchin)
- writeback, cgroup: add smp_mb() to cgroup_writeback_umount() (Roman Gushchin)
- writeback, cgroup: do not switch inodes with I_WILL_FREE flag (Roman Gushchin)
- writeback, cgroup: inode_switch_wbs() shouldn't give up on wb_switch_rwsem trylock fail (Tejun Heo)
- Revert "ck: memcg: Point wb to root memcg/blkcg when offlining to avoid zombie" (Jeffle Xu)
- perf tests bp_account: Make global variable static (Arnaldo Carvalho de Melo)
- perf bench: Share some global variables to fix build with gcc 10 (Arnaldo Carvalho de Melo)
- hugetlbfs: flush TLBs correctly after huge_pmd_unshare (Nadav Amit)
- ipv4: avoid using shared IP generator for connected sockets (Eric Dumazet)
- ipv4: tcp: send zero IPID in SYNACK messages (Eric Dumazet)
- scsi: megaraid_sas: Fix MEGASAS_IOC_FIRMWARE regression (Arnd Bergmann)
- scsi: megaraid_sas: Check user-provided offsets (Arnd Bergmann)
- scsi: megaraid_sas: TM command refire leads to controller firmware crash (Sumit Saxena)
- scsi: megaraid_sas: Do not initiate OCR if controller is not in ready state (Anand Lodnoor)
- scsi: megaraid_sas: reduce module load time (Steve Sistare)
- f2fs: fix to do sanity check on inode type during garbage collection (Chao Yu)
- scsi: megaraid_sas: RAID1 PCI bandwidth limit algorithm is applicable for only Ventura (Chandrakanth Patil)
- scsi: megaraid_sas: Retry reads of outbound_intr_status reg (Shivasharan S)
- scsi: megaraid_sas: add retry logic in megasas_readl (Shivasharan S)
- scsi: megaraid_sas: changes to function prototypes (Shivasharan S)
- scsi: megaraid_sas: Rename scratch_pad registers (Shivasharan S)
- scsi: megaraid_sas: Introduce new Aero adapter type (Shivasharan S)
- scsi: megaraid_sas: Fix Ventura series based checks (Shivasharan S)
- lib/iov_iter: initialize "flags" in new pipe_buffer (Max Kellermann)
- usb: gadget: rndis: check size of RNDIS_MSG_SET command (zhaoxinchao)
- NFS: LOOKUP_DIRECTORY is also ok with symlinks (Trond Myklebust)
- NFSv4: nfs_atomic_open() can race when looking up a non-regular file (Trond Myklebust)
- NFSv4: Handle case where the lookup of a directory fails (Trond Myklebust)
- anolis: mm/vmscan: skip invoke vmpressure for background reclaim (Yong He)
- io_uring: fix inconsistent lock state (Pavel Begunkov)
- io_uring: fix REQ_F_COMP_LOCKED by killing it (Pavel Begunkov)
- io_uring: dig out COMP_LOCK from deep call chain (Pavel Begunkov)
- io_uring: don't unnecessarily clear F_LINK_TIMEOUT (Pavel Begunkov)
- io_uring: don't set COMP_LOCKED if won't put (Pavel Begunkov)
- netfilter: nat: remove l4 protocol port rovers (chengshuyi.csy)
- ipv4: make exception cache less predictible (Eric Dumazet)
- ipv4: use siphash instead of Jenkins in fnhe_hashfun() (Eric Dumazet)
- net: clean up codestyle (Miaohe Lin)
- ipv6: make exception cache less predictible (Eric Dumazet)
- ipv6: use siphash in rt6_exception_hash() (Eric Dumazet)
- ipv6: use jhash2() in rt6_exception_hash() (Eric Dumazet)
- anolis: sched: fix race condition when adjust guest cputime (Zeng Jiahao)
- anolis: erofs: kill the unnecessary kunmap_atomic in erofs_read_raw_page() (Gao Xiang)
- anolis: sched: Ensure the logic of check_preempt_tick with CONFIG_GROUP_IDENTITY off (Peng Wang)
- tipc: improve size validations for received domain records (Jon Maloy)
- blk-mq: update hctx->dispatch_busy in case of real scheduler (Ming Lei)
- cgroup-v1: Require capabilities to set release_agent (Eric W. Biederman)
- ftrace: modify the scope of sorting mcount at compile (Yinan Liu)
- anolis: mm: change del_pid permission to write only (zhaoxinchao)
- ext4: fix error handling in ext4_restore_inline_data() (Ritesh Harjani)
- ext4: don't use the orphan list when migrating an inode (Theodore Ts'o)
- ext4: Fix BUG_ON in ext4_bread when write quota data (Ye Bin)
- ext4: set csum seed in tmp inode while migrating to extents (Luís Henriques)
- jffs2: GC deadlock reading a page that is used in jffs2_write_begin() (Kyeong Yoo)
- fs: dlm: filter user dlm messages for kernel locks (Alexander Aring)
- anolis: fuse: add a mount option to set fs magic value (sanyulh)
- selftests: cgroup: Test open-time cgroup namespace usage for migration checks (Tejun Heo)
- selftests: cgroup: Test open-time credential usage for migration checks (Tejun Heo)
- selftests: cgroup: Make cg_create() use 0755 for permission instead of 0644 (Tejun Heo)
- cgroup: Use open-time cgroup namespace for process migration perm checks (Tejun Heo)
- cgroup: Allocate cgroup_file_ctx for kernfs_open_file->priv (Tejun Heo)
- cgroup: Use open-time credentials for process migraton perm checks (Tejun Heo)
- nvme: fix an error code in nvme_init_subsystem() (Dan Carpenter)
- nvme-core: Fix extra device_put() call on error path (Logan Gunthorpe)
- nvme: fix controller instance leak (Keith Busch)
- nvme: Assign subsys instance from first ctrl (Keith Busch)
- nvme: fix memory leak caused by incorrect subsystem free (Logan Gunthorpe)
- nvme: change locking for the per-subsystem controller list (Christoph Hellwig)
- drm/i915: Flush TLBs before releasing backing store (Tvrtko Ursulin)
- drm/vmwgfx: Fix stale file descriptors on failed usercopy (Mathias Krause)
- netdevsim: Zero-initialize memory for new map's value in function nsim_bpf_map_alloc (Haimin Zhang)
- sctp: account stream padding length for reconf chunk (Eiichi Tsukata)
- btrfs: unlock newly allocated extent buffer after error (Qu Wenruo)
- xfs: map unwritten blocks in XFS_IOC_{ALLOC,FREE}SP just like fallocate (Darrick J. Wong)
- anolis: Fix the bug that cfs_rq->h_nr_expel_immune underflow (Cruz Zhao)
- anolis: erofs: fix unclean iomap and uninitialized erofs_buf (Gao Xiang)
- anolis: erofs, virtiofs, dax: fix meta race with virtiofs dax reclaim (Gao Xiang)
- erofs: use meta buffers for zmap operations (Gao Xiang)
- erofs: use meta buffers for xattr operations (Gao Xiang)
- erofs: use meta buffers for super operations (Gao Xiang)
- erofs: use meta buffers for inode operations (Gao Xiang)
- erofs: introduce meta buffer operations (Gao Xiang)
- erofs: clean up erofs_map_blocks tracepoints (Gao Xiang)
- scsi: megaraid_sas: Add support for MegaRAID Aero controllers (Shivasharan S)
- ipv6: use prandom_u32() for ID generation (Willy Tarreau)
- inet: use bigger hash table for IP ID generation (Eric Dumazet)
- f2fs: fix to do sanity check on last xattr entry in __f2fs_setxattr() (Chao Yu)
- fget: clarify and improve __fget() implementation (Linus Torvalds)
- fget: check that the fd still exists after getting a ref to it (Linus Torvalds)
- mm, vmscan: guarantee drop_slab_node() termination (Vlastimil Babka)
- mm/vmscan: fix infinite loop in drop_slab_node (Chunxin Zang)
- anolis: erofs: fix memory leak of sbi->devs (Liu Bo)
- anolis: erofs,virtiofs,dax: pin dax mapping when doing fault-in (Liu Bo)
- io_uring: fix IOPOLL -EAGAIN retries (Jens Axboe)
- io_uring: retry in case of short read on block device (Ming Lei)
- io_uring: fix short read retries for non-reg files (Pavel Begunkov)
- io_uring: ensure async buffered read-retry is setup properly (Jens Axboe)
- io_uring: short circuit -EAGAIN for blocking read attempt (Jens Axboe)
- io_uring: fix ITER_BVEC check (Pavel Begunkov)
- io_uring: fix explicit async read/write mapping for large segments (Jens Axboe)
- io_uring: revert consumed iov_iter bytes on error (Jens Axboe)
- io_uring: internally retry short reads (Jens Axboe)
- io_uring: retain iov_iter state over io_read/io_write calls (Jens Axboe)
- io_uring: remove REQ_F_MUST_PUNT (Pavel Begunkov)
- io_uring: remove setting REQ_F_MUST_PUNT in rw (Pavel Begunkov)
- io_uring: flip if handling after io_setup_async_rw (Pavel Begunkov)
- io_uring: clean up req->result setting by rw (Pavel Begunkov)
- Revert "io_uring: fix IOPOLL -EAGAIN retries" (Joseph Qi)
- io_uring: follow **iovec idiom in io_import_iovec (Pavel Begunkov)
- io_uring: add a helper for async rw iovec prep (Pavel Begunkov)
- io_uring: simplify io_req_map_rw() (Pavel Begunkov)
- selftests/bpf: add basic verifier tests for loops (Alexei Starovoitov)
- bpf: fix callees pruning callers (Alexei Starovoitov)
- bpf: verifier: make sure callees don't prune with caller differences (Jakub Kicinski)
- bpf: introduce bounded loops (Alexei Starovoitov)
- bpf: convert explored_states to hash table (Alexei Starovoitov)
- bpf: split explored_states (Alexei Starovoitov)
- bpf: cleanup explored_states (Alexei Starovoitov)
- bpf: improve verification speed by droping states (Alexei Starovoitov)
- bpf: add verifier stats and log_level bit 2 (Alexei Starovoitov)
- bpf: add self-check logic to liveness analysis (Alexei Starovoitov)
- mm: vmalloc: add cond_resched() in __vunmap() (Rafael Aquini)
- ovl: fix use after free in struct ovl_aio_req (yangerkun)
- ovl: fix lockdep warning for async write (Miklos Szeredi)
- integrity: double check iint_cache was initialized (Mimi Zohar)
- fuse: release pipe buf after last use (Miklos Szeredi)
- proc/vmcore: fix clearing user buffer by properly using clear_user() (David Hildenbrand)
- fuse: fix page stealing (Miklos Szeredi)
- fuse: truncate pagecache on atomic_o_trunc (Miklos Szeredi)
- vfs: check fd has read access in kernel_read_file_from_fd() (Matthew Wilcox (Oracle))
- bpf: Use kvmalloc for map values in syscall (Stanislav Fomichev)
- anolis: kernel/memremap: only wakeup is needed for MEMORY_DEVICE_FSDAX when put_page (Liu Bo)
- anolis: erofs: convert some messages to erofs_dbg(..) (Gao Xiang)
- anolis: erofs: fix unexpected endless loop when read < 0 (Gao Xiang)
- bpf: Fix false positive kmemleak report in bpf_ringbuf_area_alloc() (Rustam Kovhaev)
- bpf: Prevent writable memory-mapping of read-only ringbuf pages (Andrii Nakryiko)
- bpf, ringbuf: Deny reserve of buffers larger than ringbuf (Thadeu Lima de Souza Cascardo)
- bpf: Enforce BPF ringbuf size to be the power of 2 (Andrii Nakryiko)
- docs/bpf: Add BPF ring buffer design notes (Andrii Nakryiko)
- selftests/bpf: Add BPF ringbuf selftests (Andrii Nakryiko)
- libbpf: Add BPF ring buffer support (Andrii Nakryiko)
- bpf: Implement BPF ring buffer and verifier support for it (Andrii Nakryiko)
- rcu: Set a maximum limit for back-to-back callback invocation (Guanghui Feng)
- gpu: drm: fix the support of 16bpp,1711BMC (GongJunjie)
- anolis: task_work: cleanup notification modes (Joseph Qi)
- io_uring: set ctx sq/cq entry count earlier (Jens Axboe)
- anolis: io_uring: ensure using TWA_SIGNAL for task_work uncondtionally (Xiaoguang Wang)
- anolis: erofs: fix EINVAL when using dio on RAFS v6 (Liu Bo)
- anolis: erofs: introduce blob_path_dir mount option (Gao Xiang)
- anolis: Kconfig: RICH_CONTAINER should select SCHED_SLI. (Erwei Deng)
- bpf: Allow sk_lookup with IPv6 module (Joe Stringer)
- net: core: Fix build with CONFIG_IPV6=m (Joe Stringer)
- Documentation: Describe bpf reference tracking (Joe Stringer)
- selftests/bpf: Add C tests for reference tracking (Joe Stringer)
- libbpf: Support loading individual progs (Joe Stringer)
- selftests/bpf: Add tests for reference tracking (Joe Stringer)
- selftests/bpf: Generalize dummy program types (Joe Stringer)
- bpf: Add helper to retrieve socket in BPF (Joe Stringer)
- bpf: Add reference tracking to verifier (Joe Stringer)
- bpf: Macrofy stack state copy (Joe Stringer)
- bpf: Add PTR_TO_SOCKET verifier type (Joe Stringer)
- bpf: Generalize ptr_or_null regs check (Joe Stringer)
- bpf: Reuse canonical string formatter for ctx errs (Joe Stringer)
- bpf: Simplify ptr_min_max_vals adjustment (Joe Stringer)
- bpf: Add iterator for spilled registers (Joe Stringer)
- bpf: Add mmap() support for BPF_MAP_TYPE_ARRAY (Andrii Nakryiko)
- bpf: Try harder when allocating memory for large maps (Martynas Pumputis)
- bpf: Convert bpf_prog refcnt to atomic64_t (Andrii Nakryiko)
- bpf: Switch bpf_map ref counter to atomic64_t so bpf_map_inc() never fails (Andrii Nakryiko)
- bpf: export bpf_map_inc_not_zero (Stanislav Fomichev)
- bpf: move memory size checks to bpf_map_charge_init() (Roman Gushchin)
- bpf: rework memlock-based memory accounting for maps (Roman Gushchin)
- bpf: group memory related fields in struct bpf_map_memory (Roman Gushchin)
- bpf: add memlock precharge check for cgroup_local_storage (Roman Gushchin)
- dm cache metadata: Avoid returning cmd->bm wild pointer on error (Ye Bin)
- anolis:ftrace:bug fix on nop substitute at built time (Yinan Liu)
- anolis: script/sorrtable: bug fix about config judgement invalid (Yinan Liu)
- bpf: precise scalar_value tracking (Alexei Starovoitov)
- anolis: kprobes: Check function patched by module without kprobe (Yihao Wu)
- kprobes: Allow kprobes coexist with livepatch (Masami Hiramatsu)
- drivers/base/memory.c: indicate all memory blocks as removable (Guanghui Feng)
- anolis: x86: change Makefile to support stack protector (Guanjun)
- anolis: x86: fix multiple definition build error of "__force_order" (Jiayu Ni)
- anolis: scripts/sorttable: Do not sort orc unwind if stack validation is skipped (Zelin Deng)
- anolis: scripts/sorttable: Fix segfault caused by uninitialized (Guanjun)
- anolis: x86/crypto: Use relative addressing assembly for PIE (Zelin Deng)
- anolis: arm64: Fix building errors with allnoconfig (Baolin Wang)
- anolis: memcg: fix compile error if CONFIG_MEMSLI not set (Yi Tao)
- anolis: swiotlb: fix build error without swiotlb enabled (Jiayu Ni)
- anolis: x86: Replace %c constraint in bug table (Guanjun)
- scripts/dtc: Remove redundant YYLOC global declaration (Dirk Mueller)
- PCI/ACPI: Evaluate PCI Boot Configuration _DSM (Benjamin Herrenschmidt)
- anolis: sched: fix some warnings with allnoconfig (Cruz Zhao)
- anolis: sched: Fix the bug that compile failure with CONFIG_SCHED_DEBUG off (Cruz Zhao)
- anolis: ftrace: bug fix on mcount sorting at build time (Yinan Liu)
- anolis: configs: update anolis default configs for code changes (Shile Zhang)
- anolis: x86: configs: change PSTORE_DEFLATE_COMPRESS attribution (Jiayu Ni)
- anolis: swiotlb: export swiotlb_max_mapping_size() (Xunlei Pang)
- anolis: xsk: fix build error (Xunlei Pang)
- x86/cpu: Align the x86_capability array to size of unsigned long (Fenghua Yu)
- x86/cpu: Align cpu_caps_cleared and cpu_caps_set to unsigned long (Fenghua Yu)
- anolis: pci: add retry sleep to anti-noises (Jiayu Ni)
- anolis: pci: for hotplug noises workaround (Jiayu Ni)
- PCI: pciehp: Ignore Link Down/Up caused by DPC (Lukas Wunner)
- PCI: pciehp: Reduce noisiness on hot removal (Lukas Wunner)
- tools/power turbostat: Support Ice Lake server (Chen Yu)
- tools/power turbostat: consolidate duplicate model numbers (Len Brown)
- mm/memory_hotplug.c: fix notification in offline error path (Qian Cai)
- anolis: mm: fix the swap cache shadow entries (zhongjiang-ali)
- genirq/affinity: Make affinity setting if activated opt-in (Thomas Gleixner)
- genirq/affinity: Handle affinity setting on inactive interrupts correctly (Thomas Gleixner)
- anolis: mm/khugepaged: sleep for the last alloc failure (Zhiheng Tao)
- anolis: mm: Use sched_clock() instead of ktime_get_ns() (Xunlei Pang)
- anolis: x86/split_lock: disable split lock detection by default (Shannon Zhao)
- x86/split_lock: Don't write MSR_TEST_CTRL on CPUs that aren't whitelisted (Sean Christopherson)
- x86/split_lock: Bits in IA32_CORE_CAPABILITIES are not architectural (Tony Luck)
- x86/split_lock: Avoid runtime reads of the TEST_CTRL MSR (Xiaoyao Li)
- x86/split_lock: Rework the initialization flow of split lock detection (Xiaoyao Li)
- x86/split_lock: Enable split lock detection by kernel (Peter Zijlstra (Intel))
- x86/intel: Aggregate big core mobile naming (Peter Zijlstra)
- mm: thp: KVM: Explicitly check for THP when populating secondary MMU (Sean Christopherson)
- x86/hyper-v: Add HvFlushGuestAddressList hypercall support (Lan Tianyu)
- x86/TSC: Use RDTSCP (Borislav Petkov)
- x86: Remove X86_FEATURE_MFENCE_RDTSC (Josh Poimboeuf)
- perf/x86/intel/pt: Export pt_cap_get() (Chao Peng)
- kvm, x86: Properly check whether a pfn is an MMIO or not (KarimAllah Ahmed)
- rculist: Introduce list/hlist_for_each_entry_srcu() macros (Madhuparna Bhowmik)
- cpu/SMT: create and export cpu_smt_possible() (Vitaly Kuznetsov)
- rcu: Upgrade rcu_swap_protected() to rcu_replace_pointer() (Paul E. McKenney)
- KVM: x86/vPMU: Add lazy mechanism to release perf_event per vPMC (Like Xu)
- KVM: x86/vPMU: Declare kvm_pmu->reprogram_pmi field using DECLARE_BITMAP (Like Xu)
- KVM: x86/vPMU: Reuse perf_event to avoid unnecessary pmc_reprogram_counter (Like Xu)
- KVM: x86/vPMU: Introduce a new kvm_pmu_ops->msr_idx_to_pmc callback (Like Xu)
- KVM: x86/vPMU: Rename pmu_ops callbacks from msr_idx to rdpmc_ecx (Like Xu)
- perf/core: Provide a kernel-internal interface to pause perf_event (Like Xu)
- perf/core: Provide a kernel-internal interface to recalibrate event period (Like Xu)
- perf/x86/intel: Make anythread filter support conditional (Stephane Eranian)
- x86/cpufeatures: Enumerate MOVDIR64B instruction (Fenghua Yu)
- x86/cpufeatures: Enumerate MOVDIRI instruction (Fenghua Yu)
- KVM: x86: Inject PMI for KVM guest (Luwei Kang)
- cpufreq: Call transition notifier only once for each policy (Viresh Kumar)
- x86: tsc: Rework time_cpufreq_notifier() (Rafael J. Wysocki)
- Documentation/ABI: Document umwait control sysfs interfaces (Fenghua Yu)
- x86/umwait: Add sysfs interface to control umwait maximum time (Fenghua Yu)
- x86/umwait: Add sysfs interface to control umwait C0.2 state (Fenghua Yu)
- x86/umwait: Initialize umwait control values (Fenghua Yu)
- x86/cpufeatures: Enumerate user wait instructions (Fenghua Yu)
- tools/x86: Sync msr-index.h from kernel sources (Sean Christopherson)
- x86/msr-index: Clean up bit defines for IA32_FEATURE_CONTROL MSR (Sean Christopherson)
- fuse: fix matching of FUSE_DEV_IOC_CLONE command (Alessio Balsini)
- fuse: 32-bit user space ioctl compat for fuse device (Alessio Balsini)
- fuse: Fix parameter for FS_IOC_{GET,SET}FLAGS (Chirantan Ekbote)
- fuse: fix weird page warning (Miklos Szeredi)
- fuse: don't check refcount after stealing page (Miklos Szeredi)
- fuse: fix page dereference after free (Miklos Szeredi)
- arm64: add arch/arm64/Kbuild (Masahiro Yamada)
- linkage: Introduce new macros for assembler symbols (Jiri Slaby)
- include/linux/linkage.h: align weak symbols (Andrey Ryabinin)
- arm64: entry: Remove confusing comment (Will Deacon)
- arm64: entry: Place an SB sequence following an ERET instruction (Will Deacon)
- arm64: Add support for SB barrier and patch in over DSB; ISB sequences (Will Deacon)
- arm64: Add TCR_EPD{0,1} definitions (Marc Zyngier)
- include/linux/seq_file.h: introduce DEFINE_SEQ_ATTRIBUTE() helper macro (Kefeng Wang)
- clocksource/arm_arch_timer: Store physical timer IRQ number for KVM on VHE (Andre Przywara)
- arm64/mm: Unify CONT_PMD_SHIFT (Gavin Shan)
- arm64/mm: Unify CONT_PTE_SHIFT (Gavin Shan)
- arm64/mm: Redefine CONT_{PTE, PMD}_SHIFT (Gavin Shan)
- KVM: arm64: Stop clobbering x0 for HVC_SOFT_RESTART (Andrew Scull)
- KVM: arm64: Annotate hyp NMI-related functions as __always_inline (Alexandru Elisei)
- vfio/type1: Support faulting PFNMAP vmas (Alex Williamson)
- iommu/amd: Restore IRTE.RemapEn bit for amd_iommu_activate_guest_mode (Suravee Suthikulpanit)
- iommu/amd: Fix potential @entry null deref (Joao Martins)
- iommu/amd: Use cmpxchg_double() when updating 128-bit IRTE (Suravee Suthikulpanit)
- iommu/amd: Restore IRTE.RemapEn bit after programming IRTE (Suravee Suthikulpanit)
- iommu/amd: Check feature support bit before accessing MSI capability registers (Suravee Suthikulpanit)
- iommu/amd: Only support x2APIC with IVHD type 11h/40h (Suravee Suthikulpanit)
- iommu/amd: Unmap all L7 PTEs when downgrading page-sizes (Andrei Dulea)
- iommu/amd: Introduce first_pte_l7() helper (Andrei Dulea)
- iommu/amd: Fix downgrading default page-sizes in alloc_pte() (Andrei Dulea)
- vfio/type1: Remove map_try_harder() code path (Joerg Roedel)
- iommu/amd: Allow to upgrade page-size (Joerg Roedel)
- iommu/amd: Restart loop if cmpxchg64 succeeded in alloc_pte() (Joerg Roedel)
- iommu/amd: Allow downgrading page-sizes in alloc_pte() (Joerg Roedel)
- iommu/amd: Ignore page-mode 7 in free_sub_pt() (Joerg Roedel)
- iommu/amd: Introduce free_sub_pt() function (Joerg Roedel)
- iommu/amd: Collect page-table pages in freelist (Joerg Roedel)
- iommu: Allow page responses without PASID (Jean-Philippe Brucker)
- iommu/amd: Add support for X2APIC IOMMU interrupts (Suthikulpanit Suravee)
- iommu: Add padding to struct iommu_fault (Jean-Philippe Brucker)
- iommu: Add recoverable fault reporting (Jean-Philippe Brucker)
- iommu: Introduce device fault report API (Jacob Pan)
- iommu: Introduce device fault data (Jacob Pan)
- driver core: Add per device iommu param (Jacob Pan)
- iommu: Check for iommu_ops == NULL in iommu_probe_device() (Joerg Roedel)
- iommu: Consolidate ->add/remove_device() calls (Joerg Roedel)
- anolis: perf: adjust histogram for spe c2c (Peng Wang)
- anolis: perf: add spe-c2c help command (Peng Wang)
- anolis: perf: Speed up the process of perf sample (Peng Wang)
- anolis: perf: Add progress ui for finding false sharing (Peng Wang)
- perf events parser: Add missing Intel CPU events to parser (Adrian Hunter)
- perf c2c: Fix return type for histogram sorting comparision functions (Andres Freund)
- anolis: perf: accelerate perf spe-c2c report (Peng Wang)
- openEuler: perf tools: add support for ARM spe-c2c (Tan Xiaojun)
- openEuler: arm64: perf: add support for cap_user_time_zero (Wei Li)
- openEuler: perf tools: arm-spe: fix record hang after being terminated (Wei Li)
- openEuler: perf tools: add perf_evlist__terminate() for terminate (Wei Li)
- openEuler: perf report: Add --spe options for arm-spe (Tan Xiaojun)
- openEuler: perf tools: Add support for "report" for some spe events (Tan Xiaojun)
- openEuler: perf tools: Move arm-spe-pkt-decoder.h/c to the new dir (Tan Xiaojun)
- x86/fpu: Deactivate FPU state after failure during state load (Sebastian Andrzej Siewior)
- KVM: x86: Ensure guest's FPU state is loaded when accessing for emulation (Sean Christopherson)
- KVM: x86: Handle TIF_NEED_FPU_LOAD in kvm_{load,put}_guest_fpu() (Sean Christopherson)
- kvm/svm: PKU not currently supported (John Allen)
- KVM: x86: Fix potential put_fpu() w/o load_fpu() on MPX platform (Sean Christopherson)
- x86/fpu: Don't cache access to fpu_fpregs_owner_ctx (Sebastian Andrzej Siewior)
- x86/fpu: Inline fpu__xstate_clear_all_cpu_caps() (Sebastian Andrzej Siewior)
- x86/fpu: Remove the fpu__save() export (Christoph Hellwig)
- x86/fpu: Simplify kernel_fpu_begin() (Christoph Hellwig)
- x86/fpu: Simplify kernel_fpu_end() (Christoph Hellwig)
- x86/fpu: Don't use current->mm to check for a kthread (Christoph Hellwig)
- x86/fpu: Update kernel's FPU state before using for the fsave header (Sebastian Andrzej Siewior)
- x86/fpu: Use fault_in_pages_writeable() for pre-faulting (Hugh Dickins)
- x86/fpu: Fault-in user stack if copy_fpstate_to_sigframe() fails (Sebastian Andrzej Siewior)
- x86/pkeys: Add PKRU value to init_fpstate (Sebastian Andrzej Siewior)
- x86/fpu: Restore regs in copy_fpstate_to_sigframe() in order to use the fastpath (Sebastian Andrzej Siewior)
- x86/fpu: Add a fastpath to copy_fpstate_to_sigframe() (Sebastian Andrzej Siewior)
- x86/fpu: Add a fastpath to __fpu__restore_sig() (Sebastian Andrzej Siewior)
- x86/fpu: Defer FPU state load until return to userspace (Rik van Riel)
- x86/fpu: Merge the two code paths in __fpu__restore_sig() (Sebastian Andrzej Siewior)
- x86/fpu: Restore from kernel memory on the 64-bit path too (Sebastian Andrzej Siewior)
- x86/fpu: Inline copy_user_to_fpregs_zeroing() (Sebastian Andrzej Siewior)
- x86/fpu: Update xstate's PKRU value on write_pkru() (Sebastian Andrzej Siewior)
- x86/fpu: Prepare copy_fpstate_to_sigframe() for TIF_NEED_FPU_LOAD (Rik van Riel)
- x86/fpu: Always store the registers in copy_fpstate_to_sigframe() (Rik van Riel)
- x86/entry: Add TIF_NEED_FPU_LOAD (Sebastian Andrzej Siewior)
- x86/fpu: Eager switch PKRU state (Rik van Riel)
- x86/pkeys: Don't check if PKRU is zero before writing it (Sebastian Andrzej Siewior)
- x86/fpu: Only write PKRU if it is different from current (Sebastian Andrzej Siewior)
- x86/pkeys: Provide *pkru() helpers (Sebastian Andrzej Siewior)
- x86/fpu: Use a feature number instead of mask in two more helpers (Sebastian Andrzej Siewior)
- x86/fpu: Make __raw_xsave_addr() use a feature number instead of mask (Sebastian Andrzej Siewior)
- x86/fpu: Add an __fpregs_load_activate() internal helper (Rik van Riel)
- x86/fpu: Remove user_fpu_begin() (Sebastian Andrzej Siewior)
- x86/fpu: Remove fpu->initialized (Sebastian Andrzej Siewior)
- x86/fpu: Don't save fxregs for ia32 frames in copy_fpstate_to_sigframe() (Sebastian Andrzej Siewior)
- x86/fpu: Remove fpu->initialized usage in copy_fpstate_to_sigframe() (Sebastian Andrzej Siewior)
- x86/fpu: Always init the state in fpu__clear() (Sebastian Andrzej Siewior)
- x86/fpu: Remove preempt_disable() in fpu__clear() (Sebastian Andrzej Siewior)
- x86/fpu: Remove fpu__restore() (Sebastian Andrzej Siewior)
- x86/fpu: Remove fpu->initialized usage in __fpu__restore_sig() (Sebastian Andrzej Siewior)
- x86/fpu: Fix __user annotations (Jann Horn)
- anolis: erofs: release bootstrap in .kill_sb() (Gao Xiang)
- perf: arm-cmn: Fix conversion specifiers for node type (Will Deacon)
- perf: arm-cmn: Fix unsigned comparison to less than zero (Will Deacon)
- perf: Add Arm CMN-600 PMU driver (Robin Murphy)
- anolis: arm64: Add CPU freqency information for /proc/cpuinfo (Baolin Wang)
- arm64: Expose address bits (physical/virtual) via cpuinfo (Baolin Wang)
- anolis: vritio: use vring_weak_barriers to control vring weak_barrier (Zou Cao)
- iommu/arm-smmu-v3: Don't reserve implementation defined register space (Jean-Philippe Brucker)
- iommu/arm-smmu-v3: Don't display an error when IRQ lines are missing (Jean-Philippe Brucker)
- arm64: do_csum: implement accelerated scalar version (Rongwei Wang)
- anolis: UKFEF: report kernel warning (Meng shen)
- anolis: UKFEF: report kernel crash event (Meng shen)
- anolis: UKFEF: report bad mm_struct state (Meng shen)
- anolis: UKFEF: report ext4-fs error (Meng shen)
- anolis: UKFEF: report fatal signal event (Meng shen)
- anolis: UKFEF: report memory alloc failed event (Meng shen)
- anolis: UKFEF: report softlockup event (Meng shen)
- anolis: UKFEF: report rcu-stall event (Meng shen)
- anolis: UKFEF: report hung-task event (Meng shen)
- anolis: UKFEF: report oom event (Meng shen)
- anolis: UKFEF: report block error (Meng shen)
- anolis: UKFEF: report mce event (Meng shen)
- anolis: UKFEF: unified kernel fault event framework (Meng shen)
- anolis: scripts: ftrace_init optimization about instruction substitution (Yinan Liu)
- anolis: scripts: ftrace_init optimization about sorting (Yinan Liu)
- anolis: x86/ftrace: fix ftrace make_nop_x86 wrong offset calculating bug (Qiao Ma)
- openeuler: memblock: extend memblock_cap_memory_range to multiple ranges (Mike Rapoport)
- openeuler: arm64: kdump: support reserving crashkernel above 4G (Chen Zhou)
- openeuler: arm64: support more than one crash kernel regions (Xin Hao)
- Documentation: kunit: Add some troubleshooting tips to the FAQ (David Gow)
- kunit: kunit_tool: Fix invalid result when build fails (David Gow)
- kunit: show error if kunit results are not present (Uriel Guajardo)
- kunit: kunit_config: Fix parsing of CONFIG options with space (Rikard Falkeborn)
- kunit: default KUNIT_* fragments to KUNIT_ALL_TESTS (Anders Roxell)
- kunit: Kconfig: enable a KUNIT_ALL_TESTS fragment (Anders Roxell)
- kunit: Fix TabError, remove defconfig code and handle when there is no kunitconfig (Vitor Massaru Iha)
- kunit: use KUnit defconfig by default (Vitor Massaru Iha)
- kunit: use --build_dir=.kunit as default (Vitor Massaru Iha)
- Documentation: test.h - fix warnings (Lothar Rubusch)
- kunit: kunit_tool: Separate out config/build/exec/parse (David Gow)
- kunit: Add missing newline in summary message (Marco Elver)
- kunit: tool: add missing test data file content (Brendan Higgins)
- kunit: update documentation to describe debugfs representation (Alan Maguire)
- kunit: subtests should be indented 4 spaces according to TAP (Alan Maguire)
- kunit: add log test (Alan Maguire)
- kunit: add debugfs /sys/kernel/debug/kunit/<suite>/results display (Alan Maguire)
- Documentation: kunit: Make the KUnit documentation less UML-specific (David Gow)
- Fix linked-list KUnit test when run multiple times (David Gow)
- kunit: kunit_tool: Allow .kunitconfig to disable config items (David Gow)
- kunit: Always print actual pointer values in asserts (David Gow)
- kunit: add --make_options (Greg Thelen)
- kunit: Run all KUnit tests through allyesconfig (Heidi Fahim)
- kunit: kunit_parser: make parser more robust (Heidi Fahim)
- kunit: run kunit_tool from any directory (Heidi Fahim)
- kunit: test: Improve error messages for kunit_tool when kunitconfig is invalid (Heidi Fahim)
- Documentation: kunit: fixed sphinx error in code block (Brendan Higgins)
- kunit: update documentation to describe module-based build (Alan Maguire)
- kunit: allow kunit to be loaded as a module (Alan Maguire)
- kunit: remove timeout dependence on sysctl_hung_task_timeout_seconds (Alan Maguire)
- kunit: allow kunit tests to be loaded as a module (Alan Maguire)
- kunit: hide unexported try-catch interface in try-catch-impl.h (Alan Maguire)
- kunit: move string-stream.h to lib/kunit (Alan Maguire)
- kunit/kunit_tool_test: Test '--build_dir' option run (SeongJae Park)
- kunit: Rename 'kunitconfig' to '.kunitconfig' (SeongJae Park)
- kunit: Place 'test.log' under the 'build_dir' (SeongJae Park)
- kunit: Create default config in '--build_dir' (SeongJae Park)
- kunit: Remove duplicated defconfig creation (SeongJae Park)
- docs/kunit/start: Use in-tree 'kunit_defconfig' (SeongJae Park)
- Documentation: kunit: add documentation for kunit_tool (Brendan Higgins)
- Documentation: kunit: fix typos and gramatical errors (Brendan Higgins)
- kunit: testing kunit: Bug fix in test_run_timeout function (Heidi Fahim)
- fs/ext4/inode-test: Fix inode test on 32 bit platforms. (Iurii Zaikin)
- lib/list-test: add a test for the 'list' doubly linked list (David Gow)
- ext4: add kunit test for decoding extended timestamps (Iurii Zaikin)
- Documentation: kunit: Fix verification command (SeongJae Park)
- kunit: Fix '--build_dir' option (SeongJae Park)
- kunit: fix failure to build without printk (Brendan Higgins)
- MAINTAINERS: add proc sysctl KUnit test to PROC SYSCTL section (Brendan Higgins)
- kernel/sysctl-test: Add null pointer test for sysctl.c:proc_dointvec() (Iurii Zaikin)
- MAINTAINERS: add entry for KUnit the unit testing framework (Brendan Higgins)
- Documentation: kunit: add documentation for KUnit (Brendan Higgins)
- kunit: defconfig: add defconfigs for building KUnit tests (Brendan Higgins)
- kunit: tool: add Python wrappers for running KUnit tests (Felix Guo)
- kunit: test: add tests for KUnit managed resources (Avinash Kondareddy)
- kunit: test: add the concept of assertions (Brendan Higgins)
- kunit: test: add tests for kunit test abort (Brendan Higgins)
- kunit: test: add support for test abort (Brendan Higgins)
- objtool: add kunit_try_catch_throw to the noreturn list (Brendan Higgins)
- kunit: test: add initial tests (Brendan Higgins)
- lib: enable building KUnit in lib/ (Brendan Higgins)
- kunit: test: add the concept of expectations (Brendan Higgins)
- kunit: test: add assertion printing library (Brendan Higgins)
- kunit: test: add string_stream a std::stream like string builder (Brendan Higgins)
- kunit: test: add test resource management API (Brendan Higgins)
- kunit: test: add KUnit test runner core (Brendan Higgins)
- drm/amdgpu: don't map BO in reserved region (Madhav Chauhan)
- drm/amdgpu: prevent double kfree ttm->sg (Philip Yang)
- drm/amd/display: Stop if retimer is not available (Rodrigo Siqueira)
- drm/amdgpu: increase atombios cmd timeout (John Clements)
- drm/amdgpu: Fix buffer overflow in INFO ioctl (Alex Deucher)
- drm/amdgpu/display: fix ref count leak when pm_runtime_get_sync fails (Navid Emamdoost)
- drm/amd/display: fix ref count leak in amdgpu_drm_ioctl (Navid Emamdoost)
- drm/amdgpu: fix ref count leak in amdgpu_driver_open_kms (Navid Emamdoost)
- drm/amdgpu: avoid dereferencing a NULL pointer (Jack Xiao)
- drm/amdgpu: Prevent kernel-infoleak in amdgpu_info_ioctl() (Peilin Ye)
- drm/amdgpu: Fix oops when pp_funcs is unset in ACPI event (Aaron Ma)
- drm/amdgpu: fix typo for vcn1 idle check (James Zhu)
- drm/amd/amdgpu: Fix GPR read from debugfs (v2) (Tom St Denis)
- drm/amd/display: Clear link settings on MST disable connector (Bhawanpreet Lakha)
- drm/amd/dm/mst: Ignore payload update failures (Lyude Paul)
- drm/amdgpu: add cache flush workaround to gfx8 emit_fence (Pierre-Eric Pelloux-Prayer)
- drm/amdgpu: fix uninitialized variable pasid_mapping_needed (Colin Ian King)
- drm/amdgpu: fix potential double drop fence reference (Pan Bian)
- drm/amdgpu: disallow direct upload save restore list from gfx driver (Hawking Zhang)
- drm/amdgpu: grab the id mgr lock while accessing passid_mapping (Christian König)
- drm/sched: Fix passing zero to 'PTR_ERR' warning v2 (Andrey Grodzovsky)
- drm/scheduler: fix rare NULL ptr race (Yintian Tao)
- drm: Don't free jobs in wait_event_interruptible() (Steven Price)
- drm/sched: Set error to s_fence if HW job submission failed. (Andrey Grodzovsky)
- drm/scheduler: use job count instead of peek (Christian König)
- drm/sched: Fix make htmldocs warnings. (Andrey Grodzovsky)
- drm/sched: Fix static checker warning for potential NULL ptr (Andrey Grodzovsky)
- drm/scheduler: Fix job cleanup without timeout handler (Erico Nunes)
- drm/scheduler: Add flag to hint the release of guilty job. (Andrey Grodzovsky)
- drm/sched: Keep s_fence->parent pointer (Andrey Grodzovsky)
- drm/scheduler: rework job destruction (Christian König)
- drm/sched: Fix description of drm_sched_stop (Jonathan Neuschäfer)
- drm/sched: Fix entities with 0 rqs. (Bas Nieuwenhuizen)
- drm/sched: Always trace the dependencies we wait on, to fix a race. (Eric Anholt)
- drm/sched: Rework HW fence processing. (Andrey Grodzovsky)
- drm/sched: Refactor ring mirror list handling. (Andrey Grodzovsky)
- drm/scheduler: Add drm_sched_suspend/resume_timeout() (Sharat Masetty)
- drm/scheduler: Set sched->thread to NULL on failure (Sharat Masetty)
- drm/sched: revert "fix timeout handling v2" v2 (Christian König)
- drm/scheduler: Fix bad job be re-processed in TDR (Trigger Huang)
- drm/scheduler: Add drm_sched_job_cleanup (Sharat Masetty)
- drm/sched: Add boolean to mark if sched is ready to work v5 (Andrey Grodzovsky)
- drm/sched: add drm_sched_fault (Christian König)
- drm/sched: make sure timer is restarted (Christian König)
- drm/sched: fix timeout handling v2 (Christian König)
- drm/sched: add drm_sched_start_timeout helper (Christian König)
- drm/scheduler: Simplify spsc_queue_count check in drm_sched_entity_select_rq (Nathan Chancellor)
- drm/scheduler: remove timeout work_struct from drm_sched_job (v3) (Nayan Deshmukh)
- drm/scheduler: avoid redundant shifting of the entity v2 (Nayan Deshmukh)
- drm/scheduler: Add stopped flag to drm_sched_entity (Andrey Grodzovsky)
- drm/scheduler: rename gpu_scheduler.c to sched_main.c (Christian König)
- drm/scheduler: cleanup entity coding style (Christian König)
- drm/scheduler: move entity handling into separate file (Christian König)
- drm/scheduler: trivial error handling fix (Christian König)
- drm/scheduler: change entities rq even earlier (Christian König)
- drm/scheduler: fix last_scheduled handling (Christian König)
- drm/scheduler: Remove entity->rq NULL check (Christian König)
- drm/scheduler: bind job earlier to scheduler (Christian König)
- drm/scheduler: fix setting the priorty for entities (v2) (Christian König)
- drm/scheduler: Add job dependency trace. (Andrey Grodzovsky)
- drm/scheduler: move idle entities to scheduler with less load v2 (Nayan Deshmukh)
- drm/scheduler: add new function to get least loaded sched v2 (Nayan Deshmukh)
- drm/scheduler: add counter for total jobs in scheduler (Nayan Deshmukh)
- drm/scheduler: add a list of run queues to the entity (Nayan Deshmukh)
- KVM: arm64: pmu: Only handle supported event counters (Eric Auger)
- KVM: arm64: pmu: Fix chained SW_INCR counters (Eric Auger)
- KVM: arm64: pmu: Don't mark a counter as chained if the odd one is disabled (Eric Auger)
- KVM: arm64: pmu: Don't increment SW_INCR if PMCR.E is unset (Eric Auger)
- KVM: arm64: pmu: Reset sample period on overflow handling (Marc Zyngier)
- KVM: arm64: pmu: Set the CHAINED attribute before creating the in-kernel event (Marc Zyngier)
- arm64: KVM: Handle PMCR_EL0.LC as RES1 on pure AArch64 systems (Marc Zyngier)
- KVM: arm64: pmu: Fix cycle counter truncation (Marc Zyngier)
- KVM: arm/arm64: Introduce kvm_pmu_vcpu_init() to setup PMU counter index (Zenghui Yu)
- KVM: arm/arm64: Support chained PMU counters (Andrew Murray)
- KVM: arm/arm64: Remove pmc->bitmask (Andrew Murray)
- KVM: arm/arm64: Re-create event when setting counter value (Andrew Murray)
- KVM: arm/arm64: Extract duplicated code to own function (Andrew Murray)
- KVM: arm/arm64: Rename kvm_pmu_{enable/disable}_counter functions (Andrew Murray)
- anolis: kvm/pmu: support kvm compiled for module (Shannon Zhao)
- arm64: KVM: Fix perf cycle counter support for VHE (Andrew Murray)
- arm64: docs: Document perf event attributes (Andrew Murray)
- arm64: KVM: Avoid isb's by using direct pmxevtyper sysreg (Andrew Murray)
- arm64: KVM: Enable VHE support for :G/:H perf event modifiers (Andrew Murray)
- arm64: KVM: Enable !VHE support for :G/:H perf event modifiers (Andrew Murray)
- arm64: arm_pmu: Add !VHE support for exclude_host/exclude_guest attributes (Andrew Murray)
- arm64: KVM: Add accessors to track guest/host only counters (Andrew Murray)
- arm64: KVM: Encapsulate kvm_cpu_context in kvm_host_data (Andrew Murray)
- arm64: arm_pmu: Remove unnecessary isb instruction (Andrew Murray)
- anolis: mm, memcg: make up for missing config wrapper (Xu Yu)
- anolis: sched: Prevent rq->cfs_tasks splited into to two cachelines (Yihao Wu)
- openeuler: firmware: arm_sdei: Prohibit probing in '_sdei_handler' (Xiongfeng Wang)
- ACPI/IORT: Fix PMCG node single ID mapping handling (Tuan Phan)
- driver core: platform: Add platform_get_irq_byname_optional() (Hans de Goede)
- mm/mempolicy.c: fix out of bounds write in mpol_parse_str() (Dan Carpenter)
- mm/slub.c: fix corrupted freechain in deactivate_slab() (Dongli Zhang)
- mm/memcg: fix refcount error while moving and swapping (Hugh Dickins)
- arm64: kaslr: Check command line before looking for a seed (Mark Brown)
- arm64: kaslr: Announce KASLR status on boot (Mark Brown)
- arm64: perf: add the missing case 20 in PMEVN_SWITCH() (Wei Li)
- arm64: perf: fix Invalid PMEV* index WARNING (Wei Li)
- arm64: perf: fix wrong event counter index (Wei Li)
- arm64: perf: add pmu_nmi_enable to control pmu nmi (Yang Yingliang)
- arm64: Add support for hard lockup by using pmu counter (Wei Li)
- arm_pmu: Use NMIs for PMU (Julien Thierry)
- arm_pmu: Introduce pmu_irq_ops (Julien Thierry)
- arm/arm64: kvm: pmu: Make overflow handler NMI safe (Julien Thierry)
- arm64: perf: Do not call irq_work_run in NMI context (Julien Thierry)
- perf/arm_pmu: Move PMU lock to ARMv6 events (Julien Thierry)
- armv7 remove pmu locking (Julien Thierry)
- armv7 save/resore pmsel (Julien Thierry)
- armv8 remove pmu locking (Julien Thierry)
- arm64: perf: avoid PMXEV* indirection (Mark Rutland)
- block, zoned: fix integer overflow with BLKRESETZONE et al (Alexey Dobriyan)
- mm, swap: disallow swapon() on zoned block devices (Naohiro Aota)
- configs: support SMR zoned device (Joseph Qi)
- block: use blk_op_str() in blk-mq-debugfs.c (Chaitanya Kulkarni)
- null_blk: add trace in null_blk_zoned.c (Chaitanya Kulkarni)
- block: add centralize REQ_OP_XXX to string helper (Chaitanya Kulkarni)
- null_blk: add tracepoint helpers for zoned mode (Chaitanya Kulkarni)
- block: add a zone condition debug helper (Chaitanya Kulkarni)
- null_blk: Fix zone write handling (Damien Le Moal)
- null_blk: Fix REQ_OP_ZONE_CLOSE handling (Damien Le Moal)
- dm: don't call report zones for more than the user requested (Johannes Thumshirn)
- scsi: sd_sbc: Fix sd_zbc_report_zones() (Damien Le Moal)
- scsi: sd_zbc: Remove set but not used variable 'buflen' (YueHaibing)
- block: rework zone reporting (Christoph Hellwig)
- scsi: sd_zbc: Cleanup sd_zbc_alloc_report_buffer() (Damien Le Moal)
- null_blk: Add zone_nr_conv to features (Damien Le Moal)
- null_blk: clean up report zones (Christoph Hellwig)
- null_blk: clean up the block device operations (Christoph Hellwig)
- block: Remove partition support for zoned block devices (Damien Le Moal)
- block: Simplify report zones execution (Damien Le Moal)
- block: cleanup the !zoned case in blk_revalidate_disk_zones (Christoph Hellwig)
- anolis: block: fix type mismatch build warning (Joseph Qi)
- block: Enhance blk_revalidate_disk_zones() (Damien Le Moal)
- compat_ioctl: block: handle add zone open, close and finish ioctl (Arnd Bergmann)
- null_blk: add zone open, close, and finish support (Ajay Joshi)
- null_blk: return fixed zoned reads > write pointer (Ajay Joshi)
- null_blk: Fix zoned command return code (Keith Busch)
- null_blk: create a helper for zoned devices (Chaitanya Kulkarni)
- dm: add zone open, close and finish support (Ajay Joshi)
- scsi: sd_zbc: add zone open, close, and finish support (Ajay Joshi)
- block: add zone open, close and finish ioctl support (Ajay Joshi)
- block: add zone open, close and finish operations (Ajay Joshi)
- block: Simplify REQ_OP_ZONE_RESET_ALL handling (Damien Le Moal)
- block: Remove REQ_OP_ZONE_RESET plugging (Damien Le Moal)
- scsi: sd_zbc: Fix sd_zbc_complete() (Damien Le Moal)
- null_blk: implement REQ_OP_ZONE_RESET_ALL (Chaitanya Kulkarni)
- scsi: implement REQ_OP_ZONE_RESET_ALL (Chaitanya Kulkarni)
- blk-zoned: implement REQ_OP_ZONE_RESET_ALL (Chaitanya Kulkarni)
- block: add req op to reset all zones and flag (Chaitanya Kulkarni)
- null_blk: remove duplicate check for report zone (Chaitanya Kulkarni)
- null_blk: Add conventional zone configuration for zoned support (Masato Suzuki)
- scsi: sd_zbc: Fix zone information messages (Damien Le Moal)
- blk-zoned: Remove the definition of blk_zone_start() (Bart Van Assche)
- block: Fix potential overflow in blk_report_zones() (Damien Le Moal)
- dm: fix bug with RCU locking in dm_blk_report_zones (Sergei Shtepa)
- block: Limit zone array allocation size (Damien Le Moal)
- block: Fix null_blk_zoned creation failure with small number of zones (Shin'ichiro Kawasaki)
- sd_zbc: Fix report zones buffer allocation (Damien Le Moal)
- block: Kill gfp_t argument of blkdev_report_zones() (Damien Le Moal)
- block: Allow mapping of vmalloc-ed buffers (Damien Le Moal)
- scsi: sd_zbc: Fix sd_zbc_report_zones() buffer allocation (Masato Suzuki)
- uapi: fix ioctl documentation (Damien Le Moal)
- scsi: sd_zbc: Fix compilation warning (Damien Le Moal)
- uapi: linux/blkzoned.h: fix BLKGETZONESZ and BLKGETNRZONES definitions (Dmitry V. Levin)
- compat_ioctl: block: handle BLKGETZONESZ/BLKGETNRZONES (Arnd Bergmann)
- compat_ioctl: block: handle BLKREPORTZONE/BLKRESETZONE (Arnd Bergmann)
- block: Introduce blk_revalidate_disk_zones() (Damien Le Moal)
- block: add a report_zones method (Christoph Hellwig)
- dm: don't use bio_trim() afterall (Mike Snitzer)
- block: Expose queue nr_zones in sysfs (Damien Le Moal)
- block: Improve zone reset execution (Damien Le Moal)
- block: Introduce BLKGETNRZONES ioctl (Damien Le Moal)
- block: Introduce BLKGETZONESZ ioctl (Damien Le Moal)
- block: Limit allocation of zone descriptors for report zones (Damien Le Moal)
- block: Introduce blkdev_nr_zones() helper (Damien Le Moal)
- scsi: sd_zbc: Fix sd_zbc_check_zones() error checks (Damien Le Moal)
- scsi: sd_zbc: Reduce boot device scan and revalidate time (Damien Le Moal)
- scsi: sd_zbc: Rearrange code (Damien Le Moal)
- anolis: xsk: bugfix for implicit declaration of function 'xsk_umem_unpin_pages' (Xuan Zhuo)
- lkdtm: Remove references to CONFIG_REFCOUNT_FULL (Will Deacon)
- locking/refcount: Remove unused 'refcount_error_report()' function (Will Deacon)
- locking/refcount: Consolidate implementations of refcount_t (Will Deacon)
- locking/refcount: Consolidate REFCOUNT_{MAX,SATURATED} definitions (Will Deacon)
- locking/refcount: Move saturation warnings out of line (Will Deacon)
- locking/refcount: Improve performance of generic REFCOUNT_FULL code (Will Deacon)
- locking/refcount: Move the bulk of the REFCOUNT_FULL implementation into the <linux/refcount.h> header (Will Deacon)
- locking/refcount: Remove unused refcount_*_checked() variants (Will Deacon)
- locking/refcount: Ensure integer operands are treated as signed (Will Deacon)
- locking/refcount: Define constants for saturation and max refcount values (Will Deacon)
- anolis: mm: hugetlb: Fix panic that caused by spin_lock not be unlocked (Xin Hao)
- mm: migrate: fix missing update page_private to hugetlb_page_subpool (Muchun Song)
- mm: hugetlb: introduce nr_free_vmemmap_pages in the struct hstate (Muchun Song)
- mm: hugetlb: add a kernel parameter hugetlb_free_vmemmap (Muchun Song)
- mm: hugetlb: alloc the vmemmap pages associated with each HugeTLB page (Muchun Song)
- mm: hugetlb: defer freeing of HugeTLB pages (Muchun Song)
- anolis: mm: add page_size() func (Xin Hao)
- mm: hugetlb: free the vmemmap pages associated with each HugeTLB page (Muchun Song)
- mm: hugetlb: gather discrete indexes of tail page (Muchun Song)
- mm: hugetlb: introduce a new config HUGETLB_PAGE_FREE_VMEMMAP (Muchun Song)
- mm: memory_hotplug: factor out bootmem core functions to bootmem_info.c (Muchun Song)
- hugetlb: fix uninitialized subpool pointer (Mike Kravetz)
- include/linux/hugetlb.h: add synchronization information for new hugetlb specific flags (Mike Kravetz)
- hugetlb: convert PageHugeFreed to HPageFreed flag (Mike Kravetz)
- hugetlb: convert PageHugeTemporary() to HPageTemporary flag (Mike Kravetz)
- hugetlb: convert page_huge_active() HPageMigratable flag (Mike Kravetz)
- hugetlb: use page.private for hugetlb specific page flags (Mike Kravetz)
- x86: mm: add p?d_leaf() definitions (Steven Price)
- arm64: mm: add p?d_leaf() definitions (Steven Price)
- mm: add generic p?d_leaf() macros (Steven Price)
- iommu/vt-d: Fix a bug in intel_iommu_iova_to_phys() for huge page (牛衣)
- anolis: PHYTIUM: NVME: fixed interrupts are concentrated in one cpu (Xin Hao)
- anolis: PHYTIUM: smmu: remove the unsued codes (Xin Hao)
- anolis: mm: Fix minus "Cached" in meminfo (Xunlei Pang)
- clocksource: Add clocksource id for arm arch counter (Jianyong Wu)
- time: Add mechanism to recognize clocksource in time_get_snapshot (Thomas Gleixner)
- ptp: Reorganize ptp_kvm.c to make it arch-independent (Jianyong Wu)
- irqchip/gic-v3-its: Balance initial LPI affinity across CPUs (Marc Zyngier)
- irqchip/gic-v3-its: Track LPI distribution on a per CPU basis (Marc Zyngier)
- perf ordered_events: Add 'struct ordered_events_buffer' layer (Jiri Olsa)
- perf/core: Fix endless multiplex timer (Wen Yang)
- perf/core: Fix corner case in perf_rotate_context() (Wen Yang)
- perf/cgroups: Don't rotate events for cgroups unnecessarily (Wen Yang)
- anolis: PHYTIUM: smmu: one device per iommu group for VF/PF passthrough (Wang Yinfeng)
- anolis: PHYTIUM: Add cputypes and machine support (Wang Yinfeng)
- anolis: meminfo: reduce active and inactive from memcg usage (Issac Hai)
- bpf/xskmap: Return ERR_PTR for failure case instead of NULL. (Jonathan Lemon)
- mm/filemap: add missing mem_cgroup_uncharge() to __add_to_page_cache_locked() (Waiman Long)
- anolis: memcg: Record latency of dirty throttle (Xunlei Pang)
- PCI: pciehp: Prevent deadlock on disconnect (Mika Westerberg)
- PCI: pciehp: Tolerate Presence Detect hardwired to zero (Lukas Wunner)
- perf/amd/uncore: Allow F19h user coreid, threadmask, and sliceid specification (Kim Phillips)
- perf/amd/uncore: Allow F17h user threadmask and slicemask specification (Kim Phillips)
- perf/amd/uncore: Prepare to scale for more attributes that vary per family (Kim Phillips)
- perf/x86/amd: Fix sampling Large Increment per Cycle events (Kim Phillips)
- perf/amd/uncore: Set all slices and threads to restore perf stat -a behaviour (Kim Phillips)
- blk-cgroup: Use cond_resched() when destroy blkgs (Baolin Wang)
- srcu: Take early exit on memory-allocation failure (Paul E. McKenney)
- mm: memcontrol: fix NR_ANON_THPS accounting in charge moving (Muchun Song)
- mm: memmap_init: iterate over memblock regions rather that check each PFN (Baoquan He)
- mm: make memmap_init a proper function (Pavel Tatashin)
- mm, thp: tweak reclaim/compaction effort of local-only and all-node allocations (Vlastimil Babka)
- mm, page_alloc: allow hugepage fallback to remote nodes when madvised (David Rientjes)
- anolis: revert "mm: thp: relax __GFP_THISNODE for MADV_HUGEPAGE mappings" (Xu Yu)
- mm, hugetlb: allow hugepage allocations to reclaim as needed (David Rientjes)
- mm, page_alloc: avoid expensive reclaim when compaction may not succeed (David Rientjes)
- arm64: mm: Make flush_tlb_fix_spurious_fault() a no-op (Will Deacon)
- mm/memory.c: skip spurious TLB flush for retried page fault (Yang Shi)
- mm: drop mmap_sem before calling balance_dirty_pages() in write fault (Johannes Weiner)
- page_alloc: consider highatomic reserve in watermark fast (Jaewon Kim)
- anolis: mm: memcg: Fix memcg reclaim soft lockup (Xunlei Pang)
- timer: Fix wheel index calculation on last level (Frederic Weisbecker)
- timer: Prevent base->clk from moving backward (Frederic Weisbecker)
- anolis: arm64: fixed smmu tlb timeout by msi iommu map (Zou Cao)
- anolis: arm64: iommu: add iommu_hwfix to work around arm-smmu hw issues (Zou Cao)
- scsi: qla4xxx: fix double free bug (Pan Bian)
- scsi: iscsi: qla4xxx: fix double free in probe (Dan Carpenter)
- virtio-blk: free vblk-vqs in error path of virtblk_probe() (Hou Tao)
- vfio-pci: Mask cap zero (Alex Williamson)
- vfio/pci: fix memory leaks in alloc_perm_bits() (Qian Cai)
- vfio/type1: Fix VA->PA translation for PFNMAP VMAs in vaddr_get_pfn() (Sean Christopherson)
- vfio: avoid possible overflow in vfio_iommu_type1_pin_pages (Yan Zhao)
- anolis: livepatch: fix stack check when disabling patch (Xu Yu)
- anolis: livepatch: undo pre-patch callbacks if patch fails (xiejingfeng)
- anolis: livepatch: remove the pre_patch_callback/post_unpatch_callback from the stop_machine context (xiejingfeng)
- anolis: livepatch: adjust some printing level (xiejingfeng)
- anolis: livepatch: support forced patching (xiejingfeng)
- anolis: livepatch/core: introduce stop machine consistency model (Shanpei Chen)
- anolis: livepatch/core: introduce consistency model macro (Shanpei Chen)
- livepatch: Prevent module-specific KLP rela sections from referencing vmlinux symbols (Josh Poimboeuf)
- livepatch: Remove .klp.arch (Peter Zijlstra)
- livepatch: Apply vmlinux-specific KLP relocations early (Josh Poimboeuf)
- livepatch: Disallow vmlinux.ko (Josh Poimboeuf)
- ftrace: Introduce PERMANENT ftrace_ops flag (Miroslav Benes)
- livepatch: Remove stale kobj_added entries from kernel-doc descriptions (Miroslav Benes)
- livepatch: Remove custom kobject state handling (Petr Mladek)
- livepatch: Module coming and going callbacks can proceed with all listed patches (Petr Mladek)
- livepatch: Introduce klp_for_each_patch macro (Petr Mladek)
- livepatch: Use lists to manage patches, objects and functions (Jason Baron)
- livepatch: Simplify API by removing registration step (Petr Mladek)
- livepatch: Don't block the removal of patches loaded after a forced transition (Petr Mladek)
- livepatch: Consolidate klp_free functions (Petr Mladek)
- livepatch: Shuffle klp_enable_patch()/klp_disable_patch() code (Petr Mladek)
- livepatch: Change unsigned long old_addr -> void *old_func in struct klp_func (Petr Mladek)
- kernel/module: Fix memleak in module_add_modinfo_attrs() (YueHaibing)
- anolis: Revert "livepatch: enforce patch stacking semantics" (Jeffle Xu)
- KVM: arm64: Fix 32bit PC wrap-around (Marc Zyngier)
- KVM: arm64: vgic-its: Fix memory leak on the error path of vgic_add_lpi() (Zenghui Yu)
- KVM: arm64: vgic-v3: Retire all pending LPIs on vcpu destroy (Zenghui Yu)
- KVM: arm/arm64: vgic-v3: Retire pending interrupts on disabling LPIs (Marc Zyngier)
- KVM: arm: vgic: Synchronize the whole guest on GIC{D,R}_I{S,C}ACTIVER read (Marc Zyngier)
- KVM: arm: vgic: Fix limit condition when writing to GICD_I[CS]ACTIVER (Marc Zyngier)
- KVM: arm: Make inject_abt32() inject an external abort instead (James Morse)
- KVM: arm: Fix DFSR setting for non-LPAE aarch32 guests (James Morse)
- KVM: arm/arm64: Fix young bit from mmu notifier (Gavin Shan)
- KVM: arm/arm64: vgic-its: Properly check the unmapped coll in DISCARD handler (Zenghui Yu)
- KVM: arm/arm64: Correct AArch32 SPSR on exception entry (Mark Rutland)
- KVM: arm/arm64: Correct CPSR on exception entry (Mark Rutland)
- KVM: arm64: Correct PSTATE on exception entry (Mark Rutland)
- KVM: arm/arm64: Re-check VMA on detecting a poisoned page (James Morse)
- KVM: arm/arm64: vgic-its: Fix restoration of unmapped collections (Eric Auger)
- KVM: arm64: Ensure 'params' is initialised when looking up sys register (Will Deacon)
- KVM: arm/arm64: vgic: Fix potential double free dist->spis in __kvm_vgic_destroy() (Miaohe Lin)
- arm64: xen: Use existing helper to check interrupt status (Julien Thierry)
- arm64: Use daifflag_restore after bp_hardening (Julien Thierry)
- i2c: ismt: Add support for Intel Cedar Fork (Jarkko Nikula)
- arm64/mm: Correct the cache line size warning with non coherent device (Masayoshi Mizuma)
- arm64: cacheinfo: Update cache_line_size detected from DT or PPTT (Shaokun Zhang)
- drivers: base: cacheinfo: Add variable to record max cache line size (Shaokun Zhang)
- pmu/smmuv3: Clear IRQ affinity hint on device removal (Jean-Philippe Brucker)
- perf/smmuv3: Use platform_get_irq_optional() for wired interrupt (John Garry)
- perf/smmuv3: Remove the leftover put_cpu() in error path (Hanjun Guo)
- perf/smmuv3: use devm_platform_ioremap_resource() to simplify code (YueHaibing)
- perf/smmuv3: Validate groups for global filtering (Robin Murphy)
- perf/smmuv3: Validate group size (Robin Murphy)
- drivers: depend on HAS_IOMEM for devm_platform_ioremap_resource() (Bartosz Golaszewski)
- drivers: provide devm_platform_ioremap_resource() (Bartosz Golaszewski)
- driver core: platform: Introduce platform_get_irq_optional() (Thierry Reding)
- driver core: platform: Add an error message to platform_get_irq*() (Stephen Boyd)
- drivers/perf: arm_spe: Don't error on high-order pages for aux buf (Will Deacon)
- anolis: sysfs/cpu: fix allnoconfig build error (Xunlei Pang)
- anolis: arm64: hookers: flush proper tlb range (Xu Yu)
- anolis: net :hookers: fixed error pte operation for write (Zou Cao)
- anolis: hookers: add the check of pmd huge or pte (Zou Cao)
- anolis: tcp: Add feature support for tunable tcp delayed ack (George Zhang)
- anolis: sched: Add a stub function in task's exiting (Erwei Deng)
- virtiofs: split requests that exceed virtqueue size (Connor Kuehl)
- fuse: fix typo for fuse_conn.max_pages comment (Connor Kuehl)
- cuse: fix ioctl (Miklos Szeredi)
- fuse: add max_pages to init_out (Constantine Shulyupin)
- anolis: cpuacct: fix guest cgroup usage more than user usage (Zeng Jiahao)
- anolis: arm64: configs: Add sound card related drivers (Xin Hao)
- anolis: x86: remove noinstr from _prepare_exit_to_usermode() (Tianchen Ding)
- mt76: fix array overflow on receiving too many fragments for a packet (Felix Fietkau)
- mwifiex: pcie: Fix memory leak in mwifiex_pcie_init_evt_ring (Navid Emamdoost)
- mwifiex: pcie: Fix memory leak in mwifiex_pcie_alloc_cmdrsp_buf (Navid Emamdoost)
- mwifiex: fix possible heap overflow in mwifiex_process_country_ie() (Ganapathi Bhat)
- media: ov519: add missing endpoint sanity checks (Johan Hovold)
- media: xirlink_cit: add missing descriptor sanity checks (Johan Hovold)
- media: stv06xx: add missing descriptor sanity checks (Johan Hovold)
- media: usb: fix memory leak in af9005_identify_state (Navid Emamdoost)
- Input: add safety guards to input_set_keycode() (Dmitry Torokhov)
- drm/amdgpu: fix multiple memory leaks in acp_hw_init (Navid Emamdoost)
- ath9k: release allocated buffer if timed out (Navid Emamdoost)
- ath9k_htc: release allocated buffer if timed out (Navid Emamdoost)
- anolis: sched: add paddings for some structures in scheduler (Yihao Wu)
- anolis: virtio_net: change xsk_budget default to 64 (Xuan Zhuo)
- anolis: virtio-net: support unpin xsk pages (Xuan Zhuo)
- anolis: virtio_net: add __netif_tx_lock_bh before access sq->xsk (Xuan Zhuo)
- anolis: xsk: support unpin page delay (Xuan Zhuo)
- xsk: remove AF_XDP socket from map when the socket is released (Björn Töpel)
- bpf_xdp_redirect_map: Perform map lookup in eBPF helper (Toke Høiland-Jørgensen)
- devmap: Rename ifindex member in bpf_redirect_info (Toke Høiland-Jørgensen)
- anolis: xsk: do not add to xsk_list when tx is NULL (Xuan Zhuo)
- anolis: virtio-net: bugfix for xsk free the xsk.hdr with race (Xuan Zhuo)
- anolis: virtio-net: add barrier for bit option (Xuan Zhuo)
- anolis: virtio-net: xsk remove the timer cancel option (Xuan Zhuo)
- anolis: virtio-net: fix kcalloc with GFP_ATOMIC inside xsk enable (Xuan Zhuo)
- anolis: virtio-net, xsk: add stats from xsk (Xuan Zhuo)
- anolis: virtio-net, xsk: virtio-net support xsk (Xuan Zhuo)
- anolis: xsk, virtio-net: prepare for support xsk (Xuan Zhuo)
- anolis: virtio-net, xsk: distinguish XDP_TX and XSK XMIT ctx (Xuan Zhuo)
- anolis: xsk: prepare for driver (Xuan Zhuo)
- anolis: xsk: fix for tx == NULL (Xuan Zhuo)
- anolis: xsk: support write able edge trigger (Xuan Zhuo)
- anolis: xsk: not trigger sk_write_space when every skb free (Xuan Zhuo)
- xsk: Change the tx writeable condition (Xuan Zhuo)
- xsk: Replace datagram_poll by sock_poll_wait (Xuan Zhuo)
- xsk: Add getsockopt XDP_OPTIONS (Maxim Mikityanskiy)
- anolis: erofs: fix opening large blobs over fuse/virtiofs (Gao Xiang)
- anolis: ext4: fix softlockup during fiemap dump (Jeffle Xu)
- anolis: configs: enable CONFIG_EROFS_FS (Gao Xiang)
- anolis: erofs: fix a dead loop due to PIPE iovec (Liu Bo)
- anolis: dax: add dax_read_one_pfn helper (Liu Bo)
- anolis: erofs: support passing in struct file * for FUSE (Gao Xiang)
- anolis: erofs: support blobfile over virtiofs (Gao Xiang)
- anolis: erofs: support RAFS v6 over virtiofs (Gao Xiang)
- erofs: add multiple device support (Gao Xiang)
- erofs: introduce erofs_sb_has_xxx() helpers (Gao Xiang)
- erofs: fix double free of 'copied' (Gao Xiang)
- erofs: support reading chunk-based uncompressed files (Gao Xiang)
- erofs: introduce chunk-based file on-disk format (Gao Xiang)
- erofs: don't use erofs_map_blocks() any more (Yue Hu)
- anolis: erofs: move from drivers/staging/ to fs/ (Gao Xiang)
- anolis: erofs: sync up with kernel 5.10 (Gao Xiang)
* Tue Apr 12 2022 Shile Zhang <shile.zhang@linux.alibaba.com> [4.19.91-25.8.an8]
- netfilter: nf_tables: initialize registers in nft_do_chain() (Pablo Neira Ayuso) {CVE-2022-1016}
- esp: Fix possible buffer overflow in ESP transformation (Steffen Klassert) {CVE-2022-27666}
- net: qrtr: fix another OOB Read in qrtr_endpoint_post (Xiaolong Huang) {CVE-2021-3743}
- quota: check block number when reading the block in quota file (Zhang Yi) {CVE-2021-45868}
- hugetlbfs: flush TLBs correctly after huge_pmd_unshare (Nadav Amit) {CVE-2021-4002}
- ipv4: avoid using shared IP generator for connected sockets (Eric Dumazet) {CVE-2020-36516}
- ipv4: tcp: send zero IPID in SYNACK messages (Eric Dumazet) {CVE-2020-36516}
- f2fs: fix to do sanity check on inode type during garbage collection (Chao Yu) {CVE-2021-44879}
- NFS: LOOKUP_DIRECTORY is also ok with symlinks (Trond Myklebust) {CVE-2022-24448}
- NFSv4: nfs_atomic_open() can race when looking up a non-regular file (Trond Myklebust) {CVE-2022-24448}
- NFSv4: Handle case where the lookup of a directory fails (Trond Myklebust) {CVE-2022-24448}
- netdevsim: Zero-initialize memory for new map's value in function nsim_bpf_map_alloc (Haimin Zhang) {CVE-2021-4135}
* Wed Mar 09 2022 Shile Zhang <shile.zhang@linux.alibaba.com> [4.19.91-25.7.an8]
- lib/iov_iter: initialize "flags" in new pipe_buffer (Max Kellermann) {CVE-2020-0847}
- tipc: improve size validations for received domain records (Jon Maloy) {CVE-2022-0435}
* Tue Feb 15 2022 Shile Zhang <shile.zhang@linux.alibaba.com> [4.19.91-25.6.an8]
- cgroup-v1: Require capabilities to set release_agent (Eric W. Biederman) {CVE-2022-0492}
- selftests: cgroup: Test open-time cgroup namespace usage for migration checks (Tejun Heo) {CVE-2021-4197}
- selftests: cgroup: Test open-time credential usage for migration checks (Tejun Heo) {CVE-2021-4197}
- selftests: cgroup: Make cg_create() use 0755 for permission instead of 0644 (Tejun Heo) {CVE-2021-4197}
- cgroup: Use open-time cgroup namespace for process migration perm checks (Tejun Heo) {CVE-2021-4197}
- cgroup: Allocate cgroup_file_ctx for kernfs_open_file->priv (Tejun Heo) {CVE-2021-4197}
- cgroup: Use open-time credentials for process migraton perm checks (Tejun Heo) {CVE-2021-4197}
* Mon Feb 07 2022 Shile Zhang <shile.zhang@linux.alibaba.com> [4.19.91-25.5.an8]
- drm/i915: Flush TLBs before releasing backing store (Tvrtko Ursulin) {CVE-2022-0330}
- drm/vmwgfx: Fix stale file descriptors on failed usercopy (Mathias Krause) {CVE-2022-22942}
- xfs: map unwritten blocks in XFS_IOC_{ALLOC,FREE}SP just like fallocate (Darrick J. Wong) {CVE-2021-4155}
* Tue Jan 25 2022 Shile Zhang <shile.zhang@linux.alibaba.com> [4.19.91-25.4.an8]
- anolis: Fix the bug that cfs_rq->h_nr_expel_immune underflow (Cruz Zhao)
- bpf: increase complexity limit and maximum program size (Alexei Starovoitov)
- Revert "bpf/verifier: per-register parent pointers" (Shile Zhang)
- Revert "bpf: correct slot_type marking logic to allow more stack slot sharing" (Shile Zhang)
- Revert "bpf: Support variable offset stack access from helpers" (Shile Zhang)
- Revert "bpf: Reject indirect var_off stack access in raw mode" (Shile Zhang)
- Revert "bpf: Reject indirect var_off stack access in unpriv mode" (Shile Zhang)
- Revert "bpf: Sanity check max value for var_off stack access" (Shile Zhang)
- Revert "selftests/bpf: Test variable offset stack access" (Shile Zhang)
- Revert "bpf: track spill/fill of constants" (Shile Zhang)
- Revert "selftests/bpf: fix tests due to const spill/fill" (Shile Zhang)
- Revert "bpf: Introduce BPF nospec instruction for mitigating Spectre v4" (Shile Zhang)
- Revert "bpf: Fix leakage due to insufficient speculative store bypass mitigation" (Shile Zhang)
- Revert "bpf: verifier: Allocate idmap scratch in verifier env" (Shile Zhang)
- Revert "bpf: Fix pointer arithmetic mask tightening under state pruning" (Shile Zhang)
- Revert "bpf: precise scalar_value tracking" (Qiao Ma)
- scsi: megaraid_sas: Add support for MegaRAID Aero controllers (Shivasharan S)
- anolis: x86: remove noinstr from _prepare_exit_to_usermode() (Tianchen Ding)
* Wed Dec 22 2021 Shile Zhang <shile.zhang@linux.alibaba.com> [4.19.91-25.1.an8]
- drivers/base/memory.c: indicate all memory blocks as removable (Guanghui Feng)
- anolis: x86: change Makefile to support stack protector (Guanjun)
- anolis: x86: fix multiple definition build error of "__force_order" (Jiayu Ni)
- anolis: scripts/sorttable: Do not sort orc unwind if stack validation is skipped (Zelin Deng)
- anolis: x86/crypto: Use relative addressing assembly for PIE (Zelin Deng)
- anolis: arm64: Fix building errors with allnoconfig (Baolin Wang)
- anolis: memcg: fix compile error if CONFIG_MEMSLI not set (Yi Tao)
- anolis: swiotlb: fix build error without swiotlb enabled (Jiayu Ni)
- anolis: x86: Replace %c constraint in bug table (Guanjun)
- scripts/dtc: Remove redundant YYLOC global declaration (Dirk Mueller)
- PCI/ACPI: Evaluate PCI Boot Configuration _DSM (Benjamin Herrenschmidt)
- anolis: sched: fix some warnings with allnoconfig (Cruz Zhao)
- anolis: sched: Fix the bug that compile failure with CONFIG_SCHED_DEBUG off (Cruz Zhao)
- anolis: sysfs/cpu: fix allnoconfig build error (Xunlei Pang)
- anolis: tcp: optimize load acquire for pacing (Cambda Zhu)
- bpf: precise scalar_value tracking (Alexei Starovoitov)
* Thu Nov 25 2021 Shile Zhang <shile.zhang@linux.alibaba.com> [4.19.91-25.an8]
- anolis: configs: update anolis default configs for code changes (Shile Zhang)
* Mon Nov 15 2021 Shile Zhang <shile.zhang@linux.alibaba.com> [4.19.91-25_rc2.an8]
- arm64: ftrace: Change CONFIG_FTRACE_WITH_REGS to CONFIG_DYNAMIC_FTRACE_WITH_REGS (Joe Perches)
- anolis: hotfix: rename the prefix name of reserve fields. (Erwei Deng)
- anolis: sched: Fix cg_nr_iowait race condition (Yihao Wu)
- bpf: Fix pointer arithmetic mask tightening under state pruning (Daniel Borkmann) {CVE-2021-34556,CVE-2021-35477}
- bpf: verifier: Allocate idmap scratch in verifier env (Lorenz Bauer) {CVE-2021-34556,CVE-2021-35477}
- bpf: Fix leakage due to insufficient speculative store bypass mitigation (Daniel Borkmann) {CVE-2021-34556,CVE-2021-35477}
- bpf: Introduce BPF nospec instruction for mitigating Spectre v4 (Daniel Borkmann) {CVE-2021-34556,CVE-2021-35477}
- selftests/bpf: fix tests due to const spill/fill (Alexei Starovoitov) {CVE-2021-34556,CVE-2021-35477}
- bpf: track spill/fill of constants (Alexei Starovoitov) {CVE-2021-34556,CVE-2021-35477}
- selftests/bpf: Test variable offset stack access (Andrey Ignatov) {CVE-2021-34556,CVE-2021-35477}
- bpf: Sanity check max value for var_off stack access (Andrey Ignatov) {CVE-2021-34556,CVE-2021-35477}
- bpf: Reject indirect var_off stack access in unpriv mode (Andrey Ignatov) {CVE-2021-34556,CVE-2021-35477}
- bpf: Reject indirect var_off stack access in raw mode (Andrey Ignatov) {CVE-2021-34556,CVE-2021-35477}
- bpf: Support variable offset stack access from helpers (Andrey Ignatov) {CVE-2021-34556,CVE-2021-35477}
- bpf: correct slot_type marking logic to allow more stack slot sharing (Jiong Wang) {CVE-2021-34556,CVE-2021-35477}
- bpf/verifier: per-register parent pointers (Edward Cree) {CVE-2021-34556,CVE-2021-35477}
- bpf: Fix truncation handling for mod32 dst reg wrt zero (Daniel Borkmann) {CVE-2021-3444,CVE-2021-3600}
- bpf: Fix 32 bit src register truncation on div/mod (Daniel Borkmann) {CVE-2021-3444,CVE-2021-3600}
- bpf: Do not use ax register in interpreter on div/mod (Daniel Borkmann) {CVE-2021-3444,CVE-2021-3600}
- bpf, selftests: Adjust few selftest outcomes wrt unreachable code (Daniel Borkmann) {CVE-2021-3444,CVE-2021-3600}
- bpf: Fix leakage under speculation on mispredicted branches (Daniel Borkmann) {CVE-2021-33624}
- bpf: Do not mark insn as seen under speculative path verification (Daniel Borkmann) {CVE-2021-33624}
- bpf: Inherit expanded/patched seen count from old aux data (Daniel Borkmann) {CVE-2021-33624}
- bpf: No need to simulate speculative domain for immediates (Daniel Borkmann) {CVE-2021-29155,CVE-2021-33200}
- bpf: Fix mask direction swap upon off reg sign change (Daniel Borkmann) {CVE-2021-29155,CVE-2021-33200}
- bpf: Wrap aux data inside bpf_sanitize_info container (Daniel Borkmann) {CVE-2021-29155,CVE-2021-33200}
- bpf: Fix leakage of uninitialized bpf stack under speculation (Daniel Borkmann) {CVE-2021-29155,CVE-2021-33200}
- bpf: Update selftests to reflect new error states (Daniel Borkmann) {CVE-2021-29155,CVE-2021-33200}
- bpf: Tighten speculative pointer arithmetic mask (Daniel Borkmann) {CVE-2021-29155,CVE-2021-33200}
- bpf: Move sanitize_val_alu out of op switch (Daniel Borkmann) {CVE-2021-29155,CVE-2021-33200}
- bpf: Refactor and streamline bounds check into helper (Daniel Borkmann) {CVE-2021-29155,CVE-2021-33200}
- bpf: Improve verifier error messages for users (Daniel Borkmann) {CVE-2021-29155,CVE-2021-33200}
- bpf: Rework ptr_limit into alu_limit and add common error path (Daniel Borkmann) {CVE-2021-29155,CVE-2021-33200}
- bpf: Ensure off_reg has no mixed signed bounds for all types (Daniel Borkmann) {CVE-2021-29155,CVE-2021-33200}
- bpf: Move off_reg into sanitize_ptr_alu (Daniel Borkmann) {CVE-2021-29155,CVE-2021-33200}
- bpf, test_verifier: switch bpf_get_stack's 0 s> r8 test (Daniel Borkmann) {CVE-2021-29155,CVE-2021-33200}
- bpf: Test_verifier, bpf_get_stack return value add <0 (John Fastabend) {CVE-2021-29155,CVE-2021-33200}
- bpf: extend is_branch_taken to registers (Alexei Starovoitov) {CVE-2021-29155,CVE-2021-33200}
- bpf, selftests: Fix up some test_verifier cases for unprivileged (Piotr Krysiuk) {CVE-2021-29155,CVE-2021-33200}
- bpf: fix up selftests after backports were fixed (Ovidiu Panait) {CVE-2021-29155,CVE-2021-33200}
- bpf: Fix masking negation logic upon negative dst register (Daniel Borkmann) {CVE-2021-31829}
- bpf: Add sanity check for upper ptr_limit (Piotr Krysiuk) {CVE-2020-27170,CVE-2020-27171}
- bpf: Simplify alu_limit masking for pointer arithmetic (Piotr Krysiuk) {CVE-2020-27170,CVE-2020-27171}
- bpf: Fix off-by-one for area size in creating mask to left (Piotr Krysiuk) {CVE-2020-27171}
- bpf: Prohibit alu ops for pointer types not defining ptr_limit (Piotr Krysiuk) {CVE-2020-27170}
- mm/thp: decrease nr_thps in file's mapping on THP split (Marek Szyprowski)
- anolis: mm, thp: hugetext: fix variable 'err' is used but uninitialized (Rongwei Wang)
- lib/timerqueue: Rely on rbtree semantics for next timer (Davidlohr Bueso) {CVE-2021-20317}
- crypto: ccp - fix resource leaks in ccp_run_aes_gcm_cmd() (Dan Carpenter) {CVE-2021-3764,CVE-2021-3744}
- ath9k: Postpone key cache entry deletion for TXQ frames reference it (Jouni Malinen) {CVE-2020-3702}
- ath: Modify ath_key_delete() to not need full key entry (Jouni Malinen) {CVE-2020-3702}
- ath: Export ath_hw_keysetmac() (Jouni Malinen) {CVE-2020-3702}
- ath9k: Clear key cache explicitly on disabling hardware (Jouni Malinen) {CVE-2020-3702}
- ath: Use safer key clearing with key cache entries (Jouni Malinen) {CVE-2020-3702}
- usb: hso: remove the bailout parameter (Dongliang Mu) {CVE-2021-37159}
- usb: hso: fix error handling code of hso_create_net_device (Dongliang Mu) {CVE-2021-37159}
- hso: fix bailout in error case of probe (Oliver Neukum) {CVE-2021-37159}
- usb: max-3421: Prevent corruption of freed memory (Mark Tomlinson) {CVE-2021-38204}
- KVM: nSVM: avoid picking up unsupported bits from L2 in int_ctl (CVE-2021-3653) (Maxim Levitsky) {CVE-2021-3653}
- KVM: nSVM: always intercept VMLOAD/VMSAVE when nested (CVE-2021-3656) (Maxim Levitsky) {CVE-2021-3656}
- KVM: X86: MMU: Use the correct inherited permissions to get shadow page (Lai Jiangshan) {CVE-2021-38198}
- KVM: do not allow mapping valid but non-reference-counted pages (Nicholas Piggin) {CVE-2021-22543}
- tracing: Fix bug in rb_per_cpu_empty() that might cause deadloop. (Haoran Luo) {CVE-2021-3679}
- vt_kdsetmode: extend console locking (Linus Torvalds) {CVE-2021-3753}
- virtio_console: Assure used length from device is limited (Xie Yongji) {CVE-2021-38160}
- module: limit enabling module.sig_enforce (Mimi Zohar) {CVE-2021-35039}
- can: bcm: delay release of struct bcm_op after synchronize_rcu() (Thadeu Lima de Souza Cascardo) {CVE-2021-3609}
- can: bcm: fix infoleak in struct bcm_msg_head (Norbert Slusarek) {CVE-2021-34693}
- anolis: sched: introduce HT_STABLE feature (Peng Wang)
- anolis: sched: fix load average always > 1 (Tianchen Ding)
- ext4: drop unnecessary journal handle in delalloc write (Zhang Yi)
- ext4: factor out write end code of inline file (Zhang Yi)
- ext4: correct the error path of ext4_write_inline_data_end() (Zhang Yi)
- ext4: check and update i_disksize properly (Zhang Yi)
* Mon Nov 01 2021 Shile Zhang <shile.zhang@linux.alibaba.com> [4.19.91-25_rc1.an8]
- anolis: mm, thp: fix incorrect unmap behavior for private pages (Rongwei Wang)
- dccp: don't duplicate ccid when cloning dccp sock (Lin, Zhenpeng) {CVE-2020-16119}
- NFSv4: Initialise connection to the server in nfs4_alloc_client() (Trond Myklebust) {CVE-2021-38199}
- net: qrtr: fix OOB Read in qrtr_endpoint_post (Pavel Skripkin) {CVE-2021-3743}
- sctp: add size validation when walking chunks (Marcelo Ricardo Leitner) {CVE-2021-3655}
- sctp: validate from_addr_param return (Marcelo Ricardo Leitner) {CVE-2021-3655}
- sctp: delay auto_asconf init until binding the first addr (Xin Long) {CVE-2021-23133}
- Bluetooth: use correct lock to prevent UAF of hdev object (Lin Ma) {CVE-2021-3573}
- Bluetooth: fix the erroneous flush_work() order (Lin Ma) {CVE-2021-3564}
- Bluetooth: SMP: Fail if remote and local public keys are identical (Luiz Augusto von Dentz) {CVE-2021-0129,CVE-2020-26558}
- bluetooth: eliminate the potential race condition when removing the HCI controller (Lin Ma) {CVE-2021-32399}
- Bluetooth: verify AMP hci_chan before amp_destroy (Archie Pusaka) {CVE-2021-33034}
- napi: fix race inside napi_enable (Xuan Zhuo)
- ath10k: Validate first subframe of A-MSDU before processing the list (Sriram R) {CVE-2020-26139,,CVE-2020-26147}
- mac80211: extend protection against mixed key and fragment cache attacks (Wen Gong) {CVE-2020-26139,,CVE-2020-26147}
- mac80211: do not accept/forward invalid EAPOL frames (Johannes Berg) {CVE-2020-26139,,CVE-2020-26147}
- mac80211: prevent attacks on TKIP/WEP as well (Johannes Berg) {CVE-2020-26139,,CVE-2020-26147}
- mac80211: check defrag PN against current frame (Johannes Berg) {CVE-2020-26139,,CVE-2020-26147}
- mac80211: add fragment cache to sta_info (Johannes Berg) {CVE-2020-26139,,CVE-2020-26147}
- mac80211: drop A-MSDUs on old ciphers (Johannes Berg) {CVE-2020-26139,,CVE-2020-26147}
- cfg80211: mitigate A-MSDU aggregation attacks (Mathy Vanhoef) {CVE-2020-26139,,CVE-2020-26147}
- mac80211: properly handle A-MSDUs that start with an RFC 1042 header (Mathy Vanhoef) {CVE-2020-26139,,CVE-2020-26147}
- mac80211: prevent mixed key and fragment cache attacks (Mathy Vanhoef) {CVE-2020-24586,,CVE-2020-24588}
- mac80211: assure all fragments are encrypted (Mathy Vanhoef) {CVE-2020-24586,,CVE-2020-24588}
- ovl: fix missing negative dentry check in ovl_rename() (Zheng Liang) {CVE-2021-20321}
- ovl: prevent private clone if bind mount is not allowed (Miklos Szeredi) {CVE-2021-3732}
- ext4: fix race writing to an inline_data file while its xattrs are changing (Theodore Ts'o) {CVE-2021-40490}
- alios: configs: Enable the memory hotplug for ARM architecture (Baolin Wang)
- arm64/mm: Validate hotplug range before creating linear mapping (Anshuman Khandual)
- arm64/mm: Enable memory hot remove (Anshuman Khandual)
- arm64/mm: Hold memory hotplug lock while walking for kernel page table dump (Anshuman Khandual)
- arm64/mm: add temporary arch_remove_memory() implementation (David Hildenbrand)
- arm64: Add memory hotplug support (Robin Murphy)
- Intel: EDAC/i10nm: Retrieve and print retry_rd_err_log registers (Youquan Song)
- Intel: EDAC/i10nm: Fix NVDIMM detection (Qiuxu Zhuo)
- Intel: Fix backport issue for MCA recovery (Youquan Song)
- crypto: x86/sm4 - Fix invalid section entry size (Tianjia Zhang)
- crypto: x86/sm4 - Fix frame pointer stack corruption (Josh Poimboeuf)
- bpf: Fix integer overflow in prealloc_elems_and_freelist() (Tatsuhiko Yasumatsu)
- anolis: configs: enable CONFIG_READ_ONLY_THP_FOR_FS and CONFIG_HUGETEXT (Xu Yu)
- anolis: mm, thp: disable file THP when THP is configured as always (Xu Yu)
- anolis: mm, thp: hugetext: replace hugetext_enabled with hugetext_file{anon}_enabled (Rongwei Wang)
- anolis: mm, thp: hugetext: redesign fine-grained hugetext_enabled (Rongwei Wang)
- anolis: mm, thp: bail out early in collapse_file for writeback page (Rongwei Wang)
- anolis: mm, thp: check page mapping when truncating page cache (Rongwei Wang)
- anolis: mm, thp: hugetext: accelerate khugepaged for hugetext vma (Xu Yu)
- anolis: mm, thp: hugetext: add anonymous and executable vma into hugetext (Rongwei Wang)
- anolis: mm, thp: hugetext: make PIC binary mapping address THP align (Rongwei Wang)
- anolis: mm, thp: hugetext: make executable file mapping address THP align (Rongwei Wang)
- anolis: mm, thp: introduce hugetext framework (Rongwei Wang)
- mm/shmem.c: thp, shmem: fix conflict of above-47bit hint address and PMD alignment (Kirill A. Shutemov)
- mm/huge_memory.c: thp: fix conflict of above-47bit hint address and PMD alignment (Kirill A. Shutemov)
- mm, thp: relax the VM_DENYWRITE constraint on file-backed THPs (Collin Fijalkovich)
- mm/huge_memory.c: add missing read-only THP checking in transparent_hugepage_enabled() (Miaohe Lin)
- mm,shmem,thp: limit shmem THP allocations to requested zones (Rik van Riel)
- mm,thp,shmem: make khugepaged obey tmpfs mount flags (Rik van Riel)
- mm,thp,shm: limit gfp mask to no more than specified (Rik van Riel)
- mm,thp,shmem: limit shmem THP alloc gfp_mask (Rik van Riel)
- /proc/PID/smaps: consistent whitespace output format (Michal Koutný)
- khugepaged: retract_page_tables() remember to test exit (Hugh Dickins)
- khugepaged: collapse_pte_mapped_thp() protect the pmd lock (Hugh Dickins)
- khugepaged: collapse_pte_mapped_thp() flush the right range (Hugh Dickins)
- khugepaged: enable collapse pmd for pte-mapped THP (Song Liu)
- mm/khugepaged.c: fix khugepaged's request size in collapse_file (David Howells)
- khugepaged: fix null-pointer dereference due to race (Kirill A. Shutemov)
- mm,thp: stop leaking unreleased file pages (Hugh Dickins)
- mm: khugepaged: add trace status description for SCAN_PAGE_HAS_PRIVATE (Yang Shi)
- mm/thp: flush file for !is_shmem PageDirty() case in collapse_file() (Song Liu)
- mm,thp: recheck each page before collapsing file THP (Song Liu)
- mm/thp: allow dropping THP from page cache (Kirill A. Shutemov)
- mm/vmscan.c: support removing arbitrary sized pages from mapping (William Kucharski)
- mm/thp: fix node page state in split_huge_page_to_list() (Kirill A. Shutemov)
- proc/meminfo: fix output alignment (Kirill A. Shutemov)
- mm,thp: avoid writes to file with THP in pagecache (Song Liu)
- mm,thp: add read-only THP support for (non-shmem) FS (Song Liu)
- khugepaged: rename collapse_shmem() and khugepaged_scan_shmem() (Song Liu)
- mm,thp: stats for file backed THP (Song Liu)
- filemap: update offset check in filemap_fault() (Song Liu)
- filemap: check compound_head(page)->mapping in pagecache_get_page() (Song Liu)
- filemap: check compound_head(page)->mapping in filemap_fault() (Song Liu)
- Revert "udp: do rmem bulk free even if the rx sk queue is empty" (TuQuan)
- NFSv4: Fix a NULL pointer dereference in pnfs_mark_matching_lsegs_return() (Anna Schumaker)
- NFSv4: Don't discard segments marked for return in _pnfs_return_layout() (Trond Myklebust)
- dm snapshot: properly fix a crash when an origin has no snapshots (Mikulas Patocka)
- dm snapshot: fix crash with transient storage and zero chunk size (Mikulas Patocka)
- ext4: return error code when ext4_fill_flex_info() fails (Yang Yingliang)
- virtio_pci: Support surprise removal of virtio pci device (Parav Pandit)
- virtio-blk: Fix memory leak among suspend/resume procedure (Xie Yongji)
- genirq/affinity: Remove const qualifier from node_to_cpumask argument (Ming Lei)
- genirq/affinity: Spread vectors on node according to nr_cpu ratio (Ming Lei)
- genirq/affinity: Improve __irq_build_affinity_masks() (Ming Lei)
- e1000e: Add support for the next LOM generation (Sasha Neftin)
- e1000e: Add support for Lunar Lake (Sasha Neftin)
- e1000e: Add support for Meteor Lake (Sasha Neftin)
- e1000e: Add support for Tiger Lake device (Vitaly Lifshits)
- e1000e: Add support for Alder Lake (Sasha Neftin)
- e1000e: Add support for Tiger Lake (Sasha Neftin)
- e1000e: Add support for Comet Lake (Sasha Neftin)
- anolis: cgroup: add fast path for cgroup_mkdir() (Yi Tao)
- anolis: cgroup: add user space interface for cgroup pool (Yi Tao)
- Documentation/x86: Rename resctrl_ui.rst and add two errata to the file (Fenghua Yu)
- x86/resctrl: Correct MBM total and local values (Fenghua Yu)
- ext4: fix reserved space counter leakage (Jeffle Xu)
- virtio-mem: retry fake-offlining via alloc_contig_range() on ZONE_MOVABLE (David Hildenbrand)
- virtio-mem: factor out handling of fake-offline pages in memory notifier (David Hildenbrand)
- virtio-mem: factor out fake-offlining into virtio_mem_fake_offline() (David Hildenbrand)
- anolis: mm: use __GFP_MEMALLOC in vmemmap_alloc_block (Xu Yu)
- virtio-mem: more precise calculation in virtio_mem_mb_state_prepare_next_mb() (David Hildenbrand)
- virtio-mem: don't special-case ZONE_MOVABLE (David Hildenbrand)
- anolis: x86/entry/calling: Adapt assembly for PIE support (Zizheng Bian)
- anolis: x86/bpf: Adapt BPF_CALL JIT codegen for PIE support (Zhu Yanhai)
- x86/kaslr: Add option to extend KASLR range from 1GB to 3GB (Zhu Yanhai)
- x86/relocs: Add option to generate 64-bit relocations (Zhu Yanhai)
- x86/pie: Add option to build the kernel as PIE (Zhu Yanhai)
- anolis: x86: Adapt current_text_addr's assembly for PIE support (Zhu Yanhai)
- x86/mm: Make the x86 GOT read-only (Zhu Yanhai)
- x86/modules: Adapt module loading for PIE support (Zhu Yanhai)
- x86/modules: Add option to start module section after kernel (Zhu Yanhai)
- x86/ftrace: Adapt function tracing for PIE support (Zhu Yanhai)
- x86: Support global stack cookie (Zhu Yanhai)
- kvm: Adapt assembly for PIE support (Zhu Yanhai)
- xen: Adapt assembly for PIE support (Zhu Yanhai)
- x86/relocs: Handle PIE relocations (Zhu Yanhai)
- compiler: Option to add PROVIDE_HIDDEN replacement for weak symbols (Zhu Yanhai)
- compiler: Option to default to hidden symbols (Zhu Yanhai)
- x86/percpu: Adapt percpu for PIE support (Zhu Yanhai)
- x86/boot/64: Build head64.c as mcmodel large when PIE is enabled (Zhu Yanhai)
- sched/fair: Fix enqueue_task_fair() warning some more (Phil Auld)
- sched/fair: Fix unthrottle_cfs_rq() for leaf_cfs_rq list (Vincent Guittot)
- sched/fair: fix enqueue_task_fair warning (Vincent Guittot)
- ext4: limit the length of per-inode prealloc list (brookxu)
- ipvs: queue delayed work to expire no destination connections if expire_nodest_conn=1 (Andrew Sy Kim)
- ipvs: avoid expiring many connections from timer (Julian Anastasov)
- cgroup: Iterate tasks that did not finish do_exit() (Michal Koutný)
- dm thin metadata: Fix use-after-free in dm_bm_set_read_only (Ye Bin)
- anolis: mm, kidled: fix race when free idle age (Gang Deng)
- anolis: mm, kidled: skip node which has none memory (Gang Deng)
- anolis: block: fix race in blk_mq_check_rq_hang() (Joseph Qi)
- anolis: fuse: show '-o dax=inode' option only when FUSE server supports (Jeffle Xu)
- anolis: fuse: mark inode DONT_CACHE when per-file DAX indication changes (Jeffle Xu)
- anolis: fuse: enable per-file DAX (Jeffle Xu)
- anolis: fuse: negotiate if server/client supports per-file DAX (Jeffle Xu)
- anolis: fuse: support per-file DAX (Jeffle Xu)
- anolis: fuse: Make DAX mount option a tri-state (Jeffle Xu)
- anolis: fuse: add fuse_should_enable_dax() helper (Jeffle Xu)
- fs: Kill DCACHE_DONTCACHE dentry even if DCACHE_REFERENCED is set (Hao Li)
- fs: Handle I_DONTCACHE in iput_final() instead of generic_drop_inode() (Hao Li)
- fs: Introduce DCACHE_DONTCACHE (Ira Weiny)
- fs: Lift XFS_IDONTCACHE to the VFS layer (Ira Weiny)
- net_sched: cls_route: remove the right filter from hashtable (Cong Wang)
- can, slip: Protect tty->disc_data in write_wakeup and close with RCU (Richard Palethorpe)
- ovl: allow upperdir inside lowerdir (Miklos Szeredi)
- fuse: add FUSE_WRITE_KILL_PRIV (Miklos Szeredi)
- anolis: virtiofs: remove unused vertab_len and vertab_kaddr fields (Jeffle Xu)
- fuse: enable caching of symlinks (Dan Schatzberg)
- fuse: use iversion for readdir cache verification (Miklos Szeredi)
- fuse: use mtime for readdir cache verification (Miklos Szeredi)
- fuse: add readdir cache version (Miklos Szeredi)
- fuse: fix beyond-end-of-page access in fuse_parse_cache() (Tejun Heo)
- fuse: allow using readdir cache (Miklos Szeredi)
- fuse: allow caching readdir (Miklos Szeredi)
- fuse: extract fuse_emit() helper (Miklos Szeredi)
- fuse: add FOPEN_CACHE_DIR (Miklos Szeredi)
- ck: crypto: fix the sm4 avx/avx2 related configs error (YiLin.Li)
- ck: Revert "ck: sched: keep task's min runtime without group_identity" (Cruz Zhao)
- ck: pidfd: fix missing syscall number under unistd.h (Yang, Wei)
- ck: arm64: selecting ANON_INODES by default (Yang, Wei)
- fork: return proper negative error code (Christian Brauner)
- pidfd: fix a poll race when setting exit_state (Suren Baghdasaryan)
- tools headers UAPI: Sync linux/sched.h with the kernel (Arnaldo Carvalho de Melo)
- fork: don't check parent_tidptr with CLONE_PIDFD (Dmitry V. Levin)
- copy_process(): don't use ksys_close() on cleanups (Al Viro)
- pid: use pid_has_task() in pidfd_open() (Christian Brauner)
- pidfd: check pid has attached task in fdinfo (Christian Brauner)
- pidfd: add NSpid entries to fdinfo (Christian Kellner)
- fork: fix pidfd_poll()'s return type (Luc Van Oostenryck)
- fork: do not release lock that wasn't taken (Christian Brauner)
- ck: pidfd: add read support (Yang, Wei)
- x86 & arm64: wire-up pidfd_open() (Christian Brauner)
- pid: add pidfd_open() (Christian Brauner)
- pidfd: add polling support (Joel Fernandes (Google))
- clone: add CLONE_PIDFD (Christian Brauner)
- configs: x86: enable CONFIG_CRYPTO_SM4_AESNI_AVX_X86_64 and CONFIG_CRYPTO_SM4_AESNI_AVX2_X86_64 (YiLin.Li)
- crypto: x86/sm4 - add AES-NI/AVX2/x86_64 implementation (Tianjia Zhang)
- crypto: x86/sm4 - export reusable AESNI/AVX functions (Tianjia Zhang)
- crypto: tcrypt - Fix missing return value check (Tianjia Zhang)
- crypto: tcrypt - add the asynchronous speed test for SM4 (Tianjia Zhang)
- crypto: x86/sm4 - add AES-NI/AVX/x86_64 implementation (Tianjia Zhang)
- crypto: tcrypt - include 1420 byte blocks in aead and skcipher benchmarks (Ard Biesheuvel)
- crypto: tcrypt - add block size of 1472 to skcipher template (Ard Biesheuvel)
- crypto: testmgr - update sm4 test vectors (Gilad Ben-Yossef)
- x86/alternatives: Adapt assembly for PIE support (Zhu Yanhai)
- x86/paravirt: Adapt assembly for PIE support (Zhu Yanhai)
- x86/power/64: Adapt assembly for PIE support (Zhu Yanhai)
- x86/boot/64: Adapt assembly for PIE support (Zhu Yanhai)
- x86/acpi: Adapt assembly for PIE support (Zhu Yanhai)
- x86/CPU: Adapt assembly for PIE support (Zhu Yanhai)
- x86: pm-trace - Adapt assembly for PIE support (Zhu Yanhai)
- x86/entry/64: Adapt assembly for PIE support (Zhu Yanhai)
- x86: relocate_kernel - Adapt assembly for PIE support (Zhu Yanhai)
- x86: Add macro to get symbol address for PIE support (Zhu Yanhai)
- x86/crypto: Adapt assembly for PIE support (Zhu Yanhai)
- ck: sched: make ID_LOOSE_EXPEL defined with CONFIG_GROUP_IDENTITY on (Cruz Zhao)
- ck: sched: keep task's min runtime without group_identity (Peng Wang)
- ovl: show "userxattr" in the mount data (Giuseppe Scrivano)
- ovl: do not fail because of O_NOATIME (Miklos Szeredi)
- ovl: fix unneeded call to ovl_change_flags() (Amir Goldstein)
- ovl: check permission to open real file (Miklos Szeredi)
- ovl: fix out of bounds access warning in ovl_check_fb_len() (Amir Goldstein)
- ovl: potential crash in ovl_fid_to_fh() (Dan Carpenter)
- ovl: replace zero-length array with flexible-array member (Gustavo A. R. Silva)
- ovl: do not get metacopy for userxattr (Miklos Szeredi)
- ovl: do not fail when setting origin xattr (Miklos Szeredi)
- ovl: user xattr (Miklos Szeredi)
- ovl: rearrange ovl_can_list() (Miklos Szeredi)
- ovl: enumerate private xattrs (Miklos Szeredi)
- ovl: pass ovl_fs down to functions accessing private xattrs (Miklos Szeredi)
- ovl: remove not used argument in ovl_check_origin (youngjun)
- ovl: ignore failure to copy up unknown xattrs (Miklos Szeredi)
- ovl: fix typo in MODULE_PARM_DESC (Nicolas Schier)
- ovl: simplify i_ino initialization (Amir Goldstein)
- ovl: fix out of date comment and unreachable code (Amir Goldstein)
- ovl: factor out helper ovl_get_root() (Amir Goldstein)
- ovl: drop flags argument from ovl_do_setxattr() (Miklos Szeredi)
- ovl: adhere to the vfs_ vs. ovl_do_ conventions for xattrs (Miklos Szeredi)
- ovl: use ovl_do_getxattr() for private xattr (Miklos Szeredi)
- ovl: make sure that real fid is 32bit aligned in memory (Amir Goldstein)
- ovl: fold ovl_getxattr() into ovl_get_redirect_xattr() (Miklos Szeredi)
- ovl: clean up ovl_getxattr() in copy_up.c (Miklos Szeredi)
- duplicate ovl_getxattr() (Miklos Szeredi)
- alinux: x86: Avoid nmi_enter() when INT3 in user mode (Tianchen Ding)
- ck: scripts: sign-file - support the sm2-with-sm3 signature based on openssl version less than 3.x (YiLin.Li)
- blkcg: don't offline parent blkcg first (Tejun Heo)
- blkcg: rename blkcg->cgwb_refcnt to ->online_pin and always use it (Tejun Heo)
- configs: enable CONFIG_FUSE_DAX (Jeffle Xu)
- ck: mm: fix livelock caused by iterating multi order entry (Liu Bo)
- ck: Virtiofs: fix null pointer deference in directIO (Liu Bo)
- virtiofs: add logic to free up a memory range (Vivek Goyal)
- virtiofs: maintain a list of busy elements (Vivek Goyal)
- virtiofs: serialize truncate/punch_hole and dax fault path (Vivek Goyal)
- virtiofs: define dax address space operations (Vivek Goyal)
- virtiofs: add DAX mmap support (Stefan Hajnoczi)
- virtiofs: implement dax read/write operations (Vivek Goyal)
- virtiofs: introduce setupmapping/removemapping commands (Vivek Goyal)
- virtiofs: implement FUSE_INIT map_alignment field (Stefan Hajnoczi)
- virtiofs: keep a list of free dax memory ranges (Vivek Goyal)
- virtiofs: add a mount option to enable dax (Vivek Goyal)
- virtiofs: set up virtio_fs dax_device (Stefan Hajnoczi)
- virtiofs: provide a helper function for virtqueue initialization (Vivek Goyal)
- dax: Create a range version of dax_layout_busy_page() (Vivek Goyal)
- dax: Modify bdev_dax_pgoff() to handle NULL bdev (Vivek Goyal)
- virtio: Implement get_shm_region for MMIO transport (Sebastien Boeuf)
- virtio: Implement get_shm_region for PCI transport (Sebastien Boeuf)
- virtio: Add get_shm_region method (Sebastien Boeuf)
- dax: Pass dax_dev instead of bdev to dax_writeback_mapping_range() (Vivek Goyal)
- fuse: multiplex cached/direct_io file operations (Miklos Szeredi)
- io_uring: fix sq array offset calculation (Dmitry Vyukov)
- blk-iocost: ioc_pd_free() shouldn't assume irq disabled (Tejun Heo)
- iocost: Fix check condition of iocg abs_vdebt (Chengming Zhou)
- x86/microcode/AMD: Increase microcode PATCH_MAX_SIZE (John Allen)
- x86,swiotlb: Adjust SWIOTLB bounce buffer size for SEV guests (Ashish Kalra)
- rcu: Fix missed wakeup of exp_wq waiters (Neeraj Upadhyay)
- rcu: Allow only one expedited GP to run concurrently with wakeups (Neeraj Upadhyay)
- alinux: proc/stat: Add the missing rcu unlock. (Xunlei Pang)
- ck: pkcs7: make parser enable SM2 and SM3 algorithms combination (Tianjia Zhang)
- crypto: sm2 - fix a memory leak in sm2 (Hongbo Li)
- ck: cgroup: Fix possible migration exception in cgroup_migrate_execute() (hongnanli)
- alinux: cpuacct: fix cgroup usage overflow when sirq grows (Yihao Wu)
- alinux: Add a boot command line for rich container. (Erwei Deng)
- alinux: cpuacct: fix enumeration sequence error for sched sli latency (Erwei Deng)
- alinux: cpuinfo: Add cpuinfo support of cpu quota (Xunlei Pang)
- alinux: make the rich container support k8s. (Xunlei Pang)
- alinux: sysctl: use config to set the default value of rich container (Erwei Deng)
- alinux: configs: set default value of configs. (Erwei Deng)
- alinux: configs: Add RICH_CONTAINER_CG_SWITCH and SCHEDSTATS_DEFAULT (Erwei Deng)
- alinux: sched: Introduce load 1/5/15 for running tasks (Xunlei Pang)
- alinux: sched/fair: Add sched_cfs_statistics to export some (Xunlei Pang)
- alinux: sched/fair: Add parent_wait_contrib statistics (Xunlei Pang)
- alinux: Revert "sched/debug: Use task_pid_nr_ns in /proc/$pid/sched" (Xunlei Pang)
- alinux: sched: introduce asynchronous cgroup load calculation. (Michael Wang)
- alinux: sched: Add SLI switch for cpuacct (Yihao Wu)
- alinux: fs,quota: Restrict privileged hardlimit in rich container (Xunlei Pang)
- alinux: pidstat: Add task uptime support for rich container (Erwei Deng)
- alinux: proc/uptime: Add uptime support for rich container (Xunlei Pang)
- alinux: proc/loadavg: Add load support for rich container (Xunlei Pang)
- alinux: proc/stat: Add top support for rich (Xunlei Pang)
- alinux: cpuset: fix frame size longer than 2048 in update_cpumasks_hier (Erwei Deng)
- alinux: blk-throttle: fix race bug that loses wakeup event (Xiaoguang Wang)
- fuse: Protect ff->reserved_req via corresponding fi->lock (Kirill Tkhai)
- fuse: Protect fi->nlookup with fi->lock (Kirill Tkhai)
- fuse: Introduce fi->lock to protect write related fields (Kirill Tkhai)
- fuse: Convert fc->attr_version into atomic64_t (Kirill Tkhai)
- fuse: Add fuse_inode argument to fuse_prepare_release() (Kirill Tkhai)
- fuse: extract fuse_find_writeback() helper (Miklos Szeredi)
- fuse: split out readdir.c (Miklos Szeredi)
- mm,hwpoison: send SIGBUS with error virutal address (Naoya Horiguchi)
- mm/hwpoison: do not lock page again when me_huge_page() successfully recovers (Naoya Horiguchi)
- mm,hwpoison: return -EHWPOISON to denote that the page has already been poisoned (Aili Yao)
- mm/memory-failure: use a mutex to avoid memory_failure() races (Tony Luck)
- x86/mce: Take action on UCNA/Deferred errors again (jschoenh)
- printk: Prepare for nested printk_nmi_enter() (Petr Mladek)
- alinux: x86/perf: fix build error for Zhaoxin CPU (Jeffle Xu)
- fuse: do not take fc->lock in fuse_request_send_background() (Kirill Tkhai)
- fuse: introduce fc->bg_lock (Kirill Tkhai)
- fuse: add locking to max_background and congestion_threshold changes (Kirill Tkhai)
- fuse: use list_first_entry() in flush_bg_queue() (Kirill Tkhai)
- alinux: sched: introduce ID_EXPELLER_SHARE_CORE feature (Michael Wang)
- cpupower: Add cpuid cap flag for MSR_AMD_HWCR support (Nathan Fontenot)
- cpupower: Remove family arg to decode_pstates() (Nathan Fontenot)
- cpupower: Condense pstate enabled bit checks in decode_pstates() (Nathan Fontenot)
- cpupower: Update family checks when decoding HW pstates (Nathan Fontenot)
- cpupower: Remove unused pscur variable. (Nathan Fontenot)
- cpupower: Add CPUPOWER_CAP_AMD_HW_PSTATE cpuid caps flag (Nathan Fontenot)
- cpupower: Correct macro name for CPB caps flag (Robert Richter)
- cpupower: Update msr_pstate union struct naming (Nathan Fontenot)
- cpupower: mperf_monitor: Update cpupower to use the RDPRU instruction (Janakarajan Natarajan)
- cpupower: mperf_monitor: Introduce per_cpu_schedule flag (Janakarajan Natarajan)
- cpupower: Move needs_root variable into a sub-struct (Janakarajan Natarajan)
- alinux: io_uring: fix a race of kthread park and wait for completion (Hao Xu)
- alinux: io_uring: allow sqthread to inherit cpuacct from its creator (Hao Xu)
- alinux: io_uring: lift nice value of sqthread (Hao Xu)
- alinux: io_uring: rename sqthread's task name (Hao Xu)
- alinux: io_uring: submit sqes in the original context when waking up sqthread (Hao Xu)
- alinux: io_uring: add support for us granularity of io_sq_thread_idle (Hao Xu)
- io_uring: check kthread parked flag before sqthread goes to sleep (Hao Xu)
- io_uring: check sqring and iopoll_list before shedule (Hao Xu)
- alinux: memcg: Restrict memcg zombie scan interval (Xunlei Pang)
* Fri Aug 27 2021 Liwei Ge <geliwei@openanolis.org> [4.19.91-24.8.an8]
- spec: add 64k configs and 64k build macro
- fs/buffer.c: add checking buffer head stat before clear
- KVM: arm64: Clarify explanation of STAGE2_PGTABLE_LEVELS
- KVM: arm64: Drop __cpu_init_stage2 on the VHE path
- KVM: arm/arm64: Rename kvm_arm_config_vm to kvm_arm_setup_stage2
- kvm: arm64: Allow tuning the physical address size for VM
- kvm: arm64: Limit the minimum number of page table levels
- kvm: arm64: Set a limit on the IPA size
- kvm: arm64: Add 52bit support for PAR to HPFAR conversoin
- vgic: Add support for 52bit guest physical address
- kvm: arm64: Switch to per VM IPA limit
- kvm: arm64: Configure VTCR_EL2.SL0 per VM
- kvm: arm64: Dynamic configuration of VTTBR mask
- kvm: arm64: Make stage2 page table layout dynamic
- kvm: arm64: Prepare for dynamic stage2 page table layout
- kvm: arm/arm64: Prepare for VM specific stage2 translations
- kvm: arm64: Configure VTCR_EL2 per VM
- kvm: arm/arm64: Allow arch specific configurations for VM
- kvm: arm64: Clean up VTCR_EL2 initialisation
- arm64: Add a helper for PARange to physical shift conversion
- kvm: arm64: Add helper for loading the stage2 setting for a VM
- kvm: arm/arm64: Remove spurious WARN_ON
- Revert alinux: kernel: Reduce tasklist_lock contention at fork and exit
- Revert ck: kernel: Reduce tasklist_lock contention only for x86_64
- Revert config: arm64: Set PAGE SIZE as 64K
* Tue Aug 10 2021 Jacob Wang <jacob.wang@openanolis.org> [4.19.91-24.7.an8]
- openEuler: gpu: hibmc: Fix stuck when switch GUI to text.
- openEuler: gpu: hibmc: Fix erratic display during startup stage.
- openEuler: gpu: hibmc: Use drm get pci dev api.
- openEuler: drm: hibmc: fix vga UNF ras error for rebooting system
- openEuler: gpu: hibmc: add pll and mode list support
* Mon Aug 9 2021 Jacob Wang <jacob.wang@openanolis.org> [4.19.91-24.6.an8]
- ck: kernel: Reduce tasklist_lock contention only for x86_64
- ck: arm64: fix numa distance for HiSilicon chips
- config: arm64: Set PAGE SIZE as 64K
* Sun Aug 01 2021 Jacob Wang <jacob.wang@openanolis.org> [4.19.91-24.5.an8]
- ck: virtio-fs: accept tag from dev_name as well
* Tue Jul 27 2021 Jacob Wang <jacob.wang@openanolis.org> [4.19.91-24.4.an8]
- configs: x86: disable TSX by default
* Mon Jul 26 2021 Jacob Wang <jacob.wang@openanolis.org> [4.19.91-24.3.an8]
- configs: x86: Update CONFIG_HID_SENSOR_HUB as Y
* Fri Jul 23 2021 Caspar Zhang <caspar@linux.alibaba.com> [4.19.91-24.2.an8]
- configs: x86_64: default to fq_codel algo for performance
- configs: x86: Align to CentOS8.2
- ck: crypto: ccp: Add Hygon CSV support
- openeuler: sdei_watchdog: avoid possible false hardlockup
* Wed Jul 21 2021 Shile Zhang <shile.zhang@linux.alibaba.com> [4.19.91-24.1.an8]
- PCI: Don't disable bridge BARs when assigning bus resources (Logan Gunthorpe)
- PCI: Avoid double hpmemsize MMIO window assignment (Nicholas Johnson)
- PCI: Add "pci=hpmmiosize" and "pci=hpmmioprefsize" parameters (Nicholas Johnson)
- PCI: Make pci_hotplug_io_size, mem_size, and bus_size private (Kelsey Skunberg)
- PCI: Don't auto-realloc if we're preserving firmware config (Benjamin Herrenschmidt)
- seq_file: disallow extremely large seq buffer allocations (Eric Sandeen) {CVE-2021-33909}
- netfilter: x_tables: fix compat match/target pad out-of-bound write (Florian Westphal) {CVE-2021-22555}
* Fri Jun 25 2021 Shile Zhang <shile.zhang@linux.alibaba.com> [4.19.91-24.an8]
- alinux: sched: Fix writer racing in cgroup_idle_start/end (Yihao Wu)
- /proc/PID/smaps: consistent whitespace output format (James Wang)
- mm: thp: fix false negative of shmem vma's THP eligibility (Yang Shi)
- mm: thp: make transhuge_vma_suitable available for anonymous THP (Yang Shi)
- mm, proc: report PR_SET_THP_DISABLE in proc (Michal Hocko)
- xfs: implement cgroup aware writeback (Christoph Hellwig)
- xfs: simplify xfs_chain_bio (Christoph Hellwig)
- mm, thp: correct the order of unregister shrinker in error path (Zheng Liu)
- alinux: sched: fix the bug that compile faid without CONFIG_GROUP_IDENTITY (Cruz Zhao)
- alinux: sched: make up nr_high/under_running for cfs bandwidth (Michael Wang)
- mm: validate pmd after splitting (Minchan Kim)
- alinux: use spin_lock_irqsave instead in ioc_rqos_throttle() (Joseph Qi)
- mm, thp: remap the page when unmap failed for thp reclaim (Ning Zhang)
- sched/fair: Optimize select_idle_cpu (Cheng Jian)
- alinux: sched: Introduce sched_feat ID_LAST_HIGHCLASS_STAY (Cruz Zhao)
- alinux: sched: fix the performence regression caused by update_rq_on_expel() (Cruz Zhao)
- configs: update configs to adapt code changes (Shile Zhang)
- configs: x86: enable more modules for compaitibility (Shile Zhang)
- mm, thp: add some statistics for thp reclaim stat (Ning Zhang)
- mm, thp: introduce a controller to trigger thp reclaim (Ning Zhang)
- mm, thp: introduce thp reclaim threshold (Ning Zhang)
- mm, thp: skip kmemcg and slab page for zero subpages reclaim (Ning Zhang)
- mm, thp: introduce thp zero subpages reclaim (Ning Zhang)
- Revert "alinux: sched: fix the performence regression caused by update_rq_on_expel()" (Cruz Zhao)
- gup: document and work around "COW can break either way" issue (Linus Torvalds)
- bpf, x86: Validate computation of branch displacements for x86-32 (Piotr Krysiuk)
- bpf, x86: Validate computation of branch displacements for x86-64 (Piotr Krysiuk)
- perf/x86/intel: Fix a crash caused by zero PEBS status (Kan Liang)
- PCI: rpadlpar: Fix potential drc_name corruption in store functions (Tyrel Datwyler)
- btrfs: fix race when cloning extent buffer during rewind of an old root (Filipe Manana)
- usbip: fix stub_dev usbip_sockfd_store() races leading to gpf (Shuah Khan)
- scsi: iscsi: Verify lengths on passthrough PDUs (Chris Leech)
- scsi: iscsi: Ensure sysfs attributes are limited to PAGE_SIZE (Chris Leech)
- sysfs: Add sysfs_emit and sysfs_emit_at to format sysfs output (Joe Perches)
- scsi: iscsi: Restrict sessions and handles to admin capabilities (Lee Duncan)
- alinux: sched: fix the performence regression caused by update_rq_on_expel() (Cruz Zhao)
- vfio-pci: Avoid recursive read-lock usage (Alex Williamson)
- vfio/pci: Fix SR-IOV VF handling with MMIO blocking (Alex Williamson)
- NFSv4.2: fix return value of _nfs4_get_security_label() (Ondrej Mosnacek)
- pNFS/NFSv4: Fix a layout segment leak in pnfs_layout_process() (Trond Myklebust)
- NFS/pNFS: Fix a leak of the layout 'plh_outstanding' counter (Trond Myklebust)
- NFS4: Fix use-after-free in trace_event_raw_event_nfs4_set_lock (Dave Wysochanski)
- xfs: fix a missing unlock on error in xfs_fs_map_blocks (Christoph Hellwig)
- ext4: fix deadlock with fs freezing and EA inodes (Jan Kara)
- ext4: fix a memory leak of ext4_free_data (Chunguang Xu)
- ext4: don't BUG on inconsistent journal feature (Jan Kara)
- alinux: dm crypt: fix gcc warning when parsing workqueue name (Jeffle Xu)
- fs: direct-io: fix missing sdio->boundary (Jack Qiu)
- memcg: fix a crash in wb_workfn when a device disappears (Theodore Ts'o)
- include/trace/events/writeback.h: fix -Wstringop-truncation warnings (Qian Cai)
- lib/string: Add strscpy_pad() function (Tobin C. Harding)
- writeback: Drop I_DIRTY_TIME_EXPIRE (Jan Kara)
- writeback: Fix sync livelock due to b_dirty_time processing (Jan Kara)
- writeback: Avoid skipping inode writeback (Jan Kara)
- writeback: Protect inode->i_io_list with inode->i_lock (Jan Kara)
- fcntl: Fix potential deadlock in send_sig{io, urg}() (Boqun Feng)
- quota: Don't overflow quota file offsets (Jan Kara)
- quota: Fix memory leak when handling corrupted quota file (Jan Kara)
- quota: Sanity-check quota file headers on load (Jan Kara)
- fs: Don't invalidate page buffers in block_write_full_page() (Jan Kara)
- dm ioctl: fix out of bounds array access when no devices (Mikulas Patocka)
- dm snapshot: flush merged data before committing metadata (Akilesh Kailash)
- dm ioctl: fix error return code in target_message (Qinglang Miao)
- dm table: Remove BUG_ON(in_interrupt()) (Thomas Gleixner)
- block: only update parent bi_status when bio fail (Yufen Yu)
- blk-settings: align max_sectors on "logical_block_size" boundary (Mikulas Patocka)
- block: fix use-after-free in disk_part_iter_next (Ming Lei)
- virtio-net: support XDP when not more queues (Xuan Zhuo)
- ck: virtio: add module option to force_xdp (Xuan Zhuo)
- alinux: sched: fix the bug that the declaration of throttled_hierarchy() missing (Cruz Zhao)
- netfilter: x_tables: Use correct memory barriers. (Mark Tomlinson)
- alinux: sched: fix the bug that performence reduction on arm (Cruz Zhao)
- alinux: jbd2: jbd2_seq_stats_next should increase position index (Xiaoguang Wang)
- alinux: EDAC/mce_amd: More reasonable warning for no SCMA 19th CPUs (Zelin Deng)
- EDAC/amd64: Drop some family checks for newer systems (Yazen Ghannam)
- EDAC/amd64: Add family ops for Family 19h Models 00h-0Fh (Yazen Ghannam)
- x86/amd_nb: Add Family 19h PCI IDs (Yazen Ghannam)
- EDAC/mce_amd: Always load on SMCA systems (Yazen Ghannam)
- x86/MCE/AMD, EDAC/mce_amd: Add new Load Store unit McaType (Yazen Ghannam)
- alinux: sched: fix the bug that nr_tasks incorrect (Cruz Zhao)
- alinux: sched: enable group identity (Michael Wang)
- alinux: sched/isolation: dynamical CPU isolation support (Michael Wang)
- alinux: sched: fix the bug that nr_high_running underflow (Cruz Zhao)
- alinux:sched: rescue the expellee on migration (Michael Wang)
- alinux: sched: introduce 'idle seeker' and ID_IDLE_AVG (Michael Wang)
- alinux: sched: introduce group identity 'idle saver' (Michael Wang)
- alinux: sched: introduce group identity 'smt expeller' (Michael Wang)
- alinux: sched: introduce per-cgroup identity (Michael Wang)
- locking/qrwlock: Fix ordering in queued_write_lock_slowpath() (Ali Saidi)
- Revert "eventfd: convert to f_op->read_iter()" (Hao Xu)
- ext4: Avoid freeing inodes on dirty list (Jan Kara)
- writeback: Export inode_io_list_del() (Jan Kara)
- ext4: convert BUG_ON's to WARN_ON's in mballoc.c (Theodore Ts'o)
- alinux: virtiofs: accept 'virtio_fs' filesystem type as well (Eryu Guan)
- alinux: virtio_ring: Distinguish max mapping size between swiotlb and direct dma (Zelin Deng)
- alinux: virtio_ring: Force use dma api when AMD SEV is actived (Zelin Deng)
- configs: Add AMD SME/SEV support for alinux (Zelin Deng)
- virtio-blk: Consider virtio_max_dma_size() for maximum segment size (Joerg Roedel)
- virtio: Introduce virtio_max_dma_size() (Joerg Roedel)
- dma: Introduce dma_max_mapping_size() (Joerg Roedel)
- swiotlb: Add is_swiotlb_active() function (Joerg Roedel)
- swiotlb: Introduce swiotlb_max_mapping_size() (Joerg Roedel)
- eventfd: convert to f_op->read_iter() (Jens Axboe)
- RDMA/core: Consider net ns of gid attribute for RoCE (Parav Pandit)
- RDMA/core: Introduce rdma_read_gid_attr_ndev_rcu() to check GID attribute (Parav Pandit)
- RDMA/core: Simplify roce_resolve_route_from_path() (Parav Pandit)
- RDMA/core: Protect against changing dst->dev during destination resolve (Parav Pandit)
- RDMA/core: Refer to network type instead of device type (Parav Pandit)
- RDMA/core: Use common code flow for IPv4/6 for addr resolve (Parav Pandit)
- RDMA/core: Rename rdma_copy_addr to rdma_copy_src_l2_addr (Parav Pandit)
- RDMA/core: Introduce and use rdma_set_src_addr() between IPv4 and IPv6 (Parav Pandit)
- RDMA/core: Let protocol specific function typecast sockaddr structure (Parav Pandit)
- RDMA/core: Avoid unnecessary sa_family overwrite (Parav Pandit)
- RDMA/core Introduce and use rdma_find_ndev_for_src_ip_rcu (Parav Pandit)
- RDMA/{cma, core}: Avoid callback on rdma_addr_cancel() (Parav Pandit)
- powercap: Add AMD Fam17h RAPL support (Victor Ding)
- powercap/intel_rapl_msr: Convert rapl_msr_priv into pointer (Victor Ding)
- x86/msr-index: sort AMD RAPL MSRs by address (Victor Ding)
- perf/x86/rapl: Add AMD Fam19h RAPL support (Kim Phillips)
- tools/power turbostat: Support AMD Family 19h (Kim Phillips)
- perf/x86/rapl: Add Hygon Fam18h RAPL support (Pu Wen)
- perf/x86/rapl: Add AMD Fam17h RAPL support (Stephane Eranian)
- x86/cpu: Add consistent CPU match macros (Thomas Gleixner)
- x86/devicetable: Move x86 specific macro out of generic code (Thomas Gleixner)
- perf/x86/rapl: Make perf_probe_msr() more robust and flexible (Stephane Eranian)
- perf/x86/rapl: Refactor to share the RAPL code between Intel and AMD CPUs (Stephane Eranian)
- perf/x86/rapl: Move RAPL support to common x86 code (Stephane Eranian)
- perf/x86/rapl: Add Ice Lake RAPL support (Kan Liang)
- perf/x86/rapl: Get quirk state from new probe framework (Jiri Olsa)
- perf/x86/rapl: Get attributes from new probe framework (Jiri Olsa)
- perf/x86/rapl: Get MSR values from new probe framework (Jiri Olsa)
- perf/x86/rapl: Get rapl_cntr_mask from new probe framework (Jiri Olsa)
- perf/x86/rapl: Use new MSR detection interface (Jiri Olsa)
- perf/x86: Add MSR probe interface (Jiri Olsa)
- x86/entry/64: Remove unneeded kernel CR3 switching (Lai Jiangshan)
- x86/speculation/swapgs: Check FSGSBASE in enabling SWAPGS mitigation (Tony Luck)
- PCI: pciehp: Differentiate between surprise and safe removal (Lukas Wunner)
- alinux: 9P: update inode [cm]time when write (gexuyang)
- alinux: fuse: Fix possible deadlock when writing back dirty pages (Baolin Wang)
- fsgsbase support (Caspar Zhang)
- alinux: sunrpc: honor rpc_task's timeout value in rpcb_create() (Eryu Guan)
- alinux: nfs: hornor timeo and retrans option when mounting NFSv3 (Eryu Guan)
* Thu Apr 29 2021 Jacob Wang <jacob.wang@openanolis.org> [4.19.91-23.4.an8]
- ck: kdump: Fix the bug that no vmcore file created (Xin Hao)
- ck: irqchip:phytium-gic: Sync the latest code modify (Xin Hao)
* Mon Apr 26 2021 Liwei Ge <geliwei@openanolis.org> [4.19.91-23.3.an8]
- spec: update kdump args for cloud kernel (Liwei Ge)
* Wed Apr 14 2021 Liwei Ge <geliwei@openanolis.org> [4.19.91-23.2.an8]
- configs: Sync kernel configs (Liwei Ge)
* Fri Apr 02 2021 Liwei Ge <geliwei@openanolis.org> [4.19.91-23.1.an8]
- x86/Kconfig: Drop vendor dependency for X86_UMIP (LeoLiu-oc)
- x86/Kconfig: Rename UMIP config parameter (LeoLiu-oc)
- x86/apic: Mask IOAPIC entries when disabling the local APIC (LeoLiu-oc)
- ck: xhci: fix issue with resume from system Sx state (LeoLiu-oc)
- ck: xhci: Adjust the UHCI Controllers bit value (LeoLiu-oc)
- ck: ALSA: hda: Add support of Zhaoxin NB HDAC codec (LeoLiu-oc)
- ck: ALSA: hda: Add support of Zhaoxin NB HDAC (LeoLiu-oc)
- ck: ALSA: hda: Add support of Zhaoxin SB HDAC (LeoLiu-oc)
- ck: xhci: Show Zhaoxin XHCI root hub speed correctly (LeoLiu-oc)
- ck: xhci: fix issue of cross page boundary in TRB prefetch mechanism (LeoLiu-oc)
- PCI: Add ACS quirk for Zhaoxin Root/Downstream Ports (LeoLiu-oc)
- PCI: Add ACS quirk for Zhaoxin multi-function devices (LeoLiu-oc)
- PCI: Add Zhaoxin Vendor ID (LeoLiu-oc)
- ck: xhci: Add Zhaoxin xHCI LPM U1/U2 feature support (LeoLiu-oc)
- ck: ata: sata_zhaoxin: Add support for Zhaoxin Serial ATA (LeoLiu-oc)
- x86/perf: Add hardware performance events support for Zhaoxin CPU. (LeoLiu-oc)
- ck: crypto: x86/crc32c-intel Exclude low performance CRC32C instruction CPUs (LeoLiu-oc)
- ck: x86/cpu: Set low performance CRC32C flag on some Zhaoxin CPUs (LeoLiu-oc)
- ck: x86/cpufeatures: Add low performance CRC32C instruction CPU feature (LeoLiu-oc)
- x86/speculation/swapgs: Exclude Zhaoxin CPUs from SWAPGS vulnerability (LeoLiu-oc)
- x86/speculation/spectre_v2: Exclude Zhaoxin CPUs from SPECTRE_V2 (LeoLiu-oc)
- x86/mce: Add Zhaoxin LMCE support (LeoLiu-oc)
- x86/mce: Add Zhaoxin CMCI support (LeoLiu-oc)
- x86/mce: Add Zhaoxin MCE support (LeoLiu-oc)
- x86/acpi/cstate: Add Zhaoxin processors support for cache flush policy in C3 (LeoLiu-oc)
- x86/power: Optimize C3 entry on Centaur CPUs (LeoLiu-oc)
- ACPI, x86: Add Zhaoxin processors support for NONSTOP TSC (LeoLiu-oc)
- ck: x86/cpu: Add detect extended topology for Zhaoxin CPUs (LeoLiu-oc)
- ck: x86/cpufeatures: Add Zhaoxin feature bits (LeoLiu-oc)
- x86/cpu/centaur: Add Centaur family >=7 CPUs initialization support (LeoLiu-oc)
- x86/cpu/centaur: Replace two-condition switch-case with an if statement (LeoLiu-oc)
- x86/cpu: Remove redundant cpu_detect_cache_sizes() call (LeoLiu-oc)
- x86/cpu: Create Zhaoxin processors architecture support file (LeoLiu-oc)
- config: arm64: Change NODES_SHIFT value as 4 (Xin Hao)
- config:arm64: Add PHYTIUM ft2500 chip HW support (Xin Hao)
- config:arm64: Enable STAGING default (Xin Hao)
- ck: irqchip:phytium-gic: add phytium new gic control support (Xin Hao)
- ck: ACPI: add support for phytium profiling in GICC (Xin Hao)
- ck: rtc: Add Phytium rtc device support (Xin Hao)
- ck: ACPI: APD: Add clock frequency for for phytium i2c control (Xin Hao)
- openeuler: arm64: Enable MPAM feature (Xin Hao)
- openEuler: resctrlfs: mpam: init struct for mpam (Yang Yingliang)
- openEuler: resctrlfs: init support resctrlfs (Xie XiuQi)
- openeuler: arm64: enable SDEI and NMI_WATCHDOG (Xin Hao)
- openeuler: net/hinic: Add NIC driver support (Xue)
- Backport SGX in-tree module (GuoRui.Yu)
- nbd: freeze the queue while we're adding connections (Josef Bacik)
- futex: Ensure the correct return value from futex_lock_pi() (Thomas Gleixner)
- tracing: Fix race in trace_open and buffer resize call (Gaurav Kohli)
- nfsd4: readdirplus shouldn't return parent of export (J. Bruce Fields)
- scsi: target: Fix XCOPY NAA identifier lookup (David Disseldorp)
- tty: Fix ->session locking (Jann Horn)
- tty: Fix ->pgrp locking in tiocspgrp() (Jann Horn)
- configs: enable configs for ICMP PingTrace support (Qiao Ma)
- alinux: net: add pingtrace feature support (Qiao Ma)
- Backport RDT/resctrl bugfixes (Zelin Deng)
- alinux: tcp: introduce tunable tcp_rto_min value (Tony Lu)
- ipvs: allow connection reuse for unconfirmed conntrack (Julian Anastasov)
- alinux: Revert "TencentOS-kernel: ipvs: avoid drop first packet by reusing conntrack" (Tony Lu)
- refcount_t: Add ACQUIRE ordering on success for dec(sub)_and_test() variants (Elena Reshetova)
- x86/apic/msi: Plug non-maskable MSI affinity race (Thomas Gleixner)
- KVM: no need to check return value of debugfs_create functions (Greg KH)
- KVM: remove kvm_arch_has_vcpu_debugfs() (Paolo Bonzini)
- virtio-blk: modernize sysfs attribute creation (Hannes Reinecke)
- zram: register default groups with device_add_disk() (Hannes Reinecke)
- aoe: register default groups with device_add_disk() (Hannes Reinecke)
- nvme: register ns_id attributes as default sysfs groups (Hannes Reinecke)
- block: genhd: add 'groups' argument to device_add_disk (Hannes Reinecke)
- alinux: Revert "zram: close udev startup race condition as default groups" (Jeffle Xu)
- SUNRPC: Fix possible autodisconnect during connect due to old last_used (Dave Wysochanski)
- bpf: tcp_bpf_recvmsg should return EAGAIN when nonblocking and no data (Zhiyuan Hou)
- alinux: cgroup: reduce time of creating cgroup (Yi Tao)
- X.509: Fix crash caused by NULL pointer (Tianjia Zhang)
- tcp: fix marked lost packets not being retransmitted (Pengcheng Yang)
- alinux: dm crypt: fix sysfs name collision when reloading table (Jeffle Xu)
- dm crypt: export sysfs of kcryptd workqueue (Jeffle Xu)
- Revert "dm crypt: use WQ_HIGHPRI for the IO and crypt workqueues" (Mike Snitzer)
- dm crypt: make workqueue names device-specific (Michał Mirosław)
- dm: add dm_table_device_name() (Michał Mirosław)
- tpm/tpm_tis: Free IRQ if probing fails (Jarkko Sakkinen)
- io-wq: return next work from ->do_work() directly (Pavel Begunkov)
- alinux: locking/qspinlock/x86: Fix performance regression caused by virt_spin_lock (Yihao Wu)
- selftests/bpf/test_progs: do not check errno == 0 (Mauricio Vasquez B)
- perf/x86: Always store regs->ip in perf_callchain_kernel() (Song Liu)
- mm: shmem: disable interrupt when acquiring info->lock in userfaultfd_copy path (Yang Shi)
- io_uring: bugfix backports (Jeffle Xu)
- x86/mce: backport enhancement of MCA-R (Wetp Zhang)
- io_uring: allow non-fixed files with SQPOLL (Xiaoguang Wang)
- fs: move filp_close() outside of __close_fd_get_file() (Jens Axboe)
- configs: remove the backup configs (Shile Zhang)
- alinux: tcp_rt: rm maintainer Ya Zhao (Xuan Zhuo)
- io_uring: hold uring_lock while completing failed polled io in io_wq_submit_work() (Xiaoguang Wang)
- netfilter: conntrack: fix infinite loop on rmmod (TuQuan)
- alinux: blk-throttle: Fix the possible NULL service tree warning (Baolin Wang)
- ovl: fix dentry leak in ovl_get_redirect (Liangyan)
- io_uring: always let io_iopoll_complete() complete polled io (Xiaoguang Wang)
- io_uring: fix io_wqe->work_list corruption (Xiaoguang Wang)
- configs: add more kernel modules for more compatibility (Shile Zhang)
- configs: arm64: sync with x86_64 (Shile Zhang)
- configs: x86_64: fix qboot boot up failure (Shile Zhang)
- configs: x86_64: reconfig to sync with internal version (Shile Zhang)
- configs: Enable rich container (Xunlei Pang)
- configs: enable md raid support (Joseph Qi)
- block: disable iopoll for split bio (Jeffle Xu)
- perf/core: Fix race in the perf_mmap_close() function (Jiri Olsa)
- powercap: restrict energy meter to root access (Len Brown)
- perf/core: Fix a memory leak in perf_event_parse_addr_filter() (kiyin(尹亮))
- vt: Disable KD_FONT_OP_COPY (Daniel Vetter)
- blktrace: fix debugfs use after free (Luis Chamberlain)
- vt: keyboard, extend func_buf_lock to readers (Jiri Slaby)
- vt: keyboard, simplify vt_kdgkbsent (Jiri Slaby)
- tty: make FONTX ioctl use the tty pointer they were actually passed (Linus Torvalds)
- icmp: randomize the global rate limiter (Eric Dumazet)
- netfilter: ctnetlink: add a range check for l3/l4 protonum (Will McVicker)
- hdlc_ppp: add range checks in ppp_cp_parse_cr() (Dan Carpenter)
- geneve: add transport ports in route lookup for geneve (Mark Gray)
- rbd: require global CAP_SYS_ADMIN for mapping and unmapping (Ilya Dryomov)
- mm/hugetlb: fix a race between hugetlb sysctl handlers (Muchun Song)
- random32: update the net random state on interrupt and activity (Willy Tarreau)
- crypto: ccp - Release all allocated memory if sha type is invalid (Navid Emamdoost)
- sctp: implement memory accounting on tx path (Xin Long)
- Revert "zram: convert remaining CLASS_ATTR() to CLASS_ATTR_RO()" (Wade Mealing)
- x86/speculation: Add Ivy Bridge to affected list (Josh Poimboeuf)
- x86/speculation: Add SRBDS vulnerability and mitigation documentation (Mark Gross)
- x86/speculation: Add Special Register Buffer Data Sampling (SRBDS) mitigation (Mark Gross)
- x86/cpu: Add 'table' argument to cpu_matches() (Mark Gross)
- x86/cpu: Add a steppings field to struct x86_cpu_id (Mark Gross)
- kernel/relay.c: handle alloc_percpu returning NULL in relay_open (Daniel Axtens)
- vt: keyboard: avoid signed integer overflow in k_ascii (Dmitry Torokhov)
- x86/speculation: PR_SPEC_FORCE_DISABLE enforcement for indirect branches. (Anthony Steinhauser)
- x86/speculation: Avoid force-disabling IBPB based on STIBP and enhanced IBRS. (Anthony Steinhauser)
- x86/speculation: Prevent rogue cross-process SSBD shutdown (Anthony Steinhauser)
- mm: Fix mremap not considering huge pmd devmap (Fan Yang)
- alinux: mm: Fix the vma merge warning (Baolin Wang)
- io_uring: fix IOPOLL -EAGAIN retries (Xiaoguang Wang)
- io_uring: clear req->result on IOPOLL re-issue (Jens Axboe)
- selftests/tls: Add MSG_WAITALL in recv() syscall (Vakul Garg)
- alinux: io_uring: revert io_file_supports_async() (Hao Xu)
- bpf: improve verifier branch analysis (Alexei Starovoitov)
- selftests/bpf: Test narrow loads with off > 0 in test_verifier (Andrey Ignatov)
- alinux: dm: apply more restrictive constraints for iopoll (Jeffle Xu)
- alinux: block: fix inflight statistics of part0 (Jeffle Xu)
- net: ipvs: add sysctl_run_estimation to support disable estimation (Dust Li)
- ipvs: move estimation from timer to kworker (Dust Li)
- cpufreq: intel_pstate: Fix intel_pstate_get_hwp_max() for turbo disabled (Francisco Jerez)
- rtnetlink: avoid frame size warning in rtnl_newlink() (Jakub Kicinski)
- memcg, oom: check memcg margin for parallel oom (Yafang Shao)
- mm, memcg: reclaim harder before high throttling (Jiang Zhong)
- mm: swap: Sync fixes swap patches (Jiang Zhong)
- mm, compaction: make capture control handling safe wrt interrupts (Vlastimil Babka)
- alinux: virtio_net: fix wrong print format type (Tony Lu)
- alinux: Introduce rich container support (Xunlei Pang)
- checkpatch/coding-style: deprecate 80-column warning (Joe Perches)
- alinux: net: track the pid who created socks (Tony Lu)
- mm: never attempt async page lock if we've transferred data already (Jens Axboe)
- mm: mark async iocb read as NOWAIT once some data has been copied (Jens Axboe)
- io_uring: don't use retry based buffered reads for non-async bdev (Jens Axboe)
- alinux: configs: Enable NITRO_ENCLAVES for x86_64 (Jason Cai (Xiang Feng))
- alinux: nitro_enclaves: Add support for Dragonfly Enclaves (Jason Cai (Xiang Feng))
- io_uring: fix shift-out-of-bounds when round up cq size (Joseph Qi)
- io_uring: round-up cq size before comparing with rounded sq size (Jens Axboe)
- alinux: io_uring: refactor precpu io sq thread feature (Xiaoguang Wang)
- mm/memcontrol.c: fix memory.stat item ordering (Johannes Weiner)
- mm: memcontrol: fix missing suffix of workingset_restore (Muchun Song)
- mm: remove activate_page() from unuse_pte() (Yu Zhao)
- mm/vmscan: restore active/inactive ratio for anonymous LRU (Joonsoo Kim)
- mm/swap: implement workingset detection for anonymous LRU (Joonsoo Kim)
- mm/swapcache: support to handle the shadow entries (Joonsoo Kim)
- mm/workingset: prepare the workingset detection infrastructure for anon LRU (Joonsoo Kim)
- mm/vmscan: protect the workingset on anonymous LRU (Joonsoo Kim)
- mm/vmscan: make active/inactive ratio as 1:1 for anon lru (Joonsoo Kim)
- mm, memcg: add workingset_restore in memory.stat (Yafang Shao)
- io_uring: add timeout support for io_uring_enter() (Hao Xu)
- mm: mm: balance LRU lists based on relative thrashing (Jiang Zhong)
- alinux: mm: bring back unevictable.o in obj-y (Xu Yu)
- alinux: virtio_net: introduce TX timeout dev_watchdog handler (Tony Lu)
- net: bpfilter: restart bpfilter_umh when error occurred (Taehee Yoo)
- net: bpfilter: use cleanup callback to release umh_info (Taehee Yoo)
- umh: Add command line to user mode helpers (Olivier Brunel)
- umh: add exit routine for UMH process (Taehee Yoo)
- alinux: configs: enable sockmap feature (Tony Lu)
- cifs: Fix double add page to memcg when cifs_readpages (Zhang Xiaoxu)
- mm/memcontrol: fix OOPS inside mem_cgroup_get_nr_swap_pages() (Bhupesh Sharma)
- ksm: reinstate memcg charge on copied pages (Hugh Dickins)
- mm: memcontrol: charge swapin pages on instantiation (Jiang Zhong)
- alinux: io_uring: don't take percpu_ref operations for registered files in IOPOLL mode (Xiaoguang Wang)
- alinux: io_uring: keep a pointer ref_node in io_kiocb (Xiaoguang Wang)
- io_uring: registered files improvements for IOPOLL mode (Xiaoguang Wang)
- mm: fix page aging across multiple cgroups (Jiang Zhong)
- mm: Support recursive memcg stats (Jiang Zhong)
- alinux: dm: add support for IO polling (Jeffle Xu)
- alinux: block: add back ->poll_fn in request queue (Jeffle Xu)
- alinux: block/mq: add iterator for polling hw queues (Jeffle Xu)
- alinux: Revert "blk-mq: fix NULL pointer deference in case no poll implementation" (Jeffle Xu)
- io_uring: use blk_queue_nowait() to check if NOWAIT supported (Jeffle Xu)
- dm: add support for DM_TARGET_NOWAIT for various targets (Jeffle Xu)
- dm: add support for REQ_NOWAIT and enable it for linear target (Konstantin Khlebnikov)
- block: add QUEUE_FLAG_NOWAIT (Mike Snitzer)
- block: Fix use-after-free in blkdev_get() (Jason Yan)
- proc: Use new_inode not new_inode_pseudo (Eric W. Biederman)
- aio: fix async fsync creds (Miklos Szeredi)
- propagate_one(): mnt_set_mountpoint() needs mount_lock (Al Viro)
- vmalloc: fix remap_vmalloc_range() bounds checks (Jann Horn)
- dax: pass NOWAIT flag to iomap_apply (Jeff Moyer)
- aio: prevent potential eventfd recursion on poll (Jens Axboe)
- chardev: Avoid potential use-after-free in 'chrdev_open()' (Will Deacon)
- backport fs bugfix from 4.19.y stable (Jeffle Xu)
- tcp: increase tcp_max_syn_backlog max value (Eric Dumazet)
- net: increase SOMAXCONN to 4096 (Eric Dumazet)
- NFS: fix nfs_path in case of a rename retry (Ashish Sangwan)
- nfs: Fix security label length not being reset (Jeffrey Mitchell)
- nfs: Fix getxattr kernel panic and memory overflow (Jeffrey Mitchell)
- blk-cgroup: Fix memleak on error path (Gabriel Krisman Bertazi)
- block: ensure bdi->io_pages is always initialized (Jens Axboe)
- blk-mq: order adding requests to hctx->dispatch and checking SCHED_RESTART (Ming Lei)
- nvme-core: put ctrl ref when module ref get fail (Chaitanya Kulkarni)
- nvme-core: get/put ctrl and transport module in nvme_dev_open/release() (Chaitanya Kulkarni)
- nvme: Fix controller creation races with teardown flow (Israel Rukshin)
- virtio_ring: Avoid loop when vq is broken in virtqueue_poll (Mao Wenan)
- dm thin metadata: Avoid returning cmd->bm wild pointer on error (Ye Bin)
- alinux: update config to add PCIE EDR support (Zelin Deng)
- Enable PCIE Error Disconnect Recovery (Zelin Deng)
- alinux: io_uring: fix compile warning in io_ioctl() (Hao Xu)
- xsk: Use struct_size() helper (Magnus Karlsson)
- io_uring: only wake up sq thread while current task is in io worker context (Xiaoguang Wang)
- alinux: io_uring: support ioctl (Hao Xu)
- task_work: cleanup notification modes (Jens Axboe)
- io_uring: use TWA_SIGNAL for task_work uncondtionally (Jens Axboe)
- io_uring: fix regression with always ignoring signals in io_cqring_wait() (Jens Axboe)
- io_uring: use signal based task_work running (Jens Axboe)
- task_work: teach task_work_add() to do signal_wake_up() (Oleg Nesterov)
- x86/unwind/orc: Fall back to using frame pointers for generated code (Josh Poimboeuf)
- alinux: cpuacct: Export nr_running & nr_uninterruptible (Yihao Wu)
- alinux: sched: Maintain "nr_uninterruptible" in runqueue (Xunlei Pang)
- ovl: provide a mount option "volatile" (Vivek Goyal)
- ovl: only pass ->ki_flags to ovl_iocb_to_rwf() (Miklos Szeredi)
- ovl: fix some xino configurations (Amir Goldstein)
- ovl: simplify ovl_same_sb() helper (Amir Goldstein)
- alinux: mm: make the swap throttle more accurate (zhongjiang-ali)
- io_uring: add IORING_CQ_EVENTFD_DISABLED to the CQ ring flags (Stefano Garzarella)
- io_uring: add 'cq_flags' field for the CQ ring (Stefano Garzarella)
- KVM: x86: Expose fast short REP MOV for supported cpuid (Zhenyu Wang)
- x86/cpufeatures: Add support for fast short REP; MOVSB (Tony Luck)
- mm: proactive compaction (Nitin Gupta)
- Support Ice Lake topdown metics (Peng Wang)
- sysfs: Add sysfs_update_groups function (Jiri Olsa)
- Intel: perf/x86/intel: Export mem events only if there's PEBS support (Jiri Olsa)
- Intel: perf/x86/intel: Factor out common code of PMI handler (Kan Liang)
- KVM x86: Extend AMD specific guest behavior to Hygon virtual CPUs (Sean Christopherson)
- KVM: x86: Add helpers to perform CPUID-based guest vendor check (Sean Christopherson)
- kvm: x86: Use AMD CPUID semantics for AMD vCPUs (Jim Mattson)
- kvm: x86: Improve emulation of CPUID leaves 0BH and 1FH (Jim Mattson)
- ext4: unlock xattr_sem properly in ext4_inline_data_truncate() (Joseph Qi)
- tools/power turbostat: Add support for Hygon Fam 18h (Dhyana) RAPL (Pu Wen)
- tools/power turbostat: Fix caller parameter of get_tdp_amd() (Pu Wen)
- tools/power turbostat: Also read package power on AMD F17h (Zen) (Calvin Walton)
- tools/power turbostat: Add support for AMD Fam 17h (Zen) RAPL (Calvin Walton)
- alinux: mm: fix an global-out-of-bounds in __do_proc_doulongvec_minmax (zhongjiang-ali)
- alinux: mm: add an interface to adjust the penalty time dynamically (zhongjiang-ali)
- alinux: mm: support swap.high for cgroup v1 (zhongjiang-ali)
- mm, memcg: backport patches from upstream (Jiang Zhong)
- alinux: io_uring: revert queue_is_mq() to queue_is_rq_based() (Hao Xu)
- Support batching dispatch from scheduler (Baolin Wang)
- alinux: configs: Enable SM2 asymmetric algorithm (Tianjia Zhang)
- crypto: sm2 - remove unnecessary reset operations (Tianjia Zhang)
- crpyto: introduce OSCCA certificate and SM2 asymmetric algorithm (Tianjia Zhang)
- io_uring: use EPOLLEXCLUSIVE flag to aoid thundering herd type behavior (Jiufei Xue)
- io_uring: change the poll type to be 32-bits (Jiufei Xue)
- sched/fair: Fix insertion in rq->leaf_cfs_rq_list (Vincent Guittot)
- sched/fair: Add tmp_alone_branch assertion (Peter Zijlstra)
- alinux: sched/fair: Fix CPU burst stat (Huaixin Chang)
- alinux: sched/fair: Introduce init buffer into CFS burst (Huaixin Chang)
- alinux: sched: Restore upper limit of cfs_b->buffer to max_cfs_runtime (Huaixin Chang)
- alinux: sched: Add document for burstable CFS bandwidth control (Huaixin Chang)
- alinux: sched: Add cfs bandwidth burst statistics (Huaixin Chang)
- alinux: sched: Make CFS bandwidth controller burstable (Huaixin Chang)
- alinux: sched: Introduce primitives for CFS bandwidth burst (Huaixin Chang)
- alinux: sched: Defend cfs and rt bandwidth against overflow (Huaixin Chang)
- Some improvements for blk-throttle (Baolin Wang)
- Add support for async buffered reads (Hao Xu)
- perf tests: Use shebangs in the shell scripts (Michael Petlan)
- jbd2: add missing tracepoint for reserved handle (Xiaoguang Wang)
- dm thin metadata: Fix trivial math error in on-disk format documentation (Jeffle Xu)
- alinux: fix openat2 wrong syscall number under x86-32 (Joseph Qi)
- alinux: tcp_rt module: fix bug of using vfree to release the memory obtained by kmalloc (Xuan Zhuo)
- alinux: sched: Fix a branch prediction error in static_key (Erwei Deng)
- alinux: sched: Fix compiling error without CONFIG_FAIR_GROUP_SCHED (Erwei Deng)
- alinux: sched: get_sched_lat_count_idx optimization (Erwei Deng)
- io_uring: set table->files[i] to NULL when io_sqe_file_register failed (Jiufei Xue)
- io_uring: fix removing the wrong file in __io_sqe_files_update() (Jiufei Xue)
- fuse: always flush dirty data on close(2) (Miklos Szeredi)
- fuse: invalidate inode attr in writeback cache mode (Eryu Guan)
- mm, page_alloc: skip ->waternark_boost for atomic order-0 allocations (Charan Teja Reddy)
- blk-mq: fix hang caused by freeze/unfreeze sequence (Bob Liu)
- block: Allow unfreezing of a queue while requests are in progress (Bart Van Assche)
- alinux: io_uring: add percpu io sq thread support (Xiaoguang Wang)
- net/packet: fix overflow in tpacket_rcv (Or Cohen)
- alinux: nvme: pci: Fix the incorrect ways to calculate the request size (Baolin Wang)
- configs: Open the IGB IGBVF IXGBE IXGBEVF configs (Erwei Deng)
- alinux: arm64: adjust tk_core memory layout (Peng Wang)
- configs: enable vsyscall emulate by default for x86_64 (Shile Zhang)
- efi: Fix a race and a buffer overflow while reading efivars via sysfs (Vladis Dronov)
- configs: open the UIO Kconfig for x86_64 (Erwei Deng)
- EDAC, skx_common: Refactor so that we initialize "dev" in result of adxl decode. (Tony Luck)
- libnvdimm: Out of bounds read in __nd_ioctl() (Dan Carpenter)
- alinux: sched: Fix per-cgroup idle accounting deadlock (Yihao Wu)
- io_uring: hold 'ctx' reference around task_work queue + execute (Jiufei Xue)
- x86/mce: Move nmi_enter/exit() into the entry point (Thomas Gleixner)
- io_uring: Fix NULL pointer dereference in loop_rw_iter() (Guoyu Huang)
- alinux: nvme: pci: Use bio->bi_vcnt directly (Baolin Wang)
- blk-mq: fix failure to decrement plug count on single rq removal (Jens Axboe)
- block: sum requests in the plug structure (Jens Axboe)
- alinux: blk: export sector and len fields for iohang (Jeffle Xu)
- mm/mmap.c: close race between munmap() and expand_upwards()/downwards() (Kirill A. Shutemov)
- x86/mpx, mm/core: Fix recursive munmap() corruption (Dave Hansen)
- alinux: Fix latency histogram & nr_migrations rcu bugs (Yihao Wu)
- io_uring: clear IORING_SQ_NEED_WAKEUP after executing task works (Xiaoguang Wang)
- alinux: configs: disable low limit and enable io latency (Joseph Qi)
- io_uring bug fixes from v5.8 (Jiufei Xue)
- Intel Icelake RAS support (Wept Zhang)
- PCIe Gen4 support (Artie Ding)
- alinux: block: don't decrement nr_phys_segments for physically contigous segments (Baolin Wang)
- intel-speed-select tool cherry-pick from upstream (Erwei Deng)
- perf vendor events intel: Add Icelake V1.00 event file (Haiyan Song)
- alinux: mm: completely disable swapout with negative swappiness (Xu Yu)
- intel_idle driver enhancements (Erwei Deng)
- ovl: initialize error in ovl_copy_xattr (Yuxuan Shui)
- xfs: add agf freeblocks verify in xfs_agf_verify (Zheng Bin)
- dm: use noio when sending kobject event (Mikulas Patocka)
- ext4: fix race between ext4_sync_parent() and rename() (Eric Biggers)
- ext4: fix EXT_MAX_EXTENT/INDEX to check for zeroed eh_max (Harshad Shirwadkar)
- alinux: virtio-blk: fix discard buffer overrun (Jeffle Xu)
- x86/cpufeatures: Add feature bit RDPRU on AMD (Babu Moger)
- ext4: disable dioread_nolock whenever delayed allocation is disabled (Eric Whitney)
- alinux: nvme-pci: hold cq_lock while completing CQEs (Xiaoguang Wang)
- alinux: panic: change the default value of crash_kexec_post_notifiers to true (Shile Zhang)
- alinux: configs: add VIRTIO_MEM and VIRTIO_FS (Liu Bo)
- nvme: fix possible deadlock when nvme_update_formats fails (Sagi Grimberg)
- configs: disable some needless builtin modules (Shile Zhang)
- virtio-fs support (Bob Liu)
- virtio-mem support (Alex Shi)
- nvme: single segment enhancements (Baolin Wang)
- TencentOS-kernel: ipvs: avoid drop first packet by reusing conntrack (YangYuxi)
- blk-mq: add multiple queue maps support (Xiaoguang Wang)
- io_uring: fix recvmsg memory leak with buffer selection (Pavel Begunkov)
- iocost misc bug fixes from upstream (Jiufei Xue)
- alinux: sched: Add cpu_stress to show system-wide task waiting (Yihao Wu)
- perf vendor events amd: Add L3 cache events for Family 17h (Kim Phillips)
- alinux: block: initialize io hang counter (Xiaoguang Wang)
- configs: Enable CONFIG_RESCTRL to enable Intel RDT and AMD QoS (Zelin Deng)
- hookers: fix Kconfig dependency on INET (Dust Li)
- x86/resctrl: Fix memory bandwidth counter width for AMD (Babu Moger)
- x86/resctrl: Support CPUID enumeration of MBM counter width (Reinette Chatre)
- x86/cpu: Move resctrl CPUID code to resctrl/ (Reinette Chatre)
- x86/resctrl: Rename asm/resctrl_sched.h to asm/resctrl.h (Reinette Chatre)
- alinux: tcp_rt module support (Xuan Zhuo)
- configs: Enabled CONFIG_PCIE_DPC (Zelin Deng)
- alinux: blk-iocost: bypass IOs earlier if disabled (Joseph Qi)
- ovl: inode reference leak in ovl_is_inuse true case. (youngjun)
- Revert "samples/bpf: fix build by setting HAVE_ATTR_TEST to zero" (Dust Li)
- samples/bpf: Add a workaround for asm_inline (KP Singh)
- samples/bpf: fix build with new clang (Alexei Starovoitov)
- samples/bpf: workaround clang asm goto compilation errors (Yonghong Song)
- io_uring misc fixes from upstream (Jiufei Xue)
- vfs, afs, ext4: Make the inode hash table RCU searchable (David Howells)
- io_uring: export cq overflow status to userspace (Xiaoguang Wang)
- AMD RAS enhancements (Zelin Deng)
- AMD PMCs/Perf enhancements (Peng Wang)
- configs: enable AF_XDP socket by default (Dust Li)
- Intel Icelake PMU enhancements (Peng Wang)
- alinux: block-throttle: only do io statistics if needed (Xiaoguang Wang)
- configs: disable CONFIG_REFCOUNT_FULL for release kernel (Dust Li)
- backport security support for nvdimm (Shile Zhang)
- io_uring: fix current->mm NULL dereference on exit (Pavel Begunkov)
- io_uring: fix hanging iopoll in case of -EAGAIN (Pavel Begunkov)
- configs: arm64: keep the unified configs tuned for both arches (Shile Zhang)
- configs: arm64: reconfig to sync with internal version (Shile Zhang)
- backport watermark boost features and bug fixes (Xu Yu)
- mm semaphore enhancements (Yang Shi)
- ACPICA: ACPI 6.3: MADT: add support for statistical profiling in GICC (Erik Schmauss)
- perf: arm_spe: Enable ACPI/Platform automatic module loading (Jeremy Linton)
- arm_pmu: acpi: spe: Add initial MADT/SPE probing (Jeremy Linton)
- blk-iolatency: only call ktime_get() if needed (Hongnan Li)
- ICX: platform/x86: ISST: Fix wrong unregister type (Srinivas Pandruvada)
- ICX: platform/x86: ISST: Allow additional core-power mailbox commands (Srinivas Pandruvada)
- perf stat: Fix shadow stats for clock events (Ravi Bangoria)
- arm64 pseudo NMIs support (Zou Cao)
- arm64/dma-mapping: Mildly optimise non-coherent IOMMU ops (Robin Murphy)
- iommu/dma: Use fast DMA domain lookup (Robin Murphy)
- iommu: Add fast hook for getting DMA domains (Robin Murphy)
- io_uring: fix io_sq_thread no schedule when busy (Xuan Zhuo)
- perf arm64: Fix mksyscalltbl when system kernel headers are ahead of the kernel (Vitaly Chikunov)
- drm/amdgpu: fix unload driver fail (Emily Deng)
- io_uring patchset sync from v5.8 (part 2) (Xiaoguang Wang)
- arm64: Neoverse N1 support (Bin Yu)
- configs: enable conntrack_zone option (Zhiyuan Hou)
- vfio-pci: Invalidate mmaps and block MMIO access on disabled memory (Alex Williamson)
- vfio-pci: Fault mmaps to enable vma tracking (Alex Williamson)
- alinux: introduce deferred_meminit boot parameter (chenxiangzuo)
- cpufreq: intel_pstate: Fix compilation for !CONFIG_ACPI (Dominik Brodowski)
- io_uring patchset sync from v5.8 (Xiaoguang Wang)
- ACPI/APEI enhancements for arm64 (Baolin Wang)
- commits_rqs support for blk-mq (Baolin Wang)
- sched/cpufreq: Move the cfs_rq_util_change() call to cpufreq_update_util() (Vincent Guittot)
- sched/fair: Fix O(nr_cgroups) in the load balancing path (Vincent Guittot)
- sched/fair: Optimize update_blocked_averages() (Vincent Guittot)
- alinux: sched: Fix wrong cpuacct_update_latency declaration (Yihao Wu)
- usb driver misc fixes and enhancements (Baolin Wang)
- lib/genalloc: add gen_pool_dma_zalloc() for zeroed DMA allocations (Fredrik Noring)
- configs: Enabled acpi-cpufreq for x86 platform (Zelin Deng)
- sched/fair: Remove sgs->sum_weighted_load (Dietmar Eggemann)
- sched/core: Remove sd->*_idx (Dietmar Eggemann)
- sched/core: Remove rq->cpu_load[] (Dietmar Eggemann)
- sched/debug: Remove sd->*_idx range on sysctl (Dietmar Eggemann)
- sched/fair: Replace source_load() & target_load() with weighted_cpuload() (Dietmar Eggemann)
- sched/fair: Remove the rq->cpu_load[] update code (Dietmar Eggemann)
- sched/fair: Remove rq->load (Dietmar Eggemann)
- cpuidle: menu: Remove get_loadavg() from the performance multiplier (Daniel Lezcano)
- sched/fair: Disable LB_BIAS by default (Dietmar Eggemann)
- alinux: sched: Finer grain of sched latency (Yihao Wu)
- alinux: sched: Add "nr" to sched latency histogram (Yihao Wu)
- alinux: sched: Add cgroup's scheduling latency histograms (Yihao Wu)
- alinux: sched: Add cgroup-level blocked time histograms (Yihao Wu)
- alinux: sched: Introduce cfs scheduling latency histograms (Yihao Wu)
- alinux: sched: Add switch for scheduler_tick load tracking (Yihao Wu)
- alinux: sched: Add switch for update_blocked_averages (Yihao Wu)
- thp/khugepaged improvements and CoW semantics (Yang Shi)
- device-dax: don't leak kernel memory to user space after unloading kmem (David Hildenbrand)
- device-dax: "Hotremove" persistent memory that is used like normal RAM (Pavel Tatashin)
- configs: disable ext4 encryption (Joseph Qi)
- alinux: sched: Fix %steal in cpuacct.proc_stat in guest OS (Yihao Wu)
- kbuild: mark prepare0 as PHONY to fix external module build (Masahiro Yamada)
- configs: arm64: use 48-bit virtual address (Xu Yu)
- pvpanic: add crash loaded event (Shile Zhang)
- NFS misc fixes from 4.19 LTS (Jeffle Xu)
- xfs misc fixes from 4.19 LTS (Jeffle Xu)
- ovl misc fixes from 4.19 LTS (Jeffle Xu)
- jbd2 misc fixes from 4.19 LTS (Jeffle Xu)
- ext4 misc fixes from 4.19 LTS (Jeffle Xu)
- nvme driver misc fixes from 4.19 LTS (Jeffle Xu)
- dm misc fixes from 4.19 LTS (Jeffle Xu)
- virtio-blk misc fixes from 4.19 LTS (Jeffle Xu)
- block layer misc fixes from 4.19 LTS (Jeffle Xu)
- io_uring: check file O_NONBLOCK state for accept (Jiufei Xue)
- ext4: fix partial cluster initialization when splitting extent (Jeffle Xu)
- alinux: blk-mq: remove QUEUE_FLAG_POLL from default MQ flags (Joseph Qi)
- psi misc fixes from upstream (zhongjiang-ali)
- fs/binfmt_elf.c: allocate initialized memory in fill_thread_core_info() (Alexander Potapenko)
- KVM: SVM: Fix potential memory leak in svm_cpu_init() (Miaohe Lin)
- netlabel: cope with NULL catmap (Paolo Abeni)
- selinux: properly handle multiple messages in selinux_netlink_send() (Paul Moore)
- sched/fair: Don't NUMA balance for kthreads (Jens Axboe)
- KVM: polling: add architecture backend to disable polling (Christian Borntraeger)
- KVM: x86: fix missing prototypes (Paolo Bonzini)
- io_uring patchset sync from v5.7 (Xiaoguang Wang)
- alinux: tcp_rt framework adds two new maintainers (xuanzhuo)
- io_uring patchset sync from v5.6 (Joseph Qi)
- io_uring patchset sync from v5.5 (Joseph Qi)
- configs: enable AMD IOMMU support (Artie Ding)
- alinux: sched: Fix regression caused by nr_uninterruptible (Yihao Wu)
- configs/x86: add some NET_EMATCH options as module (Dust Li)
- configs/x86: align x86 NET_SCH configs to aarch64 (Dust Li)
- configs: aarch64: keep uniform configs between ARM and X86 (Shile Zhang)
- configs: enable support for TCP_RT (xuanzhuo)
- configs: enable multipath for kernel selftests (Joseph Qi)
- configs: disable deferred struct page init (Shile Zhang)
- configs: enable squashfs support (Joseph Qi)
- configs: enable support for virtio pmem driver (Shile Zhang)
- configs: update configs to adapt AMD QoS series (Shile Zhang)
- configs: enable null block device for blk-mq tests (Joseph Qi)
- configs: enable security and sm3/4 configs for trust (Tianjia Zhang)
- configs: align configs of aarch64 to x86_64 (Shile Zhang)
- configs: add configs in tree (Shile Zhang)
- alinux: sched: make SCHED_SLI dependent on FAIR_GROUP_SCHED (Yihao Wu)
- ipmi: fix hung processes in __get_guid() (Wen Yang)
- alinux: add tcprt framework to kernel (xuanzhuo)
- alinux: quota: fix unused label warning in dquot_load_quota_inode() (Jeffle Xu)
- alinux: mm: fix undefined reference to printk_ratelimit_state (Xu Yu)
- alinux: mm: fix undefined reference to mlock_fixup (Xu Yu)
- mm: return zero_resv_unavail optimization (Pavel Tatashin)
- mm: zero remaining unavailable struct pages (Naoya Horiguchi)
- alinux: sched: Fix p->cpu build error on aarch64 (Yihao Wu)
- blk-mq: balance mapping between present CPUs and queues (Ming Lei)
- fs/namespace.c: fix mountpoint reference counter race (Piotr Krysiuk)
- blktrace: fix dereference after null check (Cengiz Can)
- blktrace: Protect q->blk_trace with RCU (Jan Kara)
- net: ipv6_stub: use ip6_dst_lookup_flow instead of ip6_dst_lookup (Sabrina Dubroca)
- net: ipv6: add net argument to ip6_dst_lookup_flow (Sabrina Dubroca)
- vhost: Check docket sk_family instead of call getname (Eugenio Pérez)
- alinux: sched: Fix nr_migrations compile errors (Yihao Wu)
- libnvdimm/region: Enable MAP_SYNC for volatile regions (Aneesh Kumar K.V)
- virtio_pmem: fix sparse warning (Pankaj Gupta)
- xfs: disable map_sync for async flush (Pankaj Gupta)
- ext4: disable map_sync for async flush (Pankaj Gupta)
- dax: check synchronous mapping is supported (Pankaj Gupta)
- libnvdimm: add dax_dev sync flag (Pankaj Gupta)
- virtio-pmem: Add virtio pmem driver (Pankaj Gupta)
- libnvdimm: nd_region flush callback support (Pankaj Gupta)
- fix autofs regression caused by follow_managed() changes (Al Viro)
- fs/namei.c: fix missing barriers when checking positivity (Al Viro)
- fix dget_parent() fastpath race (Al Viro)
- new helper: lookup_positive_unlocked() (Al Viro)
- fs/namei.c: pull positivity check into follow_managed() (Al Viro)
- ovl: inherit SB_NOSEC flag from upperdir (Jeffle Xu)
- lib/crc32.c: mark crc32_le_base/__crc32c_le_base aliases as __pure (Rongwei Wang)
- arm64/lib: improve CRC32 performance for deep pipelines (Rongwei Wang)
- arm64/lib: add accelerated crc32 routines (Rongwei Wang)
- arm64: cpufeature: add feature for CRC32 instructions (Rongwei Wang)
- lib/crc32: make core crc32() routines weak so they can be overridden (Rongwei Wang)
- x86/resctrl: Introduce AMD QOS feature (Shile Zhang)
- mm: mempolicy: require at least one nodeid for MPOL_PREFERRED (Randy Dunlap)
- serial: 8250: Support disabling mdelay-filled probes of 16550A variants (Josh Triplett)
- alinux: kernel: Reduce tasklist_lock contention at fork and exit (Xunlei Pang)
- alinux: oom: add ratelimit printk to prevent softlockup (zhongjiang-ali)
- alinux: Limit the print message frequency when memcg oom triggers (zhongjiang-ali)
- alinux: mm: restrict the print message frequency further when memcg oom triggers (zhongjiang-ali)
- ext4: fix error pointer dereference (Jeffle Xu)
- alinux: sched: add schedule SLI support (Yihao Wu)
- mm/compaction: memory compaction optimaztion (Yang Shi)
- vt: vt_ioctl: fix race in VT_RESIZEX (Eric Dumazet)
- arm64: enable per-task stack canaries (Ard Biesheuvel)
- spi: spi-dw: Add lock protect dw_spi rx/tx to prevent concurrent calls (wuxu.wu)
- iommu/amd: Fix IOMMU AVIC not properly update the is_run bit in IRTE (Suravee Suthikulpanit)
- iommu/amd: Re-factor guest virtual APIC (de-)activation code (Suthikulpanit, Suravee)
- iommu/amd: Lock code paths traversing protection_domain->dev_list (Joerg Roedel)
- iommu/amd: Lock dev_data in attach/detach code paths (Joerg Roedel)
- iommu/amd: Check for busy devices earlier in attach_device() (tianyi)
- iommu/amd: Take domain->lock for complete attach/detach path (Joerg Roedel)
- iommu/amd: Remove amd_iommu_devtable_lock (Joerg Roedel)
- iommu/amd: Remove domain->updated (Joerg Roedel)
- ACPI: PPTT: Consistently use unsigned int as parameter type (Tian Tao)
- ACPI/PPTT: Add function to return ACPI 6.3 Identical tokens (Jeremy Linton)
- ACPI/PPTT: Modify node flag detection to find last IDENTICAL (Jeremy Linton)
- ACPI: Fix comment typos (Bjorn Helgaas)
- ACPI: tables: Simplify PPTT leaf node detection (Jeremy Linton)
- ACPI/PPTT: Add acpi_pptt_warn_missing() to consolidate logs (John Garry)
- drm/amdgpu: add VM eviction lock v3 (Christian König)
- drm/amdgpu: move VM eviction decision into amdgpu_vm.c (Christian König)
- drm/amdgpu: stop evicting busy PDs/PTs (Christian König)
- sysctl: handle overflow in proc_get_long (Christian Brauner)
- SUNRPC/cache: Fix unsafe traverse caused double-free in cache_purge (Yihao Wu)
- sched: Avoid scale real weight down to zero (Michael Wang)
- sched/fair: Fix race between runtime distribution and assignment (Huaixin Chang)
- alinux: cgroup: Fix task_css_check rcu warnings (Xunlei Pang)
- alinux: config: disable CONFIG_NFS_V3_ACL and CONFIG_NFSD_V3_ACL (Chunmei Xu)
- alinux: kernel: reap zombie process by specified pid (zhongjiang-ali)
- alinux: Fix an potential null pointer reference in dump_header (zhongjiang-ali)
- mm: do not allow MADV_PAGEOUT for CoW pages (Michal Hocko)
- alinux: mm: Pin code section of process in memory (Xunlei Pang)
- alinux: kidled: make kidled_inc_page_age return latest page age (Xu Yu)
- mm, vmstat: reduce zone->lock holding time by /proc/pagetypeinfo (Michal Hocko)
- alinux: mm, memcg: optimize division operation with memsli counters (Xu Yu)
- alinux: mm, memcg: rework memsli interfaces (Xu Yu)
- alinux: mm, memcg: add memory SLI support (Xu Yu)
- alinux: Revert "net: get rid of an signed integer overflow in ip_idents_reserve()" (xuanzhuo)
- virtio-pci: check name when counting MSI-X vectors (Daniel Verkamp)
- virtio-balloon: initialize all vq callbacks (Daniel Verkamp)
- mm/page_reporting: add free page reporting support (Yang Shi)
- mm/page_alloc.c: fix regression with deferred struct page init (Juergen Gross)
- ima: add sm3 algorithm to hash algorithm configuration list (Tianjia Zhang)
- crypto: rename sm3-256 to sm3 in hash_algo_name (Tianjia Zhang)
- vt: vt_ioctl: fix VT_DISALLOCATE freeing in-use virtual console (Eric Biggers)
- vt: vt_ioctl: fix use-after-free in vt_in_use() (Eric Biggers)
- vt: ioctl, switch VT_IS_IN_USE and VT_BUSY to inlines (Jiri Slaby)
- vt: selection, introduce vc_is_sel (Jiri Slaby)
- io_uring: use current task creds instead of allocating a new one (Jens Axboe)
- io_uring: only return -EBUSY for submit on non-flushed backlog (Jens Axboe)
- alinux: pci/iohub-sriov: fix iohub-sriov VF probe issue (shanghui.lsh)
- cpuidle: header file stubs must be "static inline" (Stephen Rothwell)
- alinux: mm, memcg: optimize division operation with memcg counters (Xu Yu)
- kvm: vmx: fix coccinelle warnings (Yi Wang)
- alinux: blk-mq: fix broken io_ticks & time_in_queue update (Xiaoguang Wang)
- bump to kernel 4.19.91
- configs: enable overlay redirect dir and inode index by default
- configs: Build support for Alibaba PCIe IOHub SRIOV
- configs: enable CONFIG_FTRACE_SYSCALLS on x86_64 kernel
- configs: Enable arm64 hookers support
- configs: enable CONFIG_LIVEPATCH for aarch64
- configs: enable NVME block device support
- configs: configs: enable intel idle driver
- configs: enable guest halt polling support
- configs: enable X86 PM timer support
- configs: enable io wq for iouring
- configs: add CGROUP_BPF support on X86
- configs: add vmware support
- configs: enable SOFT_WATCHDOG
- configs: enable Hygon support
- configs: enable iocost for aarch64
- configs: enable CONFIG_BLK_DEBUG_FS by default
- configs: add aarch64 config base
- configs: enable deferred page init
- configs: always enable thp by default
- configs: enable iouring support
- vfs: fix do_last() regression (Al Viro)
- io-wq: wait for io_wq_create() to setup necessary workers (Jens Axboe)
- io_uring: async workers should inherit the user creds (Jens Axboe)
- io-wq: have io_wq_create() take a 'data' argument (Jens Axboe)
- io_wq: add get/put_work handlers to io_wq_create() (Jens Axboe)
- dccp: Fix memleak in __feat_register_sp (YueHaibing)
- scsi: libsas: stop discovering if oob mode is disconnected (Jason Yan)
- drm/i915/gen9: Clear residual context state on context switch (Akeem G Abodunrin)
- RDMA: Fix goto target to release the allocated memory (Navid Emamdoost)
- ipmi: Fix memory leak in __ipmi_bmc_register (Navid Emamdoost)
- vt: selection, close sel_buffer race (Jiri Slaby)
- vgacon: Fix a UAF in vgacon_invert_region (Zhang Xiaoxu)
- do_last(): fetch directory ->i_mode and ->i_uid before it's too late (Al Viro)
- x86/kvm: Be careful not to clear KVM_VCPU_FLUSH_TLB bit (Boris Ostrovsky)
- KVM: nVMX: Check IO instruction VM-exit conditions (Oliver Upton)
- KVM: nVMX: Refactor IO bitmap checks into helper function (Oliver Upton)
- KVM: nVMX: Don't emulate instructions in guest mode (Paolo Bonzini)
- mm: fix tick timer stall during deferred page init (Shile Zhang)
- alinux: mm, memcg: export workingset counters on memcg v1 (Xu Yu)
- bpf/sockmap: Read psock ingress_msg before sk_receive_queue (Lingpeng Chen)
- alinux: pci/iohub-sriov: Support for Alibaba PCIe IOHub SRIOV (liushanghui)
- alinux: mm, memcg: abort priority oom if with oom victim (Xu Yu)
- alinux: mm, memcg: account number of processes in the css (Xu Yu)
- mm: memcontrol: use CSS_TASK_ITER_PROCS at mem_cgroup_scan_tasks() (Tetsuo Handa)
- alinux: mm, memcg: fix soft lockup in priority oom (Xu Yu)
- io_uring: io_uring_enter(2) don't poll while SETUP_IOPOLL|SETUP_SQPOLL enabled (Xiaoguang Wang)
- md: make sure desc_nr less than MD_SB_DISKS (Yufen Yu)
- md: avoid invalid memory access for array sb->dev_roles (Yufen Yu)
- md: no longer compare spare disk superblock events in super_load (Yufen Yu)
- md: return -ENODEV if rdev has no mddev assigned (Pawel Baldysiak)
- md/raid10: Fix raid10 replace hang when new added disk faulty (Alex Wu)
- alinux: mm, memcg: record latency of memcg wmark reclaim (Xu Yu)
- cpuidle: governor: Add new governors to cpuidle_governors again (Rafael J. Wysocki)
- kvm: x86: add host poll control msrs (Marcelo Tosatti)
- KVM: arm64: Opportunistically turn off WFI trapping when using direct LPI injection (Marc Zyngier)
- KVM: vgic-v4: Track the number of VLPIs per vcpu (Marc Zyngier)
- KVM: arm64: vgic-v4: Move the GICv4 residency flow to be driven by vcpu_load/put (Marc Zyngier)
- EDAC, skx: Retrieve and print retry_rd_err_log registers (Tony Luck)
- tools headers uapi: Sync asm-generic/mman-common.h with the kernel (Arnaldo Carvalho de Melo)
- mm: fix trying to reclaim unevictable lru page when calling madvise_pageout (zhong jiang)
- mm: factor out common parts between MADV_COLD and MADV_PAGEOUT (Minchan Kim)
- mm: introduce MADV_PAGEOUT (Minchan Kim)
- mm: introduce MADV_COLD (Minchan Kim)
- mm: change PAGEREF_RECLAIM_CLEAN with PAGE_REFRECLAIM (Minchan Kim)
- tools build: Check if gettid() is available before providing helper (Arnaldo Carvalho de Melo)
- alinux: mm: add proc interface to control context readahead (Xiaoguang Wang)
- alinux: hookers: add arm64 dependency (Zou Cao)
- alinux: Hookers: add arm64 support (Zou Cao)
- alinux: arm64: use __kernel_text_address to replace kthread_return_to_user (Zou Cao)
- arm64: reliable stacktraces (Torsten Duwe)
- alinux: arm64: add livepatch support (Zou Cao)
- efi: Make efi_rts_work accessible to efi page fault handler (Sai Praneeth)
- netfilter: conntrack: udp: set stream timeout to 2 minutes (Florian Westphal)
- netfilter: conntrack: udp: only extend timeout to stream mode after 2s (Florian Westphal)
- iomap: Allow forcing of waiting for running DIO in iomap_dio_rw() (Jan Kara)
- io_uring: fix poll_list race for SETUP_IOPOLL|SETUP_SQPOLL (Xiaoguang Wang)
- cpuidle: Support guest halt polling (Yihao Wu)
- alinux: doc: use unified official project name Cloud Kernel (Caspar Zhang)
- alinux: mm: oom_kill: show killed task's cgroup info in global oom (Wenwei Tao)
- alinux: mm: memcontrol: enable oom.group on cgroup-v1 (Wenwei Tao)
- alinux: doc: alibaba: Add priority oom descriptions (Wenwei Tao)
- alinux: mm: memcontrol: introduce memcg priority oom (Wenwei Tao)
- alinux: kernel: cgroup: account number of tasks in the css and its descendants (Wenwei Tao)
- alinux: doc: Add Documentation/alibaba/interfaces.rst (Xunlei Pang)
- alinux: memcg: Account throttled time due to memory.wmark_min_adj (Xunlei Pang)
- alinux: memcg: Introduce memory.wmark_min_adj (Xunlei Pang)
- alinux: memcg: Provide users the ability to reap zombie memcgs (Xunlei Pang)
- alinux: blk-throttle: fix logic error about BIO_THROTL_STATED in throtl_bio_end_io() (Xiaoguang Wang)
- io_uring: add io_uring support (Joseph Qi)
- ext4: start to support iopoll method (Xiaoguang Wang)
- ext4: Move to shared i_rwsem even without dioread_nolock mount opt (Ritesh Harjani)
- ext4: Start with shared i_rwsem in case of DIO instead of exclusive (Ritesh Harjani)
- ext4: fix ext4_dax_read/write inode locking sequence for IOCB_NOWAIT (Ritesh Harjani)
- ext4: introduce direct I/O write using iomap infrastructure (Matthew Bobrowski)
- iomap: move the iomap_dio_rw ->end_io callback into a structure (Christoph Hellwig)
- ext4: update ext4_sync_file() to not use __generic_file_fsync() (Matthew Bobrowski)
- ext4: move inode extension check out from ext4_iomap_alloc() (Matthew Bobrowski)
- ext4: move inode extension/truncate code out from ->iomap_end() callback (Matthew Bobrowski)
- ext4: introduce direct I/O read using iomap infrastructure (Matthew Bobrowski)
- ext4: introduce new callback for IOMAP_REPORT (Matthew Bobrowski)
- iomap: use a srcmap for a read-modify-write I/O (Goldwyn Rodrigues)
- ext4: split IOMAP_WRITE branch in ext4_iomap_begin() into helper (Matthew Bobrowski)
- ext4: move set iomap routines into a separate helper ext4_set_iomap() (Matthew Bobrowski)
- ext4: iomap that extends beyond EOF should be marked dirty (Matthew Bobrowski)
- ext4: update direct I/O read lock pattern for IOCB_NOWAIT (Matthew Bobrowski)
- ext4: reorder map.m_flags checks within ext4_iomap_begin() (Matthew Bobrowski)
- x86/amd_nb: Make hygon_nb_misc_ids static (Pu Wen)
- io-wq: add support for bounded vs unbunded work (Jens Axboe)
- io-wq: io_wqe_run_queue() doesn't need to use list_empty_careful() (Jens Axboe)
- io-wq: use proper nesting IRQ disabling spinlocks for cancel (Jens Axboe)
- io-wq: use kfree_rcu() to simplify the code (YueHaibing)
- net: add __sys_accept4_file() helper (Jens Axboe)
- sched/core, workqueues: Distangle worker accounting from rq lock (Thomas Gleixner)
- sched: Remove stale PF_MUTEX_TESTER bit (Thomas Gleixner)
- alinux: jbd2: fix build errors (Xiaoguang Wang)
- ixgbe: Fix calculation of queue with VFs and flow director on interface flap (Cambda Zhu)
- tcp: do not leave dangling pointers in tp->highest_sack (Eric Dumazet)
- include/linux/notifier.h: SRCU: fix ctags (Sam Protsenko)
- alinux: mm: remove unused variable (Joseph Qi)
- mm: thp: don't need care deferred split queue in memcg charge move path (Wei Yang)
- signal: simplify set_user_sigmask/restore_user_sigmask (Oleg Nesterov)
- block: never take page references for ITER_BVEC (Christoph Hellwig)
- signal: remove the wrong signal_pending() check in restore_user_sigmask() (Oleg Nesterov)
- uio: make import_iovec()/compat_import_iovec() return bytes on success (Jens Axboe)
- blk-mq: fix NULL pointer deference in case no poll implementation (Joseph Qi)
- req->error only used for iopoll (Stefan Bühler)
- fs: add sync_file_range() helper (Jens Axboe)
- alinux: jbd2: fix build warnings (Joseph Qi)
- drm/amdgpu/gmc: fix compiler errors [-Werror,-Wmissing-braces] (V2) (Shirish S)
- add perf smmu-v3 support and fixed duplicate function (Zou Cao)
- iommu/dma: Use NUMA aware memory allocations in __iommu_dma_alloc_pages() (Ganapatrao Kulkarni)
- mm/hotplug: make remove_memory() interface usable (Pavel Tatashin)
- mm/memory_hotplug: make remove_memory() take the device_hotplug_lock (David Hildenbrand)
- alinux: mm: kidled: fix frame-larger-than build warning (Xu Yu)
- mm: initialize MAX_ORDER_NR_PAGES at a time instead of doing larger sections (Alexander Duyck)
- mm: implement new zone specific memblock iterator (Alexander Duyck)
- mm: drop meminit_pfn_in_nid as it is redundant (Alexander Duyck)
- mm: use mm_zero_struct_page from SPARC on all 64b architectures (Alexander Duyck)
- nvme-mpath: remove I/O polling support (Christoph Hellwig)
- amd-gpu: Don't undefine READ and WRITE (David Howells)
- blk-mq: grab .q_usage_counter when queuing request from plug code path (Ming Lei)
- block/bfq: fix ifdef for CONFIG_BFQ_GROUP_IOSCHED=y (Konstantin Khlebnikov)
- block: remove bogus check for queue_lock assignment (Jens Axboe)
- block: don't use bio->bi_vcnt to figure out segment number (Ming Lei)
- scsi: core: Run queue when state is set to running after being blocked (zhengbin)
- block: fix NULL pointer dereference in register_disk (zhengbin)
- blk-mq: Add a NULL check in blk_mq_free_map_and_requests() (Dan Carpenter)
- blk-mq: place trace_block_getrq() in correct place (Xiaoguang Wang)
- blk-mq: protect debugfs_create_files() from failures (Greg Kroah-Hartman)
- blk-mq: not embed .mq_kobj and ctx->kobj into queue instance (Ming Lei)
- blk-mq: fallback to previous nr_hw_queues when updating fails (Jianchao Wang)
- blk-mq: realloc hctx when hw queue is mapped to another node (Jianchao Wang)
- blk-mq: adjust debugfs and sysfs register when updating nr_hw_queues (Jianchao Wang)
- mm/memblock.c: skip kmemleak for kasan_init() (Qian Cai)
- alinux: jbd2: track slow handle which is preventing transaction committing (Xiaoguang Wang)
- alinux: fs: record page or bio info while process is waitting on it (Xiaoguang Wang)
- alinux: blk: add iohang check function (Xiaoguang Wang)
- alinux: mm: thp: remove deferred split queue from mem_cgroup (Caspar Zhang)
- tpm: tpm_tis_spi: Introduce a flow control callback (Stephen Boyd)
- tcp: Add snd_wnd to TCP_INFO (Thomas Higdon)
- tcp: Add TCP_INFO counter for packets received out-of-order (Thomas Higdon)
- alinux: mm,memcg: export memory.{min,low} to cgroup v1 (Xu Yu)
- alinux: mm,memcg: export memory.{events,events.local} to v1 (Xu Yu)
- mm: don't raise MEMCG_OOM event due to failed high-order allocation (Roman Gushchin)
- mm, memcg: introduce memory.events.local (Shakeel Butt)
- mm, memcg: consider subtrees in memory.events (Chris Down)
- alinux: mm,memcg: export memory.high to v1 (Xu Yu)
- arm64: mm: implement pte_devmap support (Shannon Zhao)
- add the support of patchable-function-entry for hotfix kpatch with gcc 9.2 (Zou Cao)
- KVM: arm64: Add support 1G hugepages at stage 2 (Shannon Zhao)
- spi: spi: add GPIO chipselect support (Baoyou Xie)
- HYGON: Add support for Hygon Dhyana Family 18h processor (Pu Wen)
- iio: adc: ti-ads7950: use SPI_CS_WORD to reduce CPU usage (David Lechner)
- spi: spi-davinci: Add support for SPI_CS_WORD (David Lechner)
- spi: add software implementation for SPI_CS_WORD (David Lechner)
- spi: add new SPI_CS_WORD flag (David Lechner)
- spi: davinci: Remove chip select GPIO pdata (Linus Walleij)
- block: fix 32 bit overflow in __blkdev_issue_discard() (Dave Chinner)
- block: cleanup __blkdev_issue_discard() (Ming Lei)
- iov_iter: fix iov_iter_type (Ming Lei)
- tools headers: Update x86's syscall_64.tbl and uapi/asm-generic/unistd (Arnaldo Carvalho de Melo)
- block: add BIO_NO_PAGE_REF flag (Jens Axboe)
- iov_iter: add ITER_BVEC_FLAG_NO_REF flag (Jens Axboe)
- net: split out functions related to registering inflight socket files (Jens Axboe)
- block: implement bio helper to add iter bvec pages to bio (Jens Axboe)
- fs: add fget_many() and fput_many() (Jens Axboe)
- xfs: Fix stale data exposure when readahead races with hole punch (Jan Kara)
- fs: Export generic_fadvise() (Jan Kara)
- xfs: fix missed wakeup on l_flush_wait (Rik van Riel)
- fs: xfs: xfs_log: Don't use KM_MAYFAIL at xfs_log_reserve(). (Tetsuo Handa)
- xfs: fix off-by-one error in rtbitmap cross-reference (Darrick J. Wong)
- xfs: unlock inode when xfs_ioctl_setattr_get_trans can't get transaction (Darrick J. Wong)
- xfs: fix backwards endian conversion in scrub (Darrick J. Wong)
- xfs: libxfs: move xfs_perag_put late (Pan Bian)
- xfs: finobt AG reserves don't consider last AG can be a runt (Dave Chinner)
- exportfs: fix 'passing zero to ERR_PTR()' warning (YueHaibing)
- NFS: change sign of nfs_fh length (Frank Sorenson)
- nfs: fix xfstest generic/099 failed on nfsv3 (ZhangXiaoxu)
- fs/sync.c: sync_file_range(2) may use WB_SYNC_ALL writeback (Amir Goldstein)
- sysfs: convert BUG_ON to WARN_ON (Greg Kroah-Hartman)
- ext4: fix integer overflow when calculating commit interval (zhangyi (F))
- ext4: cond_resched in work-heavy group loops (Khazhismel Kumykov)
- jbd2: discard dirty data when forgetting an un-journalled buffer (zhangyi (F))
- ext4: replace opencoded i_writecount usage with inode_is_open_for_write() (Nikolay Borisov)
- block: introduce mp_bvec_for_each_page() for iterating over page (Ming Lei)
- block: introduce bvec_nth_page() (Joseph Qi)
- iomap: wire up the iopoll method (Christoph Hellwig)
- block: add bio_set_polled() helper (Jens Axboe)
- block: wire up block device iopoll method (Christoph Hellwig)
- fs: add an iopoll method to struct file_operations (Christoph Hellwig)
- block: clear REQ_HIPRI if polling is not supported (Christoph Hellwig)
- signal: Add restore_user_sigmask() (Deepa Dinamani)
- signal: Add set_user_sigmask() (Deepa Dinamani)
- block: remove ->poll_fn (Christoph Hellwig)
- block: make blk_poll() take a parameter on whether to spin or not (Jens Axboe)
- blk-mq: when polling for IO, look for any completion (Jens Axboe)
- block: Introduce get_current_ioprio() (Damien Le Moal)
- block: have ->poll_fn() return number of entries polled (Jens Axboe)
- block: for async O_DIRECT, mark us as polling if asked to (Jens Axboe)
- block: add REQ_HIPRI and inherit it from IOCB_HIPRI (Jens Axboe)
- iov_iter: Separate type from direction and use accessor functions (David Howells)
- iov_iter: Use accessor function (David Howells)
- EDAC: skx_common: downgrade message importance on missing PCI device (Aristeu Rozanski)
- alinux: psi: using cpuacct_cgrp_id under CONFIG_CGROUP_CPUACCT (Joseph Qi)
- alinux: iocost: fix format mismatch build warning (Joseph Qi)
- alinux: mm: memcontrol: memcg_wmark_wq can be static (kbuild test robot)
- tcp: Fix highest_sack and highest_sack_seq (Cambda Zhu)
- iommu/amd: Check PM_LEVEL_SIZE() condition in locked section (Joerg Roedel)
- iommu/amd: Wait for completion of IOTLB flush in attach_device (Filippo Sironi)
- iommu/amd: fix a crash in iova_magazine_free_pfns (Qian Cai)
- iommu: remove the mapping_error dma_map_ops method (Christoph Hellwig)
- iommu: Fix IOMMU debugfs fallout (Geert Uytterhoeven)
- dma-mapping: provide a generic DMA_MAPPING_ERROR (Christoph Hellwig)
- EDAC/amd64: Adjust printed chip select sizes when interleaved (Yazen Ghannam)
- EDAC/amd64: Support more than two controllers for chip select handling (Yazen Ghannam)
- EDAC/amd64: Recognize x16 symbol size (Yazen Ghannam)
- EDAC/amd64: Set maximum channel layer size depending on family (Yazen Ghannam)
- EDAC/amd64: Support more than two Unified Memory Controllers (Yazen Ghannam)
- EDAC/amd64: Use a macro for iterating over Unified Memory Controllers (Yazen Ghannam)
- EDAC/amd64: Add Family 17h Model 30h PCI IDs (Yazen Ghannam)
- EDAC/mce_amd: Decode MCA_STATUS[Scrub] bit (Yazen Ghannam)
- x86/MCE/AMD, EDAC/mce_amd: Add new error descriptions for some SMCA bank types (Yazen Ghannam)
- x86/MCE/AMD, EDAC/mce_amd: Add new McaTypes for CS, PSP, and SMU units (Yazen Ghannam)
- x86/MCE/AMD, EDAC/mce_amd: Add new MP5, NBIO, and PCIE SMCA bank types (Yazen Ghannam)
- x86/amd_nb: Add PCI device IDs for family 17h, model 30h (Woods, Brian)
- x86/amd_nb: Add support for newer PCI topologies (Woods, Brian)
- configs: change to CONFIG_HW_RANDOM_AMD=m
- configs: enable CONFIG_FTRACE_SYSCALLS
- configs: add AMD config
- configs: add Intel config
- configs: enable CONFIG_BLK_CGROUP_IOCOST
- sched/fair: use static load in wake_affine_weight (Huaixin Chang)
- modsign: use all trusted keys to verify module signature (Ke Wu)
- tpm: Fix off-by-one when reading binary_bios_measurements (Jia Zhang)
- tpm: Simplify the measurements loop (Jia Zhang)
- alinux: hotfix: Add Cloud Kernel hotfix enhancement (Xunlei Pang)
- scripts/sorttable: Implement build-time ORC unwind table sorting (Shile Zhang)
- alinux: introduce psi_v1 boot parameter (Joseph Qi)
- alinux: psi: Support PSI under cgroup v1 (Xunlei Pang)
- perf/x86: Make perf callchains work without CONFIG_FRAME_POINTER (Kairui Song)
- x86/cpufeatures: Add WBNOINVD feature definition (Janakarajan Natarajan)
- ACPI / APEI: Fix parsing HEST that includes Deferred Machine Check subtable (Yazen Ghannam)
- ACPI / processor: Set P_LVL{2,3} idle state descriptions (Yazen Ghannam)
- perf vendor events amd: perf PMU events for AMD Family 17h (Martin Liška)
- KVM: SVM: Workaround errata#1096 (insn_len maybe zero on SMAP violation) (Singh, Brijesh)
- svm/avic: Fix invalidate logical APIC id entry (Suthikulpanit, Suravee)
- svm: Fix improper check when deactivate AVIC (Suthikulpanit, Suravee)
- svm: Fix AVIC DFR and LDR handling (Suthikulpanit, Suravee)
- svm: Add warning message for AVIC IPI invalid target (Suravee Suthikulpanit)
- KVM: nSVM: Fix nested guest support for PAUSE filtering. (Tambe, William)
- alinux: jbd2: fix build warning on i386 (Joseph Qi)
- alinux: jbd2/doc: fix new kernel-doc warning (Joseph Qi)
- alinux: mm/thp: remove unused variable 'pgdata' in split_huge_page_to_list() (Joseph Qi)
- mm: thp: make deferred split shrinker memcg aware (Yang Shi)
- alinux: mm: kidled support (Gavin Shan)
- alinux: mm: per-cgroup kswapd support (Yang Shi)
- ovl: implement async IO routines (Jiufei Xue)
- vfs: add vfs_iocb_iter_[read|write] helper functions (Jiufei Xue)
- alinux: mm, memcg: fix possible soft lockup in try_charge (Xu Yu)
- dm thin: wakeup worker only when deferred bios exist (Jeffle Xu)
- alinux: blk-throttle: limit bios to fix amount of pages entering writeback prematurely (Xiaoguang Wang)
- alinux: block-throttle: add counters for completed io (Jiufei Xue)
- alinux: block-throttle: code cleanup (Jiufei Xue)
- alinux: blk-throttle: add throttled io/bytes counter (Joseph Qi)
- alinux: blk-throttle: fix tg NULL pointer dereference (Joseph Qi)
- alinux: blk-throttle: support io delay stats (Joseph Qi)
- alinux: nvme-pci: Disable dicard zero-out functionality on Intel's P3600 NVMe disk drive (Wenwei Tao)
- alinux: memcg: Point wb to root memcg/blkcg when offlining to avoid zombie (Xunlei Pang)
- alinux: block: add counter to track io request's d2c time (Xiaoguang Wang)
- alinux: fuse: add sysfs api to flush processing queue requests (Ma Jie Yue)
- alinux: jbd2: add proc entry to control whether doing buffer copy-out (Xiaoguang Wang)
- alinux: ext4: don't submit unwritten extent while holding active jbd2 handle (Xiaoguang Wang)
- alinux: fs,ext4: remove projid limit when create hard link (zhangliguang)
- alinux: jbd2: add new "stats" proc file (Xiaoguang Wang)
- alinux: jbd2: create jbd2-ckpt thread for journal checkpoint (Joseph Qi)
- mm, memcg: add missing memory stall section in mem_cgroup_handle_over_high (Caspar Zhang)
- mm: thp: handle page cache THP correctly in PageTransCompoundMap (Yang Shi)
- resource/docs: Complete kernel-doc style function documentation (Borislav Petkov)
- resource/docs: Fix new kernel-doc warnings (Randy Dunlap)
- acpi/hmat: fix an uninitialized memory_target (Qian Cai)
- tools x86 uapi asm: Sync the pt_regs.h copy with the kernel sources (Arnaldo Carvalho de Melo)
- device-dax: fix memory and resource leak if hotplug fails (Pavel Tatashin)
- device-dax: Add a 'resource' attribute (Vishal Verma)
- drivers/dax: Allow to include DEV_DAX_PMEM as builtin (Aneesh Kumar K.V)
- device-dax: "Hotplug" persistent memory for use like normal RAM (Dave Hansen)
- mm/resource: Let walk_system_ram_range() search child resources (Dave Hansen)
- mm/memory-hotplug: Allow memory resources to be children (Dave Hansen)
- mm/resource: Move HMM pr_debug() deeper into resource code (Dave Hansen)
- mm/resource: Return real error codes from walk failures (Dave Hansen)
- kernel, resource: check for IORESOURCE_SYSRAM in release_mem_region_adjustable (Oscar Salvador)
- resource: Clean it up a bit (Borislav Petkov)
- device-dax: add presistent memory support
- ICX: Intel IceLake support
- mm, memcg: throttle allocators when failing reclaim over memory.high (Chris Down)
- mm/zsmalloc.c: fix a -Wunused-function warning (Qian Cai)
- x86/mm: Split vmalloc_sync_all() (Joerg Roedel)
- zswap: do not map same object twice (Vitaly Wool)
- lib/lz4: update LZ4 decompressor module (Gao Xiang)
- zram: fix race between backing_dev_show and backing_dev_store (Chenwandun)
- iomap: fix page_done callback for short writes (Andreas Gruenbacher)
- block: fix .bi_size overflow (Ming Lei)
- iomap: Fix use-after-free error in page_done callback (Andreas Gruenbacher)
- fs: Turn __generic_write_end into a void function (Andreas Gruenbacher)
- mm/swap_state.c: simplify total_swapcache_pages() with get_swap_device() (Huang Ying)
- mm, swap: fix race between swapoff and some swap operations (Huang Ying)
- mm: swap: check if swap backing device is congested or not (Yang Shi)
- vmscan: return NODE_RECLAIM_NOSCAN in node_reclaim() when CONFIG_NUMA is n (Wei Yang)
- jbd2: fix deadlock while checkpoint thread waits commit thread to finish (Xiaoguang Wang)
- iocost: add iocost support
- virtio_ring: Support using kernel booting paramter when compiled as module (Shannon Zhao)
- sched/fair: Fix -Wunused-but-set-variable warnings (Qian Cai)
- sched/fair: Fix low cpu usage with high throttling by removing expiration of cpu-local slices (Dave Chiluk)
- sched/fair: Don't push cfs_bandwith slack timers forward (bsegall@google.com)
- configs: compile mouse/cirrus driver as modules for qboot optimization
- configs: enable torture test for kernel-debug
- x86/mm/cpa: Improve large page preservation handling
- ovl: fix regression caused by overlapping layers detection (Amir Goldstein)
- CPX: support Intel Cooper Lake arch
- ARM64: arm64 arch enhancement
- sched/psi: Correct overly pessimistic size calculation (Miles Chen)
- sched/psi: Do not require setsched permission from the trigger creator (Suren Baghdasaryan)
- sched/psi: Reduce psimon FIFO priority (Peter Zijlstra)
- blk-cgroup: turn on psi memstall stuff (Josef Bacik)
- KVM: coalesced_mmio: add bounds checking (Matt Delco)
- sched/fair: Don't assign runtime for throttled cfs_rq (Liangyan)
- zswap: use movable memory if zpool support allocate movable memory (Hui Zhu)
- zpool: add malloc_support_movable to zpool_driver (Hui Zhu)
- net/rds: Fix info leak in rds6_inc_info_copy() (Ka-Cheong Poon)
- ip_sockglue: Fix missing-check bug in ip_ra_control() (Gen Zhang)
- efi/x86/Add missing error handling to old_memmap 1:1 mapping code (Gen Zhang)
- ipv6_sockglue: Fix a missing-check bug in ip6_ra_control() (Gen Zhang)
- scsi: mpt3sas_ctl: fix double-fetch bug in _ctl_ioctl_main() (Gen Zhang)
- clk-sunxi: fix a missing-check bug in sunxi_divs_clk_setup() (Gen Zhang)
- powerpc/pseries/dlpar: Fix a missing check in dlpar_parse_cc_property() (Gen Zhang)
- e1000e: increase pause and refresh time (Miguel Bernal Marin)
- reduce e1000e boot time by tightening sleep ranges (Arjan van de Ven)
- vhost: make sure log_num < in_num (yongduan)
- psi: get poll_work to run when calling poll syscall next time (Jason Xing)
- configs: set virtio vsockets to be modules
- configs: set cubic as default TCP congestion control
- configs: add BRIDGE_VLAN_FILTERING support for cni
- configs: add VFIO_NOIOMMU supports for dpdk
- configs: remove seccon flavor
- configs: enable BFQ hierarchical scheduling support
- configs: supplement IMA configs
- configs: add CONFIG_FUNCTION_PROFILER=y
- configs: add extra IMA features
- configs: add common IMA support
- configs: add tpm 1.2/2.0 interface support
- Documentation: Add swapgs description to the Spectre v1 documentation (Josh Poimboeuf)
- x86/speculation/swapgs: Exclude ATOMs from speculation through SWAPGS (Thomas Gleixner)
- x86/entry/64: Use JMP instead of JMPQ (Josh Poimboeuf)
- x86/speculation: Enable Spectre v1 swapgs mitigations (Josh Poimboeuf)
- x86/speculation: Prepare entry code for Spectre v1 swapgs mitigations (Josh Poimboeuf)
- x86/cpufeatures: Combine word 11 and 12 into a new scattered features word (Fenghua Yu)
- x86/cpufeatures: Carve out CQM features retrieval (Borislav Petkov)
- ext4: fix bigalloc cluster freeing when hole punching under load (Eric Whitney)
- ext4: fix build error when DX_DEBUG is defined (Gabriel Krisman Bertazi)
- mm/page-writeback.c: fix range_cyclic writeback vs writepages deadlock (Dave Chinner)
- block: fix single range discard merge (Ming Lei)
- NFSv4.x: fix lock recovery during delegation recall (Olga Kornievskaia)
- block: fix the DISCARD request merge (Jianchao Wang)
- dm raid: fix false -EBUSY when handling check/repair message (Heinz Mauelshagen)
- xfs: fix use-after-free race in xfs_buf_rele (Dave Chinner)
- x86: uaccess: Inhibit speculation past access_ok() in user_access_begin() (Will Deacon)
- make 'user_access_begin()' do 'access_ok()' (Linus Torvalds)
- i915: fix missing user_access_end() in page fault exception case (Linus Torvalds)
- drm/i915: Force the slow path after a user-write error (Chris Wilson)
- userfaultfd: allow get_mempolicy(MPOL_F_NODE|MPOL_F_ADDR) to trigger userfaults (Andrea Arcangeli)
- random: speed up the initialization of module (Xingjun Liu)
- random: introduce the initialization seed (Xingjun Liu)
- cpufreq/intel_pstate: Load only on Intel hardware (Shanpei Chen)
- cpufreq: intel_pstate: Add reasons for failure and debug messages (Shanpei Chen)
- cpufreq: intel_pstate: Force HWP min perf before offline (Shanpei Chen)
- ptrace: Fix ->ptracer_cred handling for PTRACE_TRACEME (Jann Horn)
- dm: add missing trace_block_split() to __split_and_process_bio() (Mike Snitzer)
- dm: fix dm_wq_work() to only use __split_and_process_bio() if appropriate (Mike Snitzer)
- dm: avoid indirect call in __dm_make_request (Mikulas Patocka)
- dm: fix redundant IO accounting for bios that need splitting (Mike Snitzer)
- dm: fix clone_bio() to trigger blk_recount_segments() (Mike Snitzer)
- NFS: Fix dentry revalidation on NFSv4 lookup (Trond Myklebust)
- ext4: unlock unused_pages timely when doing writeback (Xiaoguang Wang)
- x86/kvmclock: set offset for kvm unstable clock (Pavel Tatashin)
- xfs: serialize unaligned dio writes against all other dio writes (Brian Foster)
- configs: support null block device and scsi debug
- configs: support psi tracking
- SUNRPC: Clean up initialisation of the struct rpc_rqst (Trond Myklebust)
- xfs: serialize unaligned dio writes against all other dio writes (Brian Foster)
- sched: disable auto group by default (Shanpei Chen)
- kernel/sched/psi.c: expose pressure metrics on root cgroup (Dan Schatzberg)
- psi: introduce psi monitor (Suren Baghdasaryan)
- kernel: cgroup: add poll file operation (Johannes Weiner)
- fs: kernfs: add poll file operation (Johannes Weiner)
- include/: refactor headers to allow kthread.h inclusion in psi_types.h (Suren Baghdasaryan)
- psi: track changed states (Suren Baghdasaryan)
- psi: split update_stats into parts (Suren Baghdasaryan)
- psi: rename psi fields in preparation for psi trigger addition (Suren Baghdasaryan)
- psi: make psi_enable static (Suren Baghdasaryan)
- psi: introduce state_mask to represent stalled psi states (Suren Baghdasaryan)
- psi: clarify the units used in pressure files (Waiman Long)
- psi: avoid divide-by-zero crash inside virtual machines (Johannes Weiner)
- psi: clarify the Kconfig text for the default-disable option (Johannes Weiner)
- psi: fix aggregation idle shut-off (Johannes Weiner)
- psi: fix reference to kernel commandline enable (Baruch Siach)
- psi: make disabling/enabling easier for vendor kernels (Johannes Weiner)
- kernel/sched/psi.c: simplify cgroup_move_task() (Olof Johansson)
- psi: cgroup support (Johannes Weiner)
- psi: pressure stall information for CPU, memory, and IO (Johannes Weiner)
- sched: introduce this_rq_lock_irq() (Johannes Weiner)
- sched: sched.h: make rq locking and clock functions available in stats.h (Johannes Weiner)
- sched: loadavg: make calc_load_n() public (Johannes Weiner)
- sched: loadavg: consolidate LOAD_INT, LOAD_FRAC, CALC_LOAD (Johannes Weiner)
- delayacct: track delays from thrashing cache pages (Johannes Weiner)
- mm: workingset: tell cache transitions from workingset thrashing (Johannes Weiner)
- mm: workingset: don't drop refault information prematurely (Johannes Weiner)
- x86/kprobes: Set instruction page as executable (Nadav Amit)
- x86/ftrace: Set trampoline pages as executable (Nadav Amit)
- x86/ftrace: Do not call function graph from dynamic trampolines (Steven Rostedt (VMware))
- tcp: enforce tcp_min_snd_mss in tcp_mtu_probing() (Eric Dumazet){CVE-2019-11479}
- tcp: add tcp_min_snd_mss sysctl (Eric Dumazet)
- tcp: tcp_fragment() should apply sane memory limits (Eric Dumazet)
- tcp: limit payload size of sacked skbs (Eric Dumazet)
- configs: enable INET_DIAG
- configs: enable livepatch in debug kernel
- configs: enable and build-in CONFIG_VIRTIO_MMIO*
- splice: don't read more than available pipe space (Darrick J. Wong)
- xfs: don't overflow xattr listent buffer (Darrick J. Wong)
- ovl: relax WARN_ON() for overlapping layers use case (Amir Goldstein)
- net/tcp: Support tunable tcp timeout value in TIME-WAIT state (George Zhang)
- block: Fix a NULL pointer dereference in generic_make_request() (Guilherme G. Piccoli)
- ext4: fix data corruption caused by overlapping unaligned and aligned IO (Lukas Czerner)
- PCI: Fix "try" semantics of bus and slot reset (Alex Williamson)
- net/hookers: fix link error with ipv6 disabled (Caspar Zhang)
- NFSv4.1 fix incorrect return value in copy_file_range (Olga Kornievskaia)
- NFSv4.2 fix unnecessary retry in nfs4_copy_file_range (Olga Kornievskaia)
- writeback: memcg_blkcg_tree_lock can be static (kbuild test robot)
- net: fix array_size.cocci warnings (kbuild test robot)
- net/hookers: only enable on x86 platform (Caspar Zhang)
- ext4: zero out the unused memory region in the extent tree block (Sriram Rajagopalan)
- fs/writeback: wrap cgroup writeback v1 logic (Joseph Qi)
- NFSv4: remove unused variable flags in nfs4_retry_setlk() (Joseph Qi)
- configs: Add SELinux kernel support
- configs: Add audit kernel support
- configs: enable IP_MULTIPLE_TABLES for IPv4 and IPv6
- NFSv4.1: Fix bug only first CB_NOTIFY_LOCK is handled (Yihao Wu)
- NFSv4.1: Again fix a race where CB_NOTIFY_LOCK fails to wake a waiter (Yihao Wu)
- writeback: introduce cgwb_v1 boot param (Jiufei Xue)
- fs/writeback: Attach inode's wb to root if needed (luanshi)
- fs/writeback: use rcu_barrier() to wait for inflight wb switches going into workqueue when umount (Jiufei Xue)
- fs/writeback: fix double free of blkcg_css (Jiufei Xue)
- writeback: add debug info for memcg-blkcg link (Jiufei Xue)
- writeback: add memcg_blkcg_link tree (Jiufei Xue)
- ovl: check the capability before cred overridden (Jiufei Xue)
- vfio/type1: Limit DMA mappings per container (Alex Williamson)
- fbdev: fix WARNING in __alloc_pages_nodemask bug (Jiufei Xue)
- configs: enable CONFIG_RTC_HCTOSYS and CONFIG_RTC_HCTOSYS_DEVICE
- configs: enable CONFIG_DEVMEM
- fbdev: fix divide error in fb_var_to_videomode (Shile Zhang)
- tcp: fix a potential NULL pointer dereference in tcp_sk_exit (Dust Li)
- configs: enable NF_TABLES supports.
- configs: Add IFB driver support.
- bpf: do not restore dst_reg when cur_state is freed (Xu Yu)
- NFSv4.1 don't free interrupted slot on open (Olga Kornievskaia)
- netfilter: nf_nat_snmp_basic: add missing length checks in ASN.1 cbs (Jann Horn)
- exec: Fix mem leak in kernel_read_file (YueHaibing)
- sctp: use memdup_user instead of vmemdup_user (Xin Long)
- mm: enforce min addr even if capable() in expand_downwards() (Jann Horn)
- net: kernel hookers service for toa module (George Zhang)
- ext4: fix NULL pointer dereference while journal is aborted (Jiufei Xue)
- perf probe: Fix getting the kernel map (Adrian Hunter)
- nfsd: fix wrong check in write_v4_end_grace() (Yihao Wu)
- virtio_blk: add discard and write zeroes support (Changpeng Liu)
- add bpftool build
- net: crypto set sk to NULL when af_alg_release. (Mao Wenan)
- vhost/vsock: fix vhost vsock cid hashing inconsistent (Zha Bin)
- configs: enable module signing support
- configs: enable ext4 encryption and nf_conntrack_procfs support
- conifgs: enable IP_SCTP and NET_SCH_NETEM
- kconfig: Disable x86 clocksource watchdog (Jiufei Xue)
- Revert "x86/tsc: Prepare warp test for TSC adjustment" (Jiufei Xue)
- Revert "x86/tsc: Try to adjust TSC if sync test fails" (Jiufei Xue)
- block-throttle: enable hierarchical throttling even on traditional hierarchy (Joseph Qi)
- configs: enable block IO trace and hung task detection support
- eci: drivers/virtio: add vring_force_dma_api boot param (Eryu Guan)
- configs: enable livepatch support
- boot: give rdrand some credit (Arjan van de Ven)
- NO-UPSTREAM: 9P: always use cached inode to fill in v9fs_vfs_getattr (Julio Montes)
- NEMU: Compile in evged always (Arjan van de Ven)
- ext4: fix reserved cluster accounting at page invalidation time (Eric Whitney)
- ext4: adjust reserved cluster count when removing extents (Eric Whitney)
- ext4: reduce reserved cluster count by number of allocated clusters (Eric Whitney)
- ext4: fix reserved cluster accounting at delayed write time (Eric Whitney)
- ext4: add new pending reservation mechanism (Eric Whitney)
- ext4: generalize extents status tree search functions (Eric Whitney)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。