diff options
author | Thorsten Leemhuis <fedora@leemhuis.info> | 2020-07-13 19:13:24 +0200 |
---|---|---|
committer | Thorsten Leemhuis <fedora@leemhuis.info> | 2020-07-13 19:13:24 +0200 |
commit | fda836ec43c28561c5521309060648d2e67239e8 (patch) | |
tree | da0abeb4b963206fc5154a7d98e299906f17608e /0001-Fixes-acpi-prefer-booting-with-ACPI-over-DTS-to-be-R.patch | |
parent | e35e769d8cb3726d2e5a009d4223037ba45a5157 (diff) | |
parent | aa5ab7f890a036ab6802c7a0c8cf8459a324e3c2 (diff) | |
download | kernel-fda836ec43c28561c5521309060648d2e67239e8.tar.gz kernel-fda836ec43c28561c5521309060648d2e67239e8.tar.xz kernel-fda836ec43c28561c5521309060648d2e67239e8.zip |
Merge remote-tracking branch 'origin/master' into rawhide-user-thl-vanilla-fedorakernel-5.8.0-0.rc5.1.vanilla.1.fc33kernel-5.8.0-0.rc5.1.vanilla.1.fc32kernel-5.8.0-0.rc5.1.vanilla.1.fc31
Diffstat (limited to '0001-Fixes-acpi-prefer-booting-with-ACPI-over-DTS-to-be-R.patch')
-rw-r--r-- | 0001-Fixes-acpi-prefer-booting-with-ACPI-over-DTS-to-be-R.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/0001-Fixes-acpi-prefer-booting-with-ACPI-over-DTS-to-be-R.patch b/0001-Fixes-acpi-prefer-booting-with-ACPI-over-DTS-to-be-R.patch new file mode 100644 index 000000000..67a889b30 --- /dev/null +++ b/0001-Fixes-acpi-prefer-booting-with-ACPI-over-DTS-to-be-R.patch @@ -0,0 +1,36 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Peter Robinson <pbrobinson@gmail.com> +Date: Fri, 10 Jul 2020 16:18:59 +0100 +Subject: [PATCH] Fixes "acpi: prefer booting with ACPI over DTS" to be RHEL + only + +The ACPI prefernce is RHEL specific, in Fedora we use upstream defaults so +it doesn't randomly change the expectations as to how certain hardware works +that generally isn't classed as "enterprise". So wrap it in the special RHEL +check as it should be for the ARK kernels. + +Signed-off-by: Peter Robinson <pbrobinson@gmail.com> +CC: Mark Salter <msalter@redhat.com> +--- + arch/arm64/kernel/acpi.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/arch/arm64/kernel/acpi.c b/arch/arm64/kernel/acpi.c +index c2a7e30e2143..169b753903d1 100644 +--- a/arch/arm64/kernel/acpi.c ++++ b/arch/arm64/kernel/acpi.c +@@ -40,7 +40,11 @@ int acpi_pci_disabled = 1; /* skip ACPI PCI scan and IRQ initialization */ + EXPORT_SYMBOL(acpi_pci_disabled); + + static bool param_acpi_off __initdata; ++#ifdef CONFIG_RHEL_DIFFERENCES + static bool param_acpi_on __initdata = true; ++#else ++static bool param_acpi_on __initdata; ++#endif + static bool param_acpi_force __initdata; + + static int __init parse_acpi(char *arg) +-- +2.26.2 + |