Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
224 commits
Select commit Hold shift + click to select a range
dddec62
Upgrade kernel from 4.19.152 to 5.10.40, and port some patches
saiarcot895 Jul 2, 2021
db8fe15
Update Azure pipeline to use sonic-slave-bullseye instead of sonic-sl…
saiarcot895 Jul 13, 2021
e478254
Merge remote-tracking branch 'origin/master' into bullseye-upgrade-base
saiarcot895 Jul 16, 2021
ff9762e
Increase optoe's write-max to support i2c block write (#230)
prgeor Aug 18, 2021
0fe396e
[Mellanox] Remove incorrectly generated patch allegedly avoiding kern…
Junchao-Mellanox Aug 23, 2021
06a3811
mtd: Add support for reading partition data from ACPI (#216)
msiddare Aug 25, 2021
04b86dd
Configurable GPIO option ARCH_NR_GPIO for x86 architecture (#232)
msiddare Sep 1, 2021
85ff289
support reading mdio config from APCI tables (#220)
msiddare Sep 1, 2021
5aa4e5d
backport kernel patch 0033-i2c-mlxcpld-Update-module-license.patch
keboliu Sep 15, 2021
f2bc56b
backport kernel patch 0034-i2c-mlxcpld-Add-support-for-I2C-bus-freque…
keboliu Sep 15, 2021
ccd97aa
backport kernel patch 0035-i2c-mux-mlxcpld-Update-module-license.patch
keboliu Sep 15, 2021
1d53142
backport kernel patch 0036-i2c-mux-mlxcpld-Move-header-file-out-of-x8…
keboliu Sep 15, 2021
d1c9681
backport kernel patch 0037-platform-x86-mlxcpld-Update-module-license…
keboliu Sep 15, 2021
d175e2b
backport kernel patch 0038-i2c-mux-mlxcpld-Convert-driver-to-platform…
keboliu Sep 15, 2021
161367f
backport kernel patch 0039-i2c-mux-mlxcpld-Prepare-mux-selection-infr…
keboliu Sep 15, 2021
cce7233
backport kernel patch 0040-i2c-mux-mlxcpld-Get-rid-of-adapter-numbers…
keboliu Sep 15, 2021
21d1bf3
backport kernel patch 0041-i2c-mux-mlxcpld-Extend-driver-to-support-w…
keboliu Sep 15, 2021
efaaa24
backport kernel patch 0042-i2c-mux-mlxcpld-Extend-supported-mux-numbe…
keboliu Sep 15, 2021
b9150bf
backport kernel patch 0043-i2c-mux-mlxcpld-Add-callback-to-notify-mux…
keboliu Sep 15, 2021
417890a
backport kernel patch 0044-platform-x86-mlx-platform-remove-an-unused…
keboliu Sep 15, 2021
9d1e27d
backport kernel patch 0045-platform-x86-mlx-platform-Fix-item-counter…
keboliu Sep 15, 2021
6326706
backport kernel patch 0046-platform-x86-mlx-platform-Fix-item-counter…
keboliu Sep 15, 2021
3ea2b7c
backport kernel patch 0047-mlxsw-core-Set-thermal-zone-polling-delay-…
keboliu Sep 15, 2021
3f581b5
backport kernel patch 0048-mlxsw-reg-Extend-MTMP-register-with-new-th…
keboliu Sep 15, 2021
3855db3
backport kernel patch 0049-mlxsw-core_env-Read-module-temperature-thr…
keboliu Sep 15, 2021
b9d408e
backport kernel patch 0050-mlxsw-thermal-Add-function-for-reading-mod…
keboliu Sep 15, 2021
3ac5dc7
backport kernel patch 0051-mlxsw-thermal-Read-module-temperature-thre…
keboliu Sep 15, 2021
5c3357f
update patches with upstream commit hash
keboliu Sep 15, 2021
889d76e
mtd: m25p80 spi driver update to support ACPI table match (#234)
msiddare Sep 23, 2021
b9725ad
Reserve PCIe address space for powerd-off devices behind PCIe bridge.…
msiddare Sep 29, 2021
3d7fdf2
iio: (dac/ds4424) Allow NULL of_node (#236)
msiddare Oct 5, 2021
a9d0dbd
hwmon: (pmbus/ltc2978) Add support for new sensor (#237)
msiddare Oct 5, 2021
95fb735
Merge pull request #233 from keboliu/hw-mgmt-3134
lguohan Oct 6, 2021
96239f0
Add patch by Mike Manning to fix behavior of sockets bound to an inte…
saiarcot895 Aug 28, 2021
8796f66
Update to 5.10.46 kernel
saiarcot895 Sep 13, 2021
8b55f7e
Merge remote-tracking branch 'origin/master' into bullseye-upgrade-base
saiarcot895 Oct 15, 2021
46d9da7
Update mellanox patches for 5.10
alexrallen Sep 22, 2021
bcc42da
Remove irrelevant patches
alexrallen Sep 29, 2021
30aebb4
Ported fullcone NAT changes to 5.10 kernel.
kirankella Oct 8, 2021
52e3932
Merge remote-tracking branch 'origin/master' into bullseye-upgrade-base
saiarcot895 Oct 15, 2021
f0b43d1
Remove patches that are no longer needed
saiarcot895 Oct 4, 2021
3a6317a
Update Cisco patches for 5.10 kernel
saiarcot895 Oct 11, 2021
3d88781
Port Mellanox Patches for Kernel 5.10
saiarcot895 Oct 15, 2021
38bf553
Merge remote-tracking branch 'kirankella/fullcone_nat_changes_5.10_li…
saiarcot895 Oct 15, 2021
2b2e597
Merge pull request #227 from saiarcot895/bullseye-upgrade-base
lguohan Oct 16, 2021
9e30f2f
[github]: add code owner (#242)
lguohan Oct 29, 2021
0d96503
[max6620] Backport max6620 hwmon driver to linux version 5.10 (#241)
ArunSaravananBalachandran Nov 1, 2021
56b08d0
Disable building the source package (#244)
saiarcot895 Nov 5, 2021
6ac9b48
[ci]: use native arm64/armhf pool to build kernel
lguohan Oct 19, 2021
fafaaea
[backport] kernel-compat-always-include-linux-compat.h-from-net-compa…
lguohan Nov 7, 2021
39c7d18
[arm64]: add kconfig force inclusion for COMPAT_VSDO
lguohan Nov 7, 2021
6aa8d00
marvell-armhf]: add kconfig force inclusion for CONFIG_ARCH_NR_GPIO (…
dflynn-Nokia Nov 12, 2021
292b353
Enable A2h access for optoe2 even when DDM is unsupported (#246)
Dec 3, 2021
7a89098
Cisco Network Processing Unit: disable unused PCIe BARs (#248)
msiddare Dec 6, 2021
10b1d7b
Port Cisco hwmon: (pmbus_core) Check adapter PEC support patch to 5.1…
msiddare Dec 8, 2021
e1913f7
Rename and reformat patch headers
alexrallen Feb 3, 2022
6a949e1
Add backported patches for Mellanox hw-mgmt V.7.0020.1300
alexrallen Feb 3, 2022
10ef390
Update kconfig to support / enable newly backported mellanox patches.
alexrallen Feb 3, 2022
755d089
Backport a change to increase the GPIO count from 512 to 1024 on x86_…
saiarcot895 Feb 10, 2022
8ce7b24
Increase log buf len size (#269)
Staphylo Mar 1, 2022
bb6ccd5
Re-add certain parts of cisco-x86-gpio-config.patch (#266)
saiarcot895 Mar 2, 2022
b9083b1
Linux 5.10.103 update (#277)
saiarcot895 Apr 20, 2022
1f83896
[sflow + dropmon] added patches for the sFlow + dropmon feature. (#276)
vadymhlushko-mlnx Apr 20, 2022
fa9411d
[sflow + dropmon] added missing patch for the sFlow + dropmon feature…
vadymhlushko-mlnx Jun 24, 2022
50e2bff
[patch] mlxsw: i2c: Prevent transaction execution for special chip (#…
stepanblyschak Jul 5, 2022
fdd9bac
[Mellanox] Add new kernel patches from HW-MGMT package V.7.0020.3005 …
keboliu Jul 28, 2022
443253f
[patch]: Add accpt_untracked_na kernel param (#292)
theasianpianist Sep 1, 2022
3b95205
[patch]: Introduce sysctl param `arp_evict_no_carrier` (#293)
lolyu Sep 27, 2022
686b9b1
Update Makefile to provision the ability of building with non-upstrea…
vivekkarri Oct 28, 2022
34f26b3
Linux 5.10.140 update (#297)
saiarcot895 Nov 9, 2022
e9206c9
Fix setting a config with an already-existing conflicting value
saiarcot895 Nov 17, 2022
7f8d898
Support verifying the value of strings (and not just y/m/n settings)
saiarcot895 Nov 17, 2022
18a0bf7
Kernel configuration is enabled to support device drivers for sensor …
msiddare Nov 29, 2022
5717c5d
Merge pull request #300 from saiarcot895/fix-config-setting-with-exis…
saiarcot895 Dec 9, 2022
f28140c
Merge branch 'master' into cisco/kernel_config
madhava28 Dec 12, 2022
19266b4
Review comments incorporated
msiddare Dec 14, 2022
4873ade
Merge pull request #303 from madhava28/cisco/kernel_config
saiarcot895 Dec 15, 2022
6daddcf
Add Secure Boot Kernel configuration (#298)
davidpil2002 Feb 2, 2023
464d2cd
Update linux kernel for hw-mgmt V.7.0020.4104 (#305)
stephenxs Feb 9, 2023
4c2d457
Fixes for emmc unreliability (#270)
Staphylo Feb 9, 2023
42ad073
Add markers to faciliate easy parsing of kconfig-inclusion and series…
Mar 16, 2023
6847319
Read ID register for optoe1 to find pageable bit in optoe driver (#308)
mihirpat1 Mar 16, 2023
fbd307e
Fix unable to probe emc2301/2/3 (#312)
Pavan-Nokia Apr 4, 2023
6f38dca
Provision the ability to apply the non upstream patches in any order …
Apr 5, 2023
1398567
Change SECURE_UPGRADE_DEV_SIGNING_CERT to SECURE_UPGRADE_SIGNING_CERT…
DavidZagury Apr 19, 2023
e7c93a5
[marvell-arm64]: Add support for 98DX35xx and 98CX85xx platform (#311)
pavannaregundi May 17, 2023
d070cae
arm64: dts: marvell: Add Nokia 7215-IXS-A1 board (#321)
Pavan-Nokia Jul 10, 2023
89d13a3
Update codeowner and build info (#319)
saiarcot895 Jul 19, 2023
e72818f
Fix Makefile syntax and provide default value for CONFIGURED_PLATFORM…
saiarcot895 Jul 19, 2023
a2aa335
PATCH] net: allow user to set metric on default route learned via Rou…
abdosi Aug 24, 2023
1800d11
AMD-Pensando ELBA SOC support (#322)
ashwin-h Aug 30, 2023
7ee50c9
[Mellanox] Upstream kernel patches with HW-MGMT 7.0030.1011 (#327)
keboliu Sep 1, 2023
fa40db7
Change the system.map file permission only readable by root (#329)
xumia Sep 7, 2023
3158031
Update to Linux 5.10.179 (#328)
saiarcot895 Sep 13, 2023
ecba611
arm64: Enable CONFIG_KEXEC_FILE (#333)
pavannaregundi Sep 28, 2023
d5232ab
arm64: ac5: Fix watchdog timeleft (#334)
pavannaregundi Sep 29, 2023
fee7d7e
Add nvidia arm section and an ability to patch kconfig-inc and fix ma…
Oct 10, 2023
6508505
Add drop monitor Kernel Patches for buffer support (#338)
Oct 17, 2023
a75a3df
arm64: Kconfig inclusions to fix PCI hang and MTD detection (#350)
pavannaregundi Oct 31, 2023
c79efd7
AMD-Pensando:Enable ionic driver compilation for x86 (#335)
shanshri Nov 1, 2023
bbf045a
Update kernel to 6.1.38
saiarcot895 Aug 21, 2023
aca1572
Use bookworm slave container
saiarcot895 Sep 27, 2023
0c12436
Use bookworm-tagged slave container for now
saiarcot895 Sep 27, 2023
73abe79
Set CONFIG_IGB to m for the build to work (#340)
Oct 5, 2023
07a6d64
[marvell-arm64]: Update kernel patches for Linux 6.1.x (#352)
Keshavg-marvell Oct 26, 2023
b899479
Bookworm:AMD-Pensando ELBA SOC support (#353)
shanshri Oct 30, 2023
ba37b4d
Ported Fullcone NAT changes are ported from 5.10 to 6.1 kernel. (#357)
AkhileshSamineni Nov 10, 2023
b2601c7
[mellanox] Update Kernel patches and Kconfig for Linux 6.1.x (#359)
Nov 14, 2023
6370502
[kconfig] Set default SATA Link Power Management policy (#363)
volodymyrsamotiy Dec 11, 2023
5d83a17
Change the system.map file permission only readable by root (#368)
xumia Dec 21, 2023
a1d0039
Dynamic write timeout support for optoe driver (#370)
mihirpat1 Dec 29, 2023
ee073d9
[Marvell-arm64] Enable CONFIG_ARM_SMC_WATCHDOG (#374)
pavannaregundi Jan 12, 2024
e17e31c
Add Kernel config diff script between different kernel versions (#375)
Jan 12, 2024
f4b1a58
Fix kexec kernel panic in mvpp2 (#377)
pavannaregundi Feb 14, 2024
45295bf
Fix the issue with signed kernel compilation for ARM64 architecture (…
oleksandrivantsiv Mar 7, 2024
bab1510
Disable small sector erase size for UBIFS on flash (#382)
bmridul Mar 11, 2024
b6fd1ba
arm64: dts: marvell: Add DTS for 7215-IXS-A1 board (#378)
Pavan-Nokia Mar 11, 2024
4d82cd7
[marvell-arm64] Update patches for 98DX35xx platform (#383)
pavannaregundi Mar 14, 2024
fdb3145
[nvidia-bluefield] Add config inclusions for Nvidia Bluefield-3 DPU (…
oleksandrivantsiv Mar 14, 2024
38bb387
Update reference build to be used for kconfig diff (#392)
vivekkarri Apr 5, 2024
b0dec2c
Intgerate HW-MGMT 7.0030.3008 Changes (#391)
dgsudharsan Apr 11, 2024
f182d03
Kernel changes for support of elba DSS (#389)
shanshri May 8, 2024
9770e13
Add patch of SONiC Linux kernel DTS file to support Supermicro SSE-G3…
ErichYen May 25, 2024
f9bfb90
[ci] Migrate to sonicbld1es agent pool. (#397)
liushilongbuaa Jun 5, 2024
93b8fe9
[Mellanox] Integrate HW-MGMT 7.0030.4003 Changes (#396)
Jun 6, 2024
1f101c1
Remove compiled artifact download and rename base url (#400)
vivekkarri Jun 11, 2024
a128c86
Add DesignWare PCI Core Support for AMD Ryzen Embedded processors (#395)
roger530-ho Jun 20, 2024
88c1826
[Micas] Kernel configuration is enabled to support mdio-gpio and spi-…
micas-net Jul 12, 2024
98e4af9
Fix os crash caused by optoe when class switch (#413)
micas-net Jul 16, 2024
b9ac5dd
[Micas] Enable CONFIG_SENSORS_ISL68137 and CONFIG_SENSORS_INA3221 (#417)
micas-net Jul 26, 2024
86c7399
Linux 6.1.94 update (#422)
saiarcot895 Aug 27, 2024
72d4516
tg3: fix broadcom NIC 57766 staying down issue (#421)
byu343 Aug 27, 2024
b2b9ce9
Fix for Winbond flash devices that could not parse SFDP
Sep 27, 2024
b2f73b6
include adm1275 config within kconfig for usage on cisco platform (#432)
gregoryboudreau Sep 30, 2024
6ef1f0b
Merge branch 'master' into fix_w25q128
saiarcot895 Oct 2, 2024
32233e9
Merge pull request #436 from vivekrnv/fix_w25q128
bingwang-ms Oct 14, 2024
6d0f01b
Fix RCU stall detected in kernel 6.1 when unregistering devlink (#437)
Oct 15, 2024
b8cdf9e
Add arm64 dts and xmc spi device for Wistron platform support (#433)
twowen Oct 23, 2024
fe78170
Disable AMD memory encryption (#438)
Staphylo Oct 24, 2024
c281fc9
Integrate HW-MGMT 7.0040.2000 Changes (#446)
DavidZagury Dec 3, 2024
e32e799
[PCI/ASPM] Revert commit `456d8aa` to avoid kernel panics in `6.1.94`…
arista-nwolfe Dec 21, 2024
e02ac66
Fix default kernel version (#449)
vivekkarri Dec 21, 2024
416e7a4
Fix optoe's write_max when using native i2c driver (#407)
prgeor Jan 13, 2025
ce810e3
Integrate HW-MGMT 7.0040.2104 Changes (#458)
dprital Jan 21, 2025
cd0224d
Enable Software Delegated Exception Interface for arm64 platforms (#462)
vivekkarri Feb 4, 2025
7a1f547
[optoe] Reset page select byte to 0 before upper memory access on pag…
mihirpat1 Feb 14, 2025
7faad28
Revert "[optoe] Reset page select byte to 0 before upper memory acces…
prgeor Feb 25, 2025
88c8496
Include DS1307 driver as module
fzhou-nokia Feb 21, 2025
a07a921
Rename marvell to marvell-prestera (#457)
pavannaregundi Mar 6, 2025
1a79c5b
Merge branch 'master' into dev_x3b
saiarcot895 Mar 7, 2025
db23435
Include DS1307 driver as module
arlakshm Mar 12, 2025
680b834
[PCI/ASPM] Replace revert with patch of proper upstream fix (#477)
arista-nwolfe Apr 30, 2025
dbd69ff
Enable CONFIG_RTC_INTF_DEV_UIE_EMUL to enable clock interrupt emulati…
saiarcot895 Apr 30, 2025
8ede663
Reduce image size by disabling graphics and multimedia drivers (#471)
pavannaregundi May 8, 2025
aec83ae
Update to Linux 6.1.123 (#454)
saiarcot895 May 20, 2025
a259e54
kernel: enable CONFIG_PCI_STUB and CONFIG_SENSORS_ADM1266 (#481)
michaelc-nexthop Jun 18, 2025
adb4f0e
[build] Use package.trafficmanager instead of sonicstorage.blob
liushilongbuaa Jul 9, 2025
d733205
Merge pull request #490 from liushilongbuaa/fix-url
yejianquan Jul 10, 2025
231e4ba
Integrate HW-MGMT 7.0040.4019 Changes (#489)
Jul 18, 2025
0f9d503
Fix slave container used for master branch (#502)
saiarcot895 Jul 31, 2025
1fcf7e1
Fix for i2c_designware shutdown (#497)
byu343 Jul 31, 2025
271e3a5
Ignore table if the EFI memory attributes are corrupt (#500)
Jul 31, 2025
7a4859d
tty/8250: Deactivate the HSUART DMA for the DNV CPU (#476)
micas-net Aug 8, 2025
4bfb14a
arm64: dts: marvell: Remove HS400 as supported eMMC mode (#486)
Pavan-Nokia Aug 12, 2025
9f6cc60
Add upstream fix for bridge link show failure (#509)
tirupatihemanth Aug 28, 2025
3f93a0d
Kdump arm64 (#501)
eladnachman Sep 10, 2025
15e4ad9
Secureboot modifications for ephemeral key signing (#499)
bhouse-nexthop Oct 18, 2025
14cd5ce
Enable TMP464 I2C Temperature Sensor for Nokia H6-64O. (#511)
JunhongMao Oct 19, 2025
255dc52
Automated agent pool migration (#515)
yijingyan2 Nov 17, 2025
c3a089c
Update to 6.12.41 for Debian Trixie (#488)
saiarcot895 Nov 25, 2025
b451639
PCIe AER printk ratelimiting backport (#520)
jamessewart-arista Dec 3, 2025
b363a5b
Add tpm_tis_i2c driver module for arm64 (#524)
Pavan-Nokia Jan 6, 2026
e7fea60
update docker slave name (#523)
yijingyan2 Jan 7, 2026
35c8381
Integrate HW-MGMT 7.0050.2930 Changes (#525)
abelamit Jan 12, 2026
c10cae9
Changes to build kernel with necessary driver support for Aspeed 2700…
chander-nexthop Jan 13, 2026
eee20c4
Integrate HW-MGMT 7.0050.3001 Changes (#533)
volodymyrsamotiy Feb 10, 2026
8ff4643
Add .github/copilot-instructions.md for AI-assisted development
rustiqly Feb 11, 2026
0221e68
Merge pull request #536 from rustiqly/add-copilot-instructions
lihuay Feb 11, 2026
60a8675
AMD SFH HID - Do not log EOPNOTSUPP error during sfh_init_work (#532)
ccroy-arista Feb 20, 2026
c92aa5c
Added 6.12 kernel trixie patches for amd-pensando elba platform (#538)
SahilChaudhari Feb 23, 2026
2afef96
Add a patch for printing the AMD Zen CPU reset reason (#514)
lotus-nexthop Mar 3, 2026
dac5f90
DTS file as a patch for Nexthop bmc card (#537)
chander-nexthop Mar 3, 2026
c125a95
Disable SPD instantiation in I2C SMBUS driver (#542)
aravindmani-1 Mar 19, 2026
34d54bf
Add kernel patches for spi-xilinx (#541)
domingo-nexthop Mar 31, 2026
e0f95f6
Add CONFIG_NET_NCSI for aspeed (#549)
nats-nokia Mar 31, 2026
1609713
Add device tree patch for Nokia-BMC-H6-128 platform (#553)
nats-nokia Apr 22, 2026
0464699
Update the kernel patch to this tag from Aspeed Kernel Repo - kernel-…
chander-nexthop Apr 23, 2026
3721804
Add Fintek F81214E driver support (#547)
gordon-nexthop Apr 23, 2026
0535397
Update devicetree changes on top of aspeed tag v00.07.02 (#565)
nats-nokia Apr 25, 2026
d4348c2
Fix apparmor vulnerabilities (QID-45097) (#560)
saiarcot895 May 2, 2026
15a20e6
optoe: Add CMIS Bank support for transceivers with >8 lanes (#473)
ishidawataru May 4, 2026
41faa18
Add nvidia_aspeed_bmc marker (#563)
william8545 May 7, 2026
37934b8
Add Arista Goldfinch DTS for aspeed ast2700 (#561)
prajjwal-arista May 12, 2026
d32516b
Integrate HW-MGMT Version 7.0060.1002 (#566)
DannyIsa May 12, 2026
fd6cc0a
[EVPN-MH] Add kernel patches for EVPN VXLAN Multihoming support (#540)
bdfriedman May 12, 2026
0e0f2b0
dts: aspeed: add NVIDIA SPC6 BMC trees to patches-sonic (#574)
oleksandrivantsiv May 12, 2026
a7f3afe
[kconfig]: Set THP default to madvise instead of always (#573)
prabhataravind May 13, 2026
f0fae61
Enable i2c-xiic and add upstream patches (#564)
domingo-nexthop May 15, 2026
d58f058
Remove CONFIG_ASPEED_SSP, its specific to 2600 and not supported on 2…
chander-nexthop May 15, 2026
a141642
Add support for RTC chip NXP PCF85263AT (#578)
JunhongMao Jun 1, 2026
d3a245a
[multi-asic] add drop monitor patches to support multi-asic (#576)
Yakiv-Huryk Jun 5, 2026
434f6d6
net: tg3: guard napi_disable and pci_disable_device calls (#570)
yurypm Jun 8, 2026
460bb62
regmap-i2c: add SMBus byte/word reg16 bus for adapters lacking I2C_FU…
nissampa Jun 9, 2026
7113ba8
Revert "ACPI: OSL: Use a threaded interrupt handler for SCI" (#580)
ymd-arista Jun 9, 2026
4030947
Add noaer_recovery and nodpc pci kernel boot option (#583)
yurypm Jun 9, 2026
65a3d3d
config.sonic: Build driver for sensor INA238 (#585)
RayWang-micas Jun 9, 2026
69043bb
Integrate HW-MGMT Version 7.0060.1047 (#584)
DannyIsa Jun 11, 2026
bac125f
Upstream the script thats used to generate patch for AST2700 (#568)
chander-nexthop Jun 16, 2026
4c6f4db
dts: Add Micas M2-W6950-128OC BMC device tree into patches-sonic (#586)
luka-micas Jun 17, 2026
7851fa8
Fix AST2700 eMMC kernel improvements and Arista Goldfinch DTS update …
prajjwal-arista Jun 18, 2026
75d174a
Add support for the Cadence SD6 SDHCI controller (#581)
renjithkumarnair Jun 27, 2026
f561feb
Remove upstreamed patches, and remove old patch directory
saiarcot895 Jul 8, 2026
8643b36
rtc: armada38x: disable update interrupt feature (#595)
fountzou Jul 8, 2026
134a7d8
Update to Linux 6.12.94
saiarcot895 Jul 8, 2026
0691517
Try to fix arm64 build
saiarcot895 Jul 13, 2026
0fb1df9
Refactor Aspeed kernel-6.12 v00.07.02 update patch (#577)
roger-nexthop Jul 28, 2026
d230661
Clear non-fatal errors on AER recovery failure (#589)
yurypm Jul 29, 2026
67e357a
Fix a bug in the Aspeed SPI driver to support full-duplex operations.…
chander-nexthop Aug 6, 2026
0b0a85d
Merge remote-tracking branch 'origin/master' into linux-6.12.94-update
saiarcot895 Aug 7, 2026
cd7842b
Swap MAC clock pinctrl definitions (#602)
nats-nokia Aug 10, 2026
6f03cb6
Cherry-pick int0002 IRQF_ONESHOT removal on top of the SCI revert (#607)
croos12 Aug 11, 2026
2905476
Merge remote-tracking branch 'origin/master' into linux-6.12.94-update
saiarcot895 Aug 11, 2026
114b53d
Fix patches
saiarcot895 Aug 12, 2026
01c175b
Sync Nexthop patches-sonic, scripts, and config onto 6.12.94-update
chander-nexthop Sep 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .artifactignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
**/*
!*.deb
!kconfig-diff-*.rst
72 changes: 60 additions & 12 deletions .azure-pipelines/build-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,43 +6,91 @@ parameters:
- armhf
- arm64

- name: platform
type: string
values:
- vs
- pensando
default: vs

- name: pool
type: string
values:
- sonicbld
- sonicbld_8c
default: sonicbld
- sonicso1ES-amd64
- sonicso1ES-arm64
- sonicso1ES-armhf
default: sonicso1ES-amd64

- name: timeout
type: number
default: 600
default: 180

- name: old_artifact_name
type: string

- name: sonic_slave
- name: old_linux_deb_pattern
type: string

- name: artifact_name
type: string

- name: linux_deb_pattern
type: string

- name: secure_boot
type: boolean
default: false

jobs:
- job:
pool: ${{ parameters.pool }}
displayName: ${{ parameters.arch }}
displayName: ${{ parameters.platform }}-${{ parameters.arch }} (Secure boot ${{ parameters.secure_boot }})
timeoutInMinutes: ${{ parameters.timeout }}

container:
image: sonicdev-microsoft.azurecr.io:443/${{ parameters.sonic_slave }}:latest
image: sonicdev-microsoft.azurecr.io:443/sonic-slave-trixie:$(BUILD_BRANCH)-${{ parameters.arch }}

steps:
- checkout: self
clean: true
displayName: 'Checkout code'
displayName: 'Checkout code'
- task: DownloadPipelineArtifact@2
inputs:
source: specific
project: build
pipelineId: 499053
artifact: ${{ parameters.old_artifact_name }}
runVersion: 'specific'
itemPattern: ${{ parameters.old_linux_deb_pattern }}
targetPath: $(Agent.TempDirectory)/
displayName: "Download the linux-image artifact from the last build with a different kernel version"
- script: |
git config --global user.email "lguohan@build.com"
git config --global user.name "Guohan Lu"
export kernel_procure_method=build
openssl req -new -noenc -utf8 -sha256 -days 30 -batch -x509 -subj "/CN=Autogenerated pipeline build key" -outform PEM -out build_trusted_key.pem -keyout /dev/null
displayName: "Generate additional secure boot certificate"
condition: ${{ eq(parameters.secure_boot, true) }}
- script: |
set -x
cat /proc/cpuinfo
CONFIGURED_ARCH=${{ parameters.arch }} make
if [[ ${{ parameters.secure_boot }} = "True" ]]; then
export SECURE_UPGRADE_MODE=dev
export SECURE_UPGRADE_SIGNING_CERT=$(System.DefaultWorkingDirectory)/build_trusted_key.pem
fi
CONFIGURED_ARCH=${{ parameters.arch }} CONFIGURED_PLATFORM=${{ parameters.platform }} make
displayName: "Compile sonic kernel"
- script: |
set -e
dpkg-deb -x $(Agent.TempDirectory)/${{ parameters.old_linux_deb_pattern }} $(Agent.TempDirectory)/old
dpkg-deb -x $(System.DefaultWorkingDirectory)/${{ parameters.linux_deb_pattern }} $(Agent.TempDirectory)/new
pip3 install tabulate
python3 $(System.DefaultWorkingDirectory)/.azure-pipelines/kcfg-diff.py \
--buildid $(Build.BuildId) \
--ref_buildid 499053 \
--arch ${{ parameters.arch }} \
--old_kcfg $(Agent.TempDirectory)/old/boot/ \
--new_kcfg $(Agent.TempDirectory)/new/boot/ \
--output $(System.DefaultWorkingDirectory)/kconfig-diff-${{ parameters.platform }}-${{ parameters.arch }}.rst
cat $(System.DefaultWorkingDirectory)/kconfig-diff-${{ parameters.platform }}-${{ parameters.arch }}.rst
displayName: "Compute the kconfig diff"
- publish: $(System.DefaultWorkingDirectory)/
artifact: ${{ parameters.artifact_name }}
displayName: "Archive sonic kernel debian packages"
160 changes: 160 additions & 0 deletions .azure-pipelines/kcfg-diff.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
import argparse
import os
import glob
import sys
import re
from tabulate import tabulate

COLUMN_WIDTH_MAX = 40
MODIF_COLUMN_WIDTH_MAX = 80

RST_TEMPLATE = '''\
SONiC-linux-kernel KConfig Difference:
==========

Reference Kernel
------------
- Version: {}
- BuildID: https://dev.azure.com/mssonic/build/_build/results?buildId={}&view=results

Latest Kernel
------------
- Version: {}
- BuildID: https://dev.azure.com/mssonic/build/_build/results?buildId={}&view=results


Additions & Deletions
------------
{}

Modifications
------------
{}
'''

def read_data(file1):
data = []
try:
with open(file1, 'r') as f1:
data = f1.readlines()
except Exception as e:
print("ABORT: Reading failed from {}, {}".format(file1, str(e)))
sys.exit(1)

data = filter(lambda line: not(line.startswith('#')), data)
ret = dict()
for line in data:
tokens = line.split('=')
if len(tokens) == 2:
key, val = tokens[0].strip(), tokens[-1].strip()
ret[key] = val
return ret

def write_data(fname, data):
try:
with open(fname, 'w') as f:
f.write(data)
except Exception as e:
print("ABORT: Writing to the file {} failed {}".format(fname, str(e)))
sys.exit(1)

def generate_diff(file1, file2):
data_f1 = read_data(file1)
data_f2 = read_data(file2)

additions = []
modifications = []
deletions = []

for key_old, val_old in data_f1.items():
val_new = data_f2.get(key_old, None)
if not val_new:
deletions.append("{}={}".format(key_old, val_old))
elif val_old != val_new:
modifications.append("{}={}->{}".format(key_old, val_old, val_new))
if val_new:
del data_f2[key_old]

for key, val in data_f2.items():
additions.append("{}={}".format(key, val))
return additions, modifications, deletions

def restrict_column_width(lis, width):
for i in range(0, len(lis)):
curr_width = len(lis[i])
new_val = ''
num_newlines = int(curr_width/width)
for j in range(0, num_newlines+1):
if (j+1)*width < curr_width:
new_val += lis[i][j*width:(j+1)*width]
new_val += "\n"
else:
new_val += lis[i][j*width:]
lis[i] = new_val

def format_diff_table(additions, modifications, deletions):
max_len = max(len(additions), len(deletions))
additions += [''] * (max_len - len(additions))
deletions += [''] * (max_len - len(deletions))

restrict_column_width(additions, COLUMN_WIDTH_MAX)
restrict_column_width(deletions, COLUMN_WIDTH_MAX)
restrict_column_width(modifications, MODIF_COLUMN_WIDTH_MAX)

table_data = list(zip(additions, deletions))
headers = ["ADDITIONS", "DELETIONS"]

add_del = tabulate(table_data, headers=headers, tablefmt="grid")
mod = tabulate(list(zip(modifications)), headers=["MODIFICATIONS"], tablefmt="grid")
return add_del, mod

def parse_kver(loc):
files = glob.glob(os.path.join(loc, "config-*"))
if len(files) > 1:
print("WARNING: Multiple config- files present under {}, {}".format(loc, files))
result = re.search(r"config-(.*)", os.path.basename(files[-1]))
return result.group(1)

def create_parser():
# Create argument parser
parser = argparse.ArgumentParser()

# Optional arguments
parser.add_argument("--arch", type=str, required=True)
parser.add_argument("--old_kcfg", type=str, required=True)
parser.add_argument("--new_kcfg", type=str, required=True)
parser.add_argument("--output", type=str, required=True)
parser.add_argument("--ref_buildid", type=str, required=True)
parser.add_argument("--buildid", type=str, required=True)
return parser

def verify_args(args):
if not glob.glob(os.path.join(args.old_kcfg, "config-*")):
print("ABORT: config file missing under {}".format(args.old_kcfg))
return False

if not glob.glob(os.path.join(args.new_kcfg, "config-*")):
print("ABORT: config file missing under {}".format(args.new_kcfg))
return False

if not os.path.exists(os.path.dirname(args.output)):
print("ABORT: Output Folder {} doesn't exist".format(args.output))
return False
return True

if __name__ == "__main__":
parser = create_parser()
args = parser.parse_args()
if not verify_args(args):
sys.exit(1)

ver_old = parse_kver(args.old_kcfg)
ver_new = parse_kver(args.new_kcfg)
f_old = os.path.join(args.old_kcfg, 'config-{}'.format(ver_old))
f_new = os.path.join(args.new_kcfg, 'config-{}'.format(ver_new))

additions, modifications, deletions = generate_diff(f_old, f_new)
add_del, mod = format_diff_table(additions, modifications, deletions)

diff = RST_TEMPLATE.format(ver_old, args.ref_buildid, ver_new, args.buildid, add_del, mod)
write_data(args.output, diff)
87 changes: 87 additions & 0 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
# Copilot Instructions for sonic-linux-kernel

## Project Overview

sonic-linux-kernel contains the build scripts, patches, and kernel configuration for the SONiC Linux kernel. SONiC uses a single shared kernel across all platforms, preferring out-of-tree kernel modules for platform-specific hardware support. This repo manages kernel patches, configuration options, and the Debian kernel package build.

## Architecture

```
sonic-linux-kernel/
├── Makefile # Top-level build — produces Debian kernel packages
├── patch/ # Kernel configuration and patch management
│ ├── kconfig-exclusions # Kernel options to remove (reduce build time)
│ ├── kconfig-inclusions # Kernel options to add
│ └── series # Patch application order
├── patches-sonic/ # SONiC-specific kernel patches
├── patches-debian/ # Debian-specific kernel patches
├── config.local # Local kernel config overrides
├── manage-config # Script to manage kernel configuration
├── .azure-pipelines/ # Azure DevOps CI
└── azure-pipelines.yml # CI pipeline
```

### Key Concepts
- **Single kernel for all platforms**: All SONiC platforms share the same kernel image
- **Out-of-tree modules**: Platform-specific drivers should be built as external modules
- **kconfig management**: Options excluded via `kconfig-exclusions`, included via `kconfig-inclusions`
- **Patch layers**: `patches-sonic/` for SONiC-specific, `patches-debian/` for Debian-derived patches

## Language & Style

- **Primary languages**: Shell scripts, Makefiles, C (kernel patches)
- **Kernel patches**: Must pass `checkpatch.pl` validation
- **Patch format**: Standard kernel patch format with upstream commit reference when applicable
- **Commit messages**: Include original upstream commit ID and message for backported patches

## Build Instructions

```bash
# Build kernel Debian packages
make DEST=<destination_path>

# If DEST is not set, packages stay in current directory
make
```

## Kernel Configuration Changes

### Excluding Options (speed up builds)
Add to `patch/kconfig-exclusions`:
```
CONFIG_REISERFS_FS
CONFIG_JFS_FS
CONFIG_XFS_FS
```

### Including Options
Add to `patch/kconfig-inclusions` with the desired value:
```
CONFIG_MY_DRIVER=m
```

## Patch Acceptance Criteria

Kernel patches are accepted under these conditions:
1. **Enable existing modules**: Enabling built-in kernel modules for SONiC use
2. **Upstream patches**: Backported patches that are already accepted upstream (include upstream commit ID)
3. **Common platform modules**: New modules needed by all/most platforms
4. **Platform-specific (exception)**: Only when impossible or very difficult to build out-of-tree

## PR Guidelines

- **Signed-off-by**: Required on all commits
- **CLA**: Sign Linux Foundation EasyCLA
- **checkpatch.pl**: All kernel patches MUST pass `checkpatch.pl`
- **Upstream first**: Prefer upstream patches — include the original commit hash
- **Justification**: Explain why a patch is needed and why it can't be done out-of-tree
- **CI**: Azure pipeline checks must pass

## Gotchas

- **Build time**: Full kernel build is slow — use kconfig-exclusions to remove unnecessary drivers
- **All platforms affected**: Kernel changes impact every SONiC platform
- **ABI stability**: Kernel ABI changes can break out-of-tree platform modules
- **Patch rebasing**: During kernel version upgrades, all patches must be ported — minimize the patch set
- **Config conflicts**: `kconfig-exclusions` and `kconfig-inclusions` can conflict — exclusions take priority
- **Out-of-tree preference**: Reviewers will push back on patches that could be out-of-tree modules
11 changes: 11 additions & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# This is a comment.
# Each line is a file pattern followed by one or more owners.

# rules are explained here
# https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners

# These owners will be the default owners for everything in
# the repo. Unless a later match takes precedence,
# @user will be requested for review when someone opens
# a pull request.
* @sonic-net/sonic-linux-kernel-maintainer
Loading