Bob Moore
71bb4d9a40
ACPICA: Update version to 20190816.
...
ACPICA commit db29ce57ced39ec610667c4b946bc3bb38bc8efa
Version 20190816.
Link: https://github.com/acpica/acpica/commit/db29ce57
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2019-08-21 00:00:37 +02:00
Bob Moore
36056d0cd6
ACPICA: Fully deploy ACPI_PRINTF_LIKE macro
...
ACPICA commit d06def132a8852d02c9c7fee60f17b2011066e8e
Macro was not being used across all "printf-like" functions.
Also, clean up all calls to such functions now that they are
analyzed by the compiler (gcc). Both in 32-bit mode and 64-bit
mode.
Link: https://github.com/acpica/acpica/commit/d06def13
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2019-08-21 00:00:37 +02:00
Bob Moore
09d2c01ba9
ACPICA: iASL,acpi_dump: Improve y/n query
...
The y/n query is used for file overwrite. Use fgetc, check for
standalone newline.
ACPICA commit f9eb60ead76e5b2b6e578b553f592452ccfca47a
Link: https://github.com/acpica/acpica/commit/f9eb60ea
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2019-08-21 00:00:36 +02:00
Bob Moore
231ec06e79
ACPICA: Fix issues with arg types within printf format strings
...
ACPICA commit db2638ccaac84b61e92f34d60c3630ff5217f852
Link: https://github.com/acpica/acpica/commit/db2638cc
Link: https://github.com/acpica/acpica/commit/634c3085
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2019-08-21 00:00:36 +02:00
Bob Moore
779cc7ce3d
ACPICA: Macros: remove pointer math on a null pointer
...
ACPICA commit 02bbca5070e42d298c9b824300aa0eb8a082d797
Causes warnings on some compilers and/or tools.
Changed ACPI_TO_POINTER to use ACPI_CAST_PTR instead of using
arithmetic.
Link: https://github.com/acpica/acpica/commit/02bbca50
Reported-by: Qian Cai <cai@lca.pw >
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2019-08-21 00:00:36 +02:00
Bob Moore
67a72420a3
ACPICA: Increase total number of possible Owner IDs
...
ACPICA commit 1f1652dad88b9d767767bc1f7eb4f7d99e6b5324
From 255 to 4095 possible IDs.
Link: https://github.com/acpica/acpica/commit/1f1652da
Reported-by: Hedi Berriche <hedi.berriche @hpe.com>
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2019-08-21 00:00:36 +02:00
Bob Moore
02a93f35f5
ACPICA: Update version to 20190703
...
ACPICA commit 450ffd8b9c100db561ecf23063620cb107d68c30
Version 20190703.
Link: https://github.com/acpica/acpica/commit/450ffd8b
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2019-07-04 00:59:44 +02:00
Bob Moore
86a33cf3b6
ACPICA: Update for object initialization sequence
...
ACPICA commit 106c72a97f5ca972f29956e5e9a0429b8c4a2723
1) Do not allow the objects to be initialized twice
2) Only package objects require a deferred initialization
3) Cleanup initialization output
Link: https://github.com/acpica/acpica/commit/106c72a9
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2019-07-04 00:59:43 +02:00
Bob Moore
f79c8e4136
ACPICA: Namespace: simplify creation of the initial/default namespace
...
ACPICA commit 76658f55d8cc498a763bdb92f8e0d934822a129c
For the objects that are created by default (_GPE, _SB_, etc)
there is no need to use the heavyweight ns_lookup function.
Instead, simply create each object and link it in as the namespace
is built.
Link: https://github.com/acpica/acpica/commit/76658f55
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2019-07-04 00:59:43 +02:00
Bob Moore
811b4c9eaf
ACPICA: Update version to 20190509
...
ACPICA commit 36449fa1dc914113f2b096622d22c2621fd22861
Version 20190509.
Link: https://github.com/acpica/acpica/commit/36449fa1
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2019-05-13 10:34:21 +02:00
Bob Moore
6c6a828f86
ACPICA: Update version to 20190405
...
ACPICA commit 0c1495275a35071b957ab59549761c6cd3f413b7
Version 20190405.
Link: https://github.com/acpica/acpica/commit/0c149527
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2019-04-09 11:25:27 +02:00
Bob Moore
985d5124bf
ACPICA: Update version to 20190329
...
ACPICA commit 802ec363be67580f52251219ef90613008495392
Version 20190329.
Link: https://github.com/acpica/acpica/commit/802ec363
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2019-04-09 11:25:27 +02:00
Bob Moore
3278675567
ACPICA: Rename nameseg length macro/define for clarity
...
ACPICA commit 24870bd9e73d71e2a1ff0a1e94519f8f8409e57d
ACPI_NAME_SIZE changed to ACPI_NAMESEG_SIZE
This clarifies that this is the length of an individual
nameseg, not the length of a generic namestring/namepath.
Improves understanding of the code.
Link: https://github.com/acpica/acpica/commit/24870bd9
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2019-04-09 11:24:48 +02:00
Bob Moore
5599fb6935
ACPICA: Rename nameseg compare macro for clarity
...
ACPICA commit 92ec0935f27e217dff0b176fca02c2ec3d782bb5
ACPI_COMPARE_NAME changed to ACPI_COMPARE_NAMESEG
This clarifies (1) this is a compare on 4-byte namesegs, not
a generic compare. Improves understanding of the code.
Link: https://github.com/acpica/acpica/commit/92ec0935
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2019-04-09 10:08:28 +02:00
Bob Moore
a3ce7a8e0d
ACPICA: Rename nameseg copy macro for clarity
...
ACPICA commit 19c18d3157945d1b8b64a826f0a8e848b7dbb127
ACPI_MOVE_NAME changed to ACPI_COPY_NAMESEG
This clarifies (1) this is a copy operation, and
(2) it operates on ACPI name_segs.
Improves understanding of the code.
Link: https://github.com/acpica/acpica/commit/19c18d31
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2019-04-09 10:08:28 +02:00
Bob Moore
6b31c01651
ACPICA: Update version to 20190215
...
ACPICA commit e66a8468f83fadb35aebeb534d8ef92622274696
Version 20190215
Link: https://github.com/acpica/acpica/commit/e66a8468
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2019-02-24 21:12:01 +01:00
Bob Moore
991371e0dd
ACPICA: Update/clarify messages for control method failures
...
ACPICA commit 2efd616e5b1c960f407763e6782f7dc259ea55df
Attempting to improve error messages to clarify that errors
are bubbled up from the original error, possibly across nested
methods.
Link: https://github.com/acpica/acpica/commit/2efd616e
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2019-02-18 11:21:10 +01:00
Bob Moore
90791fbbd2
ACPICA: Debugger: Fix possible fault with the "test objects" command
...
ACPICA commit 349dd29335d6928f883bc95c614a0edd033141bb
- Fault on Field Units
- Some restructuring
- General cleanup of dbtest module
Link: https://github.com/acpica/acpica/commit/349dd293
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2019-02-18 11:21:10 +01:00
Bob Moore
b3381bd902
ACPICA: Interpreter: Emit warning for creation of a zero-length op region
...
ACPICA commit 387c850c5d49d09d7c2e70b2711e584ad83956a1
Nothing can be done with such a region. Just emit a warning so as
not to abort a table load or running method.
Link: https://github.com/acpica/acpica/commit/387c850c
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2019-02-18 11:21:10 +01:00
Bob Moore
075470d889
ACPICA: Update version to 20190108
...
ACPICA commit aace846bb8f9b5877e100017f37fefc09dd2fde6
Version 20190108
Link: https://github.com/acpica/acpica/commit/aace846b
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2019-01-15 18:04:02 +01:00
Bob Moore
840c02ca22
ACPICA: All acpica: Update copyrights to 2019
...
ACPICA commit 62f4f98e941d86e41969bf2ab5a93b8dc94dc49e
The update includes userspace tool signons.
Link: https://github.com/acpica/acpica/commit/62f4f98e
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2019-01-15 18:04:02 +01:00
Bob Moore
894b5cc535
ACPICA: acpiexec: Add option to dump extra info for memory leaks
...
ACPICA commit f77565e28b90ee7e06f53a474183ef72300c3574
Dump entire object/buffer for any memory leaks detected by
the object/cache tracking mechanism.
Link: https://github.com/acpica/acpica/commit/f77565e2
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2019-01-15 18:04:02 +01:00
Bob Moore
f13c274da3
ACPICA: Convert more ACPI errors to firmware errors
...
ACPICA commit f3198c12f2df9d170b3da891a180b774cfe01e59
Also adds a new firmware error function, acpi_bios_exception.
Link: https://github.com/acpica/acpica/commit/f3198c12
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2019-01-15 18:04:02 +01:00
Bob Moore
3b15e830ba
ACPICA: Update version to 20181213
...
Version 20181213.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-12-13 22:40:51 +01:00
Bob Moore
4c1379d7bb
ACPICA: Debug output: Add option to display method/object evaluation
...
Adds entry/exit messages for all objects that are evaluated.
Works for the kernel-level code as well as acpiexec. The "-eo"
flag enables acpiexec to display these messages.
The messages are very useful when debugging the flow of table
initialization.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-12-13 22:40:51 +01:00
Bob Moore
6d3decda04
ACPICA: Expressions in package elements are not supported
...
Return AE_SUPPORT if encountered, fixes a previous fault if
encountered.
Note: Other ACPI implementations do not support this type of
construct.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-12-13 22:40:51 +01:00
Bob Moore
c47511760e
ACPICA: Update buffer-to-string conversions
...
Add "0x" prefix for hex values.
Provides compatibility with other ACPI implementations.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-12-13 22:40:51 +01:00
Bob Moore
9f4a297660
ACPICA: add comments, no functional change
...
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-12-13 22:40:51 +01:00
Bob Moore
2db9087670
ACPICA: Add "Windows 2018" string in the _OSI support
...
Latest windows string.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-12-13 22:40:51 +01:00
Bob Moore
087286585d
ACPICA: Update version to 20181031
...
Version 20181031.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-11-08 18:41:47 +01:00
Bob Moore
927a6abf02
ACPICA: iASL: Enhance error detection
...
Enhance error detection by validating that all name_seg elements
within a name_path actually exist. The previous behavior was spotty
at best, and such errors could be improperly ignored at compile
time (never at runtime, however). There are two new error messages.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-11-08 18:41:47 +01:00
Bob Moore
069de633ce
ACPICA: Update version to 20181003
...
Version 20181003
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-10-04 09:09:01 +02:00
Bob Moore
8b1cafdcb4
ACPICA: Never run _REG on system_memory and system_IO
...
These address spaces are defined by the ACPI spec to be
"always available", and thus _REG should never be run on them.
Provides compatibility with other ACPI implementations.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-10-04 09:06:27 +02:00
Bob Moore
9e9f8733a9
ACPICA: Split large interpreter file
...
New file: exserial.c
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-10-04 09:06:27 +02:00
Bob Moore
e324e10109
ACPICA: Update for field unit access
...
Mostly for access to Generic Serial Bus, but also cleanup
for the other fields.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-10-04 09:06:27 +02:00
Bob Moore
f8553720e1
ACPICA: Rename some of the Field Attribute defines
...
Matches changes to iASL
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-10-04 09:06:27 +02:00
Bob Moore
f99b89eefe
ACPICA: Update for generic_serial_bus and attrib_raw_process_bytes protocol
...
Cleanup for this write-then-read protocol. The ACPI specification
is rather unclear for the entire generic_serial_bus, but this
change works correctly on the Surface 3.
Reported-by: Hans de Goede <hdegoede@redhat.com >
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-10-04 09:06:27 +02:00
Bob Moore
4efa829d19
ACPICA: Update version to 20180810
...
Version 20180810.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-08-14 23:49:13 +02:00
Bob Moore
8b66fcfdee
ACPICA: acpiexec: fix a small memory leak regression
...
Eliminates warnings only seen when acpiexec exits.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-08-14 23:49:13 +02:00
Bob Moore
fb2ef998af
ACPICA: Debugger: Cleanup interface to the AML disassembler
...
If the disassembler is configured out (such as when the debugger
is part of a kernel), these debugger commands are disabled:
List
Disassemble
Further, the Debug (single-step) command is simplified because
each line of code cannot be disassembled.
Reported-by: Colin Ian King <colin.king@canonical.com >
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-08-14 23:49:13 +02:00
Bob Moore
8a55c696d3
ACPICA: Update an error message for a duplicate table
...
In this case, the exception AE_ALREADY_EXISTS is more
appropriate.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-08-14 23:49:13 +02:00
Bob Moore
e74770fb68
ACPICA: Update version to 20180629
...
Version 20180629.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-07-09 11:14:45 +02:00
Bob Moore
6898837872
ACPICA: Update version to 20180531
...
Version 20180531.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-06-06 08:53:43 +02:00
Bob Moore
7aa8a23648
ACPICA: Interpreter: Begin deprecation of Unload operator
...
The Unload AML operator is no longer supported for the reasons below.
An AE_NOT_IMPLEMENTED exception is returned.
1) A correct implementation on at least some hosts may not be possible.
2) Other ACPI implementations do not correctly/fully support it.
3) It requires host device driver support which is not known to exist.
(To properly support namespace unload out from underneath.)
4) This AML operator has never been seen in the field.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-06-06 08:53:43 +02:00
Bob Moore
3877b2ccb7
ACPICA: Debugger: Reduce verbosity for module-level code errors.
...
Module-level code execution has no method arguments or locals,
so do not attempt to output values for these.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-06-06 08:53:42 +02:00
Bob Moore
fb30b2981d
ACPICA: AML Parser: Add debug option to dump parse trees
...
Debug level 0x00800000 will dump the current parse tree
just before it is deleted.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-06-06 08:53:42 +02:00
Bob Moore
1387cdd8cd
ACPICA: Debugger: Add count of namespace nodes after namespace dump
...
A bit of additional information which is usefull during debug.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-06-06 08:53:42 +02:00
Bob Moore
dc689c5b33
ACPICA: Update version to 20180508
...
Version 20180508.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-05-18 09:19:26 +02:00
Bob Moore
57b758ca4e
ACPICA: acpidump/acpixtract: Support for tables larger than 1MB
...
acpidump: Expand the table offset field to 32 bits.
acpixtract: Add support to handle the expanded field.
Backwards compatibility is maintained.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-05-18 09:19:26 +02:00
Bob Moore
ec5cd31c5b
ACPICA: Update version to 20180427
...
Version 20180427.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-05-15 10:16:10 +02:00
Bob Moore
c6ba26e967
ACPICA: Debugger: Removed direct support for EC address space in "Test Objects"
...
None of the address spaces that require a communication protocol
are supported by the "Test Objects" command.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-05-15 10:16:10 +02:00
Bob Moore
db2e11a7c2
ACPICA: Debugger: Add Package support for "test objects" command
...
This was missing in the initial implementation of "test objects".
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-05-15 10:16:10 +02:00
Bob Moore
4032cc3e51
ACPICA: Improve error messages for the namespace root node
...
Replace "\___" with actual descriptive text.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-05-15 10:16:10 +02:00
Bob Moore
83b2fa943b
ACPICA: iASL: Enhance the -tc option (create AML hex file in C)
...
This change improves the -tc option by:
1) Creates a unique symbol for the hex table, to simplify
creation of multiple tables (DSDT/SSDT).
2) Adds a protection #ifdef, similar to a .h file.
With assistance from:
Sami Mujawar, sami.mujawar@arm.com
Evan Lloyd, evan.lloyd@arm.com
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-05-15 10:16:10 +02:00
Bob Moore
7b34c0fb1b
ACPICA: Add deferred package support for the Load and loadTable operators
...
Completes the support and fixes a regression introduced in
version 20180209.
The regression caused package objects that were loaded by the Load and
loadTable operators. This created an error message like the following:
[ 0.251922] ACPI Error: No pointer back to namespace node in package
00000000fd2a44cd (20180313/dsargs-303)
Link: https://bugzilla.kernel.org/show_bug.cgi?id=199413
Fixes: 5a8361f7ec (ACPICA: Integrate package handling with module-level code)
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-05-14 22:25:45 +02:00
Bob Moore
4860ae7f58
ACPICA: Update version to 20180313
...
Version 20180313.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-03-18 19:29:46 +01:00
Bob Moore
a406dea82a
ACPICA: Cleanup/simplify module-level code support
...
This prepares the code for eventual removal of the original
style of deferred execution of the MLC.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-03-18 19:29:46 +01:00
Bob Moore
e7d970f6fc
ACPICA: Rename a global for clarity, no functional change
...
Was acpi_gbl_parse_table_as_term_list, changed to:
acpi_gbl_execute_tables_as_methods.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-03-18 18:52:00 +01:00
Bob Moore
34f206fd75
ACPICA: Change a compile-time option to a runtime option
...
Changes the option to ignore package resolution errors into
a runtime option.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-03-18 18:52:00 +01:00
Bob Moore
8167724121
ACPICA: AML Debug Object: Don't ignore output of zero-length strings
...
The implementation previously ignored null strings (""), but
these could be important, especially for debug.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-03-18 18:52:00 +01:00
Bob Moore
1c29c372b2
ACPICA: Fix memory leak on unusual memory leak
...
Fixes a single-object memory leak on a store-to-reference method
invocation. ACPICA BZ 1439.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-03-18 18:52:00 +01:00
Bob Moore
074eb22ec4
ACPICA: Update version to 20180209
...
ACPICA commit 6e3468837f9f32f64c7d0a6e20bf0d2579411d43
Version 20180209.
Link: https://github.com/acpica/acpica/commit/6e346883
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-02-21 23:51:08 +01:00
Bob Moore
959c38a7e1
ACPICA: Add option to disable Package object name resolution errors
...
ACPICA commit a6c3c725c44dd44ad9d3f2b2a64351fdbe6e0014
For the kernel-resident ACPICA, optionally be silent about the
NOT_FOUND case. Although this is potentially a serious problem,
it can generate a lot of noise/errors on platforms whose
firmware carries around a bunch of unused Package objects.
To disable these errors, define ACPI_IGNORE_PACKAGE_RESOLUTION_ERRORS
in the OS-specific header.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=198167
Link: https://github.com/acpica/acpica/commit/a6c3c725
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-02-21 23:51:08 +01:00
Bob Moore
7decc66df9
ACPICA: Revert "Fix for implicit result conversion for the To____ functions"
...
ACPICA commit 0e44fee13434766ebbb4d156e3ed45604508d7c3
This reverts commit e1342c9f2dde37a67e916099658b65984ef8a434.
Implicit conversion should in fact be disabled for the "explicit
conversion" operators. This is stated in the ACPI specification.
The operators affected are:
to_integer
to_string
to_buffer
to_decimal_string
to_hex_string
to_BCD
from_BCD
Link: https://github.com/acpica/acpica/commit/0e44fee1
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-02-21 23:51:08 +01:00
Bob Moore
1ef6323148
ACPICA: Update for some debug output. No functional change
...
ACPICA commit 3a08436fe3bff297a6de162252964e955946c7d3
Improve/simplify some of the debug messages.
Link: https://github.com/acpica/acpica/commit/3a08436f
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-02-21 23:51:08 +01:00
Bob Moore
d82847acd4
ACPICA: Update error message, no functional change
...
ACPICA commit 0787fda3b224a78369e26ac6046658beb2b64c12
Clarify error when an attempt is made to evaluate things like
devices, events, etc. -- these objects have no data and cannot
be "evaluated".
Link: https://github.com/acpica/acpica/commit/0787fda3
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-02-21 23:51:08 +01:00
Bob Moore
9481a2c5c1
ACPICA: Update version to 20180105
...
Version 20180105.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-02-06 10:32:13 +01:00
Bob Moore
da6f8320d5
ACPICA: All acpica: Update copyrights to 2018
...
including tool signons.
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-02-06 10:31:20 +01:00
Bob Moore
3bd93bd76b
ACPICA: Update version to 20171215
...
ACPICA commit 8b38d88e4a7151a7fc9451ac2e51c945c60b913b
Version 20171215.
Link: https://github.com/acpica/acpica/commit/8b38d88e
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-01-05 01:33:23 +01:00
Bob Moore
e7b2005c60
ACPICA: Fix a couple memory leaks during package object resolution
...
ACPICA commit 69d4415360446b4a1826dab76ba0cd6d24710ddd
A couple memory leaks during resolution of individual
package elements.
Link: https://github.com/acpica/acpica/commit/69d44153
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-01-05 01:33:23 +01:00
Bob Moore
ee174d3594
ACPICA: Rename a global variable, no functional change
...
ACPICA commit ab9c83985e8b2b25dc1c173b753280a8d04922b5
Rename to add the standard prefix for globals.
Link: https://github.com/acpica/acpica/commit/ab9c8398
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-01-05 01:33:22 +01:00
Bob Moore
ee68d4773e
ACPICA: Create and deploy safe version of strncpy
...
ACPICA commit 64ad9c69a1bd534a466e060a33c0bbf5fc9e189c
acpi_ut_safe_strncpy - copy and terminate string. Strncpy is not
guaranteed to terminate the copied string if the input is longer
than the length of the target.
No functional change.
Link: https://github.com/acpica/acpica/commit/64ad9c69
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-01-05 01:33:22 +01:00
Bob Moore
2cb0ba70fb
ACPICA: Cleanup the global variables and update comments
...
ACPICA commit 8519ba376636565350c3fa0db5621c61d34c34b2
Mostly cleanup/reformatting. Some restructuring.
No functional change.
Link: https://github.com/acpica/acpica/commit/8519ba37
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-01-05 01:33:22 +01:00
Bob Moore
896bece7ec
ACPICA: Fix a regression in the acpi_evaluate_object_type() interface
...
ACPICA commit 9ab548ef154b992208524d61770caca90a9762be
The optional Pathname parameter inadvertently became required.
Introduced in April 2017.
Link: https://github.com/acpica/acpica/commit/9ab548ef
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-01-05 01:33:22 +01:00
Bob Moore
6be2d72b18
ACPICA: Update for a few debug output statements
...
ACPICA commit 900e96a9c6c6d67c2e18e8c2576dc4742221fc71
Implement a very small indent for trace output.
Link: https://github.com/acpica/acpica/commit/900e96a9
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-01-05 01:33:22 +01:00
Bob Moore
56d03d7b6e
ACPICA: Debug output, no functional change
...
ACPICA commit 04fffc50a131662f57a41ca517c75d32d2479a1c
Fix use of return macros and other debug output changes.
Link: https://github.com/acpica/acpica/commit/04fffc50
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2018-01-05 01:33:22 +01:00
Bob Moore
fb969d160c
ACPICA: Update version to 20171110
...
ACPICA commit d0ef5a72ca7c01acbf590e4556d19edf69a5b5c4
Version 20171110.
Link: https://github.com/acpica/acpica/commit/d0ef5a72
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2017-11-27 01:20:33 +01:00
Bob Moore
3e1dc644aa
ACPICA: Update linkage for get mutex name interface
...
ACPICA commit cb9a3906ec35da7a6e0b8972f8e6e7895e59c208
Always enable the function.
Link: https://github.com/acpica/acpica/commit/cb9a3906
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2017-11-27 01:20:32 +01:00
Bob Moore
692aa0cf5d
ACPICA: Update mutex error messages, no functional change
...
ACPICA commit 22f2b0beb45d277841ed02bc613df1009e5b20cf
Add mutex name on certain acquire/release errors.
Link: https://github.com/acpica/acpica/commit/22f2b0be
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2017-11-27 01:20:32 +01:00
Bob Moore
060c859d79
ACPICA: Debugger: add "background" command for method execution
...
ACPICA commit d7b44738a48caa9f669b8dbf0024d456711aec31
Allows a single task to execute in the background, while control
returns to the debugger prompt.
Also, cleanup the debugger help screen.
Link: https://github.com/acpica/acpica/commit/d7b44738
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2017-11-27 01:20:32 +01:00
Bob Moore
d41bf52e38
ACPICA: Small typo fix, no functional change
...
ACPICA commit 9b03c05305d856274c39f3adbddd8a98ef5d018e
ACPI table header.
Link: https://github.com/acpica/acpica/commit/9b03c053
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2017-11-27 01:20:32 +01:00
Bob Moore
5ed4e5ca51
ACPICA: ACPI 6.0A: Changes to the NFIT ACPI table
...
ACPICA commit a42a086b8d682ab8dfbc4666cf6b9c8a5ee23a77
Adds a new subtable.
Link: https://github.com/acpica/acpica/commit/a42a086b
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2017-11-27 01:20:32 +01:00
Bob Moore
16ccf82920
ACPICA: Enhance error messages from namespace create/lookup operations
...
ACPICA commit b09c8d7bdc8c5a3db0a8d38bfd6182c023885e12
1) Emit the full pathname (scope+name) instead of just the name
2) For AE_ALREADY_EXISTS and AE_NOT_FOUND, use the "firmware error"
string to point to the true problem.
Link: https://github.com/acpica/acpica/commit/b09c8d7b
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2017-11-27 01:20:32 +01:00
Bob Moore
53ae81e189
ACPICA: Add an additional error message for EC timeouts
...
ACPICA commit 24dd370b14711b7b3f31d7ca6326f9e0bd177c4e
AE_TIME is seen to be returned from the EC driver/handler so
often that an additional error message is added to help
clarify the problem.
Link: https://github.com/acpica/acpica/commit/24dd370b
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2017-11-27 01:20:31 +01:00
Bob Moore
e814109bee
ACPICA: Update output from ACPI_EXCEPTION macro
...
ACPICA commit b2858b2cc83e1481950a2c976f62d4e1d758bc85
Changes line prefix from "ACPI Exception" to simply "ACPI Error"
to match the ACPI_ERROR macro. ACPI_EXCEPTION takes the ACPI status
as an argument, decodes and displays it along with the error
message.
Link: https://github.com/acpica/acpica/commit/b2858b2c
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2017-11-27 01:20:30 +01:00
Bob Moore
db53f7f0eb
ACPICA: Use local 64-bit divide support for string conversions
...
ACPICA commit f230f4df26d07b97ef00be39156ecee64250447d
On 32-bit platforms, 64-bit divide often requires a library
function which may not be present in the build.
Link: https://github.com/acpica/acpica/commit/f230f4df
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2017-11-27 01:20:30 +01:00
Bob Moore
8ca86e82b9
ACPICA: Update version to 20170929
...
ACPICA commit 2399a7799d6e41ec5beca77ddff3acc77e1a4e0a
Version 20170929
Link: https://github.com/acpica/acpica/commit/2399a779
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2017-11-27 01:20:30 +01:00
Bob Moore
4c189c9da0
ACPICA: iASL/Tools: Add support for PDTT, SDEV, TPM2 ACPI tables
...
ACPICA commit 028d331522f239fa615148273f6d10e9deadb1b3
Full support for PDTT and SDEV
Partial support for TPM2 due to odd layout of the optional
fields of the table.
Link: https://github.com/acpica/acpica/commit/028d3315
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2017-11-27 01:20:29 +01:00
Bob Moore
90adf776a9
ACPICA: Tools: Deploy -vd option (build date/time) across all tools
...
ACPICA commit 336131640a1574b86240b32eca3150195f9270d6
Common option for all tools.
Link: https://github.com/acpica/acpica/commit/33613164
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2017-11-27 01:20:29 +01:00
Bob Moore
a26f4df913
ACPICA: Rename AE_AML_INFINITE_LOOP exception
...
ACPICA commit e017213698374e01225f641ba0917516d8e91427
More appropriately renamed to AE_AML_LOOP_TIMEOUT, now that
a real timer is used for the implementation.
Link: https://github.com/acpica/acpica/commit/e0172136
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2017-11-27 01:20:29 +01:00
Bob Moore
d954f94cfa
ACPICA: Update version to 20170831
...
ACPICA commit faa9fdfbd035a14347e6a875be2a0cddb3e6fc00
Version 20170831.
Link: https://github.com/acpica/acpica/commit/faa9fdfbd035
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Lv Zheng <lv.zheng@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2017-10-04 01:43:07 +02:00
Bob Moore
8092936dac
ACPICA: Update acpi_get_timer for 64-bit interface to acpi_hw_read
...
ACPICA commit 1cdcf16447c15694faa564c0cd8e357b910344a0
Return value from acpi_hw_read is now 64 bits, but the ACPI PM
Timer is defined by the ACPI spec to be 32 bits.
Link: https://github.com/acpica/acpica/commit/1cdcf16447c1
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Lv Zheng <lv.zheng@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2017-10-04 01:43:06 +02:00
Bob Moore
c2e56e54b2
ACPICA: String conversions: Update to add new behaviors
...
ACPICA commit e3574138af82a25d76324559848689946982dbd0
1) Allow whitespace in string before the constant
2) ut_strtoul64 now always creates a 64-bit integer; iASL will
truncate this to the lower 32-bits if the table being compiled
is a 32-bit table (DSDT revision less than 2).
Link: https://github.com/acpica/acpica/commit/e3574138af82
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Lv Zheng <lv.zheng@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2017-10-04 01:43:06 +02:00
Bob Moore
72a2935502
ACPICA: String conversions: Cleanup/format comments. No functional changes
...
ACPICA commit 33e38cd2406709b13fa0a7821e588505b3771163
Cleanup some of the language used in the large comments, especially
the ones that reference the rules in the ACPI spec.
Fixed some typos.
Link: https://github.com/acpica/acpica/commit/33e38cd24067
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Lv Zheng <lv.zheng@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2017-10-04 01:43:06 +02:00
Bob Moore
fe97d28704
ACPICA: Restructure/cleanup all string-to-integer conversion functions
...
ACPICA commit 610046d444ad781cc36673bf1f030abe50cbc61f
Improve adherence to ACPI spec for implicit and explicit conversions
Adds octal support for constants in ASL code
Adds integer overflow errors for constants during ASL compilation
Eliminates most of the existing complex flags parameters
Simplify support for implicit/explicit runtime conversions
Adds one new file, utilities/utstrsuppt.c
Link: https://github.com/acpica/acpica/commit/610046d444ad
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Lv Zheng <lv.zheng@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2017-10-04 01:43:06 +02:00
Bob Moore
81b7cb9295
ACPICA: Header support for the PDTT ACPI table
...
ACPICA commit 9951c78746b52da7d23da4531fcfba6bf8c95b6a
This is an ACPI 6.2 table.
Link: https://github.com/acpica/acpica/commit/9951c78746b5
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Lv Zheng <lv.zheng@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2017-10-04 01:43:05 +02:00
Bob Moore
4a9673dd50
ACPICA: Update version to 20170728
...
ACPICA commit 50f61636543a55d143c792a4814da7700a7fafc2
Version 20170728.
Link: https://github.com/acpica/acpica/commit/50f61636
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Lv Zheng <lv.zheng@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2017-08-03 23:34:18 +02:00
Bob Moore
137c78352e
ACPICA: Resources: Allow _DMA method in walk resources
...
ACPICA commit af661c00afac7aa481a961fa48c6540a99ad64a6
The _DMA object contains a resource template, this change
adds support for the walk resources function so that ACPI
devices containing a _DMA object can actually parse it to
detect DMA ranges for the respective bus.
Link: https://github.com/acpica/acpica/commit/af661c00
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com >
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Lv Zheng <lv.zheng@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2017-08-03 23:34:17 +02:00
Bob Moore
376a588cec
ACPICA: Ensure all instances of AE_AML_INTERNAL have error messages
...
ACPICA commit ea9152daaec30760fa4c25285998f58233ec0db5
This exception is only meaningful with an associated error message.
Link: https://github.com/acpica/acpica/commit/ea9152da
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Lv Zheng <lv.zheng@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2017-08-03 23:34:17 +02:00
Bob Moore
a62a7117d9
ACPICA: Implement deferred resolution of reference package elements
...
ACPICA commit 0c08790c56fdf0dc081ae869495a09d8c4230854
This change defers the resolution of package elements that
are named references until after the entire namespace has been
loaded from the definition block. This allows such references
to be in fact forward references for both module level code
and control methods.
Link: https://github.com/acpica/acpica/commit/0c08790c
Signed-off-by: Bob Moore <robert.moore@intel.com >
Signed-off-by: Lv Zheng <lv.zheng@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2017-08-03 23:34:17 +02:00