[PATCH 0/6] Add ACPICA execution mode options (LP: #1199303)

Colin King colin.king at canonical.com
Tue Jul 9 10:03:11 UTC 2013


From: Colin Ian King <colin.king at canonical.com>

ACPICA has various execution mode options which are useful to enable
in some debugging or test scenarios. For example, by default, fwts
executes AML in a strict mode for pedantic checking purposes,
however the kernel runs in slack mode to cope with buggy AML, so it would
be useful to enable this if desired.

So, add an --acpica= option to allow one to specify one or more ACPICA mode flags:

serialized - execute in serialized manner
slack - execute in slack mode
ignore-errors - ignore ACPICA exception errors
disable-auto-repair - don't forcibly auto repair return types

This patch set adds the new ACPICA mode types, add --acpica option parsing,
sets the global ACPICA mode flags accordingly, allows the ACPI method test
to run in "slack" mode and update the man page.

Colin Ian King (6):
  lib: add acpica mode types
  lib: framework: add new acpica mode flags
  lib: acpica: set various ACPICA global mode flags depending on
    acpica_mode
  lib: fwts_framework: add support for new --acpica option
  acpi: method: handle ACPICA slack mode gracefully
  doc: add --acpica option to man page

 doc/fwts.1                         |  8 ++++++++
 src/acpi/method/method.c           | 16 ++++++++++++++++
 src/acpica/fwts_acpica.c           | 21 +++++++++++++++++++++
 src/lib/include/fwts_acpica_mode.h | 30 ++++++++++++++++++++++++++++++
 src/lib/include/fwts_framework.h   |  2 ++
 src/lib/src/fwts_framework.c       | 38 ++++++++++++++++++++++++++++++++++++++
 6 files changed, 115 insertions(+)
 create mode 100644 src/lib/include/fwts_acpica_mode.h

-- 
1.8.1.2




More information about the fwts-devel mailing list