diff mbox series

[1/3] doc: Bump minimal supported kernel to 4.4

Message ID 20240419124221.207445-1-pvorel@suse.cz
State Accepted
Headers show
Series [1/3] doc: Bump minimal supported kernel to 4.4 | expand

Commit Message

Petr Vorel April 19, 2024, 12:42 p.m. UTC
and remove RHEL-7.9 Maipo from the list.

kernel 3.10 was supported by CentOS 7 build, which was removed in
360927080. AFAIK all distros which use 3.10 kernel (or kernel < 4.4)
by SUSE/RHEL/whatever distro are using older LTP (including RHEL-7.9
Maipoi). Thus we should not claim we are build testing 3.10.

4.4 is kept because is still used for old SLES 12-SP3 (4.4 based).

This update is safe for upstream stable releases (the oldest stable
kernel is 4.19).

Update also old docs to prevent users / search engines got confused.

Fixes: 360927080 ("doc/support: Update the oldest tested distros")
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
Hi all,

NOTE: if we ack this, we could remove various checks for 3.x kernels:

$ git grep 'kvercmp(3'
testcases/kernel/controllers/cgroup_xattr/cgroup_xattr.c:                       tkeys[i].good = tst_kvercmp(3, 15, 0) < 0;
testcases/kernel/controllers/cgroup_xattr/cgroup_xattr.c:               if (hier != 0 && tst_kvercmp(3, 15, 0) < 0)
testcases/kernel/syscalls/fallocate/fallocate04.c:      if (tst_kvercmp(3, 15, 0) < 0) {
testcases/kernel/syscalls/recv/recv01.c:                        if ((tst_kvercmp(3, 17, 0) < 0)
testcases/kernel/syscalls/recvfrom/recvfrom01.c:                        if ((tst_kvercmp(3, 17, 0) < 0)
testcases/kernel/syscalls/recvmsg/recvmsg01.c:  if ((tst_kvercmp(3, 17, 0) < 0)
testcases/kernel/syscalls/renameat2/renameat201.c:      if ((tst_kvercmp(3, 15, 0)) < 0) {
testcases/kernel/syscalls/renameat2/renameat202.c:      if ((tst_kvercmp(3, 15, 0)) < 0) {
testcases/kernel/syscalls/sched_getattr/sched_getattr01.c:      if ((tst_kvercmp(3, 14, 0)) < 0)
testcases/kernel/syscalls/sched_getattr/sched_getattr02.c:      if ((tst_kvercmp(3, 14, 0)) < 0)
testcases/kernel/syscalls/sched_setattr/sched_setattr01.c:      if ((tst_kvercmp(3, 14, 0)) < 0)
testcases/network/netstress/netstress.c:        if (busy_poll >= 0 && tst_kvercmp(3, 11, 0) < 0)

$ git grep TST_MIN_KVER=.3
testcases/kernel/controllers/cpuset/cpuset_regression_test.sh:TST_MIN_KVER="3.18"
testcases/network/busy_poll/busy_poll_lib.sh:TST_MIN_KVER="3.11"
testcases/network/tcp_cc/dctcp01.sh:TST_MIN_KVER="3.18"
testcases/network/tcp_fastopen/tcp_fastopen_run.sh:TST_MIN_KVER="3.7"

Kind regards,
Petr

 .../Supported-kernel,-libc,-toolchain-versions.asciidoc   | 2 +-
 doc/users/supported_systems.rst                           | 8 +-------
 2 files changed, 2 insertions(+), 8 deletions(-)

Comments

Li Wang April 20, 2024, 1:57 a.m. UTC | #1
On Fri, Apr 19, 2024 at 8:42 PM Petr Vorel <pvorel@suse.cz> wrote:

> and remove RHEL-7.9 Maipo from the list.
>
> kernel 3.10 was supported by CentOS 7 build, which was removed in
> 360927080. AFAIK all distros which use 3.10 kernel (or kernel < 4.4)
> by SUSE/RHEL/whatever distro are using older LTP (including RHEL-7.9
> Maipoi). Thus we should not claim we are build testing 3.10.
>
> 4.4 is kept because is still used for old SLES 12-SP3 (4.4 based).
>
> This update is safe for upstream stable releases (the oldest stable
> kernel is 4.19).
>
> Update also old docs to prevent users / search engines got confused.
>
> Fixes: 360927080 ("doc/support: Update the oldest tested distros")
> Signed-off-by: Petr Vorel <pvorel@suse.cz>
>

Reviewed-by: Li Wang <liwang@redhat.com>

---
> Hi all,
>
> NOTE: if we ack this, we could remove various checks for 3.x kernels:
>

+1


> $ git grep 'kvercmp(3'
> testcases/kernel/controllers/cgroup_xattr/cgroup_xattr.c:
>      tkeys[i].good = tst_kvercmp(3, 15, 0) < 0;
> testcases/kernel/controllers/cgroup_xattr/cgroup_xattr.c:               if
> (hier != 0 && tst_kvercmp(3, 15, 0) < 0)
> testcases/kernel/syscalls/fallocate/fallocate04.c:      if (tst_kvercmp(3,
> 15, 0) < 0) {
> testcases/kernel/syscalls/recv/recv01.c:                        if
> ((tst_kvercmp(3, 17, 0) < 0)
> testcases/kernel/syscalls/recvfrom/recvfrom01.c:                        if
> ((tst_kvercmp(3, 17, 0) < 0)
> testcases/kernel/syscalls/recvmsg/recvmsg01.c:  if ((tst_kvercmp(3, 17, 0)
> < 0)
> testcases/kernel/syscalls/renameat2/renameat201.c:      if
> ((tst_kvercmp(3, 15, 0)) < 0) {
> testcases/kernel/syscalls/renameat2/renameat202.c:      if
> ((tst_kvercmp(3, 15, 0)) < 0) {
> testcases/kernel/syscalls/sched_getattr/sched_getattr01.c:      if
> ((tst_kvercmp(3, 14, 0)) < 0)
> testcases/kernel/syscalls/sched_getattr/sched_getattr02.c:      if
> ((tst_kvercmp(3, 14, 0)) < 0)
> testcases/kernel/syscalls/sched_setattr/sched_setattr01.c:      if
> ((tst_kvercmp(3, 14, 0)) < 0)
> testcases/network/netstress/netstress.c:        if (busy_poll >= 0 &&
> tst_kvercmp(3, 11, 0) < 0)
>
> $ git grep TST_MIN_KVER=.3
>
> testcases/kernel/controllers/cpuset/cpuset_regression_test.sh:TST_MIN_KVER="3.18"
> testcases/network/busy_poll/busy_poll_lib.sh:TST_MIN_KVER="3.11"
> testcases/network/tcp_cc/dctcp01.sh:TST_MIN_KVER="3.18"
> testcases/network/tcp_fastopen/tcp_fastopen_run.sh:TST_MIN_KVER="3.7"
>
> Kind regards,
> Petr
>
>  .../Supported-kernel,-libc,-toolchain-versions.asciidoc   | 2 +-
>  doc/users/supported_systems.rst                           | 8 +-------
>  2 files changed, 2 insertions(+), 8 deletions(-)
>
> diff --git a/doc/old/Supported-kernel,-libc,-toolchain-versions.asciidoc
> b/doc/old/Supported-kernel,-libc,-toolchain-versions.asciidoc
> index 511b9e14b..252b7a4be 100644
> --- a/doc/old/Supported-kernel,-libc,-toolchain-versions.asciidoc
> +++ b/doc/old/Supported-kernel,-libc,-toolchain-versions.asciidoc
> @@ -54,7 +54,7 @@ distribution you may as well reconsider you life choices.
>  1.3 Minimal supported kernel version
>  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> -Minimal supported kernel version is 3.10.
> +Minimal supported kernel version is 4.4.
>
>  1.4 Supported libc
>  ~~~~~~~~~~~~~~~~~~
> diff --git a/doc/users/supported_systems.rst
> b/doc/users/supported_systems.rst
> index 6220a96e0..82774c2ef 100644
> --- a/doc/users/supported_systems.rst
> +++ b/doc/users/supported_systems.rst
> @@ -6,7 +6,7 @@ Supported systems
>  Kernel version
>  --------------
>
> -Minimal supported kernel version is **3.10**.
> +Minimal supported kernel version is **4.4**.
>
>  Oldest tested distributions
>  ---------------------------
> @@ -38,12 +38,6 @@ Oldest tested distributions
>        - 10.2.1
>        - 11.0.1
>
> -    * - RHEL-7.9 Maipo
> -      - 3.10
> -      - 4.8.5
> -      - 2.17
> -      - \-
> -
>  Older distributions are not officially supported, which means that it
>  may or may not work. It all depends on your luck. It should be possible
>  to compile latest LTP even on slightly older distributions than we
> --
> 2.43.0
>
>
Cyril Hrubis May 9, 2024, 9:55 a.m. UTC | #2
Hi!
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
diff mbox series

Patch

diff --git a/doc/old/Supported-kernel,-libc,-toolchain-versions.asciidoc b/doc/old/Supported-kernel,-libc,-toolchain-versions.asciidoc
index 511b9e14b..252b7a4be 100644
--- a/doc/old/Supported-kernel,-libc,-toolchain-versions.asciidoc
+++ b/doc/old/Supported-kernel,-libc,-toolchain-versions.asciidoc
@@ -54,7 +54,7 @@  distribution you may as well reconsider you life choices.
 1.3 Minimal supported kernel version
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
-Minimal supported kernel version is 3.10.
+Minimal supported kernel version is 4.4.
 
 1.4 Supported libc
 ~~~~~~~~~~~~~~~~~~
diff --git a/doc/users/supported_systems.rst b/doc/users/supported_systems.rst
index 6220a96e0..82774c2ef 100644
--- a/doc/users/supported_systems.rst
+++ b/doc/users/supported_systems.rst
@@ -6,7 +6,7 @@  Supported systems
 Kernel version
 --------------
 
-Minimal supported kernel version is **3.10**.
+Minimal supported kernel version is **4.4**.
 
 Oldest tested distributions
 ---------------------------
@@ -38,12 +38,6 @@  Oldest tested distributions
       - 10.2.1
       - 11.0.1
 
-    * - RHEL-7.9 Maipo
-      - 3.10
-      - 4.8.5
-      - 2.17
-      - \-
-
 Older distributions are not officially supported, which means that it
 may or may not work. It all depends on your luck. It should be possible
 to compile latest LTP even on slightly older distributions than we