Skip to content
Snippets Groups Projects
Verified Commit ea85ffe4 authored by knuxify's avatar knuxify Committed by achill (fossdd)
Browse files

device-odroid-hc2: disable big.LITTLE switcher by default

The linux-edge kernel enables the BL_SWITCHER kernel option, which enables
an in-kernel big.LITTLE switcher - with it enabled, only 4 cores are enabled
at a time, and the kernel switches between the big and little cores. However,
in a server workload, it's more likely that a user wants all 8 cores to work
simultaneously.

Disable the switcher by default by providing the no_bL_switcher cmdline option.
It can still be re-enabled by writing 1 to /sys/kernel/bL_switcher/active.

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6350
parent 0e004668
No related branches found
No related tags found
1 merge request!6350device-odroid-hc2: disable big.LITTLE switcher by default (+ take over maintainership)
......@@ -3,7 +3,7 @@
pkgname=device-odroid-hc2
pkgdesc="ODROID HC2"
pkgver=2
pkgver=3
pkgrel=0
url="https://postmarketos.org"
license="MIT"
......@@ -56,6 +56,6 @@ tools() {
sha512sums="
8eae54c131b8fc9c0e4cca6bbd8aaca72eb585c59d7794a97606b6061f98f87fb2b268fefc3113410e04e9e772d1f65d78e935de01a7679ba45ee60007961183 deviceinfo
228726f7afca55b02e4d452904d8490cf15957edd59cc87274d89c8589f9d15044db87a4413053243e66aa1b22860cfda052b5b95395effaf3aaf4d1770d3fd3 modules-initfs
7e5056f648a81d0784b1b3a641e2f79c22d2b570c7f00092236b301b1545eefca3a6a353c1ad308114f66ac68481f1491df42ca5c6f8297c76e5ee0fa7af178f uboot-script.cmd
74fdbef86278033048b85d8a6f26fe5f57799307dc05670e69e52781ab71d6b9f8a82176b291ceea59aad98139f9cf9ccd6d1dab54e82f7b892ec42d80eab502 uboot-script.cmd
09a2191dce5b5c8fdf80c4473d9773a51f2c633db51477f2f64983dd030d7800fd80999a228ec7efe3f9feafeba35902bff68cf95e6ae59048dc64424f402b63 install-rootfs-hdd.sh
"
......@@ -8,7 +8,7 @@ setenv dtb_file "exynos5422-odroidhc1.dtb"
printenv
echo Setting bootargs
setenv bootargs init=/init.sh rw console=tty0 console=ttySAC2,115200 panic=10 consoleblank=0 loglevel=9 cma=256M initcall_blacklist=exynos_drm_init PMOS_FORCE_PARTITION_RESIZE
setenv bootargs init=/init.sh rw console=tty0 console=ttySAC2,115200 panic=10 consoleblank=0 loglevel=9 cma=256M initcall_blacklist=exynos_drm_init no_bL_switcher PMOS_FORCE_PARTITION_RESIZE
if test -e mmc ${mmcbootdev}:${mmcbootpart} ${kernel_image}; then
echo Loading Kernel: vmlinuz
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment