From: Andi K. <ak...@su...> - 2004-02-05 15:27:22
|
On Thu, 5 Feb 2004 08:33:14 -0600 "Cagle, John (ISS-Houston)" <joh...@hp...> wrote: > Bas Mevissen wrote: > > > > ACPI committee did not push a proper validation program. It's > > like the > > web "standards": standards are therem but everybody tests with IE and > > most web developers are satisfied when it works with it... > > > > ACPI committee should make a proper validation mandatory before a > > computer may be sold as "ACPI X.Y compliant". Then manufacturers can > > test against (open) validation platform and Linux-ACPI can be > > validated > > against it too. > > This is a very good point, something for all of us to remember when > participating in any standards-creating process. > > Also, if there were a Linux-ACPI standard validation suite, it would > make HP's Linux QA Engineers very happy, and much more likely to > find and fix ACPI AML errors *before* we ship new hardware. Anyone > interested in working on something like that? To guarantee parseable AML all you have to do is to compile the AML with the Intel AML compiler (available from the Intel ACPI website) This could be done from the source code or by just disassembling it (iasl -d DSDTdump) and then reassembling it. If it compiles it should be ok for the interpreter. Of course that doesn't guarantee that Linux will work with it (it could parse the tables incorrectly or not like something the methods do when executed) but will catch at least some basic AML errors and do some static verifying. -Andi |