Erik Kaneda
17d15ae85e
ACPICA: Disassembler: create buffer fields in ACPI_PARSE_LOAD_PASS1
...
[ Upstream commit 5ddbd77181dfca61b16d2e2222382ea65637f1b9 ]
ACPICA commit 29cc8dbc5463a93625bed87d7550a8bed8913bf4
create_buffer_field is a deferred op that is typically processed in
load pass 2. However, disassembly of control method contents walk the
parse tree with ACPI_PARSE_LOAD_PASS1 and AML_CREATE operators are
processed in a later walk. This is a problem when there is a control
method that has the same name as the AML_CREATE object. In this case,
any use of the name segment will be detected as a method call rather
than a reference to a buffer field. If this is detected as a method
call, it can result in a mal-formed parse tree if the control methods
have parameters.
This change in processing AML_CREATE ops earlier solves this issue by
inserting the named object in the ACPI namespace so that references
to this name would be detected as a name string rather than a method
call.
Link: https://github.com/acpica/acpica/commit/29cc8dbc
Reported-by: Elia Geretto <elia.f.geretto@gmail.com>
Tested-by: Elia Geretto <elia.f.geretto@gmail.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Erik Kaneda <erik.kaneda@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-02-28 15:42:27 +01:00
..
2016-08-13 03:16:39 +02:00
2016-01-15 22:18:09 +01:00
2016-09-10 02:36:20 +02:00
2016-01-15 22:18:09 +01:00
2019-11-25 09:53:28 +01:00
2016-08-13 03:09:33 +02:00
2016-01-15 22:18:09 +01:00
2016-05-05 15:14:35 +02:00
2019-11-25 09:53:28 +01:00
2016-05-05 15:22:27 +02:00
2016-09-10 02:43:02 +02:00
2016-01-15 22:18:09 +01:00
2016-01-15 22:18:09 +01:00
2016-09-10 02:43:02 +02:00
2016-05-05 15:22:26 +02:00
2016-05-05 15:14:35 +02:00
2016-04-05 03:53:33 +02:00
2016-09-10 02:43:03 +02:00
2016-09-10 02:37:59 +02:00
2016-01-15 22:18:09 +01:00
2016-01-15 22:18:09 +01:00
2016-05-05 15:14:35 +02:00
2016-09-10 02:37:59 +02:00
2016-01-15 22:22:05 +01:00
2016-09-10 02:36:20 +02:00
2016-08-13 03:09:33 +02:00
2016-01-15 22:18:09 +01:00
2016-09-10 02:36:20 +02:00
2016-09-10 02:36:20 +02:00
2016-05-05 15:22:28 +02:00
2016-08-13 03:09:32 +02:00
2016-01-15 22:18:09 +01:00
2016-01-15 22:18:09 +01:00
2016-04-05 03:53:33 +02:00
2016-05-05 15:14:35 +02:00
2016-01-15 22:18:09 +01:00
2016-05-05 15:14:35 +02:00
2016-01-15 22:18:09 +01:00
2020-02-28 15:42:27 +01:00
2016-10-29 01:57:43 +02:00
2016-10-29 01:57:43 +02:00
2016-01-15 22:18:09 +01:00
2016-02-24 14:14:49 +01:00
2016-01-15 22:18:09 +01:00
2016-08-13 03:09:31 +02:00
2016-09-10 02:37:59 +02:00
2016-10-29 01:57:43 +02:00
2020-02-28 15:42:27 +01:00
2016-01-15 22:18:09 +01:00
2016-05-05 15:14:35 +02:00
2018-05-30 07:50:44 +02:00
2016-01-15 22:18:09 +01:00
2016-08-13 03:09:33 +02:00
2016-05-05 15:14:35 +02:00
2016-09-10 02:37:59 +02:00
2016-05-05 15:14:35 +02:00
2016-05-05 15:14:35 +02:00
2016-05-05 15:14:35 +02:00
2019-11-25 09:53:28 +01:00
2019-11-25 09:53:28 +01:00
2016-01-15 22:18:09 +01:00
2016-01-15 22:18:09 +01:00
2018-04-13 19:48:28 +02:00
2016-08-13 03:09:33 +02:00
2019-11-25 09:53:28 +01:00
2016-09-10 02:37:59 +02:00
2016-09-24 02:16:52 +02:00
2016-09-10 02:37:59 +02:00
2016-05-05 15:14:35 +02:00
2016-01-15 22:18:09 +01:00
2016-04-05 03:53:33 +02:00
2016-05-05 15:14:35 +02:00
2016-05-05 15:22:27 +02:00
2016-09-10 02:37:59 +02:00
2016-01-15 22:18:09 +01:00
2016-05-05 15:22:28 +02:00
2016-09-10 02:43:02 +02:00
2016-01-15 22:18:09 +01:00
2016-05-05 15:14:35 +02:00
2016-05-05 15:14:35 +02:00
2016-01-15 22:18:09 +01:00
2016-05-05 15:14:35 +02:00
2016-05-05 15:14:35 +02:00
2016-05-05 15:14:35 +02:00
2016-09-10 02:37:59 +02:00
2016-01-15 22:18:09 +01:00
2016-01-15 22:18:09 +01:00
2016-05-05 15:14:35 +02:00
2016-01-15 22:18:09 +01:00
2016-09-10 02:43:02 +02:00
2016-09-10 02:43:02 +02:00
2016-01-15 22:18:09 +01:00
2016-01-15 22:18:09 +01:00
2016-08-13 03:09:33 +02:00
2016-01-15 22:18:09 +01:00
2016-06-15 02:16:13 +02:00
2016-01-15 22:18:09 +01:00
2016-01-15 22:18:09 +01:00
2016-01-15 22:18:09 +01:00
2016-05-05 15:14:35 +02:00
2016-01-15 22:18:09 +01:00
2016-09-10 02:37:59 +02:00
2016-08-13 03:09:31 +02:00
2016-01-15 22:18:09 +01:00
2016-01-15 22:18:09 +01:00
2016-09-10 02:37:59 +02:00
2016-08-13 03:09:32 +02:00
2016-01-15 22:18:09 +01:00
2018-05-30 07:50:45 +02:00
2016-04-05 03:53:34 +02:00
2016-10-29 01:57:43 +02:00
2016-05-05 15:14:35 +02:00
2016-05-05 15:14:35 +02:00
2016-09-10 02:43:02 +02:00
2016-01-15 22:18:09 +01:00
2016-05-05 15:22:26 +02:00
2016-05-05 15:14:35 +02:00
2016-05-05 15:14:35 +02:00
2016-01-15 22:18:09 +01:00
2018-01-31 12:55:52 +01:00
2016-01-15 22:18:09 +01:00
2016-05-05 15:22:25 +02:00
2016-05-05 15:14:35 +02:00
2016-05-05 15:14:35 +02:00
2016-05-05 15:14:35 +02:00
2016-01-15 22:18:09 +01:00
2018-04-13 19:48:28 +02:00
2016-01-15 22:18:09 +01:00
2016-04-05 03:53:33 +02:00
2016-09-10 02:43:02 +02:00
2016-01-15 22:18:09 +01:00
2016-01-15 22:18:09 +01:00
2016-05-05 15:22:26 +02:00
2016-01-15 22:18:09 +01:00
2016-09-24 02:16:53 +02:00
2016-01-15 22:18:09 +01:00
2016-05-05 15:14:35 +02:00
2016-05-05 15:14:35 +02:00
2016-04-05 03:53:33 +02:00
2016-05-05 15:22:26 +02:00
2016-01-15 22:18:09 +01:00
2016-01-15 22:18:09 +01:00
2016-01-15 22:18:09 +01:00
2016-01-15 22:18:09 +01:00
2016-01-15 22:18:09 +01:00
2016-05-05 15:14:35 +02:00
2016-05-05 15:22:26 +02:00
2016-05-05 15:14:35 +02:00
2016-05-05 15:14:35 +02:00
2016-09-24 02:16:52 +02:00
2016-11-14 20:56:17 +01:00
2016-09-17 01:07:57 +02:00
2016-09-10 02:43:01 +02:00
2016-02-24 14:14:49 +01:00
2016-08-13 03:09:32 +02:00
2016-08-13 03:09:32 +02:00
2016-09-24 02:16:52 +02:00
2016-08-13 03:09:32 +02:00
2016-09-10 02:43:02 +02:00
2016-05-05 15:14:35 +02:00
2016-05-05 15:22:28 +02:00
2016-08-13 03:09:35 +02:00
2016-05-05 15:14:35 +02:00
2016-05-05 15:14:35 +02:00
2016-08-13 03:12:32 +02:00
2016-08-13 03:09:31 +02:00
2016-01-15 22:18:09 +01:00
2016-01-15 22:18:09 +01:00
2016-04-05 03:53:33 +02:00
2016-01-15 22:18:09 +01:00
2016-04-05 03:53:33 +02:00
2016-09-10 02:43:00 +02:00
2016-05-05 15:14:35 +02:00
2016-08-13 03:09:32 +02:00
2016-01-15 22:18:09 +01:00
2016-05-05 15:14:35 +02:00
2016-04-05 03:53:33 +02:00
2016-01-15 22:18:09 +01:00
2016-09-10 02:37:59 +02:00
2016-05-05 15:14:35 +02:00
2016-09-10 02:43:02 +02:00
2016-05-05 15:14:35 +02:00
2016-08-13 03:09:35 +02:00
2016-08-13 03:12:32 +02:00
2016-01-15 22:18:09 +01:00
2016-01-15 22:18:09 +01:00
2016-05-05 15:22:28 +02:00
2016-09-10 02:37:59 +02:00
2016-08-13 03:09:33 +02:00
2016-01-15 22:18:09 +01:00
2016-08-13 03:09:32 +02:00
2016-02-24 14:14:49 +01:00
2016-09-10 02:43:02 +02:00
2016-01-15 22:18:09 +01:00