aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0005-ACPI-Set-acpi_enforce_resources-to-ENFORCE_RESOURCES.patch
blob: edac2c333c88eae52087b022b09773c5ee4bca9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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