openwrt/target/linux/lantiq/patches-5.4
Hauke Mehrtens 9ffa2f8193 kernel: Activate FORTIFY_SOURCE for MIPS kernel 5.4
CONFIG_FORTIFY_SOURCE=y is already set in the generic kernel
configuration, but it is not working for MIPS on kernel 5.4, support for
MIPS was only added with kernel 5.5, other architectures like aarch64
support FORTIFY_SOURCE already since some time.

This patch adds support for FORTIFY_SOURCE to MIPS with kernel 5.4,
kernel 5.10 already supports this and needs no changes.

This backports one patch from kernel 5.5 and one fix from 5.8 to make
fortify source also work on our kernel 5.4.

The changes are not compatible with the
306-mips_mem_functions_performance.patch patch which was also removed
with kernel 5.10, probably because of the same problems. I think it is
not needed anyway as the compiler should automatically optimize the
calls to memset(), memcpy() and memmove() even when not explicitly
telling the compiler to use the build in variant.

This increases the size of an uncompressed kernel by less than 1 KB.

Acked-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-04-30 23:51:19 +02:00
..
0001-MIPS-lantiq-add-pcie-driver.patch kernel: bump 5.4 to 5.4.73 2020-11-01 14:44:06 +01:00
0004-MIPS-lantiq-add-atm-hack.patch kernel: bump 5.4 to 5.4.69 2020-10-02 22:02:26 +02:00
0008-MIPS-lantiq-backport-old-timer-code.patch lantiq: add Linux 5.4 support as testing kernel version 2020-03-16 22:28:17 +01:00
0018-MTD-nand-lots-of-xrx200-fixes.patch lantiq: add Linux 5.4 support as testing kernel version 2020-03-16 22:28:17 +01:00
0020-MTD-lantiq-handle-NO_XIP-on-cfi0001-flash.patch lantiq: add Linux 5.4 support as testing kernel version 2020-03-16 22:28:17 +01:00
0023-NET-PHY-add-led-support-for-intel-xway.patch lantiq: add Linux 5.4 support as testing kernel version 2020-03-16 22:28:17 +01:00
0024-MIPS-lantiq-revert-DSA-switch-driver-PMU-clock-chang.patch kernel: bump 5.4 to 5.4.51 2020-07-11 13:33:28 +02:00
0025-NET-MIPS-lantiq-adds-xrx200-legacy.patch lantiq: add Linux 5.4 support as testing kernel version 2020-03-16 22:28:17 +01:00
0026-MIPS-lantiq-Add-GPHY-Firmware-loader.patch lantiq: add Linux 5.4 support as testing kernel version 2020-03-16 22:28:17 +01:00
0028-NET-lantiq-various-etop-fixes.patch lantiq: add Linux 5.4 support as testing kernel version 2020-03-16 22:28:17 +01:00
0030-GPIO-add-named-gpio-exports.patch kernel: bump 5.4 to 5.4.114 2021-04-30 23:48:37 +02:00
0031-I2C-MIPS-lantiq-add-FALC-ON-i2c-bus-master.patch lantiq: add Linux 5.4 support as testing kernel version 2020-03-16 22:28:17 +01:00
0035-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch lantiq: add Linux 5.4 support as testing kernel version 2020-03-16 22:28:17 +01:00
0042-arch-mips-increase-io_space_limit.patch lantiq: add Linux 5.4 support as testing kernel version 2020-03-16 22:28:17 +01:00
0050-USB-DWC2-make-the-lantiq-settings-match-vendor-drive.patch lantiq: add Linux 5.4 support as testing kernel version 2020-03-16 22:28:17 +01:00
0051-MIPS-lantiq-improve-USB-initialization.patch lantiq: add Linux 5.4 support as testing kernel version 2020-03-16 22:28:17 +01:00
0101-find_active_root.patch kernel: backport 5.13 mtd partitioning changes 2021-03-29 08:46:17 +02:00
0151-lantiq-ifxmips_pcie-use-of.patch lantiq: add Linux 5.4 support as testing kernel version 2020-03-16 22:28:17 +01:00
0152-lantiq-VPE.patch kernel: Activate FORTIFY_SOURCE for MIPS kernel 5.4 2021-04-30 23:51:19 +02:00
0154-lantiq-pci-bar11mask-fix.patch lantiq: add Linux 5.4 support as testing kernel version 2020-03-16 22:28:17 +01:00
0155-lantiq-VPE-nosmp.patch
0160-owrt-lantiq-multiple-flash.patch lantiq: add Linux 5.4 support as testing kernel version 2020-03-16 22:28:17 +01:00
0300-MTD-cfi-cmdset-0001-disable-buffered-writes.patch
0301-xrx200-add-gphy-clk-src-device-tree-binding.patch lantiq: add Linux 5.4 support as testing kernel version 2020-03-16 22:28:17 +01:00
0701-NET-lantiq-etop-of-mido.patch lantiq: add Linux 5.4 support as testing kernel version 2020-03-16 22:28:17 +01:00