1. 21 Apr, 2020 1 commit
  2. 08 Apr, 2020 1 commit
    • Petr Štetiar's avatar
      kernel: bump 5.4 to 5.4.31 · b2990028
      Petr Štetiar authored
      
      
      Refreshed patches, removed upstreamed patches:
      
       oxnas:   003-ARM-dts-oxnas-Fix-clear-mask-property.patch
       generic: 184-USB-serial-option-add-Wistron-Neweb-D19Q1.patch
      
      Run tested: apu2, qemu-x86-64, apalis
      Build tested: sunxi/a53, imx6, x86/64, ipq40xx
      
      Tested-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> [apu2]
      Signed-off-by: default avatarPetr Štetiar <ynezz@true.cz>
      b2990028
  3. 09 Mar, 2020 1 commit
  4. 28 Feb, 2020 2 commits
    • Koen Vandeputte's avatar
      kernel: add support for kernel 5.4 · 4e0c54bc
      Koen Vandeputte authored
      
      
      The following patches were removed because they are integrated in the upstream kernel 5.4:
       * backport-5.4/047-v4.21-mtd-keep-original-flags-for-every-struct-mtd_info.patch
       * backport-5.4/048-v4.21-mtd-improve-calculating-partition-boundaries-when-ch.patch
       * backport-5.4/080-v5.1-0001-bcma-keep-a-direct-pointer-to-the-struct-device.patch
       * backport-5.4/080-v5.1-0002-bcma-use-dev_-printing-functions.patch
       * backport-5.4/095-Allow-class-e-address-assignment-via-ifconfig-ioctl.patch
       * backport-5.4/101-arm-cns3xxx-use-actual-size-reads-for-PCIe.patch
       * backport-5.4/200-v5.2-usb-dwc2-Set-lpm-mode-parameters-depend-on-HW-configuration.patch
       * backport-5.4/210-arm64-sve-Disentangle-uapi-asm-ptrace.h-from-uapi-as.patch
       * backport-5.4/380-v5.3-net-sched-Introduce-act_ctinfo-action.patch
       * backport-5.4/450-v5.0-mtd-spinand-winbond-Add-support-for-W25N01GV.patch
       * backport-5.4/451-v5.0-mtd-spinand-Add-initial-support-for-Toshiba-TC58CVG2.patch
       * backport-5.4/452-v5.0-mtd-spinand-add-support-for-GigaDevice-GD5FxGQ4xA.patch
       * backport-5.4/455-v5.1-mtd-spinand-Add-support-for-all-Toshiba-Memory-produ.patch
       * backport-5.4/456-v5.1-mtd-spinand-Add-support-for-GigaDevice-GD5F1GQ4UExxG.patch
       * backport-5.4/460-v5.0-mtd-spi-nor-Add-support-for-mx25u12835f.patch
       * backport-5.4/460-v5.3-mtd-spinand-Define-macros-for-page-read-ops-with-thr.patch
       * backport-5.4/461-v5.3-mtd-spinand-Add-support-for-two-byte-device-IDs.patch
       * backport-5.4/462-v5.3-mtd-spinand-Add-support-for-GigaDevice-GD5F1GQ4UFxxG.patch
       * backport-5.4/463-v5.3-mtd-spinand-Add-initial-support-for-Paragon-PN26G0xA.patch
       * backport-5.4/700-v5.1-net-phylink-only-call-mac_config-during-resolve-when.patch
       * backport-5.4/701-v5.2-net-phylink-ensure-inband-AN-works-correctly.patch
       * backport-5.4/702-v4.20-net-ethernet-Add-helper-for-MACs-which-support-asym-.patch
       * backport-5.4/703-v4.20-net-ethernet-Add-helper-for-set_pauseparam-for-Asym-.patch
       * backport-5.4/704-v4.20-net-phy-Stop-with-excessive-soft-reset.patch
       * backport-5.4/705-v5.1-net-phy-provide-full-set-of-accessor-functions-to-MM.patch
       * backport-5.4/706-v5.1-net-phy-add-register-modifying-helpers-returning-1-o.patch
       * backport-5.4/707-v5.1-net-phy-add-genphy_c45_check_and_restart_aneg.patch
       * backport-5.4/708-v5.3-net-phylink-remove-netdev-from-phylink-mii-ioctl-emu.patch
       * backport-5.4/709-v5.3-net-phylink-support-for-link-gpio-interrupt.patch
       * backport-5.4/710-v5.3-net-phy-allow-Clause-45-access-via-mii-ioctl.patch
       * backport-5.4/711-v5.3-net-sfp-add-mandatory-attach-detach-methods-for-sfp-.patch
       * backport-5.4/712-v5.3-net-sfp-remove-sfp-bus-use-of-netdevs.patch
       * backport-5.4/713-v5.2-net-phylink-avoid-reducing-support-mask.patch
       * backport-5.4/714-v5.3-net-sfp-Stop-SFP-polling-and-interrupt-handling-duri.patch
       * backport-5.4/715-v5.3-net-phylink-don-t-start-and-stop-SGMII-PHYs-in-SFP-m.patch
       * backport-5.4/740-v5.5-net-phy-avoid-matching-all-ones-clause-45-PHY-IDs.patch
       * backport-5.4/741-v5.5-net-phylink-fix-link-mode-modification-in-PHY-mode.patch
       * pending-5.4/103-MIPS-perf-ath79-Fix-perfcount-IRQ-assignment.patch
       * pending-5.4/131-spi-use-gpio_set_value_cansleep-for-setting-chipsele.patch
       * pending-5.4/132-spi-spi-gpio-fix-crash-when-num-chipselects-is-0.patch
       * pending-5.4/220-optimize_inlining.patch
       * pending-5.4/341-MIPS-mm-remove-no-op-dma_map_ops-where-possible.patch
       * pending-5.4/475-mtd-spi-nor-Add-Winbond-w25q128jv-support.patch
       * pending-5.4/477-mtd-add-spi-nor-add-mx25u3235f.patch
       * pending-5.4/479-mtd-spi-nor-add-eon-en25qh64.patch
      
      Some bigger changes were done to this feature and we did not port this patch yet:
       * hack-5.4/207-disable-modorder.patch
      
      This depends on BOOTMEM which was removed from the kernel, this needs some bigger changes:
       * hack-5.4/930-crashlog.patch
      
      A different version of the FPU disable patch was merged upstream, OpenWrt needs some adaptations.
       * pending-5.4/304-mips_disable_fpu.patch
      
      - no crashlog support yet as a required file got deleted upstream
      - Removed patch below, which is now seen as a recursive dependency [1]
      - Removed patch below due to build error [2]
      - fix still required to avoid identical function def [3]
      - Fixes included from Blocktrron
      - Fixes included from Chunkeey
      - Fix included from nbd regarding "dst leak in Flow Offload"
      
      [1] target/linux/generic/hack-5.4/260-crypto_test_dependencies.patch
      [2] target/linux/generic/hack-5.4/207-disable-modorder.patch
      [3] target/linux/generic/pending-5.4/613-netfilter_optional_tcp_window_check.patch
      Signed-off-by: default avatarKoen Vandeputte <koen.vandeputte@ncentric.com>
      Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
      Signed-off-by: default avatarChristian Lamparter <chunkeey@gmail.com>
      Signed-off-by: default avatarAnsuel Smith <ansuelsmth@gmail.com>
      Signed-off-by: default avatarRobert Marko <robimarko@gmail.com>
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      4e0c54bc
    • Hauke Mehrtens's avatar
      kernel: copy kernel 4.19 code to 5.4 · c16517d2
      Hauke Mehrtens authored
      
      
      No changes were done to the patches while coping them. Currently they do
      not apply on top of kernel 5.4.
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      c16517d2
  5. 04 Feb, 2020 1 commit
    • Koen Vandeputte's avatar
      kernel: bump 4.19 to 4.19.101 · 20b5a4ca
      Koen Vandeputte authored
      
      
      Refreshed all patches.
      
      Fixes:
      - CVE-2019-14896
      - CVE-2019-14897
      
      Remove upstreamed:
      - 023-0007-crypto-crypto4xx-Fix-wrong-ppc4xx_trng_probe-ppc4xx_.patch
      - 950-0202-staging-bcm2835-camera-fix-module-autoloading.patch
      - 001-4.22-01-MIPS-BCM63XX-drop-unused-and-broken-DSP-platform-dev.patch
      
      Compile-tested on: cns3xxx
      Runtime-tested on: cns3xxx
      Signed-off-by: default avatarKoen Vandeputte <koen.vandeputte@ncentric.com>
      20b5a4ca
  6. 20 Jan, 2020 1 commit
  7. 24 Dec, 2019 1 commit
  8. 29 Nov, 2019 1 commit
    • Koen Vandeputte's avatar
      kernel: bump 4.19 to 4.19.86 · f19e471f
      Koen Vandeputte authored
      
      
      Refreshed all patches.
      
      Altered patches:
      - 950-0064-mfd-Add-Raspberry-Pi-Sense-HAT-core-driver.patch
      - 0005-mtd-physmap_of-Move-custom-initialization.patch
      
      Remove upstreamed:
      - 0001-pinctrl-gemini-Mask-and-set-properly.patch
      - 0002-pinctrl-gemini-Fix-up-TVC-clock-group.patch
      
      Compile-tested on: cns3xxx
      Runtime-tested on: cns3xxx
      Signed-off-by: default avatarKoen Vandeputte <koen.vandeputte@ncentric.com>
      f19e471f
  9. 02 May, 2019 1 commit
  10. 22 Apr, 2019 1 commit
  11. 08 Feb, 2019 1 commit
  12. 17 Jan, 2019 1 commit
    • Stijn Tintel's avatar
      kernel: bump 4.19 to 4.19.16 · a37098a2
      Stijn Tintel authored
      
      
      Refresh patches.
      Remove upstreamed patches:
      - backport/096-mips-math-emu-Write-protect-delay-slot-emulation-pages.patch
      - backport/096-v4.20-netfilter-ipv6-Preserve-link-scope-traffic-original-.patch
      - backport/424-v4.20-net-dsa-fix-88e6060-roaming.patch
      - hack/100-mtd-rawnand-qcom-fix-memory-corruption-that-causes-p.patch
      - pending/510-f2fs-fix-sanity_check_raw_super-on-big-endian-machines.patch
      Update patch that no longer applies:
      - backport/343-netfilter-nft_flow_offload-handle-netdevice-events-f.patch
      
      Compile-tested: mesongx
      Runtime-tested: mesongx
      Signed-off-by: default avatarStijn Tintel <stijn@linux-ipv6.be>
      a37098a2
  13. 15 Dec, 2018 2 commits
    • Hauke Mehrtens's avatar
      kernel: Make the patches apply on top of 4.19 · 9261e744
      Hauke Mehrtens authored
      
      
      This makes the patches which were just copied in the previous commit
      apply on top of kernel 4.19.
      
      The patches in the backports-4.19 folder were checked if they are really
      in kernel 4.19 based on the title and only removed if they were found in
      the upstream kernel.
      
      The following additional patches form the pending folder went into
      upstream Linux 4.19:
      pending-4.19/171-usb-dwc2-Fix-inefficient-copy-of-unaligned-buffers.patch
      pending-4.19/190-2-5-e1000e-Fix-wrong-comment-related-to-link-detection.patch
      pending-4.19/478-mtd-spi-nor-Add-support-for-XM25QH64A-and-XM25QH128A.patch
      pending-4.19/479-mtd-spi-nor-add-eon-en25qh32.patch
      pending-4.19/950-tty-serial-exar-generalize-rs485-setup.patch
      pending-4.19/340-MIPS-mm-remove-mips_dma_mapping_error.patch
      
      Bigger changes were introduced to the m25p80 spi nor driver, as far as I
      saw it in the new code, it now has the functionality provided in this
      patch:
      pending-4.19/450-mtd-m25p80-allow-fallback-from-spi_flash_read-to-reg.patch
      
      Part of this patch went upstream independent of OpenWrt:
      hack-4.19/220-gc_sections.patch
      This patch was reworked to match the changes done upstream.
      
      The MIPS DMA API changed a lot, this patch was rewritten to match the
      new DMA handling:
      pending-4.19/341-MIPS-mm-remove-no-op-dma_map_ops-where-possible.patch
      
      I did bigger manual changes to the following patches and I am not 100% sure if they are all correct:
      pending-4.19/0931-w1-gpio-fix-problem-with-platfom-data-in-w1-gpio.patch
      pending-4.19/411-mtd-partial_eraseblock_write.patch
      pending-4.19/600-netfilter_conntrack_flush.patch
      pending-4.19/611-netfilter_match_bypass_default_table.patch
      pending-4.19/670-ipv6-allow-rejecting-with-source-address-failed-policy.patch
      hack-4.19/211-host_tools_portability.patch
      hack-4.19/221-module_exports.patch
      hack-4.19/321-powerpc_crtsavres_prereq.patch
      hack-4.19/902-debloat_proc.patch
      
      This is based on patchset from Marko Ratkaj <marko.ratkaj@sartura.hr>
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      9261e744
    • Hauke Mehrtens's avatar
      kernel: Copy patches from kernel 4.14 to 4.19 · 52a82ce3
      Hauke Mehrtens authored
      
      
      This just copies the files from the kernel 4.14 specific folders into
      the kernel 4.19 specific folder, no changes are done to the files in
      this commit.
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      52a82ce3
  14. 10 Dec, 2018 1 commit
  15. 19 Oct, 2018 1 commit
  16. 21 Sep, 2018 1 commit
  17. 15 Apr, 2018 1 commit
  18. 03 Apr, 2018 1 commit
  19. 09 Mar, 2018 1 commit
  20. 02 Mar, 2018 1 commit
    • Stijn Segers's avatar
      kernel: bump 4.14 to 4.14.23 · b5469b38
      Stijn Segers authored
      
      
      This patch bumps the 4.14 kernel to .23.
      - Refreshed patches.
      - Deleted bcm53xx/patches-4.14/089-PCI-iproc-Fix-NULL-pointer-dereference-for-BCMA.patch. Has been accepted upstream.
      - Deleted generic/pending-4.14/821-usb-Remove-annoying-warning-about-bogus-URB.patch. The upstream URB code was changed,
        the patch no longer applies. I discussed this with the patch author and removed it for now, we'll see how it goes.
      
      Compile-tested on: ramips/mt7621, x86/64
      Run-tested on: ramips/mt7621, x86/64
      Signed-off-by: default avatarStijn Segers <foss@volatilesystems.org>
      b5469b38
  21. 25 Feb, 2018 1 commit
  22. 24 Feb, 2018 1 commit
  23. 22 Feb, 2018 1 commit
  24. 08 Feb, 2018 1 commit
    • Stijn Tintel's avatar
      kernel: bump 4.14 to 4.14.18 · 3072908d
      Stijn Tintel authored
      
      
      Refresh patches.
      
      Remove upstreamed patches:
      - apm821xx/010-crypto-gcm-add-GCM-IV-size-constant.patch
      - backport/040-crypto-fix-typo-in-KPP-dependency-of-CRYPTO_ECDH.patch
      Remove pending-4.14/650-pppoe_header_pad.patch, it is superseded by
      upstream commit d32e5740001972c1bb193dd60af02721d047a17e.
      Update patch that no longer applies: hack/204-module_strip.patch
      
      Compile-tested: octeon, x86/64.
      Runtime-tested: octeon, x86/64.
      Signed-off-by: default avatarStijn Tintel <stijn@linux-ipv6.be>
      3072908d
  25. 02 Jan, 2018 1 commit
    • Stijn Tintel's avatar
      kernel: bump 4.14 to 4.14.11 · c5ca1c9a
      Stijn Tintel authored
      
      
      Rename unwinder config symbols to match upstream changes.
      Refresh patches.
      Update patch that no longer applies: 202-reduce_module_size.patch
      
      Also enable CONFIG_PAGE_TABLE_ISOLATION. This feature was backported
      from 4.15 to the 4.14 stable series. It is enabled by default, so enable
      it in OpenWrt as well.
      
      Compile-tested on x86/64.
      Runtime-tested on x86/64.
      Signed-off-by: default avatarStijn Tintel <stijn@linux-ipv6.be>
      c5ca1c9a
  26. 16 Dec, 2017 1 commit
    • Hauke Mehrtens's avatar
      kernel: generic: Add kernel 4.14 support · b3f95490
      Hauke Mehrtens authored
      
      
      This adds initial support for kernel 4.14 based on the patches for
      kernel 4.9.
      
      In the configuration I deactivated some of the new possible security
      features like:
      CONFIG_REFCOUNT_FULL
      CONFIG_SLAB_FREELIST_HARDENED
      CONFIG_SOFTLOCKUP_DETECTOR
      CONFIG_WARN_ALL_UNSEEDED_RANDOM
      
      And these overlay FS options are also deactivated:
      CONFIG_OVERLAY_FS_INDEX
      CONFIG_OVERLAY_FS_REDIRECT_DIR
      
      I activated this:
      CONFIG_FORTIFY_SOURCE
      CONFIG_POSIX_TIMERS
      CONFIG_SLAB_MERGE_DEFAULT
      CONFIG_WATCHDOG_HANDLE_BOOT_ENABLED
      
      I am not sure if I did the porting correct for the following patches:
      target/linux/generic/backport-4.14/020-backport_netfilter_rtcache.patch
      target/linux/generic/hack-4.14/220-gc_sections.patch
      target/linux/generic/hack-4.14/321-powerpc_crtsavres_prereq.patch
      target/linux/generic/pending-4.14/305-mips_module_reloc.patch
      target/linux/generic/pending-4.14/611-netfilter_match_bypass_default_table.patch
      target/linux/generic/pending-4.14/680-NET-skip-GRO-for-foreign-MAC-addresses.patch
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      b3f95490
  27. 08 Oct, 2017 1 commit
    • Stijn Tintel's avatar
      kernel: bump 4.9 to 4.9.54 · f12c4294
      Stijn Tintel authored
      
      
      Refresh patches.
      Remove upstreamed patches:
      - ramips/0067-enable-mt7621-xhci.patch
      - ramips/0085-pinmux-util.patch
      - ramips/301-fix-rt3883.patch
      
      Compile-tested on brcm2708/bcm2708, octeon, ramips/mt7621, x86/64.
      Runtime-tested on brcm2708/bcm2708, octeon, ramips/mt7621, x86/64.
      Signed-off-by: default avatarStijn Tintel <stijn@linux-ipv6.be>
      f12c4294
  28. 20 Sep, 2017 1 commit
  29. 17 Aug, 2017 1 commit
    • Stijn Tintel's avatar
      kernel: update 4.9 to 4.9.44 · 2d02a4f5
      Stijn Tintel authored
      
      
      Refresh patches.
      Adapt 704-phy-no-genphy-soft-reset.patch.
      Remove brcm2708/950-0005-mm-Remove-the-PFN-busy-warning.patch.
      Compile-tested on brcm2708/bcm2708 and x86/64.
      Runtime-tested on brcm2708/bcm2708 and x86/64.
      
      Fixes the following vulnerabilities:
      - CVE-2017-7533
      - CVE-2017-1000111
      - CVE-2017-1000112
      Signed-off-by: default avatarStijn Tintel <stijn@linux-ipv6.be>
      2d02a4f5
  30. 05 Aug, 2017 1 commit
    • John Crispin's avatar
      kernel: split patches folder up into backport, pending and hack folders · 74d00a8c
      John Crispin authored
      
      
      * properly format/comment all patches
      * merge debloat patches
      * merge Kconfig patches
      * merge swconfig patches
      * merge hotplug patches
      * drop 200-fix_localversion.patch - upstream
      * drop 222-arm_zimage_none.patch - unused
      * drop 252-mv_cesa_depends.patch - no longer required
      * drop 410-mtd-move-forward-declaration-of-struct-mtd_info.patch - unused
      * drop 661-fq_codel_keep_dropped_stats.patch - outdated
      * drop 702-phy_add_aneg_done_function.patch - upstream
      * drop 840-rtc7301.patch - unused
      * drop 841-rtc_pt7c4338.patch - upstream
      * drop 921-use_preinit_as_init.patch - unused
      * drop spio-gpio-old and gpio-mmc - unused
      Signed-off-by: default avatarJohn Crispin <john@phrozen.org>
      74d00a8c
  31. 28 Jul, 2017 1 commit
  32. 14 Jul, 2017 1 commit
    • Koen Vandeputte's avatar
      kernel: update kernel 4.9 to 4.9.37 · cd54b2d4
      Koen Vandeputte authored
      - Refreshed all patches
      - Removed upstreamed
      - Adapted 4 patches:
      
      473-fix-marvell-phy-initialization-issues.patch
      -----------------------------------------------
      Removed hunk 5 which got upstreamed
      
      403-net-phy-avoid-setting-unsupported-EEE-advertisments.patch
      404-net-phy-restart-phy-autonegotiation-after-EEE-advert.patch
      --------------------------------------------------------------
      Adapted these 2 RFC patches, merging the delta's from an upstream commit
      (see below) which made it before these 2.
      
      https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-
      
      
      stable.git/commit/?h=v4.9.36&id=97ace183074d306942b903a148aebd5d061758f0
      
      180-usb-xhci-add-support-for-performing-fake-doorbell.patch
      -----------------------------------------------------------
      - Moved fake_doorbell bitmask due to new item
      
      Compile tested on: cns3xxx, imx6
      Run tested on: cns3xxx, imx6
      Signed-off-by: default avatarKoen Vandeputte <koen.vandeputte@ncentric.com>
      cd54b2d4
  33. 27 Jun, 2017 1 commit
  34. 26 Mar, 2017 1 commit
  35. 26 Feb, 2017 1 commit
  36. 04 Feb, 2017 1 commit
  37. 27 Jan, 2017 1 commit
  38. 16 Nov, 2016 1 commit