Tianling Shen
6c1ebe4474
kernel: refresh patches
...
Fixes: ee211e2fcd ("Merge Official Source")
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-11-13 15:05:11 +08:00
Tianling Shen
ee211e2fcd
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-11-13 13:52:38 +08:00
Hauke Mehrtens
079ce0413a
kernel: bump 5.4 to 5.4.224
...
Manually adapted:
generic/pending-5.4/680-NET-skip-GRO-for-foreign-MAC-addresses.patch
lantiq/patches-5.4/0028-NET-lantiq-various-etop-fixes.patch
Compile-tested: x86/64
Run-tested: x86/64
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-11-13 01:06:12 +01:00
Tianling Shen
5dd4ee6770
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-11-05 16:56:57 +08:00
Rafał Miłecki
ab26cddca2
kernel: mtd: backport SafeLoader parser
...
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 711f1a8bcb )
2022-11-02 08:31:52 +01:00
Tianling Shen
12b323b700
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-10-31 12:45:51 +08:00
Rafał Miłecki
3e8a713bc4
kernel: mtd: backport extended dynamic partitions support
...
This gets rid of "nvmem-cells" limitation. Dynamic partitions can be
defined for any (sub)partitions layout.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 4eda414b09 )
2022-10-27 09:22:03 +02:00
Tianling Shen
f6c4028e51
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-10-25 17:51:12 +08:00
Rafał Miłecki
9cec59ca38
kernel: mtd: fix unbalanced of_node_put() in dynamic partitions code
...
Fixes: edf3363959 ("kernel: backport mtd dynamic partition patch")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 76a470d5df )
2022-10-21 11:46:05 +02:00
Tianling Shen
543b1ebe2b
kernel: generic: refresh patches
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-10-21 16:16:04 +08:00
Tianling Shen
86a9783976
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-10-20 17:45:06 +08:00
Hauke Mehrtens
060aa0021f
kernel: bump 5.4 to 5.4.219
...
Merged upstream:
bcm53xx/patches-5.4/083-v6.0-clk-iproc-Do-not-rely-on-node-name-for-correct-PLL-s.patch
Compile-tested: x86/64
Run-tested: x86/64
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-10-18 20:25:06 +02:00
Tianling Shen
f23a3e25ac
kernel: backport MGLRU support from ChromeOS
...
https://chromium.googlesource.com/chromiumos/third_party/kernel/+log/refs/heads/chromeos-5.4/mm/
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-10-16 12:51:21 +08:00
Tianling Shen
025d90b22a
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-10-08 14:31:10 +08:00
Rafał Miłecki
221c6242de
kernel: fix possible mtd NULL pointer dereference
...
Fixes: edf3363959 ("kernel: backport mtd dynamic partition patch")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit a5265497a4 )
2022-10-04 13:09:47 +02:00
Tianling Shen
cec31d8c48
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-09-27 17:07:22 +08:00
Rafał Miłecki
4c45c111e0
kernel: update U-Boot NVMEM driver
...
1. Fix casting
2. Support DT-defined variables
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 5652f378c6 )
2022-09-21 10:44:28 +02:00
Rafał Miłecki
6564d3eec1
bcm53xx: update NVMEM driver for NVRAM
...
Include support for NVMEM cells.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 2f50c53f17 )
2022-09-21 10:44:19 +02:00
Christian Marangi
edf3363959
kernel: backport mtd dynamic partition patch
...
Backport upstream solution that permits to declare nvmem cells with
dynamic partition defined by special parser.
This provide an OF node for NVMEM and connect it to the defined dynamic
partition.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 1a9ee36734 )
2022-09-21 10:43:55 +02:00
Tianling Shen
ad18e81d4c
kernel: refresh hack patches
...
Fixes: 8666014078 ("Merge Official Source")
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-09-18 13:11:21 +08:00
Tianling Shen
8666014078
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-09-18 11:56:53 +08:00
Hauke Mehrtens
8e5de89769
kernel: bump 5.4 to 5.4.213
...
Manually adapted:
layerscape/patches-5.4/820-usb-0009-usb-dwc3-Add-workaround-for-host-mode-VBUS-glitch-wh.patch
Compile-tested: x86/64
Run-tested: x86/64
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-09-17 16:52:02 +02:00
Tianling Shen
8c95ed8bfd
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-09-16 15:32:42 +08:00
lean
2d32c19d1b
kernel: backport ntfs3 driver from 5.19
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-09-11 10:06:04 +08:00
Tianling Shen
7b5d8daf13
Merge branch '2102-mac80211-515' into openwrt-21.02
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-09-10 10:48:39 +08:00
Tianling Shen
8dbbef02fd
kernel: refresh generic patches
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-09-10 09:50:14 +08:00
Felix Fietkau
64366c9509
mt76: update to the latest version
...
9485e3b47066 mt76: remove q->qid
e5674c4aa402 mt76: mt7921: enable HW beacon filter not depending on PM flag
7fd299e3c921 mt76: mt7921: enable HW beacon filter in the initialization stage
d5459efaaf14 mt76: mt7921: make mt7921_pci_driver static
b8304b456e23 mt76: connac: move tx initialization/cleanup in mt76_connac module
6e0d7077486c mt76: mt7921: reduce log severity levels for informative messages
cb80da974fe6 mt76: mt7921: reduce the mutex lock scope during reset
a2d61f4f4063 mt76: mt7915 add ht mpdu density
08ea730c1130 mt76: add len parameter to __mt76_mcu_msg_alloc signature
60ef85fa352c mt76: introduce MT_RXQ_BAND2 and MT_RXQ_BAND2_WA in mt76_rxq_id
8ccbb38ca6e6 mt76: add phy_idx in mt76_rx_status
eb19ac83c07e mt76: introduce phys array in mt76_dev structure
30887591e3ab mt76: add phy_idx to mt76_wcid
4bf8c20a9524 mt76: convert MT_TX_HW_QUEUE_EXT_PHY to MT_TX_HW_QUEUE_PHY
e6c6bf8cee09 mt76: get rid of mt76_wcid_hw routine
120f73ad992a mediatek: mt76: mac80211: Fix missing of_node_put() in mt76_led_init()
111e92cf8c22 mediatek: mt76: eeprom: fix missing of_node_put() in mt76_find_power_limits_node()
13bedd62ff4a mt76: connac: introduce mt76_connac_reg_map structure
5ec78e1ec43d wifi: mt76: fix reading current per-tid starting sequence number for aggregation
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit ec7d32f376 )
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-09-10 09:26:20 +08:00
Rafał Miłecki
c3c59e6bc7
kernel: backport U-Boot environment data NVMEM driver
...
It parses U-Boot env data into NVMEM cells.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 34cf310435 )
2022-09-05 11:27:08 +02:00
Rafał Miłecki
afc1839181
kernel: backport mtd patch adding of_platform_populate() calls
...
This is required for non-parser drivers handling MTD devices.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 41e1e838fb )
2022-09-05 11:27:08 +02:00
Tianling Shen
607259b697
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-09-05 13:20:57 +08:00
Hauke Mehrtens
bcaabe6d05
kernel: bump 5.4 to 5.4.211
...
Similar version was upstreamed:
bcm27xx/patches-5.4/950-0392-tty-amba-pl011-Add-un-throttle-support.patch
Manually adapted:
ipq806x/patches-5.4/0063-2-tsens-support-configurable-interrupts.patch
layerscape/patches-5.4/301-arch-0008-arm-add-new-non-shareable-ioremap.patch
Compile-tested: x86/64
Run-tested: x86/64
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-09-04 15:32:22 +02:00
Tianling Shen
d03aafed36
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-09-03 17:00:49 +08:00
Rafał Miłecki
8d24ea3f31
kernel: rename 5.20 patches to 6.0
...
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 372ee1919d )
2022-09-02 14:31:59 +02:00
Tianling Shen
8a74c863d5
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-07-29 21:28:06 +08:00
Rafał Miłecki
e0b7557c75
kernel: update leds-bcm63138 driver
...
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit bb2a2b1dbe )
2022-07-18 19:30:53 +02:00
Rafał Miłecki
e48124460f
kernel: backport LEDs driver for BCMBCA devices
...
This includes BCM63xx and BCM4908 families.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit d9ab1e56d8 )
2022-07-18 09:12:17 +02:00
Tianling Shen
f8624db86c
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-07-09 10:44:15 +08:00
Rafał Miłecki
4ec80cd907
kernel: drop patch adding hardcoded kernel compilation flags
...
1. KCFLAGS should be used for custom flags
2. Optimization flags are arch / SoC specific
3. -fno-reorder-blocks may *worsen* network performace on some SoCs
4. Usage of flags was *reversed* since 5.4 and noone reported that
If we really need custom flags then CONFIG_KERNEL_CFLAGS should get
default value adjusted properly (per target).
Ref: 4e0c54bc5b ("kernel: add support for kernel 5.4")
Link: http://lists.openwrt.org/pipermail/openwrt-devel/2022-June/038853.html
Link: https://patchwork.ozlabs.org/project/openwrt/patch/20190409093046.13401-1-zajec5@gmail.com/
Cc: Felix Fietkau <nbd@nbd.name>
Cc: Hauke Mehrtens <hauke@hauke-m.de>
Cc: Rui Salvaterra <rsalvaterra@gmail.com>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 22168ae681 )
2022-07-08 15:38:42 +02:00
Rafał Miłecki
44fa330a82
kernel: use KCFLAGS for passing EXTRA_OPTIMIZATION flags
...
This uses kernel's generic variable and doesn't require patching it with
a custom Makefile change. It's expected *not* to change any behaviour.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 1d42af720c )
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
(cherry picked from commit 24e27bec9a )
2022-07-08 15:38:42 +02:00
Tianling Shen
0cb2bd2bf0
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-07-04 16:37:45 +08:00
Hauke Mehrtens
3439c2ff70
kernel: Remove kmod-crypto-lib-blake2s
...
Delete the crypto-lib-blake2s kmod package, as BLAKE2s is now built-in.
Fixes: be0639063a ("kernel: bump 5.4 to 5.4.203")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-07-04 01:35:37 +02:00
Hauke Mehrtens
8001e19955
kernel: backport wireguard blake2s patch
...
This patch was backported to kernel 5.4.200, but without the wireguard
change, because wireguard is not available in upstream kernel 5.4.
This adds the missing changes for wireguard too.
Fixes: be0639063a ("kernel: bump 5.4 to 5.4.203")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-07-03 21:27:38 +02:00
Ritaro Takenaka
6d891adf39
kernel: check dst of flow offloading table
...
Flow offload dst can become invalid after the route cache is created.
dst_check() in packet path is necessary to prevent packet drop.
Signed-off-by: Ritaro Takenaka <ritarot634@gmail.com>
2022-07-03 20:00:16 +02:00
Hauke Mehrtens
be0639063a
kernel: bump 5.4 to 5.4.203
...
Merged upstream:
bcm27xx/patches-5.4/950-1014-Revert-mailbox-avoid-timer-start-from-callback.patch
generic/backport-5.4/080-wireguard-0021-crypto-blake2s-generic-C-library-implementation-and-.patch
Manually adapted:
layerscape/patches-5.4/801-audio-0005-Revert-ASoC-fsl_sai-Add-support-for-SAI-new-version.patch
oxnas/patches-5.4/100-oxnas-clk-plla-pllb.patch
Compile-tested: lantiq/xrx200
Run-tested: lantiq/xrx200
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-07-03 19:58:31 +02:00
Ritaro Takenaka
f1af45a8f4
kernel: check dst of flow offloading table
...
Flow offload dst can become invalid after the route cache is created.
dst_check() in packet path is necessary to prevent packet drop.
Signed-off-by: Ritaro Takenaka <ritarot634@gmail.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-06-01 05:30:43 +08:00
Tianling Shen
1e529503e9
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-05-20 17:39:45 +08:00
Hauke Mehrtens
ce92de8c8c
kernel: bump 5.4 to 5.4.194
...
Compile-tested: lantiq/xrx200, armvirt/64
Run-tested: lantiq/xrx200, armvirt/64
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-05-18 00:11:28 +02:00
Hauke Mehrtens
e0bdf83972
kernel: bump 5.4 to 5.4.191
...
Merged upstream:
apm821xx/patches-5.4/150-ata-sata_dwc_460ex-Fix-crash-due-to-OOB-write.patch
Similar patch merged upstream:
bcm27xx/patches-5.4/950-0210-usb-xhci-Disable-the-XHCI-5-second-timeout.patch
Manually adapted:
layerscape/patches-5.4/801-audio-0008-Revert-ASoC-Remove-dev_err-usage-after-platform_get_.patch
Compile-tested: armvirt/64
Run-tested: armvirt/64
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-05-18 00:10:34 +02:00
Ikko Ashimine
3a9bed5f92
kernel: mtdsplit: fix typo error
...
occured -> occurred
2022-05-02 18:01:37 +08:00
Tianling Shen
d7c98b6ebb
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-04-22 09:16:00 +08:00