[202305] Update Linux kernel to 5.10.179 (#16958)

Why I did it
Update the kernel to 5.10.179 for the 202305 branch

Work item tracking
Microsoft ADO (number only): 24592132
How I did it
How to verify it
This commit is contained in:
Saikrishna Arcot 2023-10-23 07:37:30 -07:00 committed by GitHub
parent bf605cf771
commit d554cd55d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
29 changed files with 83 additions and 83 deletions

View File

@ -33,7 +33,7 @@ CONFIGURED_ARCH=$([ -f .arch ] && cat .arch || echo amd64)
## docker engine version (with platform)
DOCKER_VERSION=5:20.10.14~3-0~debian-$IMAGE_DISTRO
CONTAINERD_IO_VERSION=1.5.11-1
LINUX_KERNEL_VERSION=5.10.0-18-2
LINUX_KERNEL_VERSION=5.10.0-23-2
## Working directory to prepare the file system
FILESYSTEM_ROOT=./fsroot

View File

@ -588,13 +588,13 @@ menuentry '$demo_grub_entry' {
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
$GRUB_CFG_LINUX_CMD /$image_dir/boot/vmlinuz-5.10.0-18-2-amd64 root=$grub_cfg_root rw $GRUB_CMDLINE_LINUX \
$GRUB_CFG_LINUX_CMD /$image_dir/boot/vmlinuz-5.10.0-23-2-amd64 root=$grub_cfg_root rw $GRUB_CMDLINE_LINUX \
net.ifnames=0 biosdevname=0 \
loop=$image_dir/$FILESYSTEM_SQUASHFS loopfstype=squashfs \
systemd.unified_cgroup_hierarchy=0 \
apparmor=1 security=apparmor varlog_size=$VAR_LOG_SIZE usbcore.autosuspend=-1 $ONIE_PLATFORM_EXTRA_CMDLINE_LINUX
echo 'Loading $demo_volume_label $demo_type initial ramdisk ...'
$GRUB_CFG_INITRD_CMD /$image_dir/boot/initrd.img-5.10.0-18-2-amd64
$GRUB_CFG_INITRD_CMD /$image_dir/boot/initrd.img-5.10.0-23-2-amd64
}
EOF

View File

@ -7,6 +7,6 @@ Standards-Version: 3.9.3
Package: bfn-modules
Architecture: amd64
Depends: linux-image-5.10.0-18-2-amd64-unsigned
Depends: linux-image-5.10.0-23-2-amd64-unsigned
Description: kernel modules for bfn asic for mmap

View File

@ -7,6 +7,6 @@ Standards-Version: 3.9.3
Package: sonic-platform-modules-bfn-montara
Architecture: amd64
Depends: linux-image-5.10.0-18-2-amd64-unsigned
Depends: linux-image-5.10.0-23-2-amd64-unsigned
Description: kernel modules for platform devices such as fan, led, sfp

View File

@ -7,11 +7,11 @@ Standards-Version: 3.9.3
Package: sonic-platform-modules-bfn-newport-as9516
Architecture: amd64
Depends: linux-image-5.10.0-18-2-amd64-unsigned
Depends: linux-image-5.10.0-23-2-amd64-unsigned
Description: kernel module for bfn platform fpga and scripts for the devices such as fan, led, sfp
Package: sonic-platform-modules-bfn-newport-as9516bf
Architecture: amd64
Depends: linux-image-5.10.0-18-2-amd64-unsigned
Depends: linux-image-5.10.0-23-2-amd64-unsigned
Description: kernel module for bfn platform fpga and scripts for the devices such as fan, led, sfp

View File

@ -7,6 +7,6 @@ Standards-Version: 3.9.3
Package: sonic-platform-modules-bfn
Architecture: amd64
Depends: linux-image-5.10.0-18-2-amd64-unsigned
Depends: linux-image-5.10.0-23-2-amd64-unsigned
Description: kernel modules for platform devices such as fan, led, sfp

View File

@ -7,6 +7,6 @@ Standards-Version: 3.9.3
Package: platform-modules-wnc-osw1800
Architecture: amd64
Depends: linux-image-5.10.0-18-2-amd64-unsigned
Depends: linux-image-5.10.0-23-2-amd64-unsigned
Description: kernel modules for platform devices such as fan, led, sfp

@ -1 +1 @@
Subproject commit af0ed840c79ebdaeb7e97b265fe84467e254ebb3
Subproject commit 3826c36cb23f3ec8fba63d73ea677ec74cc67609

View File

@ -10,5 +10,5 @@ Standards-Version: 3.9.3
Package: opennsl-modules
Architecture: amd64
Section: main
Depends: linux-image-5.10.0-18-2-amd64-unsigned
Depends: linux-image-5.10.0-23-2-amd64-unsigned
Description: kernel modules for broadcom SAI

View File

@ -1 +1 @@
lib/modules/5.10.0-18-2-amd64/extra
lib/modules/5.10.0-23-2-amd64/extra

View File

@ -1,8 +1,8 @@
systems/linux/user/x86-smp_generic_64-2_6/linux-bcm-knet.ko lib/modules/5.10.0-18-2-amd64/extra
systems/linux/user/x86-smp_generic_64-2_6/linux-kernel-bde.ko lib/modules/5.10.0-18-2-amd64/extra
systems/linux/user/x86-smp_generic_64-2_6/linux-user-bde.ko lib/modules/5.10.0-18-2-amd64/extra
systems/linux/user/x86-smp_generic_64-2_6/linux-knet-cb.ko lib/modules/5.10.0-18-2-amd64/extra
systems/linux/user/x86-smp_generic_64-2_6/linux-bcm-knet.ko lib/modules/5.10.0-23-2-amd64/extra
systems/linux/user/x86-smp_generic_64-2_6/linux-kernel-bde.ko lib/modules/5.10.0-23-2-amd64/extra
systems/linux/user/x86-smp_generic_64-2_6/linux-user-bde.ko lib/modules/5.10.0-23-2-amd64/extra
systems/linux/user/x86-smp_generic_64-2_6/linux-knet-cb.ko lib/modules/5.10.0-23-2-amd64/extra
systemd/opennsl-modules.service lib/systemd/system
sdklt/linux/bde/linux_ngbde.ko lib/modules/5.10.0-18-2-amd64/extra
sdklt/linux/knet/linux_ngknet.ko lib/modules/5.10.0-18-2-amd64/extra
sdklt/linux/knetcb/linux_ngknetcb.ko lib/modules/5.10.0-18-2-amd64/extra
sdklt/linux/bde/linux_ngbde.ko lib/modules/5.10.0-23-2-amd64/extra
sdklt/linux/knet/linux_ngknet.ko lib/modules/5.10.0-23-2-amd64/extra
sdklt/linux/knetcb/linux_ngknetcb.ko lib/modules/5.10.0-23-2-amd64/extra

View File

@ -34,8 +34,8 @@ sname:=opennsl
PACKAGE=opennsl-modules
# modifieable for experiments or debugging m-a
MA_DIR ?= /usr/share/modass
KVERSION ?= 5.10.0-18-2-amd64
KERNVERSION ?= 5.10.0-18-2
KVERSION ?= 5.10.0-23-2-amd64
KERNVERSION ?= 5.10.0-23-2
# load generic variable handling
-include $(MA_DIR)/include/generic.make

View File

@ -7,20 +7,20 @@ Standards-Version: 3.9.3
Package: sonic-platform-alphanetworks-snh60a0-320fv2
Architecture: amd64
Depends: linux-image-5.10.0-18-2-amd64-unsigned
Depends: linux-image-5.10.0-23-2-amd64-unsigned
Description: kernel modules for platform devices such as fan, led, sfp
Package: sonic-platform-alphanetworks-snh60b0-640f
Architecture: amd64
Depends: linux-image-5.10.0-18-2-amd64-unsigned
Depends: linux-image-5.10.0-23-2-amd64-unsigned
Description: kernel modules for platform devices such as fan, led, sfp
Package: sonic-platform-alphanetworks-snj60d0-320f
Architecture: amd64
Depends: linux-image-5.10.0-18-2-amd64-unsigned
Depends: linux-image-5.10.0-23-2-amd64-unsigned
Description: kernel modules for platform devices such as fan, led, sfp
Package: sonic-platform-alphanetworks-bes2348t
Architecture: amd64
Depends: linux-image-5.10.0-18-2-amd64-unsigned
Depends: linux-image-5.10.0-23-2-amd64-unsigned
Description: kernel modules for platform devices such as fan, led, sfp

View File

@ -7,26 +7,26 @@ Standards-Version: 3.9.3
Package: platform-modules-dx010
Architecture: amd64
Depends: linux-image-5.10.0-18-2-amd64-unsigned
Depends: linux-image-5.10.0-23-2-amd64-unsigned
Description: kernel modules for platform devices such as fan, led, sfp
Package: platform-modules-haliburton
Architecture: amd64
Depends: linux-image-5.10.0-18-2-amd64-unsigned
Depends: linux-image-5.10.0-23-2-amd64-unsigned
Description: kernel modules for platform devices such as fan, led, sfp
Package: platform-modules-seastone2
Architecture: amd64
Depends: linux-image-5.10.0-18-2-amd64-unsigned
Depends: linux-image-5.10.0-23-2-amd64-unsigned
Description: kernel modules for platform devices such as led, sfp
Package: platform-modules-silverstone
Architecture: amd64
Depends: linux-image-5.10.0-18-2-amd64-unsigned
Depends: linux-image-5.10.0-23-2-amd64-unsigned
Description: kernel modules for platform devices such as led, sfp.
Package: platform-modules-belgite
Architecture: amd64
Depends: linux-image-5.10.0-18-2-amd64-unsigned
Depends: linux-image-5.10.0-23-2-amd64-unsigned
Description: kernel modules for platform devices such as led, sfp

View File

@ -7,65 +7,65 @@ Standards-Version: 3.9.3
Package: platform-modules-s6000
Architecture: amd64
Depends: linux-image-5.10.0-18-2-amd64-unsigned
Depends: linux-image-5.10.0-23-2-amd64-unsigned
Description: kernel modules for platform devices such as fan, led, sfp
Package: platform-modules-z9100
Architecture: amd64
Depends: linux-image-5.10.0-18-2-amd64-unsigned
Depends: linux-image-5.10.0-23-2-amd64-unsigned
Description: kernel modules for platform devices such as fan, led, sfp
Package: platform-modules-s6100
Architecture: amd64
Depends: linux-image-5.10.0-18-2-amd64-unsigned
Depends: linux-image-5.10.0-23-2-amd64-unsigned
Description: kernel modules for platform devices such as fan, led, sfp
Package: platform-modules-z9264f
Architecture: amd64
Depends: linux-image-5.10.0-18-2-amd64-unsigned
Depends: linux-image-5.10.0-23-2-amd64-unsigned
Description: kernel modules for platform devices such as fan, led, sfp
Package: platform-modules-s5212f
Architecture: amd64
Depends: linux-image-5.10.0-18-2-amd64-unsigned
Depends: linux-image-5.10.0-23-2-amd64-unsigned
Description: kernel modules for platform devices such as fan, led, sfp
Package: platform-modules-s5224f
Architecture: amd64
Depends: linux-image-5.10.0-18-2-amd64-unsigned
Depends: linux-image-5.10.0-23-2-amd64-unsigned
Description: kernel modules for platform devices such as fan, led, sfp
Package: platform-modules-s5232f
Architecture: amd64
Depends: linux-image-5.10.0-18-2-amd64-unsigned
Depends: linux-image-5.10.0-23-2-amd64-unsigned
Description: kernel modules for platform devices such as fan, led, sfp
Package: platform-modules-s5248f
Architecture: amd64
Depends: linux-image-5.10.0-18-2-amd64-unsigned
Depends: linux-image-5.10.0-23-2-amd64-unsigned
Description: kernel modules for platform devices such as fan, led, sfp
Package: platform-modules-n3248te
Architecture: amd64
Depends: linux-image-5.10.0-18-2-amd64-unsigned
Depends: linux-image-5.10.0-23-2-amd64-unsigned
Description: kernel modules for platform devices such as fan, led, sfp
Package: platform-modules-z9332f
Architecture: amd64
Depends: linux-image-5.10.0-18-2-amd64-unsigned
Depends: linux-image-5.10.0-23-2-amd64-unsigned
Description: kernel modules for platform devices such as fan, led, sfp
Package: platform-modules-z9432f
Architecture: amd64
Depends: linux-image-5.10.0-18-2-amd64-unsigned
Depends: linux-image-5.10.0-23-2-amd64-unsigned
Description: kernel modules for platform devices such as fan, led, sfp
Package: platform-modules-n3248pxe
Architecture: amd64
Depends: linux-image-5.10.0-18-2-amd64-unsigned
Depends: linux-image-5.10.0-23-2-amd64-unsigned
Description: kernel modules for platform devices such as fan, led, sfp
Package: platform-modules-s5296f
Architecture: amd64
Depends: linux-image-5.10.0-18-2-amd64-unsigned
Depends: linux-image-5.10.0-23-2-amd64-unsigned
Description: kernel modules for platform devices such as fan, led, sfp

View File

@ -7,20 +7,20 @@ Standards-Version: 3.9.3
Package: platform-modules-e530-48t4x-p
Architecture: arm64
Depends: linux-image-5.10.0-18-2-arm64-unsigned
Depends: linux-image-5.10.0-23-2-arm64-unsigned
Description: kernel modules for platform devices such as fan, led, sfp
Package: platform-modules-e530-24x2c
Architecture: arm64
Depends: linux-image-5.10.0-18-2-arm64-unsigned
Depends: linux-image-5.10.0-23-2-arm64-unsigned
Description: kernel modules for platform devices such as fan, led, sfp
Package: platform-modules-e530-48s4x
Architecture: arm64
Depends: linux-image-5.10.0-18-2-arm64-unsigned
Depends: linux-image-5.10.0-23-2-arm64-unsigned
Description: kernel modules for platform devices such as fan, led, sfp
Package: platform-modules-e530-24x2q
Architecture: arm64
Depends: linux-image-5.10.0-18-2-arm64-unsigned
Depends: linux-image-5.10.0-23-2-arm64-unsigned
Description: kernel modules for platform devices such as fan, led, sfp

View File

@ -7,5 +7,5 @@ Standards-Version: 3.9.3
Package: platform-modules-s5800-48t4s
Architecture: arm64
Depends: linux-image-5.10.0-18-2-arm64-unsigned
Depends: linux-image-5.10.0-23-2-arm64-unsigned
Description: kernel modules for platform devices such as fan, led, sfp

View File

@ -12,7 +12,7 @@
images {
kernel_ctc {
description = "ARM64 Kernel";
data = /incbin/("./vmlinuz-5.10.0-18-2-arm64");
data = /incbin/("./vmlinuz-5.10.0-23-2-arm64");
type = "kernel";
arch = "arm64";
os = "linux";
@ -25,7 +25,7 @@
};
initramfs {
description = "initramfs";
data = /incbin/("./initrd.img-5.10.0-18-2-arm64");
data = /incbin/("./initrd.img-5.10.0-23-2-arm64");
type = "ramdisk";
arch = "arm64";
os = "linux";

View File

@ -7,5 +7,5 @@ Standards-Version: 3.9.3
Package: tsingma-bsp
Architecture: arm64
Depends: linux-image-5.10.0-18-2-arm64-unsigned
Depends: linux-image-5.10.0-23-2-arm64-unsigned
Description: kernel modules for tsingma bsp

View File

@ -1,17 +1,17 @@
src/ctc5236-mc/ctc5236-mc.ko /lib/modules/5.10.0-18-2-arm64/kernel/extra
src/pwm-ctc/pwm-ctc.ko /lib/modules/5.10.0-18-2-arm64/kernel/extra
src/ctc5236_switch/ctc5236_switch.ko /lib/modules/5.10.0-18-2-arm64/kernel/extra
src/pinctrl-ctc/pinctrl-ctc.ko /lib/modules/5.10.0-18-2-arm64/kernel/extra
src/ctc_wdt/ctc_wdt.ko /lib/modules/5.10.0-18-2-arm64/kernel/extra
src/ctcmac/ctcmac.ko /lib/modules/5.10.0-18-2-arm64/kernel/extra
src/ctcmac/ctc5236_mdio.ko /lib/modules/5.10.0-18-2-arm64/kernel/extra
src/ctc-phy/mars.ko /lib/modules/5.10.0-18-2-arm64/kernel/extra
src/i2c-ctc/i2c-ctc.ko /lib/modules/5.10.0-18-2-arm64/kernel/extra
src/gpio-ctc/gpio-ctc.ko /lib/modules/5.10.0-18-2-arm64/kernel/extra
src/ehci-ctc/ehci-ctc.ko /lib/modules/5.10.0-18-2-arm64/kernel/extra
src/rtc-sd2405/rtc-sd2405.ko /lib/modules/5.10.0-18-2-arm64/kernel/extra
src/sdhci-ctc5236/sdhci-ctc5236.ko /lib/modules/5.10.0-18-2-arm64/kernel/extra
src/spi-ctc-qspi/spi-ctc-qspi.ko /lib/modules/5.10.0-18-2-arm64/kernel/extra
src/ctc5236-mc/ctc5236-mc.ko /lib/modules/5.10.0-23-2-arm64/kernel/extra
src/pwm-ctc/pwm-ctc.ko /lib/modules/5.10.0-23-2-arm64/kernel/extra
src/ctc5236_switch/ctc5236_switch.ko /lib/modules/5.10.0-23-2-arm64/kernel/extra
src/pinctrl-ctc/pinctrl-ctc.ko /lib/modules/5.10.0-23-2-arm64/kernel/extra
src/ctc_wdt/ctc_wdt.ko /lib/modules/5.10.0-23-2-arm64/kernel/extra
src/ctcmac/ctcmac.ko /lib/modules/5.10.0-23-2-arm64/kernel/extra
src/ctcmac/ctc5236_mdio.ko /lib/modules/5.10.0-23-2-arm64/kernel/extra
src/ctc-phy/mars.ko /lib/modules/5.10.0-23-2-arm64/kernel/extra
src/i2c-ctc/i2c-ctc.ko /lib/modules/5.10.0-23-2-arm64/kernel/extra
src/gpio-ctc/gpio-ctc.ko /lib/modules/5.10.0-23-2-arm64/kernel/extra
src/ehci-ctc/ehci-ctc.ko /lib/modules/5.10.0-23-2-arm64/kernel/extra
src/rtc-sd2405/rtc-sd2405.ko /lib/modules/5.10.0-23-2-arm64/kernel/extra
src/sdhci-ctc5236/sdhci-ctc5236.ko /lib/modules/5.10.0-23-2-arm64/kernel/extra
src/spi-ctc-qspi/spi-ctc-qspi.ko /lib/modules/5.10.0-23-2-arm64/kernel/extra
src/ctc-dts/e530-ctc5236.dtb /boot/
src/config/fw_env.config /etc/
src/config/tsingma-bsp.service /lib/systemd/system

View File

@ -7,11 +7,11 @@ Standards-Version: 3.9.3
Package: platform-modules-e582-48x2q4z
Architecture: amd64
Depends: linux-image-5.10.0-18-2-amd64-unsigned
Depends: linux-image-5.10.0-23-2-amd64-unsigned
Description: kernel modules for platform devices such as fan, led, sfp
Package: platform-modules-e582-48x6q
Architecture: amd64
Depends: linux-image-5.10.0-18-2-amd64-unsigned
Depends: linux-image-5.10.0-23-2-amd64-unsigned
Description: kernel modules for platform devices such as fan, led, sfp

View File

@ -7,6 +7,6 @@ Standards-Version: 3.9.3
Package: platform-modules-embedway-es6220
Architecture: amd64
Depends: linux-image-5.10.0-18-2-amd64-unsigned
Depends: linux-image-5.10.0-23-2-amd64-unsigned
Description: kernel modules for platform devices such as fan, led, sfp

View File

@ -7,15 +7,15 @@ Standards-Version: 3.9.3
Package: platform-modules-v682-48y8c-d
Architecture: amd64
Depends: linux-image-5.10.0-18-2-amd64-unsigned
Depends: linux-image-5.10.0-23-2-amd64-unsigned
Description: kernel modules for platform devices such as fan, led, sfp
Package: platform-modules-v682-48y8c
Architecture: amd64
Depends: linux-image-5.10.0-18-2-amd64-unsigned
Depends: linux-image-5.10.0-23-2-amd64-unsigned
Description: kernel modules for platform devices such as fan, led, sfp
Package: platform-modules-v682-48x8c
Architecture: amd64
Depends: linux-image-5.10.0-18-2-amd64-unsigned
Depends: linux-image-5.10.0-23-2-amd64-unsigned
Description: kernel modules for platform devices such as fan, led, sfp

View File

@ -9,7 +9,7 @@ VAR_LOG=512
UBOOT_FW_DEFAULT=1
kernel_addr=0x1100000
kernel_version=5.10.0-18-2-arm64
kernel_version=5.10.0-23-2-arm64
kernel_fname="/boot/vmlinuz-$kernel_version"
initrd_fname="/boot/initrd.img-$kernel_version"
fit_fname="/boot/sonic_arm64.fit"

View File

@ -5,8 +5,8 @@
# Load required kernel-mode drivers
load_kernel_drivers() {
echo "Loading Kernel Drivers"
sudo insmod /lib/modules/5.10.0-18-2-arm64/nokia_7215_ixs_a1_cpld.ko
sudo insmod /lib/modules/5.10.0-18-2-arm64/ac5_thermal_sensor.ko
sudo insmod /lib/modules/5.10.0-23-2-arm64/nokia_7215_ixs_a1_cpld.ko
sudo insmod /lib/modules/5.10.0-23-2-arm64/ac5_thermal_sensor.ko
}
nokia_7215_profile()

View File

@ -7,7 +7,7 @@
images {
kernel_ac5x {
description = "Linux Kernel for AC5x";
data = /incbin/("/boot/vmlinuz-5.10.0-18-2-arm64");
data = /incbin/("/boot/vmlinuz-5.10.0-23-2-arm64");
type = "kernel";
arch = "arm64";
os = "linux";
@ -31,7 +31,7 @@
};
fdt_7215_a1 {
description = "Flattened Device Tree blob for 7215_IXS_A1";
data = /incbin/("/usr/lib/linux-image-5.10.0-18-2-arm64/marvell/7215-ixs-a1.dtb");
data = /incbin/("/usr/lib/linux-image-5.10.0-23-2-arm64/marvell/7215-ixs-a1.dtb");
type = "flat_dt";
arch = "arm64";
compression = "none";
@ -42,7 +42,7 @@
};
ramdisk_ac5x {
description = "ramdisk for AC5x";
data = /incbin/("/boot/initrd.img-5.10.0-18-2-arm64");
data = /incbin/("/boot/initrd.img-5.10.0-23-2-arm64");
type = "ramdisk";
arch = "arm64";
os = "linux";

View File

@ -10,8 +10,8 @@ fdt_addr=0x2800000
fdt_high=0x28fffff
initrd_addr=0x2900000
kernel_fname="/boot/vmlinuz-5.10.0-18-2-armmp"
initrd_fname="/boot/initrd.img-5.10.0-18-2-armmp"
kernel_fname="/boot/vmlinuz-5.10.0-23-2-armmp"
initrd_fname="/boot/initrd.img-5.10.0-23-2-armmp"
fdt_fname="/boot/armada-385-ET6448M_4G_Nand.dtb"
if [ "$install_env" = "onie" ]; then

View File

@ -1,9 +1,9 @@
# linux kernel package
KVERSION_SHORT = 5.10.0-18-2
KVERSION_SHORT = 5.10.0-23-2
KVERSION = $(KVERSION_SHORT)-$(CONFIGURED_ARCH)
KERNEL_VERSION = 5.10.140
KERNEL_SUBVERSION = 1
KERNEL_VERSION = 5.10.179
KERNEL_SUBVERSION = 3
ifeq ($(CONFIGURED_ARCH), armhf)
# Override kernel version for ARMHF as it uses arm MP (multi-platform) for short version
KVERSION = $(KVERSION_SHORT)-armmp

@ -1 +1 @@
Subproject commit e262947645b32d929183ca8050179a49e1d9eb09
Subproject commit a46716e1ca1e5feff1b10f141a688e6e4270d707