summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Wolsieffer <benwolsieffer@gmail.com>2021-07-30 15:12:46 -0400
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2021-07-30 19:44:27 +0000
commitcab8dfb6f6f487e8d0bd7aa1c6f06e91acbe4b07 (patch)
treeb61a7a732ee9a9e0739d9c4a480641c56ca2badb
parentMerge pull request #132088 from NixOS/backport-131864-to-release-21.05 (diff)
downloadnixpkgs-cab8dfb6f6f487e8d0bd7aa1c6f06e91acbe4b07.tar.gz
linux/common-config.nix: disable LPAE on armv7l-linux
LPAE was enabled to support native armv7l builders running in QEMU on aarch64, but this option disables support for processors which don't support LPAE, which are still relatively common. In particular, Beaglebones use the Cortex-A8, which doesn't support LPAE. Also, if you attempt to boot an LPAE kernel on a CPU that doesn't support it, it fails before even earlycon is initialized. This makes the problem difficult to debug without enabling CONFIG_DEBUG_LL or using a hardware debugger. (cherry picked from commit 988c12faed96159fd5902f3bc372739c111206ef)
-rw-r--r--pkgs/os-specific/linux/kernel/common-config.nix2
1 files changed, 0 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix
index 355e653c8eae..c38766a9060d 100644
--- a/pkgs/os-specific/linux/kernel/common-config.nix
+++ b/pkgs/os-specific/linux/kernel/common-config.nix
@@ -878,8 +878,6 @@ let
# Keeping it a built-in ensures it will be used if possible.
FB_SIMPLE = yes;
- } // optionalAttrs (stdenv.hostPlatform.system == "armv7l-linux") {
- ARM_LPAE = yes;
};
};
in