Skip to content

[24.10]: Misc backports to 24.10 - #19839

Merged
openwrt-bot merged 9 commits into
openwrt:openwrt-24.10from
hauke:backports-24.10
Aug 24, 2025
Merged

openwrt-bot merged 9 commits into
openwrt:openwrt-24.10from
hauke:backports-24.10

Conversation

@hauke

@hauke hauke commented Aug 23, 2025

Copy link
Copy Markdown
Member

backport multiple unrelated fixes from the main branch to openwrt-24.10.

@github-actions github-actions Bot added build/scripts/tools pull request/issues for build, scripts and tools related changes kernel pull request/issue with Linux kernel related changes target/lantiq pull request/issue for lantiq target core packages pull request/issue for core (in-tree) packages target/ramips pull request/issue for ramips target target/ath79 pull request/issue for ath79 target target/mediatek pull request/issue for mediatek target release/24.10 pull request/issue targeted (also) for OpenWrt 24.10 release labels Aug 23, 2025
@glassd00r

glassd00r commented Aug 24, 2025 •

Copy link
Copy Markdown

@hauke

hauke commented Aug 24, 2025

Copy link
Copy Markdown
Member Author

Please include this fix [https://github.com/openwrt/openwrt/commit/1de1df1](1de1df1)

Thanks for the hint, added the patch.

janh and others added 9 commits August 24, 2025 15:30
The interrupt handler reads from the mailbox if no other reason for the
interrupt is known. If a spurious interrupt is received just after a
mailbox message has been sent, this means that the response to the
previous message is read again and returned by DSL_BSP_SendCMV instead
of the actual response.

To fix this, check the status register before reading from the mailbox
in the interrupt handler.

Tested on Fritzbox 7320. Without this change, there is occasionally a
kernel panic due to an out-of-bounds memory access in the ltq-adsl
driver (in DSL_DRV_DEV_G997_SnrAllocationNscGet), as a result of an
incorrect value returned by DSL_DRV_DANUBE_CmvRead. This is reproducible
by calling "dsl_cpe_pipe.sh g997dsnrg 1 1" multiple times.

Signed-off-by: Jan Hoffmann <[email protected]>
Link: openwrt#19385
(cherry picked from commit 6889ea7)
Link: openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
There is some confusion in the Git log of this file.  Specifically,
the commit message on 7b7f170 incorrectly indicates that there was
"potential fear" about copyright infringement.

Upon review of this situation, there is, in my opinion, no concern of
copyright infringement here.  This is not legal advice; it is my
opinion based of years of work on copyright policy for FOSS.

However, Elliott Mitchell's idea was obviously helpful as inspiration
in writing this script and deserves credit.  Ideas alone, however,
are not to my knowledge copyrightable anywhere in the world.

Signed-off-by: Bradley M. Kuhn <[email protected]>
(cherry picked from commit d8e738e)
Link: openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
upstream changelog:

[ Alexander Kanavin ]
* update-ca-certificates: add a --sysroot option

[ Julien Cristau ]
* Update Mozilla certificate authority bundle to version 2.74.
  The following certificate authorities were added (+):
  + D-TRUST BR Root CA 2 2023
  + D-TRUST EV Root CA 2 2023
  The following certificate authorities were removed (-):
  - Entrust Root Certification Authority - G4
  - SecureSign RootCA11
  - Security Communication RootCA3
  - SwissSign Silver CA - G2

Signed-off-by: Fengyu Wu <[email protected]>
Link: openwrt#19462
(cherry picked from commit 8bf023d)
Link: openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
This file should be generated automatically at runtime by the kernel
build system.

Link: openwrt#19473
(cherry picked from commit e53c53b)
Link: openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
This enables software that requires this cipher suite (e.g. OpenThread Border
Router) to be compiled against the shared library rather than a separate copy.

Signed-off-by: Karsten Sperling <[email protected]>
Link: openwrt#19489
(cherry picked from commit 97dc9f8)
Link: openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
A commit which broke netdev trigger LEDs offloaded to PHYs recently made
it all the way down to the Linux 6.6 stable branch. The revert has been
accepted to linux-next, however, a backport to the various -stable trees
is still pending.

Import the backported revert commit to fix in OpenWrt in the meantime
until the revert also gets picked to linux-stable.

Link: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=26f732791f2bcab18f59c61915bbe35225f30136
Signed-off-by: Daniel Golle <[email protected]>
(cherry picked from commit 1de1df1)
Link: openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
The vendor DTS defined incorrect GPIOs for the LEDs, which caused them
to not function properly. Initially, the WAN, WLAN LEDs appeared to
work, but further testing showed that they were non-functional.

This patch corrects the GPIO assignments in the DTS, restoring full LED
functionality including blinking, except the power LED which cannot be
software controlled.

Tested on a CF-EW71 v2 unit.

Fixes: ee3a6ad ("ath79: add support for Comfast CF-EW71 v2")
Signed-off-by: Felix Golatofski <[email protected]>
Link: openwrt#19665
(cherry picked from commit 9ce23ac)
Link: openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
This makes 5ghz WiFi work out of the box on these devices, eliminating
the need to flash a magic blob to the radio partition.

This was found by user BulldozerBSG on the OpenWRT Forums:
https://forum.openwrt.org/t/tp-link-archer-mr600-exploration/65489/20
All credit belongs to them. I can confirm the correctness of the
findings. At least one other user (Iggy87100) confirmed them too.

Signed-off-by: Stefan Dösinger <[email protected]>
Link: openwrt#19790
(cherry picked from commit e7ed87b)
Link: openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
The problem was fixed in upstream kernel in a different way and the
change was backported to kernel 6.6 in the following change:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.6.y&id=48e8791843206baf76827df1b6ee3cb88a2a17d8

The removed patch changes the endianness again and breaks the
functionality, use only the upstream code and remove our unneeded patch.

The 823-v6.12-0003-nvmem-layouts-add-U-Boot-env-layout.patch patch was
adapted in the kernel bump too. It moves the code with the fix now.

Fixes: 05d344c ("kernel: bump 6.6 to 6.6.100")
Reported-by: Michael Pratt <[email protected]>
Link: openwrt#19830
(cherry picked from commit 4cd256c)
Link: openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
@openwrt-bot
openwrt-bot merged commit 6bf869d into openwrt:openwrt-24.10 Aug 24, 2025
@hauke
hauke deleted the backports-24.10 branch August 24, 2025 13:44
tongchuong pushed a commit to tongchuong/r7500v2-nss that referenced this pull request Aug 29, 2025
The interrupt handler reads from the mailbox if no other reason for the
interrupt is known. If a spurious interrupt is received just after a
mailbox message has been sent, this means that the response to the
previous message is read again and returned by DSL_BSP_SendCMV instead
of the actual response.

To fix this, check the status register before reading from the mailbox
in the interrupt handler.

Tested on Fritzbox 7320. Without this change, there is occasionally a
kernel panic due to an out-of-bounds memory access in the ltq-adsl
driver (in DSL_DRV_DEV_G997_SnrAllocationNscGet), as a result of an
incorrect value returned by DSL_DRV_DANUBE_CmvRead. This is reproducible
by calling "dsl_cpe_pipe.sh g997dsnrg 1 1" multiple times.

Signed-off-by: Jan Hoffmann <[email protected]>
Link: openwrt/openwrt#19385
(cherry picked from commit 6889ea7)
Link: openwrt/openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
tongchuong pushed a commit to tongchuong/r7500v2-nss that referenced this pull request Aug 29, 2025
There is some confusion in the Git log of this file.  Specifically,
the commit message on 7b7f170 incorrectly indicates that there was
"potential fear" about copyright infringement.

Upon review of this situation, there is, in my opinion, no concern of
copyright infringement here.  This is not legal advice; it is my
opinion based of years of work on copyright policy for FOSS.

However, Elliott Mitchell's idea was obviously helpful as inspiration
in writing this script and deserves credit.  Ideas alone, however,
are not to my knowledge copyrightable anywhere in the world.

Signed-off-by: Bradley M. Kuhn <[email protected]>
(cherry picked from commit d8e738e)
Link: openwrt/openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
tongchuong pushed a commit to tongchuong/r7500v2-nss that referenced this pull request Aug 29, 2025
upstream changelog:

[ Alexander Kanavin ]
* update-ca-certificates: add a --sysroot option

[ Julien Cristau ]
* Update Mozilla certificate authority bundle to version 2.74.
  The following certificate authorities were added (+):
  + D-TRUST BR Root CA 2 2023
  + D-TRUST EV Root CA 2 2023
  The following certificate authorities were removed (-):
  - Entrust Root Certification Authority - G4
  - SecureSign RootCA11
  - Security Communication RootCA3
  - SwissSign Silver CA - G2

Signed-off-by: Fengyu Wu <[email protected]>
Link: openwrt/openwrt#19462
(cherry picked from commit 8bf023d)
Link: openwrt/openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
tongchuong pushed a commit to tongchuong/r7500v2-nss that referenced this pull request Aug 29, 2025
This file should be generated automatically at runtime by the kernel
build system.

Link: openwrt/openwrt#19473
(cherry picked from commit e53c53b)
Link: openwrt/openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
tongchuong pushed a commit to tongchuong/r7500v2-nss that referenced this pull request Aug 29, 2025
This enables software that requires this cipher suite (e.g. OpenThread Border
Router) to be compiled against the shared library rather than a separate copy.

Signed-off-by: Karsten Sperling <[email protected]>
Link: openwrt/openwrt#19489
(cherry picked from commit 97dc9f8)
Link: openwrt/openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
tongchuong pushed a commit to tongchuong/r7500v2-nss that referenced this pull request Aug 29, 2025
A commit which broke netdev trigger LEDs offloaded to PHYs recently made
it all the way down to the Linux 6.6 stable branch. The revert has been
accepted to linux-next, however, a backport to the various -stable trees
is still pending.

Import the backported revert commit to fix in OpenWrt in the meantime
until the revert also gets picked to linux-stable.

Link: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=26f732791f2bcab18f59c61915bbe35225f30136
Signed-off-by: Daniel Golle <[email protected]>
(cherry picked from commit 1de1df1)
Link: openwrt/openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
tongchuong pushed a commit to tongchuong/r7500v2-nss that referenced this pull request Aug 29, 2025
The vendor DTS defined incorrect GPIOs for the LEDs, which caused them
to not function properly. Initially, the WAN, WLAN LEDs appeared to
work, but further testing showed that they were non-functional.

This patch corrects the GPIO assignments in the DTS, restoring full LED
functionality including blinking, except the power LED which cannot be
software controlled.

Tested on a CF-EW71 v2 unit.

Fixes: ee3a6ad ("ath79: add support for Comfast CF-EW71 v2")
Signed-off-by: Felix Golatofski <[email protected]>
Link: openwrt/openwrt#19665
(cherry picked from commit 9ce23ac)
Link: openwrt/openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
schqiushui pushed a commit to schqiushui/immortalwrt-mt798x that referenced this pull request Sep 12, 2025
The interrupt handler reads from the mailbox if no other reason for the
interrupt is known. If a spurious interrupt is received just after a
mailbox message has been sent, this means that the response to the
previous message is read again and returned by DSL_BSP_SendCMV instead
of the actual response.

To fix this, check the status register before reading from the mailbox
in the interrupt handler.

Tested on Fritzbox 7320. Without this change, there is occasionally a
kernel panic due to an out-of-bounds memory access in the ltq-adsl
driver (in DSL_DRV_DEV_G997_SnrAllocationNscGet), as a result of an
incorrect value returned by DSL_DRV_DANUBE_CmvRead. This is reproducible
by calling "dsl_cpe_pipe.sh g997dsnrg 1 1" multiple times.

Signed-off-by: Jan Hoffmann <[email protected]>
Link: openwrt/openwrt#19385
(cherry picked from commit 6889ea7)
Link: openwrt/openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
schqiushui pushed a commit to schqiushui/immortalwrt-mt798x that referenced this pull request Sep 12, 2025
There is some confusion in the Git log of this file.  Specifically,
the commit message on 7b7f170 incorrectly indicates that there was
"potential fear" about copyright infringement.

Upon review of this situation, there is, in my opinion, no concern of
copyright infringement here.  This is not legal advice; it is my
opinion based of years of work on copyright policy for FOSS.

However, Elliott Mitchell's idea was obviously helpful as inspiration
in writing this script and deserves credit.  Ideas alone, however,
are not to my knowledge copyrightable anywhere in the world.

Signed-off-by: Bradley M. Kuhn <[email protected]>
(cherry picked from commit d8e738e)
Link: openwrt/openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
schqiushui pushed a commit to schqiushui/immortalwrt-mt798x that referenced this pull request Sep 12, 2025
upstream changelog:

[ Alexander Kanavin ]
* update-ca-certificates: add a --sysroot option

[ Julien Cristau ]
* Update Mozilla certificate authority bundle to version 2.74.
  The following certificate authorities were added (+):
  + D-TRUST BR Root CA 2 2023
  + D-TRUST EV Root CA 2 2023
  The following certificate authorities were removed (-):
  - Entrust Root Certification Authority - G4
  - SecureSign RootCA11
  - Security Communication RootCA3
  - SwissSign Silver CA - G2

Signed-off-by: Fengyu Wu <[email protected]>
Link: openwrt/openwrt#19462
(cherry picked from commit 8bf023d)
Link: openwrt/openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
schqiushui pushed a commit to schqiushui/immortalwrt-mt798x that referenced this pull request Sep 12, 2025
This enables software that requires this cipher suite (e.g. OpenThread Border
Router) to be compiled against the shared library rather than a separate copy.

Signed-off-by: Karsten Sperling <[email protected]>
Link: openwrt/openwrt#19489
(cherry picked from commit 97dc9f8)
Link: openwrt/openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
schqiushui pushed a commit to schqiushui/immortalwrt-mt798x that referenced this pull request Sep 12, 2025
The problem was fixed in upstream kernel in a different way and the
change was backported to kernel 6.6 in the following change:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.6.y&id=48e8791843206baf76827df1b6ee3cb88a2a17d8

The removed patch changes the endianness again and breaks the
functionality, use only the upstream code and remove our unneeded patch.

The 823-v6.12-0003-nvmem-layouts-add-U-Boot-env-layout.patch patch was
adapted in the kernel bump too. It moves the code with the fix now.

Fixes: 05d344c ("kernel: bump 6.6 to 6.6.100")
Reported-by: Michael Pratt <[email protected]>
Link: openwrt/openwrt#19830
(cherry picked from commit 4cd256c)
Link: openwrt/openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
lunatickochiya pushed a commit to lunatickochiya/openwrt-ipq-mod that referenced this pull request Sep 15, 2025
The interrupt handler reads from the mailbox if no other reason for the
interrupt is known. If a spurious interrupt is received just after a
mailbox message has been sent, this means that the response to the
previous message is read again and returned by DSL_BSP_SendCMV instead
of the actual response.

To fix this, check the status register before reading from the mailbox
in the interrupt handler.

Tested on Fritzbox 7320. Without this change, there is occasionally a
kernel panic due to an out-of-bounds memory access in the ltq-adsl
driver (in DSL_DRV_DEV_G997_SnrAllocationNscGet), as a result of an
incorrect value returned by DSL_DRV_DANUBE_CmvRead. This is reproducible
by calling "dsl_cpe_pipe.sh g997dsnrg 1 1" multiple times.

Signed-off-by: Jan Hoffmann <[email protected]>
Link: openwrt/openwrt#19385
(cherry picked from commit 6889ea7)
Link: openwrt/openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
lunatickochiya pushed a commit to lunatickochiya/openwrt-ipq-mod that referenced this pull request Sep 15, 2025
There is some confusion in the Git log of this file.  Specifically,
the commit message on 7b7f170 incorrectly indicates that there was
"potential fear" about copyright infringement.

Upon review of this situation, there is, in my opinion, no concern of
copyright infringement here.  This is not legal advice; it is my
opinion based of years of work on copyright policy for FOSS.

However, Elliott Mitchell's idea was obviously helpful as inspiration
in writing this script and deserves credit.  Ideas alone, however,
are not to my knowledge copyrightable anywhere in the world.

Signed-off-by: Bradley M. Kuhn <[email protected]>
(cherry picked from commit d8e738e)
Link: openwrt/openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
lunatickochiya pushed a commit to lunatickochiya/openwrt-ipq-mod that referenced this pull request Sep 15, 2025
upstream changelog:

[ Alexander Kanavin ]
* update-ca-certificates: add a --sysroot option

[ Julien Cristau ]
* Update Mozilla certificate authority bundle to version 2.74.
  The following certificate authorities were added (+):
  + D-TRUST BR Root CA 2 2023
  + D-TRUST EV Root CA 2 2023
  The following certificate authorities were removed (-):
  - Entrust Root Certification Authority - G4
  - SecureSign RootCA11
  - Security Communication RootCA3
  - SwissSign Silver CA - G2

Signed-off-by: Fengyu Wu <[email protected]>
Link: openwrt/openwrt#19462
(cherry picked from commit 8bf023d)
Link: openwrt/openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
lunatickochiya pushed a commit to lunatickochiya/openwrt-ipq-mod that referenced this pull request Sep 15, 2025
This file should be generated automatically at runtime by the kernel
build system.

Link: openwrt/openwrt#19473
(cherry picked from commit e53c53b)
Link: openwrt/openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
lunatickochiya pushed a commit to lunatickochiya/openwrt-ipq-mod that referenced this pull request Sep 15, 2025
This enables software that requires this cipher suite (e.g. OpenThread Border
Router) to be compiled against the shared library rather than a separate copy.

Signed-off-by: Karsten Sperling <[email protected]>
Link: openwrt/openwrt#19489
(cherry picked from commit 97dc9f8)
Link: openwrt/openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
lunatickochiya pushed a commit to lunatickochiya/openwrt-ipq-mod that referenced this pull request Sep 15, 2025
A commit which broke netdev trigger LEDs offloaded to PHYs recently made
it all the way down to the Linux 6.6 stable branch. The revert has been
accepted to linux-next, however, a backport to the various -stable trees
is still pending.

Import the backported revert commit to fix in OpenWrt in the meantime
until the revert also gets picked to linux-stable.

Link: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=26f732791f2bcab18f59c61915bbe35225f30136
Signed-off-by: Daniel Golle <[email protected]>
(cherry picked from commit 1de1df1)
Link: openwrt/openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
lunatickochiya pushed a commit to lunatickochiya/openwrt-ipq-mod that referenced this pull request Sep 15, 2025
The interrupt handler reads from the mailbox if no other reason for the
interrupt is known. If a spurious interrupt is received just after a
mailbox message has been sent, this means that the response to the
previous message is read again and returned by DSL_BSP_SendCMV instead
of the actual response.

To fix this, check the status register before reading from the mailbox
in the interrupt handler.

Tested on Fritzbox 7320. Without this change, there is occasionally a
kernel panic due to an out-of-bounds memory access in the ltq-adsl
driver (in DSL_DRV_DEV_G997_SnrAllocationNscGet), as a result of an
incorrect value returned by DSL_DRV_DANUBE_CmvRead. This is reproducible
by calling "dsl_cpe_pipe.sh g997dsnrg 1 1" multiple times.

Signed-off-by: Jan Hoffmann <[email protected]>
Link: openwrt/openwrt#19385
(cherry picked from commit 6889ea7)
Link: openwrt/openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
lunatickochiya pushed a commit to lunatickochiya/openwrt-ipq-mod that referenced this pull request Sep 15, 2025
There is some confusion in the Git log of this file.  Specifically,
the commit message on 7b7f170 incorrectly indicates that there was
"potential fear" about copyright infringement.

Upon review of this situation, there is, in my opinion, no concern of
copyright infringement here.  This is not legal advice; it is my
opinion based of years of work on copyright policy for FOSS.

However, Elliott Mitchell's idea was obviously helpful as inspiration
in writing this script and deserves credit.  Ideas alone, however,
are not to my knowledge copyrightable anywhere in the world.

Signed-off-by: Bradley M. Kuhn <[email protected]>
(cherry picked from commit d8e738e)
Link: openwrt/openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
lunatickochiya pushed a commit to lunatickochiya/openwrt-ipq-mod that referenced this pull request Sep 15, 2025
upstream changelog:

[ Alexander Kanavin ]
* update-ca-certificates: add a --sysroot option

[ Julien Cristau ]
* Update Mozilla certificate authority bundle to version 2.74.
  The following certificate authorities were added (+):
  + D-TRUST BR Root CA 2 2023
  + D-TRUST EV Root CA 2 2023
  The following certificate authorities were removed (-):
  - Entrust Root Certification Authority - G4
  - SecureSign RootCA11
  - Security Communication RootCA3
  - SwissSign Silver CA - G2

Signed-off-by: Fengyu Wu <[email protected]>
Link: openwrt/openwrt#19462
(cherry picked from commit 8bf023d)
Link: openwrt/openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
lunatickochiya pushed a commit to lunatickochiya/openwrt-ipq-mod that referenced this pull request Sep 15, 2025
This file should be generated automatically at runtime by the kernel
build system.

Link: openwrt/openwrt#19473
(cherry picked from commit e53c53b)
Link: openwrt/openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
lunatickochiya pushed a commit to lunatickochiya/openwrt-ipq-mod that referenced this pull request Sep 15, 2025
This enables software that requires this cipher suite (e.g. OpenThread Border
Router) to be compiled against the shared library rather than a separate copy.

Signed-off-by: Karsten Sperling <[email protected]>
Link: openwrt/openwrt#19489
(cherry picked from commit 97dc9f8)
Link: openwrt/openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
lunatickochiya pushed a commit to lunatickochiya/openwrt-ipq-mod that referenced this pull request Sep 15, 2025
A commit which broke netdev trigger LEDs offloaded to PHYs recently made
it all the way down to the Linux 6.6 stable branch. The revert has been
accepted to linux-next, however, a backport to the various -stable trees
is still pending.

Import the backported revert commit to fix in OpenWrt in the meantime
until the revert also gets picked to linux-stable.

Link: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=26f732791f2bcab18f59c61915bbe35225f30136
Signed-off-by: Daniel Golle <[email protected]>
(cherry picked from commit 1de1df1)
Link: openwrt/openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
indraAsLesmana pushed a commit to indraAsLesmana/openwrt that referenced this pull request Sep 23, 2025
The interrupt handler reads from the mailbox if no other reason for the
interrupt is known. If a spurious interrupt is received just after a
mailbox message has been sent, this means that the response to the
previous message is read again and returned by DSL_BSP_SendCMV instead
of the actual response.

To fix this, check the status register before reading from the mailbox
in the interrupt handler.

Tested on Fritzbox 7320. Without this change, there is occasionally a
kernel panic due to an out-of-bounds memory access in the ltq-adsl
driver (in DSL_DRV_DEV_G997_SnrAllocationNscGet), as a result of an
incorrect value returned by DSL_DRV_DANUBE_CmvRead. This is reproducible
by calling "dsl_cpe_pipe.sh g997dsnrg 1 1" multiple times.

Signed-off-by: Jan Hoffmann <[email protected]>
Link: openwrt/openwrt#19385
(cherry picked from commit 6889ea7b9a466b73f59fad9c6ae942728b907200)
Link: openwrt/openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
indraAsLesmana pushed a commit to indraAsLesmana/openwrt that referenced this pull request Sep 23, 2025
There is some confusion in the Git log of this file.  Specifically,
the commit message on 7b7f170 incorrectly indicates that there was
"potential fear" about copyright infringement.

Upon review of this situation, there is, in my opinion, no concern of
copyright infringement here.  This is not legal advice; it is my
opinion based of years of work on copyright policy for FOSS.

However, Elliott Mitchell's idea was obviously helpful as inspiration
in writing this script and deserves credit.  Ideas alone, however,
are not to my knowledge copyrightable anywhere in the world.

Signed-off-by: Bradley M. Kuhn <[email protected]>
(cherry picked from commit d8e738e5c4034bbc8bd29db25fb0abafdc2abf17)
Link: openwrt/openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
indraAsLesmana pushed a commit to indraAsLesmana/openwrt that referenced this pull request Sep 23, 2025
upstream changelog:

[ Alexander Kanavin ]
* update-ca-certificates: add a --sysroot option

[ Julien Cristau ]
* Update Mozilla certificate authority bundle to version 2.74.
  The following certificate authorities were added (+):
  + D-TRUST BR Root CA 2 2023
  + D-TRUST EV Root CA 2 2023
  The following certificate authorities were removed (-):
  - Entrust Root Certification Authority - G4
  - SecureSign RootCA11
  - Security Communication RootCA3
  - SwissSign Silver CA - G2

Signed-off-by: Fengyu Wu <[email protected]>
Link: openwrt/openwrt#19462
(cherry picked from commit 8bf023da765e9893a3fc5a34556326f3aaa68271)
Link: openwrt/openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
indraAsLesmana pushed a commit to indraAsLesmana/openwrt that referenced this pull request Sep 23, 2025
This file should be generated automatically at runtime by the kernel
build system.

Link: openwrt/openwrt#19473
(cherry picked from commit e53c53b7d59d444a7964fbeaa66609f13c1133f9)
Link: openwrt/openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
indraAsLesmana pushed a commit to indraAsLesmana/openwrt that referenced this pull request Sep 23, 2025
This enables software that requires this cipher suite (e.g. OpenThread Border
Router) to be compiled against the shared library rather than a separate copy.

Signed-off-by: Karsten Sperling <[email protected]>
Link: openwrt/openwrt#19489
(cherry picked from commit 97dc9f8dbfde8725ca26ae7ce0f348488e62e29e)
Link: openwrt/openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
indraAsLesmana pushed a commit to indraAsLesmana/openwrt that referenced this pull request Sep 23, 2025
A commit which broke netdev trigger LEDs offloaded to PHYs recently made
it all the way down to the Linux 6.6 stable branch. The revert has been
accepted to linux-next, however, a backport to the various -stable trees
is still pending.

Import the backported revert commit to fix in OpenWrt in the meantime
until the revert also gets picked to linux-stable.

Link: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=26f732791f2bcab18f59c61915bbe35225f30136
Signed-off-by: Daniel Golle <[email protected]>
(cherry picked from commit 1de1df1bea94547150f01006062358ebe68ae874)
Link: openwrt/openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
indraAsLesmana pushed a commit to indraAsLesmana/openwrt that referenced this pull request Sep 23, 2025
The vendor DTS defined incorrect GPIOs for the LEDs, which caused them
to not function properly. Initially, the WAN, WLAN LEDs appeared to
work, but further testing showed that they were non-functional.

This patch corrects the GPIO assignments in the DTS, restoring full LED
functionality including blinking, except the power LED which cannot be
software controlled.

Tested on a CF-EW71 v2 unit.

Fixes: ee3a6ad ("ath79: add support for Comfast CF-EW71 v2")
Signed-off-by: Felix Golatofski <[email protected]>
Link: openwrt/openwrt#19665
(cherry picked from commit 9ce23ac84009d720bb6d65605508bf8a737b184d)
Link: openwrt/openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
indraAsLesmana pushed a commit to indraAsLesmana/openwrt that referenced this pull request Sep 23, 2025
This makes 5ghz WiFi work out of the box on these devices, eliminating
the need to flash a magic blob to the radio partition.

This was found by user BulldozerBSG on the OpenWRT Forums:
https://forum.openwrt.org/t/tp-link-archer-mr600-exploration/65489/20
All credit belongs to them. I can confirm the correctness of the
findings. At least one other user (Iggy87100) confirmed them too.

Signed-off-by: Stefan Dösinger <[email protected]>
Link: openwrt/openwrt#19790
(cherry picked from commit e7ed87b83b62cc3920cf1f25abbf6f06c96fee66)
Link: openwrt/openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
indraAsLesmana pushed a commit to indraAsLesmana/openwrt that referenced this pull request Sep 23, 2025
The problem was fixed in upstream kernel in a different way and the
change was backported to kernel 6.6 in the following change:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.6.y&id=48e8791843206baf76827df1b6ee3cb88a2a17d8

The removed patch changes the endianness again and breaks the
functionality, use only the upstream code and remove our unneeded patch.

The 823-v6.12-0003-nvmem-layouts-add-U-Boot-env-layout.patch patch was
adapted in the kernel bump too. It moves the code with the fix now.

Fixes: 05d344cb2ca3 ("kernel: bump 6.6 to 6.6.100")
Reported-by: Michael Pratt <[email protected]>
Link: openwrt/openwrt#19830
(cherry picked from commit 4cd256c72a7e823e55475786eb1f2a1f7ffcd497)
Link: openwrt/openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
lunatickochiya pushed a commit to lunatickochiya/openwrt-ipq-mod that referenced this pull request Nov 17, 2025
There is some confusion in the Git log of this file.  Specifically,
the commit message on 7b7f170 incorrectly indicates that there was
"potential fear" about copyright infringement.

Upon review of this situation, there is, in my opinion, no concern of
copyright infringement here.  This is not legal advice; it is my
opinion based of years of work on copyright policy for FOSS.

However, Elliott Mitchell's idea was obviously helpful as inspiration
in writing this script and deserves credit.  Ideas alone, however,
are not to my knowledge copyrightable anywhere in the world.

Signed-off-by: Bradley M. Kuhn <[email protected]>
(cherry picked from commit d8e738e)
Link: openwrt/openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
lunatickochiya pushed a commit to lunatickochiya/openwrt-ipq-mod that referenced this pull request Nov 17, 2025
upstream changelog:

[ Alexander Kanavin ]
* update-ca-certificates: add a --sysroot option

[ Julien Cristau ]
* Update Mozilla certificate authority bundle to version 2.74.
  The following certificate authorities were added (+):
  + D-TRUST BR Root CA 2 2023
  + D-TRUST EV Root CA 2 2023
  The following certificate authorities were removed (-):
  - Entrust Root Certification Authority - G4
  - SecureSign RootCA11
  - Security Communication RootCA3
  - SwissSign Silver CA - G2

Signed-off-by: Fengyu Wu <[email protected]>
Link: openwrt/openwrt#19462
(cherry picked from commit 8bf023d)
Link: openwrt/openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
lunatickochiya pushed a commit to lunatickochiya/openwrt-ipq-mod that referenced this pull request Nov 17, 2025
This file should be generated automatically at runtime by the kernel
build system.

Link: openwrt/openwrt#19473
(cherry picked from commit e53c53b)
Link: openwrt/openwrt#19839
Signed-off-by: Hauke Mehrtens <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build/scripts/tools pull request/issues for build, scripts and tools related changes core packages pull request/issue for core (in-tree) packages kernel pull request/issue with Linux kernel related changes release/24.10 pull request/issue targeted (also) for OpenWrt 24.10 release target/ath79 pull request/issue for ath79 target target/lantiq pull request/issue for lantiq target target/mediatek pull request/issue for mediatek target target/ramips pull request/issue for ramips target

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants