openwrt/target/linux/ath79/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
..
004-register_gpio_driver_earlier.patch
404-mtd-cybertan-trx-parser.patch kernel: backport 5.13 mtd partitioning changes 2021-03-29 08:46:17 +02:00
408-mtd-redboot_partition_scan.patch
410-spi-ath79-Implement-the-spi_mem-interface.patch
420-net-use-downstream-ag71xx.patch
425-at803x-allow-sgmii-aneg-override.patch
430-drivers-link-spi-before-mtd.patch
440-mtd-ar934x-nand-driver.patch
450-fix-block-protection-clearing.patch kernel-5.4: bump to 5.4.102 and refresh patches 2021-03-04 22:06:53 +01:00
470-MIPS-ath79-swizzle-pci-address-for-ar71xx.patch
900-mdio_bitbang_ignore_ta_value.patch
901-phy-mdio-bitbang-prevent-rescheduling-during-command.patch
910-unaligned_access_hacks.patch kernel: bump 5.4 to 5.4.96 2021-02-08 16:34:18 +01:00
920-mikrotik-rb4xx.patch
921-serial-core-add-support-for-boot-console-with-arbitr.patch kernel: bump 5.4 to 5.4.86 2021-01-01 17:07:28 +01:00
930-ar8216-make-reg-access-atomic.patch ath79: ar8216: make switch register access atomic 2020-09-30 15:56:05 +08:00
0001-MIPS-cmdline-Clean-up-boot_command_line-initializati.patch kernel: bump 5.4 to 5.4.86 2021-01-01 17:07:28 +01:00
0002-watchdog-ath79-fix-maximum-timeout.patch
0003-leds-add-reset-controller-based-driver.patch
0004-phy-add-ath79-usb-phys.patch
0005-usb-add-more-OF-quirk-properties.patch
0007-irqchip-irq-ath79-intc-add-irq-cascade-driver-for-QC.patch
0008-irqchip-irq-ath79-cpu-drop-OF-init-helper.patch
0017-dt-bindings-PCI-qcom-ar7100-adds-binding-doc.patch
0018-MIPS-pci-ar71xx-convert-to-OF.patch
0019-dt-bindings-PCI-qcom-ar7240-adds-binding-doc.patch
0020-MIPS-pci-ar724x-convert-to-OF.patch
0032-MIPS-ath79-sanitize-symbols.patch kernel: Activate FORTIFY_SOURCE for MIPS kernel 5.4 2021-04-30 23:51:19 +02:00
0033-spi-ath79-drop-pdata-support.patch
0034-MIPS-ath79-ath9k-exports.patch
0036-GPIO-add-named-gpio-exports.patch kernel: bump 5.4 to 5.4.114 2021-04-30 23:48:37 +02:00
0036-MIPS-ath79-remove-irq-code-from-pci.patch
0037-missing-registers.patch
0038-MIPS-ath79-add-missing-QCA955x-GMAC-registers.patch
0039-MIPS-ath79-export-UART1-reference-clock.patch
0040-ath79-sgmii-config.patch ath79: force SGMII SerDes mode to MAC operation 2021-04-13 00:32:56 +02:00
0050-spi-ath79-remove-spi-master-setup-and-cleanup-assign.patch
0051-spi-add-driver-for-ar934x-spi-controller.patch
0061-tty-serial-ar933x-uart-rs485-gpio.patch ath79: drop upstreamed patch 2021-01-01 19:14:06 +01:00
0062-MIPS-pci-ar724x-add-QCA9550-reset-sequence.patch