Skip to content
Snippets Groups Projects
  1. Nov 20, 2021
  2. Nov 15, 2021
  3. Nov 07, 2021
  4. Oct 31, 2021
  5. Sep 13, 2021
    • Hauke Mehrtens's avatar
      build: Replace KERNEL_LOCKUP_DETECTOR with KERNEL_SOFTLOCKUP_DETECTOR · d27f6e2c
      Hauke Mehrtens authored
      
      The LOCKUP_DETECTOR configuration option split into the
      SOFTLOCKUP_DETECTOR and HARDLOCKUP_DETECTOR configuration option some
      time ago. The HARDLOCKUP_DETECTOR option is only working on some
      architectures, but SOFTLOCKUP_DETECTOR should work everywhere. Replace
      KERNEL_LOCKUP_DETECTOR with KERNEL_SOFTLOCKUP_DETECTOR.
      
      LOCKUP_DETECTOR will be selected by SOFTLOCKUP_DETECTOR automatically.
      
      Fixes: b951f53f ("build: Add additional kernel debug options")
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      d27f6e2c
  6. Feb 05, 2021
  7. Jan 25, 2021
  8. Jan 15, 2021
  9. Jan 14, 2021
  10. Jan 11, 2021
    • Nick Hainke's avatar
      kernel: enable SRv6 support by enabling lwtunnel · a1a7f327
      Nick Hainke authored
      Enable the ability to use segment routing based on IPv6. It allows the
      packet to specify a path that the packet should take through the
      network.
      
      Lwtunnel allow an easy encapsulation of a package. You can just install
      ip-full package and use it:
      
        ip -6 route add  2003::/64 dev eth0 encap seg6 mode encap \
          segs 2001::1,2002::2
      
      An IPv6 package looks like this:
        [IPv6 HDR][IPv6 RH][IPv6 HDR][Data...]
      
      Netifd support:
        https://git.openwrt.org/?p=project/netifd.git;
      
      
           a=commit;h=458b1a7e9473c150a40cae5d8be174f4bb03bd39
      
      Increases imagesize by 24.125 KiB. Therefore, only enable for devices
      with enough flash.
      
      Signed-off-by: default avatarNick Hainke <vincent@systemli.org>
      a1a7f327
  11. Dec 22, 2020
  12. Dec 16, 2020
    • Hauke Mehrtens's avatar
      build: Add IRQSOFF and PREEMPT TRACER kernel config option · 1926ffb5
      Hauke Mehrtens authored
      
      This adds the CONFIG_IRQSOFF_TRACER and the CONFIG_PREEMPT_TRACER kernel
      configuration option to the OpenWrt menu. This can be used to debug
      latencies in the system.
      The CONFIG_PREEMPT_TRACER option needs the CONFIG_PREEMPT option which is
      supposed to be used for Low-Latency Desktop and not used by many targets
      in OpenWrt.
      
      The help text is copied from the Linux kernel Kconfig.
      
      Signed-off-by: default avatarHauke Mehrtens <hmehrtens@maxlinear.com>
      1926ffb5
  13. Dec 14, 2020
  14. Nov 01, 2020
  15. Oct 30, 2020
  16. Oct 16, 2020
    • Daniel Golle's avatar
      config: clean up SELinux options · ba9b6702
      Daniel Golle authored
      
      In order to make it easier for users to build with SELinux, have a
      single option in 'Global build settings' to enable all necessary
      kernel features, userland packages and build-system hooks.
      Also add better descriptions and help messages while at it.
      
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      ba9b6702
  17. Sep 03, 2020
    • Paul Spooren's avatar
      config: add KERNEL_LSM symbol · f922a3e0
      Paul Spooren authored
      
      The LSM (Linux security mechanism) list is the successor of the now
      legacy *major LSM*. Instead of defining a single security mechanism the
      LSM symbol is a comma separated list of mechanisms to load.
      
      Until recently OpenWrt would only support DAC (Unix discretionary access
      controls) which don't require an additional entry in the LSM list. With
      the newly introduced SELinux support the LSM needs to be extended else
      only a manual modified Kernel cmdline (`security=selinux`) would
      activate SELinux.
      
      As the default OpenWrt Kernel config sets DAC as default security
      mechanism, SELinux is stripped from the LSM list, even if
      `KERNEL_DEFAULT_SECURITY_SELINUX` is activated. To allow SELinux without
      a modified cmdline this commit sets a specific LSM list if
      `KERNEL_SECURITY_SELINUX` is enabled.
      
      The upstream Kconfig adds even more mechanisms
      (smack,selinux,tomoyo,apparmor), but until they're ported to OpenWrt,
      these can be ignored.
      
      To compile SELinux Kernel support but disable it from loading, the
      already present options `KERNEL_SECURITY_SELINUX_DISABLE` or
      `KERNEL_SECURITY_SELINUX_BOOTPARAM` (with custom cmdline `selinux=0`)
      can be used. Further it's possible to edit `/etc/selinux/config`.
      
      Signed-off-by: default avatarPaul Spooren <mail@aparcar.org>
      f922a3e0
  18. Sep 02, 2020
  19. Aug 31, 2020
  20. Aug 24, 2020
  21. Aug 10, 2020
    • Daniel Golle's avatar
      kernel: further clean-up options and defaults · 42abe56f
      Daniel Golle authored
      
      Remove `if !SMALL_FLASH` in places which are anyway already augmented
      by `if !SMALL_FLASH`.
      Always enable CONFIG_BLK_DEV_THROTTLING on !SMALL_FLASH devices rather
      than just enabling it on bcm27xx.
      Enabled CPU bandwidth provisioning for FAIR_GROUP_SCHED on !SMALL_FLASH
      devices as CONFIG_FAIR_GROUP_SCHED is already enabled and becomes more
      useful for cgroups with that option enbled as well.
      
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      42abe56f
  22. Aug 01, 2020
    • Stijn Tintel's avatar
      kernel: fix missing TRANSPARENT_HUGEPAGE symbols · 5c3e83fa
      Stijn Tintel authored
      
      Enabling KERNEL_TRANSPARENT_HUGEPAGE exposes 2 missing symbols:
      * CONFIG_READ_ONLY_THP_FOR_FS
      * TRANSPARENT_HUGEPAGE_ALWAYS
      * TRANSPARENT_HUGEPAGE_MADVISE
      
      The first one was added in 5.4, and is marked experimental there so just
      disable it in the generic config.
      
      For the latter two, we should not force the user to use either of them,
      so add them as build-configurable kernel options.
      
      Fixes: d1a8217d ("kernel: clean-up build-configurable kernel config symbols")
      Signed-off-by: default avatarStijn Tintel <stijn@linux-ipv6.be>
      5c3e83fa
  23. Jul 31, 2020
  24. Jul 30, 2020
  25. Jun 26, 2020
  26. Mar 20, 2020
    • Chen Minqiang's avatar
      x86: make crashdump works · ec5e8461
      Chen Minqiang authored
      
      1. KERNEL_CRASH_DUMP should depends on KERNEL_PROC_KCORE (kexec use it)
      2. select crashkernel mem size by totalmem
         mem <= 256M disable crashkernel by default
         mem >= 4G use 256M for crashkernel
         mem >= 8G use 512M for crashkernel
         default use 128M
      3. set BOOT_IMAGE in kdump.init
      4. resolve a "Unhandled rela relocation: R_X86_64_PLT32" error
      
      Tested on x86_64
      
      Signed-off-by: default avatarChen Minqiang <ptpt52@gmail.com>
      ec5e8461
  27. Feb 28, 2020
  28. Feb 22, 2020
  29. Feb 14, 2020
    • Adrian Schmutzler's avatar
      brcm2708: rename target to bcm27xx · 7d7aa2fd
      Adrian Schmutzler authored
      
      This change makes the names of Broadcom targets consistent by using
      the common notation based on SoC/CPU ID (which is used internally
      anyway), bcmXXXX instead of brcmXXXX.
      This is even used for target TITLE in make menuconfig already,
      only the short target name used brcm so far.
      
      Despite, since subtargets range from bcm2708 to bcm2711, it seems
      appropriate to use bcm27xx instead of bcm2708 (again, as already done
      for BOARDNAME).
      
      This also renames the packages brcm2708-userland and brcm2708-gpu-fw.
      
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      Acked-by: default avatarÁlvaro Fernández Rojas <noltari@gmail.com>
      7d7aa2fd
  30. Nov 28, 2019
Loading