| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| |
| | |
Merge commit '5cab380e2a2644aaa920b93f1580a1cfc803a8de'
|
| | |
| |
| |
| | |
Fixes: b5daf675efc7 ("acpica: Merge ACPICA 20250807")
|
| |\|
| |
| |
| | |
Merge commit '5bb60d44e94172a567412968545c82065695d871'
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Cherry-pick commit 0b76c0a from ACPICA (actypes: Distinguish between
D3hot/cold, and default `ACPI_STATE_D3` to D3cold).
The same distinction is made between `PCI_POWERSTATE_D3_HOT` and
`PCI_POWERSTATE_D3_COLD`, as they're defined by ACPI (and are asserted
to be the same).
D3cold is essentially the same as D3hot except the power resources are
turned off. Add support for D3cold to `acpi_pwr_switch_consumer`.
`acpi_d_state_to_str` replaces the `printf("D%d", d_state)` pattern,
allowing for "D3hot" and "D3cold" strings to be printed instead of just
"D3".
Reviewed by: markj, ziaee, mckusick (mentor)
Approved by: markj, mckusick (mentor)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D48384
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Switch to using sys/stdarg.h for va_list type and va_* builtins.
Make an attempt to insert the include in a sensible place. Where
style(9) was followed this is easy, where it was ignored, aim for the
first block of sys/*.h headers and don't get too fussy or try to fix
other style bugs.
Reviewed by: imp
Exp-run by: antoine (PR 286274)
Pull Request: https://github.com/freebsd/freebsd-src/pull/1595
|
| | |
| |
| |
| | |
(cherry picked from commit 97a7606d897edfa3089cb04eea70096a1f9cf734)
|
| |\| |
|
| |\| |
|
| |\| |
|
| |\| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
cherry pick 1eeff52124a45d5cd887ba5687bbad0116e4d211 from acpica:
SPCR: Update the SPCR table to version 4
The Microsoft Serial Port Console Redirection (SPCR) specification
revision 1.09 comprises additional fields [1]. The newly added fields
are:
- RISC-V SBI
- Precise Baud Rate
- NamespaceStringLength
- NamespaceStringOffset
- NamespaceString
Additionaly, this code will support up to SPCR revision 1.10, as it
includes only minor wording changes.
[1] https://learn.microsoft.com/en-us/windows-hardware/drivers/serports/serial-port-console-redirection-table
Signed-off-by: Sia Jee Heng <jeeheng.sia@starfivetech.com>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
I merged in the limits.h include. I should have resolved this by
deleting it (since we have no easy way to 'fix' it with compat headers).
GENERIC doesn't bring in the debugger, but LINT does...
Sponsored by: Netflix
|
| |\|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Merge tracking branch 'vendor/acpica' for vendor/acpica/20230628, and
resolve conflicts.
This deletes files that we've deleted since the last merge (during SVN
times it seems) so future merges don't bring them up.
It resolves conflicts in several files that we have modified (but we can
likely fix the build system so we don't have to modify them since it's
almost all headers) and one ifndef kernel that could be solved with an
empty #define.
It also deletes new files in the platform directory that are similar to
prior non-freebsd platform files we've deleted.
The net delta: +1 line.
Sponsored by: Netflix
|
| | |
| |
| |
| | |
(cherry picked from commit ef3ba9d625927fd4592a8c071698a562821485bd)
|
| | |
| |
| |
| | |
(cherry picked from commit 8e013e1e3b81740266738226667431cf5c28b17a)
|
| | |
| |
| |
| | |
Fixes: 9a4bc5208fad acpica: Import ACPICA 20221020
|
| | |
| |
| |
| | |
(cherry picked from commit a799bdd9d50e84cd6a36e8f1d2ac4301b2a6b374)
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch removes warnings messages like the following added in ACPICA
20220331:
ACPI Warning: Firmware issue: Excessive sleep time (0xxx ms > 10 ms)
in ACPI Control Method (20220331/exsystem-347)
Note the original author of this patch wants to back it out:
https://github.com/acpica/acpica/pull/780
|
| | |
| |
| |
| |
| |
| | |
Use ACPI_ERROR() instead of fprintf().
https://github.com/acpica/acpica/pull/768
|
| | |
| |
| |
| | |
(cherry picked from commit ca1c95cc699a25d891e62ef863c8268c93b35cf8)
|
| | |
| |
| |
| | |
(cherry picked from commit c509b6ab0d7e5bafc5348b08653b8738bd40716e)
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Clang 13.0.0 produces a new -Werror warning about the ACPI_TO_INTEGER(p)
and ACPI_OFFSET(d, f) macros in acpica's actypes.h:
sys/contrib/dev/acpica/components/dispatcher/dsopcode.c:708:31: error: performing pointer subtraction with a null pointer has undefined behavior [-Werror,-Wnull-pointer-subtraction]
ObjDesc->Region.Address = ACPI_PTR_TO_PHYSADDR (Table);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
sys/contrib/dev/acpica/include/actypes.h:664:41: note: expanded from macro 'ACPI_PTR_TO_PHYSADDR'
#define ACPI_PTR_TO_PHYSADDR(i) ACPI_TO_INTEGER(i)
^~~~~~~~~~~~~~~~~~
sys/contrib/dev/acpica/include/actypes.h:661:41: note: expanded from macro 'ACPI_TO_INTEGER'
#define ACPI_TO_INTEGER(p) ACPI_PTR_DIFF (p, (void *) 0)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sys/contrib/dev/acpica/include/actypes.h:656:82: note: expanded from macro 'ACPI_PTR_DIFF'
#define ACPI_PTR_DIFF(a, b) ((ACPI_SIZE) (ACPI_CAST_PTR (UINT8, (a)) - ACPI_CAST_PTR (UINT8, (b))))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
This problem of undefined behavior was also reported to acpica by @cem
in 2018: https://github.com/acpica/acpica/issues/407, but it seems there
was never any fix committed for it upstream.
Instead fix these locally, for ACPI_TO_INTEGER by simply casting the
incoming pointer to ACPI_SIZE (which corresponds roughly to uintptr_t
and size_t), and for ACPI_OFFSET by reusing our __offsetof definition
from sys/cdefs.h.
Reviewed by: emaste, kib, imp
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D31710
|
| | |
| |
| |
| | |
(cherry picked from commit 34cfdff1f386b2d7bf0a8ea873acf604753991e6)
|
| | |
| |
| |
| | |
(cherry picked from commit 395770967c3664ec744e63fa47acc19670d32f47)
|
| | | |
|
| | |
| |
| |
| | |
(cherry picked from commit 1e02e5b0ba8634758c128dcb43c67342c7219cd4)
|
| | |
| |
| |
| | |
(cherry picked from commit a61ec1492c58c40bd0d968794c380668c157e2ef)
|
| | |
| |
| |
| | |
(cherry picked from commit a4634ed7779f0905e3bfeb781e58d40a5bdf9bb7)
|
| |\|
| |
| |
| |
| |
| |
| | |
Merge ACPICA 20201113.
Notes:
svn path=/head/; revision=367654
|
| |\|
| |
| |
| |
| |
| |
| | |
Merge ACPICA 20200925.
Notes:
svn path=/head/; revision=366562
|
| |\|
| |
| |
| |
| |
| |
| | |
Merge ACPICA 20200717.
Notes:
svn path=/head/; revision=363300
|
| |\|
| |
| |
| |
| |
| |
| | |
Import ACPICA 20200528.
Notes:
svn path=/head/; revision=361600
|
| |\|
| |
| |
| |
| |
| |
| | |
Merge ACPICA 20200430.
Notes:
svn path=/head/; revision=360517
|
| |\|
| |
| |
| | |
Notes:
svn path=/head/; revision=359346
|
| |\|
| |
| |
| |
| |
| |
| | |
Merge ACPICA 20200214.
Notes:
svn path=/head/; revision=357959
|
| |\|
| |
| |
| |
| |
| |
| | |
Import ACPICA 20200110.
Notes:
svn path=/head/; revision=356618
|
| |\|
| |
| |
| |
| |
| |
| | |
Merge ACPICA 20191213.
Notes:
svn path=/head/; revision=355739
|
| |\|
| |
| |
| | |
Notes:
svn path=/head/; revision=353764
|
| |\|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix the reported boot failures and revert r350510.
Note this commit is effectively merging ACPICA 20190703 again and applying
an upstream patch.
https://github.com/acpica/acpica/commit/73f6372
Tested by: scottl
Notes:
svn path=/head/; revision=351095
|
| | |
| |
| |
| |
| |
| |
| | |
This lets us detect lock order reversal in ACPICA code to avoid deadlock.
Notes:
svn path=/head/; revision=351081
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
This commit caused boot failures on some systems.
Requested by: scottl
Notes:
svn path=/head/; revision=350510
|
| |\|
| |
| |
| |
| |
| |
| | |
Import ACPICA 20190703.
Notes:
svn path=/head/; revision=349863
|
| |\|
| |
| |
| |
| |
| |
| | |
Import ACPICA 20190509.
Notes:
svn path=/head/; revision=347415
|
| |\|
| |
| |
| |
| |
| |
| | |
Import ACPICA 20190405.
Notes:
svn path=/head/; revision=345980
|
| |\|
| |
| |
| | |
Notes:
svn path=/head/; revision=345713
|
| |\|
| |
| |
| |
| |
| |
| | |
Fix missing comma in array declaration.
Notes:
svn path=/head/; revision=344448
|
| |\|
| |
| |
| |
| |
| |
| | |
Import ACPICA 20190215.
Notes:
svn path=/head/; revision=344398
|
| |\|
| |
| |
| |
| |
| |
| | |
Merge ACPICA 20190108.
Notes:
svn path=/head/; revision=342869
|
| |\|
| |
| |
| |
| |
| |
| | |
Merge ACPICA 20181213.
Notes:
svn path=/head/; revision=342056
|
| |\|
| |
| |
| |
| |
| |
| | |
Merge ACPICA 20181031.
Notes:
svn path=/head/; revision=340090
|