aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0005-ACPI-Set-acpi_enforce_resources-to-ENFORCE_RESOURCES.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0005-ACPI-Set-acpi_enforce_resources-to-ENFORCE_RESOURCES.patch')
-rw-r--r--common/recipes-kernel/linux/files/0005-ACPI-Set-acpi_enforce_resources-to-ENFORCE_RESOURCES.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0005-ACPI-Set-acpi_enforce_resources-to-ENFORCE_RESOURCES.patch b/common/recipes-kernel/linux/files/0005-ACPI-Set-acpi_enforce_resources-to-ENFORCE_RESOURCES.patch
new file mode 100644
index 00000000..edac2c33
--- /dev/null
+++ b/common/recipes-kernel/linux/files/0005-ACPI-Set-acpi_enforce_resources-to-ENFORCE_RESOURCES.patch
@@ -0,0 +1,33 @@
+From 14d1399f0c5a075570df047aaebe592a59e5e293 Mon Sep 17 00:00:00 2001
+From: Drew Moseley <drew_moseley@mentor.com>
+Date: Sat, 5 Jul 2014 17:10:52 -0400
+Subject: [PATCH 05/13] ACPI: Set acpi_enforce_resources to
+ ENFORCE_RESOURCES_LAX
+
+On some AMD platforms, the SMBus IO region 0xb00 - 0xb07 conflicts with the
+corresponding ACPI SystemIO region. This prevents the SMBus host controller
+driver to function correctly. We set acpi_enforce_resources to
+ENFORCE_RESOURCES_LAX so that the SMBus driver can work normally, even
+though a warning message notifying the conflict is printed in system logs.
+
+Signed-off-by: Arindam Nath <arindam.nath@amd.com>
+---
+ drivers/acpi/osl.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
+index 98f5316..f6c8c9a 100644
+--- a/drivers/acpi/osl.c
++++ b/drivers/acpi/osl.c
+@@ -1604,7 +1604,7 @@ __setup("acpi_no_auto_serialize", acpi_no_auto_serialize_setup);
+ #define ENFORCE_RESOURCES_LAX 1
+ #define ENFORCE_RESOURCES_NO 0
+
+-static unsigned int acpi_enforce_resources = ENFORCE_RESOURCES_STRICT;
++static unsigned int acpi_enforce_resources = ENFORCE_RESOURCES_LAX;
+
+ static int __init acpi_enforce_resources_setup(char *str)
+ {
+--
+2.7.0
+