...
 
Commits (15)
    https://gitcode.net/mirror/openwrt/openwrt/-/commit/77f7f697391b93dcde6817749589fa33e493588e kernel: bump 5.10 to 5.10.187 2023-08-11T22:19:04+02:00 Hauke Mehrtens hauke@hauke-m.de All patches automatically rebased. Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:hauke@hauke-m.de" title="hauke@hauke-m.de"></a><a href="javascript:void(0)" class="avatar s16 avatar-inline identicon bg5" style="text-decoration: none">N</a><a href="mailto:hauke@hauke-m.de" title="hauke@hauke-m.de">Hauke Mehrtens</a> &lt;<a href="mailto:hauke@hauke-m.de" title="hauke@hauke-m.de">hauke@hauke-m.de</a>&gt;</span> https://gitcode.net/mirror/openwrt/openwrt/-/commit/f6b6d4b2f0cb3ba12c18d5a89560fb658a954d22 kernel: bump 5.10 to 5.10.188 2023-08-11T22:19:43+02:00 Hauke Mehrtens hauke@hauke-m.de Manually rebased: bcm27xx/patches-5.10/950-0355-xhci-quirks-add-link-TRB-quirk-for-VL805.patch bcm53xx/patches-5.10/180-usb-xhci-add-support-for-performing-fake-doorbell.patch Removed because already in upstream: bcm53xx/patches-5.10/039-v6.5-0003-ARM-dts-BCM5301X-Drop-clock-names-from-the-SPI-node.patch bcm53xx/patches-5.10/039-v6.5-0015-ARM-dts-BCM5301X-fix-duplex-full-full-duplex.patch generic/backport-5.10/765-v6.5-net-bgmac-postpone-turning-IRQs-off-to-avoid-SoC-han.patch All other patches automatically rebased. Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:hauke@hauke-m.de" title="hauke@hauke-m.de"></a><a href="javascript:void(0)" class="avatar s16 avatar-inline identicon bg6" style="text-decoration: none">N</a><a href="mailto:hauke@hauke-m.de" title="hauke@hauke-m.de">Hauke Mehrtens</a> &lt;<a href="mailto:hauke@hauke-m.de" title="hauke@hauke-m.de">hauke@hauke-m.de</a>&gt;</span> https://gitcode.net/mirror/openwrt/openwrt/-/commit/59dce3b595b0477bef991f6504d28fbd89cc8b4d kernel: bump 5.10 to 5.10.189 2023-08-11T23:17:31+02:00 Hauke Mehrtens hauke@hauke-m.de All patches automatically rebased. Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:hauke@hauke-m.de" title="hauke@hauke-m.de"></a><a href="javascript:void(0)" class="avatar s16 avatar-inline identicon bg6" style="text-decoration: none">N</a><a href="mailto:hauke@hauke-m.de" title="hauke@hauke-m.de">Hauke Mehrtens</a> &lt;<a href="mailto:hauke@hauke-m.de" title="hauke@hauke-m.de">hauke@hauke-m.de</a>&gt;</span> https://gitcode.net/mirror/openwrt/openwrt/-/commit/419218af13b4c036b3f27e450855727005b8d141 kernel: bump 5.10 to 5.10.190 2023-08-11T23:17:31+02:00 Hauke Mehrtens hauke@hauke-m.de All patches automatically rebased. Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:hauke@hauke-m.de" title="hauke@hauke-m.de"></a><a href="javascript:void(0)" class="avatar s16 avatar-inline identicon bg3" style="text-decoration: none">N</a><a href="mailto:hauke@hauke-m.de" title="hauke@hauke-m.de">Hauke Mehrtens</a> &lt;<a href="mailto:hauke@hauke-m.de" title="hauke@hauke-m.de">hauke@hauke-m.de</a>&gt;</span> https://gitcode.net/mirror/openwrt/openwrt/-/commit/c1181a54b08a5007624deb920c0b6873c85259a9 uhttpd: update to latest Git HEAD 2023-08-12T11:46:51+02:00 Hauke Mehrtens hauke@hauke-m.de 47561aa mimetypes: add audio/video support for apple airplay 6341357 ucode: respect all arguments passed to send() Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:hauke@hauke-m.de" title="hauke@hauke-m.de"></a><a href="javascript:void(0)" class="avatar s16 avatar-inline identicon bg5" style="text-decoration: none">N</a><a href="mailto:hauke@hauke-m.de" title="hauke@hauke-m.de">Hauke Mehrtens</a> &lt;<a href="mailto:hauke@hauke-m.de" title="hauke@hauke-m.de">hauke@hauke-m.de</a>&gt;</span> (cherry picked from commit <a href="/mirror/openwrt/openwrt/-/commit/d14559e9df4052cfaecd016c2afd2353ce18c455" data-original="d14559e9df4052cfaecd016c2afd2353ce18c455" data-link="false" data-link-reference="false" data-project="28802" data-commit="d14559e9df4052cfaecd016c2afd2353ce18c455" data-reference-type="commit" data-container="body" data-placement="top" title="uhttpd: update to latest Git HEAD" class="gfm gfm-commit has-tooltip">d14559e9</a>) https://gitcode.net/mirror/openwrt/openwrt/-/commit/1dbbd0fcf2694202dcbeb1d93552242fe5fc040e uhttpd: update to latest git HEAD 2023-08-12T11:46:51+02:00 Hauke Mehrtens hauke@hauke-m.de 34a8a74 uhttpd/file: fix string out of buffer range on uh_defer_script Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:hauke@hauke-m.de" title="hauke@hauke-m.de"></a><a href="javascript:void(0)" class="avatar s16 avatar-inline identicon bg3" style="text-decoration: none">N</a><a href="mailto:hauke@hauke-m.de" title="hauke@hauke-m.de">Hauke Mehrtens</a> &lt;<a href="mailto:hauke@hauke-m.de" title="hauke@hauke-m.de">hauke@hauke-m.de</a>&gt;</span> (cherry picked from commit <a href="/mirror/openwrt/openwrt/-/commit/7a6f6b812632a5983cd34ab5c41271d5d4de5fbf" data-original="7a6f6b812632a5983cd34ab5c41271d5d4de5fbf" data-link="false" data-link-reference="false" data-project="28802" data-commit="7a6f6b812632a5983cd34ab5c41271d5d4de5fbf" data-reference-type="commit" data-container="body" data-placement="top" title="uhttpd: update to latest git HEAD" class="gfm gfm-commit has-tooltip">7a6f6b81</a>) https://gitcode.net/mirror/openwrt/openwrt/-/commit/681baab5a7945db0212d38f5a2278476cf8e2cce wolfssl: update to 5.6.3 2023-08-12T11:46:51+02:00 Nick Hainke vincent@systemli.org Release Notes: - <a href="https://github.com/wolfSSL/wolfssl/releases/tag/v5.6.0-stable" rel="nofollow noreferrer noopener" target="_blank">https://github.com/wolfSSL/wolfssl/releases/tag/v5.6.0-stable</a> - <a href="https://github.com/wolfSSL/wolfssl/releases/tag/v5.6.2-stable" rel="nofollow noreferrer noopener" target="_blank">https://github.com/wolfSSL/wolfssl/releases/tag/v5.6.2-stable</a> - <a href="https://github.com/wolfSSL/wolfssl/releases/tag/v5.6.3-stable" rel="nofollow noreferrer noopener" target="_blank">https://github.com/wolfSSL/wolfssl/releases/tag/v5.6.3-stable</a> Refresh patch: - 100-disable-hardening-check.patch Backport patch: - 001-fix-detection-of-cut-tool-in-configure.ac.patch Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:vincent@systemli.org" title="vincent@systemli.org"></a><a href="javascript:void(0)" class="avatar s16 avatar-inline identicon bg6" style="text-decoration: none">N</a><a href="mailto:vincent@systemli.org" title="vincent@systemli.org">Nick Hainke</a> &lt;<a href="mailto:vincent@systemli.org" title="vincent@systemli.org">vincent@systemli.org</a>&gt;</span> (cherry picked from commit <a href="/mirror/openwrt/openwrt/-/commit/0e83b5e6cc8e2970905a2b32c990fa7491ff733c" data-original="0e83b5e6cc8e2970905a2b32c990fa7491ff733c" data-link="false" data-link-reference="false" data-project="28802" data-commit="0e83b5e6cc8e2970905a2b32c990fa7491ff733c" data-reference-type="commit" data-container="body" data-placement="top" title="wolfssl: update to 5.6.3" class="gfm gfm-commit has-tooltip">0e83b5e6</a>) https://gitcode.net/mirror/openwrt/openwrt/-/commit/503aa7f9fbb3ca73437aeb2adf492dd8f1d2ab7f dropbear: add ed25519 for failsafe key 2023-08-12T11:46:51+02:00 Etienne Champetier champetier.etienne@gmail.com At least Fedora and RHEL 9 set RSAMinSize=2048, so when trying to use failsafe, we get 'Bad server host key: Invalid key length' To workaround the issue, we can use: ssh -o RSAMinSize=1024 ... Generating 2048 bits RSA is extremely slow, so add ed25519. We keep RSA 1024 to be as compatible as possible. Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:champetier.etienne@gmail.com" title="champetier.etienne@gmail.com"></a><a href="javascript:void(0)" class="avatar s16 avatar-inline identicon bg2" style="text-decoration: none">N</a><a href="mailto:champetier.etienne@gmail.com" title="champetier.etienne@gmail.com">Etienne Champetier</a> &lt;<a href="mailto:champetier.etienne@gmail.com" title="champetier.etienne@gmail.com">champetier.etienne@gmail.com</a>&gt;</span> (cherry picked from commit <a href="/mirror/openwrt/openwrt/-/commit/6ac61dead99ff6b9df00c29b7a858772449718b2" data-original="6ac61dead99ff6b9df00c29b7a858772449718b2" data-link="false" data-link-reference="false" data-project="28802" data-commit="6ac61dead99ff6b9df00c29b7a858772449718b2" data-reference-type="commit" data-container="body" data-placement="top" title="dropbear: add ed25519 for failsafe key" class="gfm gfm-commit has-tooltip">6ac61dea</a>) https://gitcode.net/mirror/openwrt/openwrt/-/commit/c29390b0f3ab7d98f96723f1f988b35cbd1637f7 lua: fix integer overflow in LNUM patch 2023-08-12T11:46:51+02:00 Adam Bailey aebailey@gmail.com Safely detect integer overflow in try_addint() and try_subint(). Old code relied on undefined behavior, and recent versions of GCC on x86 optimized away the if-statements. This caused integer overflow in Lua code instead of falling back to floating-point numbers. Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:aebailey@gmail.com" title="aebailey@gmail.com"></a><a href="javascript:void(0)" class="avatar s16 avatar-inline identicon bg4" style="text-decoration: none">N</a><a href="mailto:aebailey@gmail.com" title="aebailey@gmail.com">Adam Bailey</a> &lt;<a href="mailto:aebailey@gmail.com" title="aebailey@gmail.com">aebailey@gmail.com</a>&gt;</span> (cherry picked from commit <a href="/mirror/openwrt/openwrt/-/commit/3a2e7c30d3e6a187ba1df740cdb24c8ad84dfe48" data-original="3a2e7c30d3e6a187ba1df740cdb24c8ad84dfe48" data-link="false" data-link-reference="false" data-project="28802" data-commit="3a2e7c30d3e6a187ba1df740cdb24c8ad84dfe48" data-reference-type="commit" data-container="body" data-placement="top" title="lua: fix integer overflow in LNUM patch" class="gfm gfm-commit has-tooltip">3a2e7c30</a>) https://gitcode.net/mirror/openwrt/openwrt/-/commit/df994cce96f9e1c5f738de39193166c1b7479571 mbedtls: Update to version 2.28.3 2023-08-12T11:46:51+02:00 Hauke Mehrtens hauke@hauke-m.de This only fixes minor problems. Changelog: <a href="https://github.com/Mbed-TLS/mbedtls/releases/tag/v2.28.3" rel="nofollow noreferrer noopener" target="_blank">https://github.com/Mbed-TLS/mbedtls/releases/tag/v2.28.3</a> The 100-fix-compile.patch patch was merged upstream, see: <a href="https://github.com/Mbed-TLS/mbedtls/issues/6243" rel="nofollow noreferrer noopener" target="_blank">https://github.com/Mbed-TLS/mbedtls/issues/6243</a> <a href="https://github.com/Mbed-TLS/mbedtls/pull/7013" rel="nofollow noreferrer noopener" target="_blank">https://github.com/Mbed-TLS/mbedtls/pull/7013</a> The code style of all files in mbedtls 2.28.3 was changed. I took a new version of the 100-x509-crt-verify-SAN-iPAddress.patch patch from this pull request: <a href="https://github.com/Mbed-TLS/mbedtls/pull/6475" rel="nofollow noreferrer noopener" target="_blank">https://github.com/Mbed-TLS/mbedtls/pull/6475</a>Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:hauke@hauke-m.de" title="hauke@hauke-m.de"></a><a href="javascript:void(0)" class="avatar s16 avatar-inline identicon bg6" style="text-decoration: none">N</a><a href="mailto:hauke@hauke-m.de" title="hauke@hauke-m.de">Hauke Mehrtens</a> &lt;<a href="mailto:hauke@hauke-m.de" title="hauke@hauke-m.de">hauke@hauke-m.de</a>&gt;</span> (cherry picked from commit <a href="/mirror/openwrt/openwrt/-/commit/d679b15d31bd0b68dd88c3cf4d084cce02903627" data-original="d679b15d31bd0b68dd88c3cf4d084cce02903627" data-link="false" data-link-reference="false" data-project="28802" data-commit="d679b15d31bd0b68dd88c3cf4d084cce02903627" data-reference-type="commit" data-container="body" data-placement="top" title="mbedtls: Update to version 2.28.3" class="gfm gfm-commit has-tooltip">d679b15d</a>) https://gitcode.net/mirror/openwrt/openwrt/-/commit/b62dacea14fc689b082de794c86dfd41d632384b mbedtls: Update to version 2.28.4 2023-08-12T11:46:51+02:00 Hauke Mehrtens hauke@hauke-m.de This only fixes minor problems. Changelog: <a href="https://github.com/Mbed-TLS/mbedtls/releases/tag/v2.28.4" rel="nofollow noreferrer noopener" target="_blank">https://github.com/Mbed-TLS/mbedtls/releases/tag/v2.28.4</a>Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:hauke@hauke-m.de" title="hauke@hauke-m.de"></a><a href="javascript:void(0)" class="avatar s16 avatar-inline identicon bg4" style="text-decoration: none">N</a><a href="mailto:hauke@hauke-m.de" title="hauke@hauke-m.de">Hauke Mehrtens</a> &lt;<a href="mailto:hauke@hauke-m.de" title="hauke@hauke-m.de">hauke@hauke-m.de</a>&gt;</span> (cherry picked from commit <a href="/mirror/openwrt/openwrt/-/commit/d773fe5411cd4fdd8e107cfe338ed731001a1ade" data-original="d773fe5411cd4fdd8e107cfe338ed731001a1ade" data-link="false" data-link-reference="false" data-project="28802" data-commit="d773fe5411cd4fdd8e107cfe338ed731001a1ade" data-reference-type="commit" data-container="body" data-placement="top" title="mbedtls: Update to version 2.28.4" class="gfm gfm-commit has-tooltip">d773fe54</a>) https://gitcode.net/mirror/openwrt/openwrt/-/commit/68c6608c2ddb678ce556ab8d7ddcdae21877cb0e linux-firmware: update to 20230625 2023-08-12T11:46:51+02:00 John Audia therealgraysky@proton.me Change from git log --oneline: ee91452d (tag: 20230625) Makefile, copy-firmware: support xz/zstd compressed firmware ad2ce8be copy-firmware: silence the last shellcheck warnings 67bf50e7 copy-firmware: drop obsolete backticks, quote 77f31a80 copy-firmware: tweak sed invocation 40fa2b20 copy-firmware: quote deskdir and dirname 77f92e0b check_whence: error if symlinks are in-tree f2671b1f check_whence: error if File: is actually a link 4b539e7a check_whence: strip quotation marks 32693d3b linux-firmware: wilc1000: update WILC1000 firmware to v16.0 109b23c5 ice: update ice DDP wireless_edge package to 1.3.10.0 ade163aa amdgpu: DMCUB updates for DCN 3.1.4 and 3.1.5 045b2136 amdgpu: update DMCUB to v0.0.172.0 for various AMDGPU ASICs 5a1842ce Merge branch 'rb3-update' of <a href="https://github.com/lumag/linux-firmware" rel="nofollow noreferrer noopener" target="_blank">https://github.com/lumag/linux-firmware</a> 2f81bd9f fix broken cirrus firmware symlinks 01a7a844 qcom: Update the microcode files for Adreno a630 GPUs. 94120467 qcom: sdm845: rename the modem firmware 1c599488 qcom: sdm845: update remoteproc firmware 1cd1c871 rtl_bt: Update RTL8852A BT USB firmware to 0xDAC7_480D 55e74485 rtl_bt: Update RTL8852C BT USB firmware to 0x040D_7225 9dbd8ec2 amdgpu: DMCUB updates for various AMDGPU asics 9a47adc7 Merge branch 'mtl_huc_v8.5.0' of <a href="git://anongit.freedesktop.org/drm/drm-firmware">git://anongit.freedesktop.org/drm/drm-firmware</a> eb3ae841 linux-firmware: update firmware for MT7922 WiFi device 5ce06b9e linux-firmware: update firmware for MT7921 WiFi device 2c50361c linux-firmware: update firmware for mediatek bluetooth chip (MT7922) 185f49df linux-firmware: update firmware for mediatek bluetooth chip (MT7921) 05f94af7 Merge branch 'v2.0.21478' of <a href="https://github.com/yunfei-mtk/linux_fw_scp" rel="nofollow noreferrer noopener" target="_blank">https://github.com/yunfei-mtk/linux_fw_scp</a> 5de33fb4 i915: Add HuC v8.5.0 for MTL 795aea91 mediatek: Update mt8195 SCP firmware to support hevc fc90c59b Merge branch 'db410c' of <a href="https://github.com/lumag/linux-firmware" rel="nofollow noreferrer noopener" target="_blank">https://github.com/lumag/linux-firmware</a> 9d4c9a52 qcom: apq8016: add Dragonboard 410c WiFi and modem firmware 1f9667eb Merge branch 'for-upstream' of <a href="http://git.chelsio.net/pub/git/linux-firmware" rel="nofollow noreferrer noopener" target="_blank">http://git.chelsio.net/pub/git/linux-firmware</a> b544e2b0 Merge branch 'for-upstream' of <a href="https://github.com/CirrusLogic/linux-firmware" rel="nofollow noreferrer noopener" target="_blank">https://github.com/CirrusLogic/linux-firmware</a> 244d6b5c cirrus: Add firmware for new Asus ROG Laptops d11ae984 brcm: Add symlinks from Pine64 devices to AW-CM256SM.txt 1c513ec7 amdgpu: Update GC 11.0.1 and 11.0.4 8449fcd0 Merge <a href="https://github.com/pkshih/linux-firmware" rel="nofollow noreferrer noopener" target="_blank">https://github.com/pkshih/linux-firmware</a> c10facaf rtw89: 8851b: add firmware v0.29.41.0 1ba3519e Merge branch 'dev-queue' of <a href="git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/firmware">git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/firmware</a> 2e775450 amdgpu: update yellow carp firmware for amd.5.5 release 5eccb3c1 amdgpu: update navi14 firmware for amd.5.5 release c70d3c3b amdgpu: update navi12 firmware for amd.5.5 release 0e4f17cc amdgpu: update vega20 firmware for amd.5.5 release 413348f3 amdgpu: update vega12 firmware for amd.5.5 release c167587d amdgpu: update navi10 firmware for amd.5.5 release 3c98630a amdgpu: update vega10 firmware for amd.5.5 release d13ef0cb amdgpu: update PSP 13.0.11 firmware for amd.5.5 release 31f8f526 amdgpu: update GC 11.0.4 firmware for amd.5.5 release f0ce7026 amdgpu: update SDMA 6.0.1 firmware for amd.5.5 release 47424464 amdgpu: update PSP 13.0.4 firmware for amd.5.5 release 60dc78a7 amdgpu: update GC 11.0.1 firmware for amd.5.5 release ba70041c amdgpu: update 13.0.8 firmware for amd.5.5 release 9c48881f amdgpu: update GC 10.3.7 firmware for amd.5.5 release bb4d7250 amdgpu: update vangogh firmware for amd.5.5 release 102a4138 amdgpu: update VCN 4.0.4 firmware for amd.5.5 release a7fe4aa1 amdgpu: update SMU 13.0.7 firmware for amd.5.5 release 80b2d561 amdgpu: update PSP 13.0.7 firmware for amd.5.5 release a5d7b4df amdgpu: update GC 11.0.2 firmware for amd.5.5 release c1db00c5 amdgpu: update renoir firmware for amd.5.5 release 683c91f7 amdgpu: update VCN 4.0.0 firmware for amd.5.5 release 39d6fcc7 amdgpu: update SMU 13.0.0 firmware for amd.5.5 release 56832557 amdgpu: update PSP 13.0.0 firmware for amd.5.5 release ffe1a41e amdgpu: update GC 11.0.0 firmware for amd.5.5 release 72d525d7 amdgpu: update green sardine firmware for amd.5.5 release ceba765d amdgpu: update beige goby firmware for amd.5.5 release 95eb53c9 amdgpu: update dimgrey cavefish firmware for amd.5.5 release 909cef98 amdgpu: update arcturus firmware for amd.5.5 release 91251d16 amdgpu: update vcn 3.1.2 firmware for amd.5.5 release 9eaff866 amdgpu: update psp 13.0.5 firmware for amd.5.5 release 44772528 amdgpu: update GC 10.3.6 firmware for amd.5.5 release 3bffc9f8 amdgpu: update navy flounder firmware for amd.5.5 release 3b920773 amdgpu: update sienna cichlid firmware for amd.5.5 release 84d5550e amdgpu: update aldebaran firmware for amd.5.5 release dcd30473 amdgpu: DMCUB updates for various AMDGPU asics c9e4034a ice: update ice DDP comms package to 1.3.40.0 601c1813 Merge <a href="https://github.com/pkshih/linux-firmware" rel="nofollow noreferrer noopener" target="_blank">https://github.com/pkshih/linux-firmware</a> 08b854f0 rtlwifi: Add firmware v6.0 for RTL8192FU b72c69dd rtlwifi: Update firmware for RTL8188EU to v28.0 51290942 (tag: 20230515) Merge branch 'main' of <a href="https://github.com/CirrusLogic/linux-firmware" rel="nofollow noreferrer noopener" target="_blank">https://github.com/CirrusLogic/linux-firmware</a>Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:therealgraysky@proton.me" title="therealgraysky@proton.me"></a><a href="javascript:void(0)" class="avatar s16 avatar-inline identicon bg2" style="text-decoration: none">N</a><a href="mailto:therealgraysky@proton.me" title="therealgraysky@proton.me">John Audia</a> &lt;<a href="mailto:therealgraysky@proton.me" title="therealgraysky@proton.me">therealgraysky@proton.me</a>&gt;</span> (cherry picked from commit <a href="/mirror/openwrt/openwrt/-/commit/a5005508f069c9bd0c1d33970e9b3ecbe5040380" data-original="a5005508f069c9bd0c1d33970e9b3ecbe5040380" data-link="false" data-link-reference="false" data-project="28802" data-commit="a5005508f069c9bd0c1d33970e9b3ecbe5040380" data-reference-type="commit" data-container="body" data-placement="top" title="linux-firmware: update to 20230625" class="gfm gfm-commit has-tooltip">a5005508</a>) https://gitcode.net/mirror/openwrt/openwrt/-/commit/08a78203a832fb9ab016e329d48758a22cd4bf72 linux-firmware: update to 20230804 2023-08-12T11:46:51+02:00 Hauke Mehrtens hauke@hauke-m.de 7be2766 (tag: 20230804) Merge branch 'rb3-update' of <a href="https://github.com/lumag/linux-firmware" rel="nofollow noreferrer noopener" target="_blank">https://github.com/lumag/linux-firmware</a> 66c1db8 Merge <a href="https://github.com/pkshih/linux-firmware" rel="nofollow noreferrer noopener" target="_blank">https://github.com/pkshih/linux-firmware</a> 5046942 Mellanox: Add new mlxsw_spectrum firmware xx.2012.1012 5c7b67f linux-firmware: Add URL for latest FW binaries for NXP BT chipsets 29f185d rtw89: 8851b: update firmware to v0.29.41.1 742bf57 qcom: sdm845: add RB3 sensors DSP firmware 253cc17 amdgpu: Update DMCUB for DCN314 &amp; Yellow Carp 07f05b0 Merge branch 'dmc-adlp_2.20-mtl_2.13' of <a href="git://anongit.freedesktop.org/drm/drm-firmware">git://anongit.freedesktop.org/drm/drm-firmware</a> 5a251ed Merge branch 'for-upstream' of <a href="https://github.com/CirrusLogic/linux-firmware" rel="nofollow noreferrer noopener" target="_blank">https://github.com/CirrusLogic/linux-firmware</a> 6c8ce49 ice: add LAG-supporting DDP package fd6e13c i915: Update MTL DMC to v2.13 41e615c i915: Update ADLP DMC to v2.20 c8424cf cirrus: Add CS35L41 firmware for Dell Oasis Models b6ea35f copy-firmware: Fix linking directories when using compression 0a51959 copy-firmware: Fix test: unexpected operator b602d43 qcom: sc8280xp: LENOVO: remove directory sym link e0bad5e qcom: sc8280xp: LENOVO: Remove execute bits 59fbffa amdgpu: update VCN 4.0.0 firmware 22fb12f amdgpu: add initial SMU 13.0.10 firmware b3f512f amdgpu: add initial SDMA 6.0.3 firmware b1a7d76 amdgpu: add initial PSP 13.0.10 firmware d6d655a amdgpu: add initial GC 11.0.3 firmware c782458 Merge branch 'v2.0.21961' of <a href="https://github.com/yunfei-mtk/linux_fw_10bit" rel="nofollow noreferrer noopener" target="_blank">https://github.com/yunfei-mtk/linux_fw_10bit</a> ca9086f Merge branch 'dg2_mtl_guc_70.8' of <a href="git://anongit.freedesktop.org/drm/drm-firmware">git://anongit.freedesktop.org/drm/drm-firmware</a> 0bc3126 linux-firmware: Update AMD fam17h cpu microcode b250b32 linux-firmware: Update AMD cpu microcode 9dfcace amdgpu: update green sardine VCN firmware b519832 amdgpu: update renoir VCN firmware 5f569aa amdgpu: update raven VCN firmware 868bb36 amdgpu: update raven2 VCN firmware 6fa9a17 amdgpu: update Picasso VCN firmware cd52460 amdgpu: update DMCUB to v0.0.175.0 for various AMDGPU ASICs 4ef7581 Updated NXP SR150 UWB firmware 2514504 Merge branch 'for-upstream' of <a href="https://github.com/CirrusLogic/linux-firmware" rel="nofollow noreferrer noopener" target="_blank">https://github.com/CirrusLogic/linux-firmware</a> 45f5ebf wfx: update to firmware 3.16.1 f41d890 mediatek: Update mt8195 SCP firmware to support 10bit mode 6f3a37f i915: update DG2 GuC to v70.8.0 0ee23bd i915: update to GuC 70.8.0 and HuC 8.5.1 for MTL 1a76e8b cirrus: Add CS35L41 firmware for ASUS ROG 2023 Models d3f6606 Partially revert "amdgpu: DMCUB updates for DCN 3.1.4 and 3.1.5" 8917650 linux-firmware: update firmware for mediatek bluetooth chip (MT7922) 7d9af09 linux-firmware: update firmware for MT7922 WiFi device 0bab5df Merge tag 'iwlwifi-fw-2023-06-29' of <a href="http://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware" rel="nofollow noreferrer noopener" target="_blank">http://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware</a> 3ec3817 linux-firmware: Update firmware file for Intel Bluetooth AX203 7db3ef9 linux-firmware: Update firmware file for Intel Bluetooth AX203 5684048 linux-firmware: Update firmware file for Intel Bluetooth AX211 3f7a24e linux-firmware: Update firmware file for Intel Bluetooth AX211 eb2c745 linux-firmware: Update firmware file for Intel Bluetooth AX210 4a3ff0a linux-firmware: Update firmware file for Intel Bluetooth AX200 1d1bad4 linux-firmware: Update firmware file for Intel Bluetooth AX201 db39dff Fix qcom ASoC tglp WHENCE entry a687f89 Merge branch 'sc8280xp-audio-fw' of <a href="git://git.kernel.org/pub/scm/linux/kernel/git/srini/linux-firmware">git://git.kernel.org/pub/scm/linux/kernel/git/srini/linux-firmware</a> 9e0343c check_whence: Check link targets are valid b255f5b iwlwifi: add new FWs from core80-39 release fa5d30b iwlwifi: update cc/Qu/QuZ firmwares for core80-39 release f9a35b3 qcom: Add Audio firmware for SC8280XP X13s Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:hauke@hauke-m.de" title="hauke@hauke-m.de"></a><a href="javascript:void(0)" class="avatar s16 avatar-inline identicon bg5" style="text-decoration: none">N</a><a href="mailto:hauke@hauke-m.de" title="hauke@hauke-m.de">Hauke Mehrtens</a> &lt;<a href="mailto:hauke@hauke-m.de" title="hauke@hauke-m.de">hauke@hauke-m.de</a>&gt;</span> (cherry picked from commit <a href="/mirror/openwrt/openwrt/-/commit/bfbb5ccf7a55ed2cc574405f7f83da5e48811401" data-original="bfbb5ccf7a55ed2cc574405f7f83da5e48811401" data-link="false" data-link-reference="false" data-project="28802" data-commit="bfbb5ccf7a55ed2cc574405f7f83da5e48811401" data-reference-type="commit" data-container="body" data-placement="top" title="linux-firmware: update to 20230804" class="gfm gfm-commit has-tooltip">bfbb5ccf</a>) https://gitcode.net/mirror/openwrt/openwrt/-/commit/8c7b03a2e14da7314c40174cf486f0137d404f5a firmware: intel-microcode: update to 20230808 2023-08-12T11:46:51+02:00 Hauke Mehrtens hauke@hauke-m.de Debian changelog: intel-microcode (3.20230808.1) unstable; urgency=high * New upstream microcode datafile 20230808 (closes: #1043305) Mitigations for "Downfall" INTEL-SA-00828 (CVE-2022-40982), INTEL-SA-00836 (CVE-2023-23908) and INTEL-SA-00837 (CVE-2022-41804) * Updated microcodes: sig 0x00050653, pf_mask 0x97, 2023-03-23, rev 0x1000181, size 36864 sig 0x00050654, pf_mask 0xb7, 2023-03-06, rev 0x2007006, size 44032 sig 0x00050656, pf_mask 0xbf, 2023-03-17, rev 0x4003604, size 38912 sig 0x00050657, pf_mask 0xbf, 2023-03-17, rev 0x5003604, size 38912 sig 0x0005065b, pf_mask 0xbf, 2023-03-21, rev 0x7002703, size 30720 sig 0x000606a6, pf_mask 0x87, 2023-03-30, rev 0xd0003a5, size 297984 sig 0x000706e5, pf_mask 0x80, 2023-02-26, rev 0x00bc, size 113664 sig 0x000806c1, pf_mask 0x80, 2023-02-27, rev 0x00ac, size 111616 sig 0x000806c2, pf_mask 0xc2, 2023-02-27, rev 0x002c, size 98304 sig 0x000806d1, pf_mask 0xc2, 2023-02-27, rev 0x0046, size 103424 sig 0x000806e9, pf_mask 0xc0, 2023-02-22, rev 0x00f4, size 106496 sig 0x000806e9, pf_mask 0x10, 2023-02-23, rev 0x00f4, size 105472 sig 0x000806ea, pf_mask 0xc0, 2023-02-23, rev 0x00f4, size 105472 sig 0x000806eb, pf_mask 0xd0, 2023-02-23, rev 0x00f4, size 106496 sig 0x000806ec, pf_mask 0x94, 2023-02-26, rev 0x00f8, size 106496 sig 0x000806f8, pf_mask 0x87, 2023-05-09, rev 0x2b0004b1, size 572416 sig 0x000806f7, pf_mask 0x87, 2023-05-09, rev 0x2b0004b1 sig 0x000806f6, pf_mask 0x87, 2023-05-09, rev 0x2b0004b1 sig 0x000806f5, pf_mask 0x87, 2023-05-09, rev 0x2b0004b1 sig 0x000806f4, pf_mask 0x87, 2023-05-09, rev 0x2b0004b1 sig 0x000806f8, pf_mask 0x10, 2023-05-15, rev 0x2c000271, size 605184 sig 0x000806f6, pf_mask 0x10, 2023-05-15, rev 0x2c000271 sig 0x000806f5, pf_mask 0x10, 2023-05-15, rev 0x2c000271 sig 0x000806f4, pf_mask 0x10, 2023-05-15, rev 0x2c000271 sig 0x00090672, pf_mask 0x07, 2023-04-18, rev 0x002e, size 220160 sig 0x00090675, pf_mask 0x07, 2023-04-18, rev 0x002e sig 0x000b06f2, pf_mask 0x07, 2023-04-18, rev 0x002e sig 0x000b06f5, pf_mask 0x07, 2023-04-18, rev 0x002e sig 0x000906a3, pf_mask 0x80, 2023-04-18, rev 0x042c, size 219136 sig 0x000906a4, pf_mask 0x80, 2023-04-18, rev 0x042c sig 0x000906e9, pf_mask 0x2a, 2023-02-23, rev 0x00f4, size 108544 sig 0x000906ea, pf_mask 0x22, 2023-02-23, rev 0x00f4, size 104448 sig 0x000906eb, pf_mask 0x02, 2023-02-23, rev 0x00f4, size 106496 sig 0x000906ec, pf_mask 0x22, 2023-02-23, rev 0x00f4, size 105472 sig 0x000906ed, pf_mask 0x22, 2023-02-27, rev 0x00fa, size 106496 sig 0x000a0652, pf_mask 0x20, 2023-02-23, rev 0x00f8, size 97280 sig 0x000a0653, pf_mask 0x22, 2023-02-23, rev 0x00f8, size 97280 sig 0x000a0655, pf_mask 0x22, 2023-02-23, rev 0x00f8, size 97280 sig 0x000a0660, pf_mask 0x80, 2023-02-23, rev 0x00f8, size 97280 sig 0x000a0661, pf_mask 0x80, 2023-02-23, rev 0x00f8, size 96256 sig 0x000a0671, pf_mask 0x02, 2023-02-26, rev 0x0059, size 104448 sig 0x000b0671, pf_mask 0x32, 2023-06-06, rev 0x0119, size 210944 sig 0x000b06a2, pf_mask 0xe0, 2023-06-06, rev 0x4119, size 216064 sig 0x000b06a3, pf_mask 0xe0, 2023-06-06, rev 0x4119 sig 0x000b06e0, pf_mask 0x11, 2023-04-12, rev 0x0011, size 136192 * source: update symlinks to reflect id of the latest release, 20230808 intel-microcode (3.20230512.1) unstable; urgency=medium Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:hauke@hauke-m.de" title="hauke@hauke-m.de"></a><a href="javascript:void(0)" class="avatar s16 avatar-inline identicon bg5" style="text-decoration: none">N</a><a href="mailto:hauke@hauke-m.de" title="hauke@hauke-m.de">Hauke Mehrtens</a> &lt;<a href="mailto:hauke@hauke-m.de" title="hauke@hauke-m.de">hauke@hauke-m.de</a>&gt;</span> (cherry picked from commit <a href="/mirror/openwrt/openwrt/-/commit/ced285487144e1138e3d2b986b3e070a9b4fd412" data-original="ced285487144e1138e3d2b986b3e070a9b4fd412" data-link="false" data-link-reference="false" data-project="28802" data-commit="ced285487144e1138e3d2b986b3e070a9b4fd412" data-reference-type="commit" data-container="body" data-placement="top" title="firmware: intel-microcode: update to 20230808" class="gfm gfm-commit has-tooltip">ced28548</a>) https://gitcode.net/mirror/openwrt/openwrt/-/commit/de29f15af173e9434d11a00ffcf437bd6bc97727 openssl: bump to 1.1.1v 2023-08-12T11:46:51+02:00 Hauke Mehrtens hauke@hauke-m.de Major changes between OpenSSL 1.1.1u and OpenSSL 1.1.1v [1 Aug 2023] o Fix excessive time spent checking DH q parameter value (CVE-2023-3817) o Fix DH_check() excessive time with over sized modulus (CVE-2023-3446) Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:hauke@hauke-m.de" title="hauke@hauke-m.de"></a><a href="javascript:void(0)" class="avatar s16 avatar-inline identicon bg5" style="text-decoration: none">N</a><a href="mailto:hauke@hauke-m.de" title="hauke@hauke-m.de">Hauke Mehrtens</a> &lt;<a href="mailto:hauke@hauke-m.de" title="hauke@hauke-m.de">hauke@hauke-m.de</a>&gt;</span>
LINUX_VERSION-5.10 = .186
LINUX_KERNEL_HASH-5.10.186 = 1e60296a135d272bb7ce645f6ae68fbd4ffd1972cb4b82c38c6faa1172481be3
LINUX_VERSION-5.10 = .190
LINUX_KERNEL_HASH-5.10.190 = 29723df01d40ff07ff6d254eaaf90c7b3ec3c70f4ebe089b80f785f46efaf597
......@@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=intel-microcode
PKG_VERSION:=20230512
PKG_VERSION:=20230808
PKG_RELEASE:=1
PKG_SOURCE:=intel-microcode_3.$(PKG_VERSION).1.tar.xz
PKG_SOURCE_URL:=@DEBIAN/pool/non-free-firmware/i/intel-microcode/
PKG_HASH:=e6717a42d7b6e92280565fbb180cd0d11bc5d14874ef06ff1bed2b7a11d17c67
PKG_HASH:=29e77c275b3f60a691832c0844f70effbd94a4594d04af21e0c2e6e0c1ac1894
PKG_BUILD_DIR:=$(BUILD_DIR)/intel-microcode-3.$(PKG_VERSION).1
PKG_BUILD_DEPENDS:=iucode-tool/host
......
......@@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=linux-firmware
PKG_VERSION:=20230515
PKG_VERSION:=20230804
PKG_RELEASE:=1
PKG_SOURCE_URL:=@KERNEL/linux/kernel/firmware
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_HASH:=8b1acfa16f1ee94732a6acb50d9d6c835cf53af11068bd89ed207bbe04a1e951
PKG_HASH:=88d46c543847ee3b03404d4941d91c92974690ee1f6fdcbee9cef3e5f97db688
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
......
......@@ -91,7 +91,7 @@ define KernelPackage/vxlan
+kmod-udptunnel4 \
+IPV6:kmod-udptunnel6
KCONFIG:=CONFIG_VXLAN
FILES:=$(LINUX_DIR)/drivers/net/vxlan.ko
FILES:=$(LINUX_DIR)/drivers/net/vxlan/vxlan.ko
AUTOLOAD:=$(call AutoLoad,13,vxlan)
endef
......
......@@ -8,13 +8,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=mbedtls
PKG_VERSION:=2.28.2
PKG_VERSION:=2.28.4
PKG_RELEASE:=1
PKG_USE_MIPS16:=0
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/ARMmbed/mbedtls/tar.gz/v$(PKG_VERSION)?
PKG_HASH:=bc55232bf71fd66045122ba9050a29ea7cb2e8f99b064a9e6334a82f715881a0
PKG_HASH:=578c4dcd15bbff3f5cd56aa07cd4f850fc733634e3d5947be4f7157d5bfd81ac
PKG_LICENSE:=GPL-2.0-or-later
PKG_LICENSE_FILES:=gpl-2.0.txt
......
Fix a compile problem introduced in commit 331c3421d1f0 ("Address review comments")
Bug report: https://github.com/Mbed-TLS/mbedtls/issues/6243
--- a/programs/ssl/ssl_server2.c
+++ b/programs/ssl/ssl_server2.c
@@ -2529,7 +2529,6 @@ int main( int argc, char *argv[] )
}
key_cert_init2 = 2;
#endif /* MBEDTLS_ECDSA_C */
- }
#if defined(MBEDTLS_USE_PSA_CRYPTO)
if( opt.key_opaque != 0 )
@@ -2558,6 +2557,7 @@ int main( int argc, char *argv[] )
}
#endif /* MBEDTLS_USE_PSA_CRYPTO */
#endif /* MBEDTLS_CERTS_C */
+ }
mbedtls_printf( " ok (key types: %s - %s)\n", mbedtls_pk_get_name( &pkey ), mbedtls_pk_get_name( &pkey2 ) );
#endif /* MBEDTLS_KEY_EXCHANGE_WITH_CERT_ENABLED */
......@@ -9,9 +9,9 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=openssl
PKG_BASE:=1.1.1
PKG_BUGFIX:=u
PKG_BUGFIX:=v
PKG_VERSION:=$(PKG_BASE)$(PKG_BUGFIX)
PKG_RELEASE:=2
PKG_RELEASE:=1
PKG_USE_MIPS16:=0
PKG_BUILD_PARALLEL:=1
......@@ -25,7 +25,7 @@ PKG_SOURCE_URL:= \
ftp://ftp.pca.dfn.de/pub/tools/net/openssl/source/ \
ftp://ftp.pca.dfn.de/pub/tools/net/openssl/source/old/$(PKG_BASE)/
PKG_HASH:=e2f8d84b523eecd06c7be7626830370300fbcc15386bf5142d72758f6963ebc6
PKG_HASH:=d6697e2871e77238460402e9362d47d18382b15ef9f246aba6c7bd780d38a6b0
PKG_LICENSE:=OpenSSL
PKG_LICENSE_FILES:=LICENSE
......
......@@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=wolfssl
PKG_VERSION:=5.5.4-stable
PKG_VERSION:=5.6.3-stable
PKG_RELEASE:=$(AUTORELEASE)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/wolfSSL/wolfssl/archive/v$(PKG_VERSION)
PKG_HASH:=b7ee150e49def77c765bc02aac92ddeb0bebefd4cb12aa263d8f95e405221fb8
PKG_HASH:=2e74a397fa797c2902d7467d500de904907666afb4ff80f6464f6efd5afb114a
PKG_FIXUP:=libtool libtool-abiver
PKG_INSTALL:=1
......
From 41d248461bd9ad44193a4806ecb5361513e8944e Mon Sep 17 00:00:00 2001
From: jordan <jordan@wolfssl.com>
Date: Tue, 27 Jun 2023 13:18:25 -0500
Subject: [PATCH] fix detection of cut tool in configure.ac
---
configure.ac | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
--- a/configure.ac
+++ b/configure.ac
@@ -8723,10 +8723,11 @@ echo "extern \"C\" {" >> $OPTION_FILE
echo "#endif" >> $OPTION_FILE
echo "" >> $OPTION_FILE
-# check for supported command to trim option with
+# Check for supported command to trim option with.
+# note: cut requires an argument to exit with success.
if colrm >/dev/null 2>&1 </dev/null; then
TRIM="colrm 3"
-elif cut >/dev/null 2>&1 </dev/null; then
+elif cut --version >/dev/null 2>&1 </dev/null; then
TRIM="cut -c1-2"
else
AC_MSG_ERROR([Could not find colrm or cut to make options file])
--- a/wolfssl/wolfcrypt/settings.h
+++ b/wolfssl/wolfcrypt/settings.h
@@ -2496,7 +2496,7 @@ extern void uITRON4_free(void *p) ;
#endif
@@ -2630,7 +2630,7 @@ extern void uITRON4_free(void *p) ;
/* warning for not using harden build options (default with ./configure) */
-#ifndef WC_NO_HARDEN
/* do not warn if big integer support is disabled */
-#if !defined(WC_NO_HARDEN) && !defined(NO_BIG_INT)
+#if 0
#if (defined(USE_FAST_MATH) && !defined(TFM_TIMING_RESISTANT)) || \
(defined(HAVE_ECC) && !defined(ECC_TIMING_RESISTANT)) || \
......
#!/bin/sh
failsafe_dropbear () {
dropbearkey -t rsa -s 1024 -f /tmp/dropbear_failsafe_host_key
dropbear -r /tmp/dropbear_failsafe_host_key <> /dev/null 2>&1
dropbearkey -t rsa -s 1024 -f /tmp/dropbear_rsa_failsafe_host_key
dropbearkey -t ed25519 -f /tmp/dropbear_ed25519_failsafe_host_key
dropbear -r /tmp/dropbear_rsa_failsafe_host_key -r /tmp/dropbear_ed25519_failsafe_host_key <> /dev/null 2>&1
}
boot_hook_add failsafe failsafe_dropbear
......@@ -12,9 +12,9 @@ PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=$(PROJECT_GIT)/project/uhttpd.git
PKG_SOURCE_DATE:=2022-10-31
PKG_SOURCE_VERSION:=23977554d9694d025eada50a5547e99ee1be7838
PKG_MIRROR_HASH:=e546fd57d0d0be6a51e2aeb5797febe8c89d2bba61b26c930ecb0616d5f6ace9
PKG_SOURCE_DATE:=2023-06-25
PKG_SOURCE_VERSION:=34a8a74dbdec3c0de38abc1b08f6a73c51263792
PKG_MIRROR_HASH:=8206885eebed5d1827763bcc5bcf9ca3510ae22b0ad1f6432114f1136c32dde2
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
PKG_LICENSE:=ISC
......
......@@ -1600,18 +1600,18 @@
+ * (and doing them).
+ */
+int try_addint( lua_Integer *r, lua_Integer ib, lua_Integer ic ) {
+ lua_Integer v= ib+ic; /* may overflow */
+ if (ib>0 && ic>0) { if (v < 0) return 0; /*overflow, use floats*/ }
+ else if (ib<0 && ic<0) { if (v >= 0) return 0; }
+ *r= v;
+ /* Signed int overflow is undefined behavior, so catch it without causing it. */
+ if (ic>0) { if (ib > LUA_INTEGER_MAX - ic) return 0; /*overflow, use floats*/ }
+ else { if (ib < LUA_INTEGER_MIN - ic) return 0; }
+ *r = ib + ic;
+ return 1;
+}
+
+int try_subint( lua_Integer *r, lua_Integer ib, lua_Integer ic ) {
+ lua_Integer v= ib-ic; /* may overflow */
+ if (ib>=0 && ic<0) { if (v < 0) return 0; /*overflow, use floats*/ }
+ else if (ib<0 && ic>0) { if (v >= 0) return 0; }
+ *r= v;
+ /* Signed int overflow is undefined behavior, so catch it without causing it. */
+ if (ic>0) { if (ib < LUA_INTEGER_MIN + ic) return 0; /*overflow, use floats*/ }
+ else { if (ib > LUA_INTEGER_MAX + ic) return 0; }
+ *r = ib - ic;
+ return 1;
+}
+
......
......@@ -1589,18 +1589,18 @@
+ * (and doing them).
+ */
+int try_addint( lua_Integer *r, lua_Integer ib, lua_Integer ic ) {
+ lua_Integer v= ib+ic; /* may overflow */
+ if (ib>0 && ic>0) { if (v < 0) return 0; /*overflow, use floats*/ }
+ else if (ib<0 && ic<0) { if (v >= 0) return 0; }
+ *r= v;
+ /* Signed int overflow is undefined behavior, so catch it without causing it. */
+ if (ic>0) { if (ib > LUA_INTEGER_MAX - ic) return 0; /*overflow, use floats*/ }
+ else { if (ib < LUA_INTEGER_MIN - ic) return 0; }
+ *r = ib + ic;
+ return 1;
+}
+
+int try_subint( lua_Integer *r, lua_Integer ib, lua_Integer ic ) {
+ lua_Integer v= ib-ic; /* may overflow */
+ if (ib>=0 && ic<0) { if (v < 0) return 0; /*overflow, use floats*/ }
+ else if (ib<0 && ic>0) { if (v >= 0) return 0; }
+ *r= v;
+ /* Signed int overflow is undefined behavior, so catch it without causing it. */
+ if (ic>0) { if (ib < LUA_INTEGER_MIN + ic) return 0; /*overflow, use floats*/ }
+ else { if (ib > LUA_INTEGER_MAX + ic) return 0; }
+ *r = ib - ic;
+ return 1;
+}
+
......
......@@ -43,7 +43,7 @@ produce a noisy warning.
hcd->msi_enabled = 1;
--- a/drivers/usb/host/xhci.h
+++ b/drivers/usb/host/xhci.h
@@ -1902,6 +1902,7 @@ struct xhci_hcd {
@@ -1904,6 +1904,7 @@ struct xhci_hcd {
struct xhci_hub usb2_rhub;
struct xhci_hub usb3_rhub;
/* support xHCI 1.0 spec USB2 hardware LPM */
......
......@@ -20,7 +20,7 @@ Signed-off-by: Mark Brown <broonie@kernel.org>
--- a/drivers/regulator/core.c
+++ b/drivers/regulator/core.c
@@ -3076,7 +3076,8 @@ static int _regulator_list_voltage(struc
@@ -3074,7 +3074,8 @@ static int _regulator_list_voltage(struc
return rdev->desc->fixed_uV;
if (ops->list_voltage) {
......@@ -30,7 +30,7 @@ Signed-off-by: Mark Brown <broonie@kernel.org>
return -EINVAL;
if (lock)
regulator_lock(rdev);
@@ -3227,7 +3228,8 @@ int regulator_list_hardware_vsel(struct
@@ -3225,7 +3226,8 @@ int regulator_list_hardware_vsel(struct
struct regulator_dev *rdev = regulator->rdev;
const struct regulator_ops *ops = rdev->desc->ops;
......@@ -40,7 +40,7 @@ Signed-off-by: Mark Brown <broonie@kernel.org>
return -EINVAL;
if (ops->set_voltage_sel != regulator_set_voltage_sel_regmap)
return -EOPNOTSUPP;
@@ -4150,6 +4152,9 @@ int regulator_set_voltage_time(struct re
@@ -4148,6 +4150,9 @@ int regulator_set_voltage_time(struct re
for (i = 0; i < rdev->desc->n_voltages; i++) {
/* We only look for exact voltage matches here */
......
......@@ -14,7 +14,7 @@ Signed-off-by: Mark Brown <broonie@kernel.org>
--- a/drivers/regulator/core.c
+++ b/drivers/regulator/core.c
@@ -4155,6 +4155,9 @@ int regulator_set_voltage_time(struct re
@@ -4153,6 +4153,9 @@ int regulator_set_voltage_time(struct re
if (i < rdev->desc->linear_min_sel)
continue;
......
......@@ -21,7 +21,7 @@ Signed-off-by: Mark Brown <broonie@kernel.org>
--- a/drivers/regulator/core.c
+++ b/drivers/regulator/core.c
@@ -3076,9 +3076,10 @@ static int _regulator_list_voltage(struc
@@ -3074,9 +3074,10 @@ static int _regulator_list_voltage(struc
return rdev->desc->fixed_uV;
if (ops->list_voltage) {
......@@ -34,7 +34,7 @@ Signed-off-by: Mark Brown <broonie@kernel.org>
if (lock)
regulator_lock(rdev);
ret = ops->list_voltage(rdev, selector);
@@ -3228,9 +3229,10 @@ int regulator_list_hardware_vsel(struct
@@ -3226,9 +3227,10 @@ int regulator_list_hardware_vsel(struct
struct regulator_dev *rdev = regulator->rdev;
const struct regulator_ops *ops = rdev->desc->ops;
......
......@@ -202,7 +202,7 @@
+subsys_initcall(ar5312_gpio_init);
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -219,6 +219,7 @@ config ATH25
@@ -220,6 +220,7 @@ config ATH25
select CEVT_R4K
select CSRC_R4K
select DMA_NONCOHERENT
......
......@@ -15,7 +15,7 @@ Signed-off-by: John Crispin <john@phrozen.org>
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -245,6 +245,8 @@ config ATH79
@@ -246,6 +246,8 @@ config ATH79
select SYS_SUPPORTS_BIG_ENDIAN
select SYS_SUPPORTS_MIPS16
select SYS_SUPPORTS_ZBOOT_UART_PROM
......
......@@ -610,7 +610,7 @@
return false;
return true;
@@ -749,13 +753,13 @@ static inline void ipv6_addr_set_v4mappe
@@ -745,13 +749,13 @@ static inline void ipv6_addr_set_v4mappe
*/
static inline int __ipv6_addr_diff32(const void *token1, const void *token2, int addrlen)
{
......@@ -626,7 +626,7 @@
if (xb)
return i * 32 + 31 - __fls(ntohl(xb));
}
@@ -941,17 +945,18 @@ static inline int ip6_multipath_hash_pol
@@ -937,17 +941,18 @@ static inline int ip6_multipath_hash_pol
static inline void ip6_flow_hdr(struct ipv6hdr *hdr, unsigned int tclass,
__be32 flowlabel)
{
......@@ -706,7 +706,7 @@
EXPORT_SYMBOL(xfrm_parse_spi);
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -4128,14 +4128,16 @@ static bool tcp_parse_aligned_timestamp(
@@ -4134,14 +4134,16 @@ static bool tcp_parse_aligned_timestamp(
{
const __be32 *ptr = (const __be32 *)(th + 1);
......@@ -799,7 +799,7 @@
*sum = csum_fold(csum_partial(diff, sizeof(diff),
--- a/include/linux/etherdevice.h
+++ b/include/linux/etherdevice.h
@@ -499,7 +499,7 @@ static inline bool is_etherdev_addr(cons
@@ -511,7 +511,7 @@ static inline bool is_etherdev_addr(cons
* @b: Pointer to Ethernet header
*
* Compare two Ethernet headers, returns 0 if equal.
......@@ -808,7 +808,7 @@
* aligned OR the platform can handle unaligned access. This is the
* case for all packets coming into netif_receive_skb or similar
* entry points.
@@ -522,11 +522,12 @@ static inline unsigned long compare_ethe
@@ -534,11 +534,12 @@ static inline unsigned long compare_ethe
fold |= *(unsigned long *)(a + 6) ^ *(unsigned long *)(b + 6);
return fold;
#else
......
......@@ -11,7 +11,7 @@ Signed-off-by: Noralf Tronnes <notro@tronnes.org>
--- a/drivers/pinctrl/bcm/pinctrl-bcm2835.c
+++ b/drivers/pinctrl/bcm/pinctrl-bcm2835.c
@@ -376,7 +376,7 @@ static const struct gpio_chip bcm2835_gp
@@ -374,7 +374,7 @@ static const struct gpio_chip bcm2835_gp
.get = bcm2835_gpio_get,
.set = bcm2835_gpio_set,
.set_config = gpiochip_generic_config,
......
......@@ -278,7 +278,7 @@ Signed-off-by: Yaroslav Rosomakho <yaroslavros@gmail.com>
}
--- a/drivers/mmc/core/quirks.h
+++ b/drivers/mmc/core/quirks.h
@@ -105,6 +105,14 @@ static const struct mmc_fixup __maybe_un
@@ -119,6 +119,14 @@ static const struct mmc_fixup __maybe_un
MMC_FIXUP(CID_NAME_ANY, CID_MANFID_SANDISK_SD, 0x5344, add_quirk_sd,
MMC_QUIRK_BROKEN_SD_DISCARD),
......
......@@ -22,7 +22,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
--- a/drivers/usb/host/xhci-mem.c
+++ b/drivers/usb/host/xhci-mem.c
@@ -2538,9 +2538,11 @@ int xhci_mem_init(struct xhci_hcd *xhci,
@@ -2559,9 +2559,11 @@ int xhci_mem_init(struct xhci_hcd *xhci,
* Event ring setup: Allocate a normal ring, but also setup
* the event ring segment table (ERST). Section 4.9.3.
*/
......@@ -36,7 +36,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
if (!xhci->event_ring)
goto fail;
if (xhci_check_trb_in_td_math(xhci) < 0)
@@ -2553,7 +2555,7 @@ int xhci_mem_init(struct xhci_hcd *xhci,
@@ -2574,7 +2576,7 @@ int xhci_mem_init(struct xhci_hcd *xhci,
/* set ERST count with the number of entries in the segment table */
val = readl(&xhci->ir_set->erst_size);
val &= ERST_SIZE_MASK;
......
......@@ -14,7 +14,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
--- a/drivers/pinctrl/bcm/pinctrl-bcm2835.c
+++ b/drivers/pinctrl/bcm/pinctrl-bcm2835.c
@@ -1334,7 +1334,7 @@ static int bcm2835_pinctrl_probe(struct
@@ -1332,7 +1332,7 @@ static int bcm2835_pinctrl_probe(struct
girq->default_type = IRQ_TYPE_NONE;
girq->handler = handle_level_irq;
......
......@@ -13,7 +13,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
--- a/drivers/pinctrl/bcm/pinctrl-bcm2835.c
+++ b/drivers/pinctrl/bcm/pinctrl-bcm2835.c
@@ -1306,9 +1306,13 @@ static int bcm2835_pinctrl_probe(struct
@@ -1304,9 +1304,13 @@ static int bcm2835_pinctrl_probe(struct
char *name;
girq->parents[i] = irq_of_parse_and_map(np, i);
......
......@@ -16,7 +16,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
--- a/drivers/pinctrl/bcm/pinctrl-bcm2835.c
+++ b/drivers/pinctrl/bcm/pinctrl-bcm2835.c
@@ -393,7 +393,7 @@ static const struct gpio_chip bcm2711_gp
@@ -391,7 +391,7 @@ static const struct gpio_chip bcm2711_gp
.get = bcm2835_gpio_get,
.set = bcm2835_gpio_set,
.set_config = gpiochip_generic_config,
......
......@@ -51,11 +51,11 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
--- a/drivers/usb/host/xhci.h
+++ b/drivers/usb/host/xhci.h
@@ -1895,6 +1895,7 @@ struct xhci_hcd {
#define XHCI_EP_CTX_BROKEN_DCS BIT_ULL(42)
#define XHCI_SUSPEND_RESUME_CLKS BIT_ULL(43)
@@ -1897,6 +1897,7 @@ struct xhci_hcd {
#define XHCI_RESET_TO_DEFAULT BIT_ULL(44)
+#define XHCI_AVOID_DQ_ON_LINK BIT_ULL(45)
#define XHCI_ZHAOXIN_TRB_FETCH BIT_ULL(45)
#define XHCI_ZHAOXIN_HOST BIT_ULL(46)
+#define XHCI_AVOID_DQ_ON_LINK BIT_ULL(47)
unsigned int num_active_eps;
unsigned int limit_active_eps;
......@@ -376,7 +376,7 @@ Link: https://patchwork.freedesktop.org/patch/msgid/845aa10ef171fc0ea060495efef1
else if (funcs->disable)
funcs->disable(crtc);
else if (funcs->dpms)
@@ -1368,7 +1368,7 @@ void drm_atomic_helper_commit_modeset_en
@@ -1377,7 +1377,7 @@ void drm_atomic_helper_commit_modeset_en
DRM_DEBUG_ATOMIC("enabling [CRTC:%d:%s]\n",
crtc->base.id, crtc->name);
if (funcs->atomic_enable)
......
......@@ -385,7 +385,7 @@ Link: https://patchwork.freedesktop.org/patch/msgid/20201028123222.1732139-2-max
}
--- a/drivers/gpu/drm/drm_atomic_helper.c
+++ b/drivers/gpu/drm/drm_atomic_helper.c
@@ -2517,7 +2517,7 @@ void drm_atomic_helper_commit_planes(str
@@ -2526,7 +2526,7 @@ void drm_atomic_helper_commit_planes(str
if (active_only && !new_crtc_state->active)
continue;
......@@ -394,7 +394,7 @@ Link: https://patchwork.freedesktop.org/patch/msgid/20201028123222.1732139-2-max
}
for_each_oldnew_plane_in_state(old_state, plane, old_plane_state, new_plane_state, i) {
@@ -2575,7 +2575,7 @@ void drm_atomic_helper_commit_planes(str
@@ -2584,7 +2584,7 @@ void drm_atomic_helper_commit_planes(str
if (active_only && !new_crtc_state->active)
continue;
......@@ -403,7 +403,7 @@ Link: https://patchwork.freedesktop.org/patch/msgid/20201028123222.1732139-2-max
}
}
EXPORT_SYMBOL(drm_atomic_helper_commit_planes);
@@ -2613,7 +2613,7 @@ drm_atomic_helper_commit_planes_on_crtc(
@@ -2622,7 +2622,7 @@ drm_atomic_helper_commit_planes_on_crtc(
crtc_funcs = crtc->helper_private;
if (crtc_funcs && crtc_funcs->atomic_begin)
......@@ -412,7 +412,7 @@ Link: https://patchwork.freedesktop.org/patch/msgid/20201028123222.1732139-2-max
drm_for_each_plane_mask(plane, crtc->dev, plane_mask) {
struct drm_plane_state *old_plane_state =
@@ -2639,7 +2639,7 @@ drm_atomic_helper_commit_planes_on_crtc(
@@ -2648,7 +2648,7 @@ drm_atomic_helper_commit_planes_on_crtc(
}
if (crtc_funcs && crtc_funcs->atomic_flush)
......
......@@ -118,7 +118,7 @@ Signed-off-by: Joerg Quinten <aBUGSworstnightmare@gmail.com>
- MEDIA_BUS_FMT_RGB666_1X24_CPADHI
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -2094,6 +2094,38 @@ static const struct panel_desc innolux_a
@@ -2095,6 +2095,38 @@ static const struct panel_desc innolux_a
.bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE,
};
......@@ -157,7 +157,7 @@ Signed-off-by: Joerg Quinten <aBUGSworstnightmare@gmail.com>
static const struct drm_display_mode innolux_at070tn92_mode = {
.clock = 33333,
.hdisplay = 800,
@@ -4080,6 +4112,9 @@ static const struct of_device_id platfor
@@ -4082,6 +4114,9 @@ static const struct of_device_id platfor
.compatible = "innolux,at043tn24",
.data = &innolux_at043tn24,
}, {
......
......@@ -31,7 +31,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech>
--- a/drivers/gpu/drm/drm_atomic_helper.c
+++ b/drivers/gpu/drm/drm_atomic_helper.c
@@ -2049,6 +2049,9 @@ crtc_or_fake_commit(struct drm_atomic_st
@@ -2058,6 +2058,9 @@ crtc_or_fake_commit(struct drm_atomic_st
* should always call this function from their
* &drm_mode_config_funcs.atomic_commit hook.
*
......@@ -41,7 +41,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech>
* To be able to use this support drivers need to use a few more helper
* functions. drm_atomic_helper_wait_for_dependencies() must be called before
* actually committing the hardware state, and for nonblocking commits this call
@@ -2092,8 +2095,11 @@ int drm_atomic_helper_setup_commit(struc
@@ -2101,8 +2104,11 @@ int drm_atomic_helper_setup_commit(struc
struct drm_plane *plane;
struct drm_plane_state *old_plane_state, *new_plane_state;
struct drm_crtc_commit *commit;
......@@ -53,7 +53,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech>
for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) {
commit = kzalloc(sizeof(*commit), GFP_KERNEL);
if (!commit)
@@ -2170,6 +2176,9 @@ int drm_atomic_helper_setup_commit(struc
@@ -2179,6 +2185,9 @@ int drm_atomic_helper_setup_commit(struc
new_plane_state->commit = drm_crtc_commit_get(commit);
}
......
......@@ -102,7 +102,7 @@ Link: https://patchwork.freedesktop.org/patch/msgid/20201211114237.213288-2-tomi
int atmel_hlcdc_crtc_create(struct drm_device *dev)
--- a/drivers/gpu/drm/drm_atomic_helper.c
+++ b/drivers/gpu/drm/drm_atomic_helper.c
@@ -3510,76 +3510,6 @@ fail:
@@ -3519,76 +3519,6 @@ fail:
EXPORT_SYMBOL(drm_atomic_helper_page_flip_target);
/**
......
......@@ -224,7 +224,7 @@ Link: https://patchwork.freedesktop.org/patch/msgid/20201118094758.506730-1-maxi
else if (funcs->best_encoder)
new_encoder = funcs->best_encoder(connector);
else
@@ -1328,7 +1328,7 @@ static void drm_atomic_helper_commit_wri
@@ -1337,7 +1337,7 @@ static void drm_atomic_helper_commit_wri
if (new_conn_state->writeback_job && new_conn_state->writeback_job->fb) {
WARN_ON(connector->connector_type != DRM_MODE_CONNECTOR_WRITEBACK);
......
......@@ -5,7 +5,7 @@ when a switch driver is in use.
--- a/drivers/net/ethernet/broadcom/tg3.c
+++ b/drivers/net/ethernet/broadcom/tg3.c
@@ -4273,7 +4273,8 @@ static int tg3_power_down_prepare(struct
@@ -4274,7 +4274,8 @@ static int tg3_power_down_prepare(struct
static void tg3_power_down(struct tg3 *tp)
{
pci_wake_from_d3(tp->pdev, tg3_flag(tp, WOL_ENABLE));
......
......@@ -115,7 +115,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
priv->rcdev = devm_reset_control_get_optional_exclusive(&pdev->dev,
"switch");
@@ -1358,6 +1401,8 @@ static int bcm_sf2_sw_probe(struct platf
@@ -1362,6 +1405,8 @@ static int bcm_sf2_sw_probe(struct platf
goto out_clk_mdiv;
}
......
......@@ -29,7 +29,7 @@ Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
--- a/drivers/net/dsa/bcm_sf2.c
+++ b/drivers/net/dsa/bcm_sf2.c
@@ -1540,10 +1540,14 @@ static int bcm_sf2_sw_probe(struct platf
@@ -1544,10 +1544,14 @@ static int bcm_sf2_sw_probe(struct platf
rev = reg_readl(priv, REG_PHY_REVISION);
priv->hw_params.gphy_rev = rev & PHY_REVISION_MASK;
......
......@@ -15,7 +15,7 @@ Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
--- a/drivers/net/dsa/bcm_sf2.c
+++ b/drivers/net/dsa/bcm_sf2.c
@@ -1554,6 +1554,12 @@ static int bcm_sf2_sw_probe(struct platf
@@ -1558,6 +1558,12 @@ static int bcm_sf2_sw_probe(struct platf
priv->hw_params.core_rev >> 8, priv->hw_params.core_rev & 0xff,
priv->irq0, priv->irq1);
......
......@@ -460,7 +460,7 @@ Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
};
};
@@ -558,24 +390,4 @@
@@ -557,24 +389,4 @@
};
};
};
......
From d3c8e2c5757153bbfad70019ec1decbca86f3def Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
Date: Wed, 3 May 2023 14:28:30 +0200
Subject: [PATCH] ARM: dts: BCM5301X: Drop "clock-names" from the SPI node
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
There is no such property in the SPI controller binding documentation.
Also Linux driver doesn't look for it.
This fixes:
arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dtb: spi@18029200: Unevaluated properties are not allowed ('clock-names' was unexpected)
From schema: Documentation/devicetree/bindings/spi/brcm,spi-bcm-qspi.yaml
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Link: https://lore.kernel.org/r/20230503122830.3200-1-zajec5@gmail.com
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
arch/arm/boot/dts/bcm5301x.dtsi | 1 -
1 file changed, 1 deletion(-)
--- a/arch/arm/boot/dts/bcm5301x.dtsi
+++ b/arch/arm/boot/dts/bcm5301x.dtsi
@@ -335,7 +335,6 @@
"spi_lr_session_done",
"spi_lr_overread";
clocks = <&iprocmed>;
- clock-names = "iprocmed";
num-cs = <2>;
#address-cells = <1>;
#size-cells = <0>;
From fd274b733bfdde3ca72f0fa2a37f032f3a8c402c Mon Sep 17 00:00:00 2001
From: Christian Lamparter <chunkeey@gmail.com>
Date: Thu, 8 Jun 2023 17:36:29 +0200
Subject: [PATCH] ARM: dts: BCM5301X: fix duplex-full => full-duplex
this typo was found by the dtbs_check
| ports:port@5:fixed-link: 'oneOf' conditional failed,
| {'speed': [[1000]], 'duplex-full': True} is not of type 'array'
| 'duplex-full' does not match any of the regexes: 'pinctrl-[0-]..."
this should have been full-duplex;
Fixes: 935327a73553 ("ARM: dts: BCM5301X: Add DT for Meraki MR26")
Fixes: ec88a9c344d9 ("ARM: BCM5301X: Add DT for Meraki MR32")
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Link: https://lore.kernel.org/r/50522f45566951a9eabd22820647924cc6b4a264.1686238550.git.chunkeey@gmail.com
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
---
arch/arm/boot/dts/bcm53015-meraki-mr26.dts | 2 +-
arch/arm/boot/dts/bcm53016-meraki-mr32.dts | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--- a/arch/arm/boot/dts/bcm53015-meraki-mr26.dts
+++ b/arch/arm/boot/dts/bcm53015-meraki-mr26.dts
@@ -121,7 +121,7 @@
fixed-link {
speed = <1000>;
- duplex-full;
+ full-duplex;
};
};
};
--- a/arch/arm/boot/dts/bcm53016-meraki-mr32.dts
+++ b/arch/arm/boot/dts/bcm53016-meraki-mr32.dts
@@ -182,7 +182,7 @@
fixed-link {
speed = <1000>;
- duplex-full;
+ full-duplex;
};
};
};
......@@ -127,11 +127,11 @@ it on BCM4708 family.
/*
--- a/drivers/usb/host/xhci.h
+++ b/drivers/usb/host/xhci.h
@@ -1895,6 +1895,7 @@ struct xhci_hcd {
#define XHCI_EP_CTX_BROKEN_DCS BIT_ULL(42)
#define XHCI_SUSPEND_RESUME_CLKS BIT_ULL(43)
@@ -1897,6 +1897,7 @@ struct xhci_hcd {
#define XHCI_RESET_TO_DEFAULT BIT_ULL(44)
+#define XHCI_FAKE_DOORBELL BIT_ULL(45)
#define XHCI_ZHAOXIN_TRB_FETCH BIT_ULL(45)
#define XHCI_ZHAOXIN_HOST BIT_ULL(46)
+#define XHCI_FAKE_DOORBELL BIT_ULL(47)
unsigned int num_active_eps;
unsigned int limit_active_eps;
......@@ -14,7 +14,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -319,6 +319,9 @@ config BCM63XX
@@ -320,6 +320,9 @@ config BCM63XX
select SYNC_R4K
select DMA_NONCOHERENT
select IRQ_MIPS_CPU
......
......@@ -17,7 +17,7 @@ Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -252,6 +252,7 @@ config ATH79
@@ -253,6 +253,7 @@ config ATH79
config BMIPS_GENERIC
bool "Broadcom Generic BMIPS kernel"
......
......@@ -52,7 +52,7 @@ Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -253,7 +253,6 @@ config ATH79
@@ -254,7 +254,6 @@ config ATH79
config BMIPS_GENERIC
bool "Broadcom Generic BMIPS kernel"
select ARCH_HAS_RESET_CONTROLLER
......
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -265,6 +265,7 @@ config BMIPS_GENERIC
@@ -266,6 +266,7 @@ config BMIPS_GENERIC
select BCM7038_L1_IRQ
select BCM7120_L2_IRQ
select BRCMSTB_L2_IRQ
......
......@@ -24,7 +24,7 @@ Signed-off-by: Johan Almbladh <johan.almbladh@anyfinetworks.com>
L: bpf@vger.kernel.org
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -49,7 +49,6 @@ config MIPS
@@ -50,7 +50,6 @@ config MIPS
select HAVE_ARCH_TRACEHOOK
select HAVE_ARCH_TRANSPARENT_HUGEPAGE if CPU_SUPPORTS_HUGEPAGES
select HAVE_ASM_MODVERSIONS
......@@ -32,7 +32,7 @@ Signed-off-by: Johan Almbladh <johan.almbladh@anyfinetworks.com>
select HAVE_CONTEXT_TRACKING
select HAVE_TIF_NOHZ
select HAVE_C_RECORDMCOUNT
@@ -57,7 +56,10 @@ config MIPS
@@ -58,7 +57,10 @@ config MIPS
select HAVE_DEBUG_STACKOVERFLOW
select HAVE_DMA_CONTIGUOUS
select HAVE_DYNAMIC_FTRACE
......
......@@ -25,7 +25,7 @@ Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -2088,7 +2088,7 @@ config CPU_MIPS32
@@ -2089,7 +2089,7 @@ config CPU_MIPS32
config CPU_MIPS64
bool
default y if CPU_MIPS64_R1 || CPU_MIPS64_R2 || CPU_MIPS64_R5 || \
......
......@@ -12,7 +12,7 @@ Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
--- a/include/net/netfilter/nf_tables.h
+++ b/include/net/netfilter/nf_tables.h
@@ -1474,13 +1474,16 @@ struct nft_trans_chain {
@@ -1500,13 +1500,16 @@ struct nft_trans_chain {
struct nft_trans_table {
bool update;
......@@ -34,7 +34,7 @@ Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
struct nft_set *set;
--- a/net/netfilter/nf_tables_api.c
+++ b/net/netfilter/nf_tables_api.c
@@ -917,6 +917,12 @@ static void nf_tables_table_disable(stru
@@ -1056,6 +1056,12 @@ static void nf_tables_table_disable(stru
nft_table_disable(net, table, 0);
}
......@@ -47,7 +47,7 @@ Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
static int nf_tables_updtable(struct nft_ctx *ctx)
{
struct nft_trans *trans;
@@ -940,19 +946,17 @@ static int nf_tables_updtable(struct nft
@@ -1079,19 +1085,17 @@ static int nf_tables_updtable(struct nft
if ((flags & NFT_TABLE_F_DORMANT) &&
!(ctx->table->flags & NFT_TABLE_F_DORMANT)) {
......@@ -68,9 +68,9 @@ Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
+ nft_trans_table_flags(trans) = flags;
nft_trans_table_update(trans) = true;
list_add_tail(&trans->list, &ctx->net->nft.commit_list);
nft_trans_commit_list_add_tail(ctx->net, trans);
return 0;
@@ -7935,11 +7939,10 @@ static int nf_tables_commit(struct net *
@@ -8191,11 +8195,10 @@ static int nf_tables_commit(struct net *
switch (trans->msg_type) {
case NFT_MSG_NEWTABLE:
if (nft_trans_table_update(trans)) {
......@@ -86,7 +86,7 @@ Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
} else {
nft_clear(net, trans->ctx.table);
}
@@ -8156,11 +8159,9 @@ static int __nf_tables_abort(struct net
@@ -8414,11 +8417,9 @@ static int __nf_tables_abort(struct net
switch (trans->msg_type) {
case NFT_MSG_NEWTABLE:
if (nft_trans_table_update(trans)) {
......
......@@ -933,7 +933,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
}
--- a/drivers/net/ethernet/microchip/lan743x_main.c
+++ b/drivers/net/ethernet/microchip/lan743x_main.c
@@ -2831,7 +2831,6 @@ static int lan743x_pcidev_probe(struct p
@@ -2844,7 +2844,6 @@ static int lan743x_pcidev_probe(struct p
{
struct lan743x_adapter *adapter = NULL;
struct net_device *netdev = NULL;
......@@ -941,7 +941,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
int ret = -ENODEV;
netdev = devm_alloc_etherdev(&pdev->dev,
@@ -2848,9 +2847,7 @@ static int lan743x_pcidev_probe(struct p
@@ -2861,9 +2860,7 @@ static int lan743x_pcidev_probe(struct p
NETIF_MSG_IFDOWN | NETIF_MSG_TX_QUEUED;
netdev->max_mtu = LAN743X_MAX_FRAME_SIZE;
......@@ -1618,7 +1618,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
int addr_width = 32;
u32 value;
@@ -2044,13 +2044,14 @@ static int axienet_probe(struct platform
@@ -2049,13 +2049,14 @@ static int axienet_probe(struct platform
dev_info(&pdev->dev, "Ethernet core IRQ not defined\n");
/* Retrieve the MAC address */
......
From e7731194fdf085f46d58b1adccfddbd0dfee4873 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
Date: Fri, 7 Jul 2023 08:53:25 +0200
Subject: [PATCH] net: bgmac: postpone turning IRQs off to avoid SoC hangs
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Turning IRQs off is done by accessing Ethernet controller registers.
That can't be done until device's clock is enabled. It results in a SoC
hang otherwise.
This bug remained unnoticed for years as most bootloaders keep all
Ethernet interfaces turned on. It seems to only affect a niche SoC
family BCM47189. It has two Ethernet controllers but CFE bootloader uses
only the first one.
Fixes: 34322615cbaa ("net: bgmac: Mask interrupts during probe")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Reviewed-by: Michal Kubiak <michal.kubiak@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
---
drivers/net/ethernet/broadcom/bgmac.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/drivers/net/ethernet/broadcom/bgmac.c
+++ b/drivers/net/ethernet/broadcom/bgmac.c
@@ -1492,8 +1492,6 @@ int bgmac_enet_probe(struct bgmac *bgmac
bgmac->in_init = true;
- bgmac_chip_intrs_off(bgmac);
-
net_dev->irq = bgmac->irq;
SET_NETDEV_DEV(net_dev, bgmac->dev);
dev_set_drvdata(bgmac->dev, bgmac);
@@ -1511,6 +1509,8 @@ int bgmac_enet_probe(struct bgmac *bgmac
*/
bgmac_clk_enable(bgmac, 0);
+ bgmac_chip_intrs_off(bgmac);
+
/* This seems to be fixing IRQ by assigning OOB #6 to the core */
if (!(bgmac->feature_flags & BGMAC_FEAT_IDM_MASK)) {
if (bgmac->feature_flags & BGMAC_FEAT_IRQ_ID_OOB_6)
......@@ -143,7 +143,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -2038,7 +2038,9 @@ static void read_symbols(const char *mod
@@ -2056,7 +2056,9 @@ static void read_symbols(const char *mod
symname = remove_dot(info.strtab + sym->st_name);
handle_symbol(mod, &info, sym, symname);
......@@ -153,7 +153,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
}
for (sym = info.symtab_start; sym < info.symtab_stop; sym++) {
@@ -2251,8 +2253,10 @@ static void add_header(struct buffer *b,
@@ -2269,8 +2271,10 @@ static void add_header(struct buffer *b,
buf_printf(b, "\n");
buf_printf(b, "BUILD_SALT;\n");
buf_printf(b, "\n");
......@@ -164,7 +164,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
buf_printf(b, "\n");
buf_printf(b, "__visible struct module __this_module\n");
buf_printf(b, "__section(\".gnu.linkonce.this_module\") = {\n");
@@ -2269,8 +2273,10 @@ static void add_header(struct buffer *b,
@@ -2287,8 +2291,10 @@ static void add_header(struct buffer *b,
static void add_intree_flag(struct buffer *b, int is_intree)
{
......@@ -175,7 +175,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
}
/* Cannot check for assembler */
@@ -2283,8 +2289,10 @@ static void add_retpoline(struct buffer
@@ -2301,8 +2307,10 @@ static void add_retpoline(struct buffer
static void add_staging_flag(struct buffer *b, const char *name)
{
......@@ -186,7 +186,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
}
/**
@@ -2368,11 +2376,13 @@ static void add_depends(struct buffer *b
@@ -2386,11 +2394,13 @@ static void add_depends(struct buffer *b
static void add_srcversion(struct buffer *b, struct module *mod)
{
......@@ -200,7 +200,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
}
static void write_buf(struct buffer *b, const char *fname)
@@ -2631,7 +2641,9 @@ int main(int argc, char **argv)
@@ -2649,7 +2659,9 @@ int main(int argc, char **argv)
add_staging_flag(&buf, mod->name);
err |= add_versions(&buf, mod);
add_depends(&buf, mod);
......
......@@ -12,7 +12,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
---
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -114,6 +114,7 @@ config ARM
@@ -115,6 +115,7 @@ config ARM
select HAVE_UID16
select HAVE_VIRT_CPU_ACCOUNTING_GEN
select IRQ_FORCED_THREADING
......
......@@ -116,7 +116,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
#include <linux/mutex.h>
#include <linux/err.h>
#include <linux/property.h>
@@ -3300,3 +3301,5 @@ static int __init regmap_initcall(void)
@@ -3298,3 +3299,5 @@ static int __init regmap_initcall(void)
return 0;
}
postcore_initcall(regmap_initcall);
......
......@@ -10,7 +10,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -1170,6 +1170,10 @@ config MIPS_MSC
@@ -1171,6 +1171,10 @@ config MIPS_MSC
config SYNC_R4K
bool
......
......@@ -125,7 +125,7 @@
/*
* Determine initial path cost based on speed.
@@ -427,7 +428,7 @@ static struct net_bridge_port *new_nbp(s
@@ -428,7 +429,7 @@ static struct net_bridge_port *new_nbp(s
p->path_cost = port_cost(dev);
p->priority = 0x8000 >> BR_PORT_BITS;
p->port_no = index;
......@@ -134,7 +134,7 @@
br_init_port(p);
br_set_state(p, BR_STATE_DISABLED);
br_stp_port_timer_init(p);
@@ -777,6 +778,9 @@ void br_port_flags_change(struct net_bri
@@ -778,6 +779,9 @@ void br_port_flags_change(struct net_bri
if (mask & BR_NEIGH_SUPPRESS)
br_recalculate_neigh_suppress_enabled(br);
......
......@@ -19,7 +19,7 @@
#define QUECTEL_VENDOR_ID 0x2c7c
/* These Quectel products use Quectel's vendor ID */
@@ -1173,6 +1175,11 @@ static const struct usb_device_id option
@@ -1179,6 +1181,11 @@ static const struct usb_device_id option
.driver_info = ZLP },
{ USB_DEVICE(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_BG96),
.driver_info = RSVD(4) },
......
......@@ -77,7 +77,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
struct dst_entry *__sk_dst_check(struct sock *sk, u32 cookie)
{
struct dst_entry *dst = __sk_dst_get(sk);
@@ -1834,9 +1848,11 @@ static void __sk_free(struct sock *sk)
@@ -1837,9 +1851,11 @@ static void __sk_free(struct sock *sk)
if (likely(sk->sk_net_refcnt))
sock_inuse_add(sock_net(sk), -1);
......
......@@ -330,7 +330,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
--- a/net/core/sock.c
+++ b/net/core/sock.c
@@ -3710,6 +3710,8 @@ static __net_initdata struct pernet_oper
@@ -3724,6 +3724,8 @@ static __net_initdata struct pernet_oper
static int __init proto_init(void)
{
......
......@@ -9,7 +9,7 @@ Acked-by: Rob Landley <rob@landley.net>
---
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -1085,9 +1085,6 @@ config FW_ARC
@@ -1086,9 +1086,6 @@ config FW_ARC
config ARCH_MAY_HAVE_PC_FDC
bool
......@@ -19,7 +19,7 @@ Acked-by: Rob Landley <rob@landley.net>
config CEVT_BCM1480
bool
@@ -3182,6 +3179,18 @@ choice
@@ -3183,6 +3180,18 @@ choice
bool "Extend builtin kernel arguments with bootloader arguments"
endchoice
......
......@@ -164,7 +164,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
struct rtnl_link {
rtnl_doit_func doit;
@@ -4684,7 +4684,9 @@ int ndo_dflt_bridge_getlink(struct sk_bu
@@ -4690,7 +4690,9 @@ int ndo_dflt_bridge_getlink(struct sk_bu
brport_nla_put_flag(skb, flags, mask,
IFLA_BRPORT_MCAST_FLOOD, BR_MCAST_FLOOD) ||
brport_nla_put_flag(skb, flags, mask,
......
......@@ -31,7 +31,7 @@ Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
help
--- a/init/main.c
+++ b/init/main.c
@@ -608,6 +608,29 @@ static inline void setup_nr_cpu_ids(void
@@ -606,6 +606,29 @@ static inline void setup_nr_cpu_ids(void
static inline void smp_prepare_cpus(unsigned int maxcpus) { }
#endif
......@@ -61,7 +61,7 @@ Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
/*
* We need to store the untouched command line for future reference.
* We also need to store the touched command line since the parameter
@@ -869,6 +892,7 @@ asmlinkage __visible void __init __no_sa
@@ -866,6 +889,7 @@ asmlinkage __visible void __init __no_sa
pr_notice("%s", linux_banner);
early_security_init();
setup_arch(&command_line);
......
......@@ -33,7 +33,7 @@ Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -322,7 +322,7 @@ config ARCH_MULTIPLATFORM
@@ -323,7 +323,7 @@ config ARCH_MULTIPLATFORM
select ARCH_SELECT_MEMORY_MODEL
select ARM_HAS_SG_CHAIN
select ARM_PATCH_PHYS_VIRT
......
......@@ -22,7 +22,7 @@ Signed-off-by: Adrian Panella <ianchi74@outlook.com>
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1777,6 +1777,17 @@ config ARM_ATAG_DTB_COMPAT_CMDLINE_EXTEN
@@ -1778,6 +1778,17 @@ config ARM_ATAG_DTB_COMPAT_CMDLINE_EXTEN
The command-line arguments provided by the boot loader will be
appended to the the device tree bootargs property.
......@@ -178,7 +178,7 @@ Signed-off-by: Adrian Panella <ianchi74@outlook.com>
}
--- a/init/main.c
+++ b/init/main.c
@@ -110,6 +110,10 @@
@@ -108,6 +108,10 @@
#include <kunit/test.h>
......@@ -189,7 +189,7 @@ Signed-off-by: Adrian Panella <ianchi74@outlook.com>
static int kernel_init(void *);
extern void init_IRQ(void);
@@ -906,6 +910,18 @@ asmlinkage __visible void __init __no_sa
@@ -903,6 +907,18 @@ asmlinkage __visible void __init __no_sa
pr_notice("Kernel command line: %s\n", saved_command_line);
/* parameters may set static keys */
jump_label_init();
......
......@@ -40,7 +40,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
/* Init MAC and get the capabilities */
ret = stmmac_hw_init(priv);
if (ret)
@@ -5266,6 +5270,7 @@ int stmmac_dvr_remove(struct device *dev
@@ -5260,6 +5264,7 @@ int stmmac_dvr_remove(struct device *dev
phylink_destroy(priv->phylink);
if (priv->plat->stmmac_rst)
reset_control_assert(priv->plat->stmmac_rst);
......
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1790,6 +1790,14 @@ config ARM_ATAG_DTB_COMPAT_CMDLINE_MANGL
@@ -1791,6 +1791,14 @@ config ARM_ATAG_DTB_COMPAT_CMDLINE_MANGL
endchoice
......
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -2438,6 +2438,12 @@ config MIPS_VPE_LOADER
@@ -2439,6 +2439,12 @@ config MIPS_VPE_LOADER
Includes a loader for loading an elf relocatable object
onto another VPE and running it.
......
......@@ -19,7 +19,7 @@
},
[PORT_NPCM] = {
.name = "Nuvoton 16550",
@@ -2723,6 +2723,11 @@ serial8250_do_set_termios(struct uart_po
@@ -2720,6 +2720,11 @@ serial8250_do_set_termios(struct uart_po
unsigned long flags;
unsigned int baud, quot, frac = 0;
......
......@@ -28,7 +28,7 @@ Signed-off-by: Michael Gray <michael.gray@lantisproject.com>
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1777,6 +1777,17 @@ config ARM_ATAG_DTB_COMPAT_CMDLINE_EXTEN
@@ -1778,6 +1778,17 @@ config ARM_ATAG_DTB_COMPAT_CMDLINE_EXTEN
The command-line arguments provided by the boot loader will be
appended to the the device tree bootargs property.
......@@ -176,7 +176,7 @@ Signed-off-by: Michael Gray <michael.gray@lantisproject.com>
}
--- a/init/main.c
+++ b/init/main.c
@@ -110,6 +110,10 @@
@@ -108,6 +108,10 @@
#include <kunit/test.h>
......@@ -187,7 +187,7 @@ Signed-off-by: Michael Gray <michael.gray@lantisproject.com>
static int kernel_init(void *);
extern void init_IRQ(void);
@@ -904,6 +908,18 @@ asmlinkage __visible void __init __no_sa
@@ -901,6 +905,18 @@ asmlinkage __visible void __init __no_sa
page_alloc_init();
pr_notice("Kernel command line: %s\n", saved_command_line);
......
......@@ -22,7 +22,7 @@ Signed-off-by: Tim Harvey <tharvey@gateworks.com>
#include <linux/platform_data/x86/apple.h>
#include <linux/pm_runtime.h>
#include <linux/suspend.h>
@@ -5810,3 +5811,34 @@ static void nvidia_ion_ahci_fixup(struct
@@ -5812,3 +5813,34 @@ static void nvidia_ion_ahci_fixup(struct
pdev->dev_flags |= PCI_DEV_FLAGS_HAS_MSI_MASKING;
}
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_NVIDIA, 0x0ab8, nvidia_ion_ahci_fixup);
......
......@@ -22,7 +22,7 @@ Signed-off-by: Adrian Panella <ianchi74@outlook.com>
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1777,6 +1777,17 @@ config ARM_ATAG_DTB_COMPAT_CMDLINE_EXTEN
@@ -1778,6 +1778,17 @@ config ARM_ATAG_DTB_COMPAT_CMDLINE_EXTEN
The command-line arguments provided by the boot loader will be
appended to the the device tree bootargs property.
......@@ -157,7 +157,7 @@ Signed-off-by: Adrian Panella <ianchi74@outlook.com>
}
--- a/init/main.c
+++ b/init/main.c
@@ -110,6 +110,10 @@
@@ -108,6 +108,10 @@
#include <kunit/test.h>
......@@ -168,7 +168,7 @@ Signed-off-by: Adrian Panella <ianchi74@outlook.com>
static int kernel_init(void *);
extern void init_IRQ(void);
@@ -904,6 +908,18 @@ asmlinkage __visible void __init __no_sa
@@ -901,6 +905,18 @@ asmlinkage __visible void __init __no_sa
page_alloc_init();
pr_notice("Kernel command line: %s\n", saved_command_line);
......
......@@ -17,7 +17,7 @@ Signed-off-by: David Bauer <mail@david-bauer.net>
--- a/arch/mips/kernel/setup.c
+++ b/arch/mips/kernel/setup.c
@@ -543,8 +543,28 @@ static int __init bootcmdline_scan_chose
@@ -545,8 +545,28 @@ static int __init bootcmdline_scan_chose
#endif /* CONFIG_OF_EARLY_FLATTREE */
......@@ -46,7 +46,7 @@ Signed-off-by: David Bauer <mail@david-bauer.net>
bool dt_bootargs = false;
/*
@@ -558,6 +578,14 @@ static void __init bootcmdline_init(void
@@ -560,6 +580,14 @@ static void __init bootcmdline_init(void
}
/*
......
......@@ -10,7 +10,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
--- a/arch/mips/kernel/setup.c
+++ b/arch/mips/kernel/setup.c
@@ -695,8 +695,6 @@ static void __init arch_mem_init(char **
@@ -697,8 +697,6 @@ static void __init arch_mem_init(char **
if (crashk_res.start != crashk_res.end)
memblock_reserve(crashk_res.start, resource_size(&crashk_res));
#endif
......@@ -19,7 +19,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
/*
* In order to reduce the possibility of kernel panic when failed to
* get IO TLB memory under CONFIG_SWIOTLB, it is better to allocate
@@ -816,6 +814,7 @@ void __init setup_arch(char **cmdline_p)
@@ -818,6 +816,7 @@ void __init setup_arch(char **cmdline_p)
cpu_cache_init();
paging_init();
......
......@@ -10,7 +10,7 @@
platform-$(CONFIG_SGI_IP28) += sgi-ip22/
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -1037,8 +1037,58 @@ config NLM_XLP_BOARD
@@ -1038,8 +1038,58 @@ config NLM_XLP_BOARD
This board is based on Netlogic XLP Processor.
Say Y here if you have a XLP based board.
......@@ -69,7 +69,7 @@
source "arch/mips/alchemy/Kconfig"
source "arch/mips/ath25/Kconfig"
source "arch/mips/ath79/Kconfig"
@@ -1097,6 +1147,9 @@ config CEVT_GT641XX
@@ -1098,6 +1148,9 @@ config CEVT_GT641XX
config CEVT_R4K
bool
......
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -2045,6 +2045,8 @@ int bond_enslave(struct net_device *bond
@@ -2050,6 +2050,8 @@ int bond_enslave(struct net_device *bond
goto err_unregister;
}
......
......@@ -57,6 +57,7 @@ CONFIG_CPU_IBRS_ENTRY=y
# CONFIG_SLS is not set
CONFIG_CPU_IDLE=y
CONFIG_CPU_IDLE_GOV_LADDER=y
CONFIG_CPU_SRSO=y
CONFIG_CPU_SUP_AMD=y
CONFIG_CPU_SUP_CENTAUR=y
CONFIG_CPU_SUP_CYRIX_32=y
......@@ -115,6 +116,7 @@ CONFIG_FUSION=y
CONFIG_FUSION_MAX_SGE=128
CONFIG_FUSION_SPI=y
CONFIG_FW_LOADER_PAGED_BUF=y
# CONFIG_GDS_FORCE_MITIGATION is not set
CONFIG_GENERIC_ALLOCATOR=y
CONFIG_GENERIC_BUG=y
CONFIG_GENERIC_CLOCKEVENTS=y
......