| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Version 20210930.
|
|
|
|
| |
Version 20210930.
|
|
|
|
| |
actbl2.h.
|
|
|
|
|
|
|
| |
This reverts commit 0084a2ede3ed9d6382552de1d340d489c080b192.
Did not work on gcc 4.4.5.
failed on offsetof.
|
|\ |
|
| |\
| | |
| | | |
Hardware: Avoid evaluating methods too early during system resume
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
During wakeup from system-wide sleep states, AcpiGetSleepTypeData()
is called and it tries to get memory from the OS in order to evaluate
a control method, but if KFENCE is enabled in the Linux kernel, the
memory allocation attempt causes an IRQ work to be queued and a
self-IPI to be sent to the CPU running the code which requires the
memory controller to be ready, so if that happens too early in the
wakeup path, it doesn't work.
Prevent that from taking place by calling AcpiGetSleepTypeData()
for S0 upfront, when preparing to enter a given sleep state, and
saving the data obtained by it for later use during system wakeup.
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=214271
Reported-by: Reik Keutterling <spielkind@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
|
|/ /
| |
| |
| |
| |
| | |
Note: support for Vendor-defined microphone arrays and SNR extensions are
not supported at this time -- mostly due to a lack of example tables.
Actual compiler support for NHLT is forthcoming.
|
|\ \
| | |
| | | |
Headers: Avoid NULL pointer arithmetic
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
There are some very old macros for doing an open-coded offsetof() and
cast between pointer and integer in ACPI headers. clang-14 now complains
about these:
drivers/acpi/acpica/tbfadt.c:86:3: error: performing pointer subtraction with a null pointer has undefined behavior [-Werror,-Wnull-pointer-subtraction]
ACPI_FADT_OFFSET(pm_timer_block),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/acpi/actbl.h:376:47: note: expanded from macro 'ACPI_FADT_OFFSET'
#define ACPI_FADT_OFFSET(f) (u16) ACPI_OFFSET (struct acpi_table_fadt, f)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:511:41: note: expanded from macro 'ACPI_OFFSET'
#define ACPI_OFFSET(d, f) ACPI_PTR_DIFF (&(((d *) 0)->f), (void *) 0)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/acpi/actypes.h:505:79: note: expanded from macro 'ACPI_PTR_DIFF'
#define ACPI_PTR_DIFF(a, b) ((acpi_size) (ACPI_CAST_PTR (u8, (a)) - ACPI_CAST_PTR (u8, (b))))
^ ~~~~~~~~~~~~~~~~~~~~~~~
Convert them to the modern equivalents.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
[ rjw: Linux kernel patch conversion into the upstream ACPICA format ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
|
|/
|
|
|
|
|
|
| |
New/latest rules: Under a Device Object:
1) If _PRS is present, must have _CRS and _SRS
2) If _SRS is present, must have _PRS (_PRS requires _CRS and _SRS)
3) If _DIS is present, must have _SRS (_SRS requires _PRS, _PRS requires _CRS and _SRS)
4) If _SRS is present, probably should have a _DIS (Remark only)
|
|\
| |
| | |
FOR ACPICA: ACPI 6.4 SRAT: add Generic Port Affinity type
|
| |
| |
| |
| |
| |
| |
| |
| | |
Add a new subtable type for SRAT Generic Port Affinity.
It uses the same subtable structure as the existing Generic
Initiator Affinity type.
Signed-off-by: Alison Schofield <alison.schofield@intel.com>
|
|\ \
| | |
| | | |
Dispatcher: clean up incorrect identation
|
| |/
| |
| |
| |
| |
| |
| | |
There is an assignment statement where the indentation is one
level too deep. Remove 4 spaces to clean this up.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
|
|\ \
| | |
| | | |
Add the flag for online capable in the MADT
|
| | |
| | |
| | |
| | | |
This was introduced starting with ACPI 6.3.
|
| |/
|/|
| |
| | |
Clarify distribution rights.
|
|\ \
| |/
|/| |
Add support for Windows 2020 _OSI string
|
|/
|
|
| |
See: https://github.com/MicrosoftDocs/windows-driver-docs/commit/5164e24985e78ef4870d7a5801a5336104f36366
|
|\
| |
| | |
preprocess.h: fix spelling mistake in comment
|
|/
|
|
|
|
| |
Preprocesor -> Preprocessor
Signed-off-by: Colin Ian King <colin.king@canonical.com>
|
|
|
|
| |
Version 20210730.
|
|
|
|
| |
Version 20210730.
|
|
|
|
|
|
|
| |
This was the only documentation in the verious tarballs. Since
each documentation file is directly available on the website,
it seems to be overkill to include this file in the binary
tarball.
|
|
|
|
|
|
|
|
|
| |
* 1) If _DIS is present, must have a _CRS, _PRS, and _SRS
* 2) If _PRS is present, must have a _CRS and _SRS
* 3) If _SRS is present, must have a _CRS and _PRS
Change of rules developed with the help of the ASWG (ACPI specificatoin
working group).
|
|
|
|
|
|
|
|
|
| |
+ *
+ * Under the Device Object:
+ *
+ * 1) If _DIS is present, must have a _CRS and _SRS
+ * 2) If _PRS is present, must have a _CRS, _DIS, and _SRS
+ * 3) If _SRS is present, must have a _CRS and _DIS
|
|
|
|
| |
Output cleanup.
|
|
|
|
| |
For use with aslmethod.c.
|
|
|
|
|
| |
Reported by:
Colin Ian King
|
|
|
|
|
| |
Handle the case where the Command-line Arguments table field
does not exist.
|
|\
| |
| | |
Headers: Add new DBG2 Serial Port Subtypes
|
|/
|
|
|
|
|
|
| |
The Microsoft Debug Port Table 2 (DBG2) specification revision
September 21, 2020 comprises additional Serial Port Subtypes [1].
Reflect that in the actbl1.h header file.
[1] https://docs.microsoft.com/en-us/windows-hardware/drivers/bringup/acpi-debug-port-table
|
|
|
|
| |
Signed-off-by: Huilong Deng <denghuilong@cdjrlc.com>
|
|
|
|
| |
(add parens).
|
|\
| |
| | |
Add PRMT module header to facilitate parsing
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This structure is used in to parse PRMT in other Operating Systems
that relies on using subtable headers in order to parse ACPI tables.
Although the PRMT doesn't have "subtables" it has a list of module
information structures that act as subtables.
Signed-off-by: Erik Kaneda <erik.kaneda@intel.com>
|
| |
| |
| |
| | |
Includes support in the table compiler and the disassembler.
|
|/
|
|
| |
Add new symbols for linux conversion.
|
|
|
|
| |
Version 20210604.
|
|
|
|
| |
Version 20210604.
|
|\
| |
| | |
Disassembler: add missing strings to decode subtable types
|
|/
|
|
| |
Signed-off-by: Erik Kaneda <erik.kaneda@intel.com>
|
|\
| |
| | |
Add support for PlatformRtMechanism OperationRegion handler
|
|/
|
|
|
|
|
|
|
|
| |
Writing a buffer to a PlatformRtMechanism fieldunit invokes a
bidirectional transaction. The input buffer contains 26 bytes
containing 9 bytes of status, a command byte and a 16-byte UUID.
This change will will simply pass this incoming buffer to a handler
registered by the OS.
Signed-off-by: Erik Kaneda <erik.kaneda@intel.com>
|
|\
| |
| | |
Add more structs to CEDT table
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The CXL Fixed Memory Window Structure (CFMWS) is added to the
CXL Early Discovery Table (CEDT). This new structure is defined
in an ECN to the CXL 2.0 specification.
https://www.computeexpresslink.org/spec-landing
Signed-off-by: Alison Schofield <alison.schofield@intel.com>
|
| |
| |
| |
| |
| |
| |
| | |
CXL 2.0 defines length and version field values for the CHBS.
Include them in the ACPI CEDT table definition.
Signed-off-by: Alison Schofield <alison.schofield@intel.com>
|
|\ \
| |/
|/| |
iASL: add compiler and disassembler support for PRMT
|
| |
| |
| |
| | |
Signed-off-by: Erik Kaneda <erik.kaneda@intel.com>
|