openwrt/target/linux/generic
Tony Ambardar 5df84814bb kernel: enable (ARM|ARM64)_MODULE_PLTS in generic config
This allows loading modules with large memory requirements, recently needed
while testing on armvirt/32. Past forum discussions [1] and bug reports [2]
also raised this and the ipq806x target already set it in response [3].
Given this increases kernel image size by only ~1KB, is generally useful on
multi-platform kernels, and enabled by default on upstream arm32 Linux, add
it to the generic config.

The setting has similar utility on arm64, is a requirement for KASLR, and
already enabled on most OpenWrt aarch64 targets, so pull this into the
top-level generic config.

[1]: https://forum.openwrt.org/t/vmap-allocation-for-size-442368-failed-use-vmalloc-size-to-increase-size/34545/7
[2]: https://github.com/openwrt/openwrt/issues/8282
[3]: f81e148eb6 ("ipq806x: update 4.19 kernel config").

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
(cherry picked from commit c2d194a34e)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-05-24 19:26:41 +01:00
..
backport-5.15 kernel: bump 5.15 to 5.15.112 2023-05-18 18:22:27 +02:00
files kernel: remove obsolete kernel version switches 2023-05-20 15:19:14 +02:00
hack-5.15 kernel: bump 5.15 to 5.15.112 2023-05-18 18:22:27 +02:00
image target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
other-files initramfs: switch to tmpfs to fix ujail 2020-11-27 01:23:43 +00:00
pending-5.15 kernel: bump 5.15 to 5.15.112 2023-05-18 18:22:27 +02:00
config-5.15 kernel: enable (ARM|ARM64)_MODULE_PLTS in generic config 2023-05-24 19:26:41 +01:00
config-filter kernel: filter out pahole version 2023-03-29 17:36:19 +02:00
PATCHES kernel: update PATCHES with a stricter policy 2013-07-09 20:52:07 +00:00