aboutsummaryrefslogtreecommitdiff
path: root/target/linux/generic/config-6.1
Commit message (Collapse)AuthorAge
* generic: drop 6.1 supportDaniel Golle2024-09-20
| | | | | | Drop config and files for Linux 6.1. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* generic: enable RELR relocationsRobert Marko2024-09-16
| | | | | | | | | | | | | | | | | | | RELR is a relocation packing format for relative relocations. Linux has supported using it for ARM64 since 5.4, and more recently for LoongArch as well. It requires compatible tooling as well, so only with binutils 2.43 TOOLS_SUPPORT_RELR is set and thus RELR available. RELR should always decrease the binary size and while testing this the default build for Dynalink WRX-36 (qualcommax/ipq807x) reduced the compressed kernel size by 38k and uncompressed one by 640k. So, lets enable it in the default config. Link: https://github.com/openwrt/openwrt/pull/16403 Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: backport nvmem changes from v6.12Rafał Miłecki2024-09-12
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* generic: 5.15, 6.1: enable CNP supportRobert Marko2024-08-22
| | | | | | | | | | | | | Ever since CONFIG_ARM64_PAN was enabled Common Not Private (CNP) is now visible and kernel builds will stop as they are not set in kernel config for 5.15 and 6.1. So, lets enable Common Not Private (CNP) which is ARMv8.2 feature and will be NOP of CPU-s that dont support it. Fixes: a2662309aae1 ("kernel: Enable CONFIG_ARM64_PAN to restrict kernel access to user space memory") Link: https://github.com/openwrt/openwrt/pull/16211 Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: Enable CONFIG_ARM64_PAN to restrict kernel access to user space memoryHauke Mehrtens2024-08-21
| | | | | | | | | | | | | | Enable the CONFIG_ARM64_PAN kernel security option, which leverages the ARMv8.1 Privileged Access Never (PAN) extension to prevent the kernel from directly accessing user space memory. Instead, copy_to_user and similar functions must be used for data transfer between kernel and user space. This feature is automatically disabled at runtime on CPUs without PAN support, making it a no-op in those cases. Link: https://github.com/openwrt/openwrt/pull/16189 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: bump 6.1 to 6.1.105Zxl hhyccc2024-08-20
| | | | | | | | | | | | | | | | | | | | https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.105 Removed upstreamed: generic/backport-6.1/860-v6.6-bus-mhi-host-pci_generic-add-support-for-Telit-FE990.patch See: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/diff/drivers/bus/mhi/host/pci_generic.c?h=v6.1.105&id=da578d3b2d236b50e356b1a9d770ad19165de31c All other patches automatically rebased. Build system: bcm4908 bcm53xx Adjusted generic/config-6.1 for new ksym: ARM64_ERRATUM_3194386 and 3312417[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/diff/arch/arm64/Kconfig?h=linux-6.1.y&id=286c8ca924b220212fdeab81cb652fdaa77e38fe Signed-off-by: Zxl hhyccc <zxlhhy@gmail.com> Link: https://github.com/openwrt/openwrt/pull/16174 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* config: kernel: Add support for configuring BTRFS to be built-inMarek Behún2024-08-15
| | | | | | | | | | | | | | | | | | Add the KERNEL_BTRFS_FS config option so that targets can select whether BTRFS support must be built-in. Select this option (alongside KERNEL_BTRFS_FS_POSIX_ACL) from the layerscape/armv8_64b subtarget instead of enabling it in target/linux/layerscape/armv8_64b/config-* files. Move disabling of CONFIG_BTRFS_FS_CHECK_INTEGRITY into generic configs. This makes it possible for OpenWRT to be built with built-in BTRFS support on specific boards, instead of whole targets. Signed-off-by: Marek Behún <kabel@kernel.org> Link: https://github.com/openwrt/openwrt/pull/15990 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: bump 6.1 to 6.1.104Zxl hhyccc2024-08-13
| | | | | | | | | | | | | | | | | | | https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.104 All patches automatically rebased. 1 mm: restrict the pcp batch scale factor to avoid too long latency a new kconfig option (PCP_BATCH_SCALE_MAX) is added to set the max batch scale factor.Whose default value is 5, and users can reduce it when necessary. https://lore.kernel.org/all/20231016053002.756205-5-ying.huang@intel.com/T/#u Build system: bcm4908 bcm53xx Signed-off-by: Zxl hhyccc <zxlhhy@gmail.com> Link: https://github.com/openwrt/openwrt/pull/16141 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: switch crc32 implementation back to defaultQingfang Deng2024-08-06
| | | | | | | | | Commit ec885796c05a switched the crc32 implementation from default to byte-at-a-time algorithm, which runs slower but consumes less memory. A decade has passed, and we have already abandoned targets that had small memory, so switch it back to default for faster speed. Signed-off-by: Qingfang Deng <qingfang.deng@siflower.com.cn>
* kernel: Add missing config optionHauke Mehrtens2024-04-15
| | | | | | | | | | Kernel 6.1.83 allows to select CONFIG_GPIO_VF610, deactivate it by default. This fixes compilation of the armsr/armv8 target. Fixes: 2ad898e091cb ("kernel: bump 6.1 to 6.1.83") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: bump 6.1 to 6.1.83Hauke Mehrtens2024-04-14
| | | | | | | | | | | | | | | | | | | | Removed upstreamed: generic/backport-6.1/789-STABLE-01-net-dsa-mt7530-prevent-possible-incorrect-XTAL-frequ.patch [1] generic/backport-6.1/789-STABLE-02-net-dsa-mt7530-fix-link-local-frames-that-ingress-vl.patch [2] generic/backport-6.1/789-STABLE-03-net-dsa-mt7530-fix-handling-of-all-link-local-frames.patch [3] generic/pending-6.1/735-net-mediatek-mtk_eth_soc-release-MAC_MCR_FORCE_LINK-.patch [4] generic/pending-6.1/736-net-ethernet-mtk_eth_soc-fix-PPE-hanging-issue.patch [5] Manual adjusted the following patches: mediatek/patches-6.1/100-dts-update-mt7622-rfb1.patch 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.83&id=be4512b9ac6fc53e1ca8daccbda84f643215c547 2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.83&id=f1fa919ea59655f73cb3972264e157b8831ba546 3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.83&id=86c0c154a759f2af9612a04bdf29110f02dce956 4. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.83&id=6b62bad2da1b338f452a9380639fc9b093d75a25 5. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.83&id=f78807362828ad01db2a9ed005bf79501b620f27 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Reorder generic kernel 6.1 configHauke Mehrtens2024-04-14
| | | | | | | | This reordering was done using these commands: ./scripts/kconfig.pl '+' target/linux/generic/config-6.1 /dev/null > target/linux/generic/config-6.1-new mv target/linux/generic/config-6.1-new target/linux/generic/config-6.1 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: generic: add missing symbolPawel Dembicki2024-03-24
| | | | | | Found durring 'make kernel_oldconfig'. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* kernel: support RISC-V PMUQingfang Deng2024-03-23
| | | | | | Add RISC-V PMU config symbols and enable them for riscv64. Signed-off-by: Qingfang Deng <dqfext@gmail.com>
* kernel: Activate CONFIG_NET_VENDOR_DAVICOMHauke Mehrtens2024-03-14
| | | | | | | | CONFIG_NET_VENDOR_DAVICOM is needed to activate the CONFIG_DM9000 option which builds the kmod-dm9000. This fixes the following warning: logs/package/kernel/linux/compile.txt:WARNING: kmod-dm9000 is not available in the kernel config - generating empty package Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: config: add symbol introduced with 6.1.81John Audia2024-03-11
| | | | | | | | Add CONFIG_EFI_HANDOVER_PROTOCOL=y to the default config[1] and disable CONFIG_NFSD_V2 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/diff/arch/x86/Kconfig?id=v6.1.81&id2=v6.1.80 Signed-off-by: John Audia <therealgraysky@proton.me>
* usb: add cdns3 supportZoltan HERPAI2024-03-10
| | | | | | | | | | CDNS3 is a SuperSpeed (SS) USB 3.0 Dual-Role-Device (DRD) controller from Cadence. Add support for this device, and add the required symbols into the generic configs. Compile-tested: apm821xx, bcm4908, imx, mpc85xx, pistachio, starfive Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* kernel: 6.1: add missing config symbol for tracingTony Ambardar2024-03-07
| | | | | | | Add missing option CONFIG_FPROBE to generic config, found building x86_64 arch with tracing enabled. Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* kernel: Remove unused schedulersHauke Mehrtens2024-03-07
| | | | | | These schedulers were removed in kernel 5.15.150 and 6.1.180. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* generic: 6.1: add missing symbol for EN8811H PHY driverRobert Marko2024-02-19
| | | | | | | Disable Airoha EN8811H PHY driver by default to avoid individual targets having to disable it. Signed-off-by: Robert Marko <robimarko@gmail.com>
* mediatek: switch to pending XFI 10G Ethernet driversDaniel Golle2024-02-15
| | | | | | | | | Replace previous patch adding paths and SerDes modes with patch series pending upstream adding dedicated drivers for XFI T-PHY and USXGMII PCS, extends LynxI PCS to be a standalone platform driver and as a consequence makes much less changes to the actual Ethernet driver mtk_eth_soc. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: add pending fitblk uImage.FIT sub-image block driverDaniel Golle2024-02-15
| | | | | | | | | Add 'fitblk' driver to replace the rejected/deprecated uImage.FIT partition parser. To use the new driver, add phandle /chosen/rootdisk and point it to the MTD partition, UBI volume or block device holding the uImage.FIT. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: import pending patches adding support for NVMEM on UBI and MMCDaniel Golle2024-02-15
| | | | | | | Similar to supporting nvmem-layouts on MTD devices, also allow referencing UBI and MMC devices in DT. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: move uImage.FIT partition parser to mediatek targetDaniel Golle2024-02-15
| | | | | | | | | | The partition parser approach has been rejected upstream, it will be replaced by a small block driver which is the solution suggestion by upstream maintainers. As the partition parser has only been used by the mediatek target, as a first step, move it there. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* generic: 6.1: backport QCA807x PHY patchesChristian Marangi2024-02-11
| | | | | | | | | | | | Backport QCA807x PHY patches merged upstream that introduce the new concept of PHY package. Also add in generic config the new Kconfig CONFIG_QCA807X_PHY. All affected patch automatically refreshed with make target/linux/refresh. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* kernel: 6.1: add bcm27xx video symbolsÁlvaro Fernández Rojas2024-02-05
| | | | | | Add missing Raspberry Pi video symbols. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* generic: 6.1: add even more missing Kconfig for video-coreChristian Marangi2024-02-04
| | | | | | | | Add even more missing Kconfig for video-core introduced by recent fixup to video kmods. Fixes: 76b0d24157f2 ("kernel: modules: video: fix video-core for 6.1") Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* generic: 6.1: add missing Kconfig for video-coreChristian Marangi2024-02-03
| | | | | | | | Add missing Kconfig for video-core introduced by recent fixup to video kmods. Fixes: 76b0d24157f2 ("kernel: modules: video: fix video-core for 6.1") Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* kernel: modules: video: fix video-core for 6.1Tim Harvey2024-02-02
| | | | | | | | Linux 6.1 wraps core video drivers in a MEDIA_PLATFORM_DRIVERS submenu. Enable that for 6.1 and add some new necessary undefines to target/linux/generic/config-6.1 to avoid build failures. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* generic: 6.1: backport at803x split patchesChristian Marangi2024-02-01
| | | | | | | | | | | | | | Backport at803x split patches merged upstream to tidy things up for the at803x PHY driver. New Kernel config are introduced hence any user needs to be updated. Downstream ipq40xx patch require rework to correctly move them to the qcom specific PHY directory. All affected patch automatically refreshed. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* bcm27xx: update 6.1 patches to latest versionMarty Jones2024-01-25
| | | | | | | | | | | | | | | | Add support for BCM2712 (Raspberry Pi 5). https://github.com/raspberrypi/linux/commit/3bb5880ab3dd31f75c07c3c33bf29c5d469b28f3 Patches were generated from the diff between linux kernel branch linux-6.1.y and rpi-6.1.y from raspberry pi kernel source: - git format-patch linux-6.1.y...rpi-6.1.y Build system: x86_64 Build-tested: bcm2708, bcm2709, bcm2710, bcm2711 Run-tested: bcm2710/RPi3B, bcm2711/RPi4B Signed-off-by: Marty Jones <mj8263788@gmail.com> [Remove applied and reverted patches, squash patches and config commits] Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: 6.1: Add missing config option DEVTMPFS_SAFEMarius Dinu2023-11-19
| | | | | | Fixes build error when enabling CONFIG_KERNEL_DEVTMPFS in OpenWrt menuconfig. Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
* kernel: add seil-fw mtdsplit driver for IIJ SEIL devicesINAGAKI Hiroshi2023-10-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This mtdsplit parser driver parses firmware partition on Internet Initiative Japan Inc. (IIJ) SEIL series devices. Structure of header: 0x0 - 0x7 : Identifier (hex) 0x8 - 0x57: Copyright (ascii) 0x58 - 0x5b: Data CRC (hex) 0x5c - 0x5f: Image Format Version (hex) 0x60 - 0x63: Image Major Version (hex) 0x64 - 0x67: Image Minor Version (hex) 0x68 - 0x87: Image Release Version (ascii) 0x88 - 0x8b: Xor value for Data? (hex) 0x8c - 0x8f: Data Length (hex) Properties: - compatible : "iij,seil-firmware" - iij,seil-id : ID of SEIL firmware for the device (8 bytes) - examples: - SA-W2 : <0x5345494c 0x32303135> ("SEIL2015") - SEIL/X1 : <0x5345494c 0x2F582020> ("SEIL/X ") - iij,bootdev-name: boot device name assigned to the partition (optional) Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
* generic: kernel: add missing symbolPawel Dembicki2023-10-19
| | | | | | It was found during work on layerscape target. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* config-6.1: disable CONFIG_ARM64_ERRATUM_2966298John Audia2023-10-14
| | | | | | | | Disable new ksym globally as OpenWrt does not have any targets that use A520 cores. Reviewed-by: Robert Marko <robimarko@gmail.com> Signed-off-by: John Audia <therealgraysky@proton.me>
* generic: 6.1: add missing config SPI_BCM63XX_HSSPIChristian Marangi2023-10-06
| | | | | | | Add missing config SPI_BCM63XX_HSSPI for kernel 6.1 triggered on compilation of bcm4908. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* generic: 6.1: add missing config TRUSTED_KEYS_TEEChristian Marangi2023-09-25
| | | | | | | Add missing config TRUSTED_KEYS_TEE for kernel 6.1 triggered when TRUSTED_KEYS is enabled. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* config-6.1: disable CONFIG_VIDEO_CAMERA_SENSORJohn Audia2023-09-23
| | | | | | | Disable new ksym globally as it is unconditionally selecting symbols. See: https://github.com/torvalds/linux/commit/7d3c7d2a2914e10bec3b9cdacdadb8e1f65f715a Signed-off-by: John Audia <therealgraysky@proton.me>
* kernel: add unset CONFIG_INPUT_IBM_PANEL symbol to config-6.1Rafał Miłecki2023-08-31
| | | | | | | | | | | | | This symbol was added by commit 2e6f34faa7e0 ("Input: Add IBM Operation Panel driver") to v6.1. It depends on I2C so it's available to limited amount of targets. It needs to be specified thought to allow kernel configuration. For bcm53xx this fixes: IBM Operation Panel driver (INPUT_IBM_PANEL) [N/m/?] (NEW) Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
* kernel: ensure VFIO related suboptions are disabledMathew McBride2023-08-29
| | | | | | | | | | | These suboptions (PLATFORM, FSL_MC and MLX5_VFIO_PCI) may be prompted for when VFIO is enabled, regardless of architecture. These are not related to the main vfio use case (passthrough of PCIe devices) Signed-off-by: Mathew McBride <matt@traverse.com.au>
* generic: 6.1: backport patch adding support for LED PHYChristian Marangi2023-08-19
| | | | | | | Backport patch adding support for LED PHY directly in PHY ops struct. Add new PHYLIB_LEDS config and refresh patches. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* kernel: bump 6.1 to 6.1.43John Audia2023-08-09
| | | | | | | | | | | | | | | | | | | | | 1. Disable Ampere errata fix in target/linux/generic/config-6.1 2. Update kernel Changelog: https://lore.kernel.org/stable/2023061431-modular-data-8489@gregkh/ Manually rebased: bcm27xx/patches-6.1/950-0359-xhci-quirks-add-link-TRB-quirk-for-VL805.patch bcm27xx/patches-6.1/950-0362-usb-xhci-add-VLI_TRB_CACHE_BUG-quirk.patch bcm27xx/patches-6.1/950-0390-usb-xhci-add-a-quirk-for-Superspeed-bulk-OUT-transfe.patch bcm27xx/patches-6.1/950-0469-usb-xhci-add-XHCI_VLI_HUB_TT_QUIRK.patch bcm27xx/patches-6.1/950-0520-xhci-constrain-XHCI_VLI_HUB_TT_QUIRK-to-old-firmware.patch All other patches automatically rebased. Build system: x86/64 Build-tested: x86/64/AMD Cezanne, filogic/xiaomi_redmi-router-ax6000-ubootmod Run-tested: x86/64/AMD Cezanne, filogic/xiaomi_redmi-router-ax6000-ubootmod Signed-off-by: John Audia <therealgraysky@proton.me>
* kernel: remove CRYPTO_BLAKE2S from all >=5.15Christian Svensson2023-07-08
| | | | | | | | | This option was removed from upstream kernel back in 2022. See commits: 2d16803c562ecc644803d42ba98a8e0aef9c014e (>=6.0) 3dd33a09f5dc12ccb0902923c4c784eb0f8c7554 (>=5.15.61 backport) Signed-off-by: Christian Svensson <blue@cmd.nu>
* kernel: add two missing symbols in 6.1Daniel Golle2023-07-08
| | | | | | | Two more new symbols were discovered when building mediatek targets with CONFIG_ALL_KMODS=y. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: add missing symbols in 6.1Koen Vandeputte2023-07-07
| | | | | | Found these while playing with video pci media adapter support Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
* kernel: add CONFIG_LOCK_MM_AND_FIND_VMAJohn Audia2023-07-05
| | | | | | | | 6.1.37 introduces a new symbol[1] 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/diff/arch/x86/Kconfig?id=v6.1.37&id2=v6.1.36 Signed-off-by: John Audia <therealgraysky@proton.me>
* kernel: introduce KERNEL_WERROR config optionPetr Štetiar2023-07-04
| | | | | | | | | | | | | In commit b2d1eb717b65 ("generic: 5.15: enable Werror by default for kernel compile") CONFIG_WERROR=y was enabled and all warnings/errors reported with GCC 12 were fixed. Keeping this in sync with past/future GCC versions is going to be uphill battle, so lets introduce new KERNEL_WERROR config option, enable it by default only for tested/known working combinations and on buildbots. References: #12687 Signed-off-by: Petr Štetiar <ynezz@true.cz>
* kernel: migrate FORCE_MAX_ZONEORDER to ARCH_FORCE_MAX_ORDER for 6.1Stefan Kalscheuer2023-06-25
| | | | | | | | | | The flag FORCE_MAX_ZONEORDER was renamed to ARCH_FORCE_MAX_ORDER in Kernel 6.1 [1]. Rename the flag in generic Kconfig and remove it from target configs. [1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0192445cb2f7ed1cd7a95a0fc8c7645480baba25 Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de>
* kernel: add more disabled symbols for 6.1Aleksander Jan Bajkowski2023-06-11
| | | | | | Add more disabled kconfig symbols found in sunxi target to generic. Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
* kernel: sort generic configurationAleksander Jan Bajkowski2023-06-11
| | | | | | | | | This was done by executing these commands: $ ./scripts/kconfig.pl '+' target/linux/generic/config-6.1 /dev/null > target/linux/generic/config-6.1-new $ mv target/linux/generic/config-6.1-new target/linux/generic/config-6.1 Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>