Commit Graph

510 Commits

Author SHA1 Message Date
Daniel Golle
4171325e19 kernel: move F2FS_FS_XATTR and F2FS_STAT_FS symbols to generic
Similar to how it was already done for other filesystems' *_FS_XATTR
kernel config symbols, also move CONFIG_F2FS_FS_XATTR=y and
CONFIG_F2FS_STAT_FS=y to target/linux/generic.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-10-10 17:29:57 +08:00
Paul Spooren
19da4ab536 kernel: clean up XATTR config symbols
Extended attributes are required for overlayfs and have hence been long
ago enabled for jffs2, but should be enabled unconditionally for all
other filesystems which may potentially serve as overlayfs' upper
directory. Previously it was inconsistently added in multiple targets.
Add symbols to generic kernel config and remove all *_XATTR symbols
from target configs.

Signed-off-by: Paul Spooren <mail@aparcar.org>
[keep things as they are for squashfs, improve commit message]
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-10-09 11:29:55 +08:00
John Audia
eb64d4a34a
kernel: bump 5.4 to 5.4.69
Seemingly unneeded based on new upstream code so manually deleted:
 platform/820-usb-0007-usb-dwc3-gadget-increase-timeout-value-for-send-ep-c.patch

Manually merged:
 generic-hack/251-sound_kconfig.patch

All other modifications made by update_kernel.sh

Build system: x86_64
Build-tested: ipq806x/R7800, ath79/generic, bcm27xx/bcm2711
Run-tested: ipq806x/R7800

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>
2020-10-02 13:42:49 +08:00
CN_SZTL
7f53d5e36d
Merge Mainline 2020-10-01 21:55:59 +08:00
CN_SZTL
21e29cc2df
kernel: bump 4.19 to 4.19.149
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-10-01 21:53:50 +08:00
CN_SZTL
8fe562e7e3
kernel: bump 4.14 to 4.14.200
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-10-01 21:53:20 +08:00
CN_SZTL
48e50b9c4d
Merge Mainline 2020-09-30 21:13:46 +08:00
CN_SZTL
fc101d4c5f
kernel: bump 4.19 to 4.19.148
Remove upstreamed:
- generic/pending: 607-tcp_bbr-adapt-cwnd-based-on-ack-aggregation-estimation.patch

Resolve conflicted:
- generic/backport: 011-kbuild-export-SUBARCH.patch

Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-09-30 21:08:22 +08:00
CN_SZTL
e4574017c2
kernel: bump 4.14 to 4.14.199
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-09-30 20:09:04 +08:00
CN_SZTL
b99cee288f
kernel: bump 4.9 to 4.9.237
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-09-30 20:08:29 +08:00
AmadeusGhost
7da6811557 Merge Mainline 2020-09-28 16:05:06 +08:00
John Audia
89005d1fdd
kernel: bump 5.4 to 5.4.68
All modifications made by update_kernel.sh

Build system: x86_64
Build-tested: ipq806x, ath79/generic, bcm72xx/bcm2711
Run-tested: ipq806x (R7800)

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>
2020-09-28 13:11:12 +08:00
John Audia
5d52ce2e8f
kernel: bump 5.4 to 5.4.67
All modifications made by update_kernel.sh

Build system: x86_64
Build-tested: ipq806x, lantiq/xrx200 and ath79/generic
Run-tested: ipq806x (R7800), lantiq (Easybox 904 xDSL)

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>
[add test on lantiq]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-09-27 13:16:32 +08:00
Christian Lamparter
78a17f8a78 kernel: add default for new config symbols
Provide disabled defaults for I2C_SLAVE_EEPROM and IPMB_DEVICE_INTERFACE.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2020-09-26 11:37:01 +08:00
John Thomson
bd70c67338 kernel: fix mtd partition erase < parent_erasesize writes
This bug applied where mtd partition end address,
or erase start address, was not cleanly divisible by parent mtd erasesize.

This error would cause the bits following the end of the partition
to the next erasesize block boundary to be erased,
and this partition-overflow data to be written to the partition erase
address (missing additional partition offset address)
of the mtd (top) parent device.

Fixes: FS#2428

Signed-off-by: John Thomson <git@johnthomson.fastmail.com.au>
Tested-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
[shorten commit title, add Fixes, fix kernel 4.19 as well]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-09-20 11:36:15 +08:00
Felix Fietkau
b5f15c5d6b mediatek: fix hardware flow offload
Add support for dealing with DSA ports

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2020-09-18 17:12:44 +08:00
Birger Koblitz
9e2bdac0d8 kernel: add support for ALLNET devices in mtdsplit
Add support for uimage headers from ALLNET and provide support for the
SG8208M and SG8310PM devices' magic bytes.

Signed-off-by: Birger Koblitz <git@birger-koblitz.de>
2020-09-15 11:38:32 +08:00
Felix Fietkau
061059eb72 ramips/mediatek: improve GRO performance, fix PPE packet parsing
Backport upstream changes to initialize GDM settings and reset PPE
Allow GMAC to recognize the special tag to fix PPE packet parsing
Improve GRO performance by passing PPE L4 hash as skb hash

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2020-09-14 10:33:36 +08:00
CN_SZTL
7ccd66cdea
Merge Mainline 2020-09-12 23:35:51 +08:00
CN_SZTL
876258d192
kernel: bump 5.4 to 5.4.65
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-09-12 23:34:20 +08:00
CN_SZTL
1ecb19072b
kernel: bump 4.19 to 4.19.145
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-09-12 23:08:12 +08:00
CN_SZTL
8588e8694a
kernel: bump 4.14 to 4.14.198
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-09-12 23:07:39 +08:00
CN_SZTL
fdcf353bdb
kernel: bump 4.9 to 4.9.236
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-09-12 18:48:56 +08:00
John Audia
aa7a0c85cc
kernel: bump 5.4 to 5.4.64
Remove upstreamed patches:
 generic-backport
  701-v5.5-net-core-use-listified-Rx-for-GRO_NORMAL-in-napi_gro.patch

Manually merged:
 mediatek/patches-5.4
  0603-net-dsa-mt7530-Extend-device-data-ready-for-adding-a.patch

All other modifications made by update_kernel.sh

Build-tested: ipq806x, lantiq/xrx200, mvebu, x86/64
Run-tested: ipq806x (R7800), mvebu (mamba, rango),
  lantiq/xrx200 (Easybox 904 xDSL), x86/64

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>
[add community build/run tests to commit message]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-09-12 18:00:59 +08:00
AmadeusGhost
233d1d5bb3 target/5.4: move common patches into generic 2020-09-12 11:50:15 +08:00
Adrian Schmutzler
ca171c7cc4 kernel: use proper upstream inclusion version for patch
The patch is only included in kernel 5.5.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-09-12 11:35:50 +08:00
CN_SZTL
c75f41d557
Merge Mainline 2020-09-11 18:08:47 +08:00
AmadeusGhost
f803886385 target: move interchangeable patches to generic 2020-09-11 17:39:39 +08:00
Chen Minqiang
cd49540742 kernel: Make kmod-sfp depend on kmod-libphy
With kernel 5.4 kmod-sfp is depending on kmod-libphy, add this
missing dependency.

This also make phylink tristate so that kmod build work

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2020-09-11 17:20:32 +08:00
Adrian Schmutzler
70b20031ff kernel: add recently introduced CONFIG_MTD_SPLIT_ELF_FW
The config symbol was introduced in drivers, but not added to
generic kernel config files. This will halt build asking for the
value.

Fix it by adding the value (setting it to disabled).

Fixes: 3f7047db7a ("kernel: mtdsplit: support ELF loader splitting")

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-09-10 17:32:22 +08:00
Sander Vanheule
00ee1498ac kernel: mtdsplit: support ELF loader splitting
To parse the ELF kernel loader, a small ELF parser is used that can
handle both ELF32 or ELF64 class loaders. The splitter assumes that the
kernel is always located before the rootfs, whether it is embedded in
the loader or not. If the kernel is located after the rootfs on the
firmware partition, then the rootfs splitter will include it in the
dynamically created rootfs_data partition and the kernel will be
corrupted.

The kernel image is preferably embedded inside the ELF loader, so the
end of the loader equals the end of the kernel partition. This is due to
the way mtd_find_rootfs_from searches for the the rootfs:
- if the kernel image is embedded in the loader, the appended rootfs may
  follow the loader immediately, within the same erase block.
- if the kernel image is not embedded in the loader, but placed at some
  offset behind the loader (OKLI-style loader), the rootfs must be
  aligned to an erase-block after the loader and kernel image.

In case section header table is empty, determine the elf loader size by
finding the end of the last segment, as defined by the program header
table.

Signed-off-by: Sander Vanheule <sander@svanheule.net>
2020-09-10 17:27:30 +08:00
Felix Fietkau
06874dc37a mediatek/ramips: remove an ethernet optimization patch that was reported to cause a regression
In some tests, crashes were observed

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2020-09-10 17:26:54 +08:00
Felix Fietkau
5a519166f0 kernel: backport improved checksum function for ARM64
Improves network performance in some cases when checksum offload is not
available

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2020-09-07 17:02:37 +08:00
Felix Fietkau
e893a30975 kernel: backport GRO improvements
Improves network performance

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2020-09-07 17:02:15 +08:00
CN_SZTL
3f14b2487d
Merge Mainline 2020-09-06 20:03:11 +08:00
CN_SZTL
a39e256193
kernel: bump to 4.9.235, 4.14.196, 4.19.143
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-09-06 19:58:14 +08:00
John Audia
36833db556
kernel: bump 5.4 to 5.4.63
Manual merged:
 hack-5.4
  230-openwrt_lzma_options.patch (with Adrian Schmutzler's help)
 bcm27xx
  950-0283-hid-usb-Add-device-quirks-for-Freeway-Airmouse-T3-an.patch
 x86
  patches-5.4
	 011-tune_lzma_options.patch (with Adrian Schmutzler's help)

Remove upstreamed patches in collaboration with Ansuel Smith:
 ipq806x
  093-1-v5.8-ipq806x-PCI-qcom-Add-missing-ipq806x-clocks-in-PCIe-driver.patch
  093-2-v5.8-ipq806x-PCI-qcom-Change-duplicate-PCI-reset-to-phy-reset.patch
  093-3-v5.8-ipq806x-PCI-qcom-Add-missing-reset-for-ipq806x.patch

All other modifications made by update_kernel.sh

Build system: x86_64
Run-tested: ipq806x (R7800)

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>
2020-09-06 19:56:39 +08:00
Felix Fietkau
ecf69f886c mediatek/ramips: add patch to avoid unnecessary rearming of interrupts
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2020-09-05 11:39:02 +08:00
Felix Fietkau
ce1558cff6 mediatek/ramips: unify ethernet driver fixes and add performance optimizations
Increase DMA burst size and tx ring size and optimize tx processing

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2020-09-02 11:36:26 +08:00
AmadeusGhost
fb8ad74ba4 Merge Mainline 2020-08-31 12:00:01 +08:00
Thomas Petazzoni
28212bbd55 kernel: add options needed for SELinux
This adds a number of options to config/Config-kernel.in so that
packages related to SELinux support can enable the appropriate Linux
kernel support.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[rebase; add ext4, F2FS, UBIFS, and JFFS2 support; add commit message]
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2020-08-31 11:33:32 +08:00
Hannu Nyman
e9c68aa795 kernel: add missing symbol NET_DSA_TAG_RTL4_A
Fix build breakage caused by the missing kernel config symbol.

Fixes: 8735997686 ("kernel: backport RTL8366RB patches")
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-08-31 11:09:50 +08:00
CN_SZTL
a3f1d304fd
kernel/5.4: fix SUBARCH patch
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-08-30 04:39:43 +08:00
CN_SZTL
15f1d2dc74
kernel/4.9: drop unapplied patch
Fixes: #185.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-08-27 07:48:28 +08:00
CN_SZTL
20c62b1558
kernel: bump 5.4 to 5.4.61
Resolve conflicted:
 - 011-kbuild-export-SUBARCH.patch
 - 701-net-0262-net-dsa-ocelot-add-tagger-for-Ocelot-Felix-switches.patch

Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-08-27 05:42:59 +08:00
CN_SZTL
9458060f9a
Merge Mainline 2020-08-27 04:30:47 +08:00
CN_SZTL
9b04dc6abe
kernel: bump to 4.9.234, 4.14.195, 4.19.142
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-08-27 04:27:45 +08:00
Linus Walleij
f878e9a2d6 kernel: backport RTL8366RB patches
These upstream patches makes the RTL8366RB DSA switch work
properly with OpenWrt, the D-Link DIR-685 gets network and
can be used as a router, and the same should be applicable
for any other device that want to enable the RTL8366RB
through Device Tree.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2020-08-25 12:25:47 +08:00
CN_SZTL
f3eca9a203
Merge Mainline 2020-08-23 02:15:59 +08:00
CN_SZTL
14459b8a3d
kernel: refresh patches
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-08-23 02:10:34 +08:00