Date: Wed, 29 Mar 2006 06:41:56 +0000 (UTC) From: Nate Lawson <njl@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/acpica/Osd OsdHardware.c Message-ID: <200603290641.k2T6fuMM008597@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
njl 2006-03-29 06:41:56 UTC
FreeBSD src repository
Modified files:
sys/dev/acpica/Osd OsdHardware.c
Log:
Add a blacklist for bad IO ports that AML should never touch. It seems
some systems were designed so that AML writes to various resources shared
with OS drivers, including the RTC, PIC, PCI, etc. These writes could
collide with writes by the OS and should never be performed. For now, we
print a message if such an access occurs, but do not block it. To block
the access, the tunable "debug.acpi.block_bad_io" can be set to 1. In the
future, we will flip the switch and this will become the default.
Information about this problem was found in Microsoft KB 283649. They
block IO accesses if the BIOS indicates via _OSI that it is Windows 2001
or higher. They always block accesses to the PIC, cascaded PIC, and ELCRs,
no matter how old the BIOS.
Revision Changes Path
1.18 +76 -0 src/sys/dev/acpica/Osd/OsdHardware.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603290641.k2T6fuMM008597>
