From 6ab45e64cfa4fceac35cfb2f30ca0a0f42722d14 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sun, 31 Aug 2025 18:15:45 +0200 Subject: Kernel: T5887: update Linux Kernel to v6.6.103 --- .../0001-linkstate-ip-device-attribute.patch | 8 +-- .../kernel/0003-build-linux-perf-package.patch | 62 ++++++++++++++++++++++ .../patches/kernel/build-linux-perf-package.patch | 62 ---------------------- 3 files changed, 66 insertions(+), 66 deletions(-) create mode 100644 scripts/package-build/linux-kernel/patches/kernel/0003-build-linux-perf-package.patch delete mode 100644 scripts/package-build/linux-kernel/patches/kernel/build-linux-perf-package.patch (limited to 'scripts/package-build') diff --git a/scripts/package-build/linux-kernel/patches/kernel/0001-linkstate-ip-device-attribute.patch b/scripts/package-build/linux-kernel/patches/kernel/0001-linkstate-ip-device-attribute.patch index bed612cd..f33ecf88 100644 --- a/scripts/package-build/linux-kernel/patches/kernel/0001-linkstate-ip-device-attribute.patch +++ b/scripts/package-build/linux-kernel/patches/kernel/0001-linkstate-ip-device-attribute.patch @@ -101,10 +101,10 @@ index c33b1ecc591e..7576d51cd16d 100644 }; diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c -index 231fa4dc6cde..8d8a8ee9c4fe 100644 +index 1c3b0ba289fb..075da0727e7d 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c -@@ -5677,6 +5677,7 @@ static inline void ipv6_store_devconf(struct ipv6_devconf *cnf, +@@ -5671,6 +5671,7 @@ static inline void ipv6_store_devconf(struct ipv6_devconf *cnf, array[DEVCONF_NDISC_EVICT_NOCARRIER] = cnf->ndisc_evict_nocarrier; array[DEVCONF_ACCEPT_UNTRACKED_NA] = cnf->accept_untracked_na; array[DEVCONF_ACCEPT_RA_MIN_LFT] = cnf->accept_ra_min_lft; @@ -112,7 +112,7 @@ index 231fa4dc6cde..8d8a8ee9c4fe 100644 } static inline size_t inet6_ifla6_size(void) -@@ -7119,6 +7120,13 @@ static const struct ctl_table addrconf_sysctl[] = { +@@ -7113,6 +7114,13 @@ static const struct ctl_table addrconf_sysctl[] = { .extra1 = (void *)SYSCTL_ZERO, .extra2 = (void *)SYSCTL_ONE, }, @@ -127,7 +127,7 @@ index 231fa4dc6cde..8d8a8ee9c4fe 100644 .procname = "ioam6_id", .data = &ipv6_devconf.ioam6_id, diff --git a/net/ipv6/route.c b/net/ipv6/route.c -index 53197087353a..4fed0253cf83 100644 +index eb9e505f71f9..bdcbaf43bf6d 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c @@ -716,6 +716,14 @@ static inline void rt6_probe(struct fib6_nh *fib6_nh) diff --git a/scripts/package-build/linux-kernel/patches/kernel/0003-build-linux-perf-package.patch b/scripts/package-build/linux-kernel/patches/kernel/0003-build-linux-perf-package.patch new file mode 100644 index 00000000..082ad589 --- /dev/null +++ b/scripts/package-build/linux-kernel/patches/kernel/0003-build-linux-perf-package.patch @@ -0,0 +1,62 @@ +diff --git c/scripts/package/builddeb i/scripts/package/builddeb +index d7dd0d04c70c..6f4a9a7c2c62 100755 +--- c/scripts/package/builddeb ++++ i/scripts/package/builddeb +@@ -182,6 +182,16 @@ install_libc_headers () { + mv $pdir/usr/include/asm $pdir/usr/include/$host_arch/ + } + ++install_perf () { ++ pdir=$1 ++ ++ rm -rf $pdir ++ ++ $MAKE -C tools/ perf_install prefix=$pdir/usr ++ mv tools/perf/$pdir/usr $srctree/$pdir ++ ++} ++ + rm -f debian/files + + packages_enabled=$(dh_listpackages) +@@ -199,6 +209,8 @@ do + install_libc_headers debian/linux-libc-dev;; + linux-headers-*) + install_kernel_headers debian/linux-headers ${package#linux-headers-};; ++ linux-perf-*) ++ install_perf debian/linux-perf ${package};; + esac + done + +@@ -213,6 +225,8 @@ do + create_package ${package} debian/linux-libc-dev;; + linux-headers-*) + create_package ${package} debian/linux-headers;; ++ linux-perf-*) ++ create_package ${package} debian/linux-perf;; + esac + done + +diff --git c/scripts/package/mkdebian i/scripts/package/mkdebian +index 5044224cf671..21f98ae50be0 100755 +--- c/scripts/package/mkdebian ++++ i/scripts/package/mkdebian +@@ -238,6 +238,18 @@ Description: Linux support headers for userspace development + Multi-Arch: same + EOF + ++cat <> debian/control ++ ++Package: linux-perf-$version ++Section: devel ++Architecture: $debarch ++Depends: \${shlibs:Depends} ++Description: Performance analysis tools for Linux $version ++ This package contains the 'perf' performance analysis tools for Linux ++ kernel version $version . ++Multi-Arch: same ++EOF ++ + if is_enabled CONFIG_MODULES; then + cat <> debian/control + diff --git a/scripts/package-build/linux-kernel/patches/kernel/build-linux-perf-package.patch b/scripts/package-build/linux-kernel/patches/kernel/build-linux-perf-package.patch deleted file mode 100644 index 082ad589..00000000 --- a/scripts/package-build/linux-kernel/patches/kernel/build-linux-perf-package.patch +++ /dev/null @@ -1,62 +0,0 @@ -diff --git c/scripts/package/builddeb i/scripts/package/builddeb -index d7dd0d04c70c..6f4a9a7c2c62 100755 ---- c/scripts/package/builddeb -+++ i/scripts/package/builddeb -@@ -182,6 +182,16 @@ install_libc_headers () { - mv $pdir/usr/include/asm $pdir/usr/include/$host_arch/ - } - -+install_perf () { -+ pdir=$1 -+ -+ rm -rf $pdir -+ -+ $MAKE -C tools/ perf_install prefix=$pdir/usr -+ mv tools/perf/$pdir/usr $srctree/$pdir -+ -+} -+ - rm -f debian/files - - packages_enabled=$(dh_listpackages) -@@ -199,6 +209,8 @@ do - install_libc_headers debian/linux-libc-dev;; - linux-headers-*) - install_kernel_headers debian/linux-headers ${package#linux-headers-};; -+ linux-perf-*) -+ install_perf debian/linux-perf ${package};; - esac - done - -@@ -213,6 +225,8 @@ do - create_package ${package} debian/linux-libc-dev;; - linux-headers-*) - create_package ${package} debian/linux-headers;; -+ linux-perf-*) -+ create_package ${package} debian/linux-perf;; - esac - done - -diff --git c/scripts/package/mkdebian i/scripts/package/mkdebian -index 5044224cf671..21f98ae50be0 100755 ---- c/scripts/package/mkdebian -+++ i/scripts/package/mkdebian -@@ -238,6 +238,18 @@ Description: Linux support headers for userspace development - Multi-Arch: same - EOF - -+cat <> debian/control -+ -+Package: linux-perf-$version -+Section: devel -+Architecture: $debarch -+Depends: \${shlibs:Depends} -+Description: Performance analysis tools for Linux $version -+ This package contains the 'perf' performance analysis tools for Linux -+ kernel version $version . -+Multi-Arch: same -+EOF -+ - if is_enabled CONFIG_MODULES; then - cat <> debian/control - -- cgit v1.2.3