Skip to contentSkip to conversation

Turning iasl's "-oe" option into a documented, regular option?

Devel Moore 1 participant 1 message Sep 26, 2016 1 message not in the archive ACPI component architecture (acpica)

lore
Share & tools
lore

Moore

#1 lore raw
In reply to a message not in the archive
Quoted 26 lines

-----Original Message-----
From: Laszlo Ersek [mailto:lersek(a)redhat.com]
Sent: Monday, September 26, 2016 2:23 PM
To: Moore, Robert <robert.moore(a)intel.com>
Cc: devel(a)acpica.org; Michael Tsirkin <mtsirkin(a)redhat.com>
Subject: Turning iasl's "-oe" option into a documented, regular option?

Hi,

the addition of the External() opcode (i.e., 0x15), from ACPI v6.0, causes iASL to generate AML that breaks old versions of ACPICA's AML interpreter that are shipped with old (but still variably supported) Linux distributions, for example, RHEL-5.11. The breakage happens despite the If(0) conditional that surrounds the opcode and is supposed to hide it.

I found ACPICA commit

commit 69620304a02d5a14d1fd0040aeb2e32bd1d7023e

Author: Robert Moore <Robert.Moore(a)intel.com>
Date:   Fri Feb 26 08:55:38 2016 -0800

iASL: Add debug option for External opcode

Quoted 8 lines

option to temporarily disable the opcode for debug purposes only.

which adds the "-oe" option, but -- on purpose -- does not document it.

Is there any intention to turn this option into a regular, long-term, documented option?

[Moore, Robert]

No, this is a temporary flag for debugging any issues. But the external opcode support is stable, and we plan to remove the option.

Quoted 5 lines

For reference, please see
<https://bugzilla.redhat.com/show_bug.cgi?id=1377087>.

Thanks
Laszlo