Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
3b4dadf0
Commit
3b4dadf0
authored
Apr 05, 2009
by
Len Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'acpi_enforce_resources' into release
parents
59b17bf6
7e90560c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
3 deletions
+19
-3
Documentation/kernel-parameters.txt
Documentation/kernel-parameters.txt
+16
-0
drivers/acpi/osl.c
drivers/acpi/osl.c
+3
-3
No files found.
Documentation/kernel-parameters.txt
View file @
3b4dadf0
...
@@ -258,6 +258,22 @@ and is between 256 and 4096 characters. It is defined in the file
...
@@ -258,6 +258,22 @@ and is between 256 and 4096 characters. It is defined in the file
to assume that this machine's pmtimer latches its value
to assume that this machine's pmtimer latches its value
and always returns good values.
and always returns good values.
acpi_enforce_resources= [ACPI]
{ strict | lax | no }
Check for resource conflicts between native drivers
and ACPI OperationRegions (SystemIO and SystemMemory
only). IO ports and memory declared in ACPI might be
used by the ACPI subsystem in arbitrary AML code and
can interfere with legacy drivers.
strict (default): access to resources claimed by ACPI
is denied; legacy drivers trying to access reserved
resources will fail to bind to device using them.
lax: access to resources claimed by ACPI is allowed;
legacy drivers trying to access reserved resources
will bind successfully but a warning message is logged.
no: ACPI OperationRegions are not marked as reserved,
no further checks are performed.
agp= [AGP]
agp= [AGP]
{ off | try_unsupported }
{ off | try_unsupported }
off: disable AGP support
off: disable AGP support
...
...
drivers/acpi/osl.c
View file @
3b4dadf0
...
@@ -1063,9 +1063,9 @@ __setup("acpi_wake_gpes_always_on", acpi_wake_gpes_always_on_setup);
...
@@ -1063,9 +1063,9 @@ __setup("acpi_wake_gpes_always_on", acpi_wake_gpes_always_on_setup);
* in arbitrary AML code and can interfere with legacy drivers.
* in arbitrary AML code and can interfere with legacy drivers.
* acpi_enforce_resources= can be set to:
* acpi_enforce_resources= can be set to:
*
*
* - strict
(2)
* - strict
(default)
(2)
* -> further driver trying to access the resources will not load
* -> further driver trying to access the resources will not load
* - lax
(default)
(1)
* - lax
(1)
* -> further driver trying to access the resources will load, but you
* -> further driver trying to access the resources will load, but you
* get a system message that something might go wrong...
* get a system message that something might go wrong...
*
*
...
@@ -1077,7 +1077,7 @@ __setup("acpi_wake_gpes_always_on", acpi_wake_gpes_always_on_setup);
...
@@ -1077,7 +1077,7 @@ __setup("acpi_wake_gpes_always_on", acpi_wake_gpes_always_on_setup);
#define ENFORCE_RESOURCES_LAX 1
#define ENFORCE_RESOURCES_LAX 1
#define ENFORCE_RESOURCES_NO 0
#define ENFORCE_RESOURCES_NO 0
static
unsigned
int
acpi_enforce_resources
=
ENFORCE_RESOURCES_
LAX
;
static
unsigned
int
acpi_enforce_resources
=
ENFORCE_RESOURCES_
STRICT
;
static
int
__init
acpi_enforce_resources_setup
(
char
*
str
)
static
int
__init
acpi_enforce_resources_setup
(
char
*
str
)
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment