diff options
author | Luca Tettamanti <kronos.it@gmail.com> | 2009-03-29 18:01:27 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-04-02 18:57:46 -0400 |
commit | 7e90560c50f754d65884e251e94c1efa2a4b5784 (patch) | |
tree | 97ae68b0ae4edaebf3de66716759fc09a97deff6 /Documentation | |
parent | 8e0ee43bc2c3e19db56a4adaa9a9b04ce885cd84 (diff) |
ACPI: acpi_enforce_resource=strict by default
Enforce strict resource checking - disallowing access by native
drivers to IO ports and memory regions claimed by ACPI firmware.
The patch is mainly aimed to block native hwmon drivers from touching
monitoring chips that ACPI thinks it own.
If this causes a regression, boot with "acpi_enforce_resources=lax"
which was the previous default.
http://bugzilla.kernel.org/show_bug.cgi?id=12376
http://bugzilla.kernel.org/show_bug.cgi?id=12541
Signed-off-by: Luca Tettamanti <kronos.it@gmail.com>
Acked-by: Pavel Machek <pavel@suse.cz>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/kernel-parameters.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 54f21a5c262b..7068d0bc47c5 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
@@ -258,6 +258,22 @@ and is between 256 and 4096 characters. It is defined in the file | |||
258 | to assume that this machine's pmtimer latches its value | 258 | to assume that this machine's pmtimer latches its value |
259 | and always returns good values. | 259 | and always returns good values. |
260 | 260 | ||
261 | acpi_enforce_resources= [ACPI] | ||
262 | { strict | lax | no } | ||
263 | Check for resource conflicts between native drivers | ||
264 | and ACPI OperationRegions (SystemIO and SystemMemory | ||
265 | only). IO ports and memory declared in ACPI might be | ||
266 | used by the ACPI subsystem in arbitrary AML code and | ||
267 | can interfere with legacy drivers. | ||
268 | strict (default): access to resources claimed by ACPI | ||
269 | is denied; legacy drivers trying to access reserved | ||
270 | resources will fail to bind to device using them. | ||
271 | lax: access to resources claimed by ACPI is allowed; | ||
272 | legacy drivers trying to access reserved resources | ||
273 | will bind successfully but a warning message is logged. | ||
274 | no: ACPI OperationRegions are not marked as reserved, | ||
275 | no further checks are performed. | ||
276 | |||
261 | agp= [AGP] | 277 | agp= [AGP] |
262 | { off | try_unsupported } | 278 | { off | try_unsupported } |
263 | off: disable AGP support | 279 | off: disable AGP support |