| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
- Decode the Action, Instruction, and Flags fields for these tables
- Omit the Flags field if it is zero
- Omit the Value field for instrunctions that do not use it
Reviewed by: imp
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D54308
|
| |
|
|
| |
Reported by: Marcin Cieslak
|
| |
|
|
|
|
|
| |
Appease GCC.
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D52941
|
| |
|
|
| |
Reviewed by: kib
|
| |
|
|
|
|
|
|
|
|
| |
Pointer arithmetic overflow is UB. Convert to unsigned uintptr_t and do
the check there.
PR: 204945
Reported by: David Binderman <dcb314@hotmail.com>
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
|
| |
|
|
|
| |
Sponsored by: Advanced Micro Devices (AMD)
Sponsored by: The FreeBSD Foundation
|
| |
|
|
|
|
|
|
| |
and add missed acpi namespace device type entry decoding.
Sponsored by: Advanced Micro Devices (AMD)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
|
| |
|
|
|
| |
Fixes: e9ab827df94fed8f129ca4f7756e23ce77d8a655
Sponsored by: The FreeBSD Foundation
|
| |
|
|
|
|
|
|
| |
Add the ability to dump a specific ACPI table rather than all of them.
Sponsored by: Netflix
Reviewed by: andrew
Differential Revision: https://reviews.freebsd.org/D47082
|
| |
|
|
|
|
|
|
| |
Sort the ACPI signatures alphabetically and move it into a table we can iterate through
Sponsored by: Netflix
Reviewed by: andrew, markj
Differential Revision: https://reviews.freebsd.org/D47081
|
| |
|
|
|
|
|
|
|
|
| |
Clarify what's reported with -t (it's all the fixed acpi tables,
not just the listed ones). The listed tables are more fully decoded,
while all other tables just have their headers decoded.
Sponsored by: Netflix
Reviewed by: adrian
Differential Revision: https://reviews.freebsd.org/D47080
|
| |
|
|
|
|
|
| |
In a couple of places, we use 4 instead of ACPI_NAMESEG_SIZE. Use the
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D47109
|
| |
|
|
|
|
|
|
|
|
| |
Switch from the long obsolete hint.0.acpi.rsdp to acpi.rsdp to get the
root of the ACPI tables.
MFC After: 1 week
Sponsored by: Netflix
Reviewed by: andrew, markj
Differential Revision: https://reviews.freebsd.org/D47079
|
| |
|
|
|
|
|
|
|
| |
This reapplies 593d7a1634b5 to implement printing of SPCR v3 and SPCR v4
fields after ACPI actble3.h update. ACPIca used different names and
didn't do the weird nesting I did in the prior commit for better
co-existance.
Sponsored by: Netflix
|
| |
|
|
|
|
|
|
|
| |
This reverts commit 593d7a1634b5:
In preparation for importing new SPCR definitions, back out my hack
since it conflicts with the new definitions.
Sponsored by: Netflix
|
| |
|
|
|
|
|
|
|
|
|
| |
When we find a SPCR (Serial Port Console Redirection) TABLE, print all
the details. This includes support for the recent Revision 3 and
Revision 4 tables, though I've not encountered them in the wild yet, so
that code is untested.
https://learn.microsoft.com/en-us/windows-hardware/drivers/serports/serial-port-console-redirection-table
Sponsored by: Netflix
|
| |
|
|
|
|
|
|
| |
machine, they may not be parsed if they are concatinated into one image.
Reviewed by: kib
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D46796
|
| |
|
|
|
|
|
| |
This is a residual of the $FreeBSD$ removal.
MFC After: 3 days (though I'll just run the command on the branches)
Sponsored by: Netflix
|
| |
|
|
|
|
|
|
|
| |
Use sizeofs of structures corresponding to the parsed device entry.
This does not change the calculation, but fixes logical inconsistency.
Sponsored by: The FreeBSD Foundation
Sponsored by: Advanced Micro Devices (AMD)
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
| |
and apply the consistent format for device ids used in other IVRS
elements. The field seems to be the PCI Device ID of the IOMMU itself,
instead of an abstract unit ID.
Sponsored by: Advanced Micro Devices (AMD)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
|
| |
|
|
|
| |
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
|
| |
|
|
|
|
|
|
| |
Reviewed by: markj
Sponsored by: Advanced Micro Devices (AMD)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D44634
|
| |
|
|
|
|
|
|
| |
Reviewed by: markj
Sponsored by: Advanced Micro Devices (AMD)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D44634
|
| |
|
|
|
|
|
|
|
|
|
| |
and disable warnings about unused function args coming from the vendor
acpi headers.
Reviewed by: markj
Sponsored by: Advanced Micro Devices (AMD)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D44634
|
| |
|
|
|
|
|
|
|
|
| |
everywhere except i386.
Reviewed by: markj
Sponsored by: Advanced Micro Devices (AMD)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D44634
|
| |
|
|
|
|
|
|
|
|
|
| |
The field comes from the ACPI NFIT table and must be already properly
aligned by BIOS (at least so is written in the spec).
Reviewed by: markj
Sponsored by: Advanced Micro Devices (AMD)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D44634
|
| |
|
|
|
|
|
|
| |
acpidump(8) uses iasl(8) to parse acpi information.
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D44596
|
| |
|
|
|
|
|
|
| |
No functional change intended.
MFC after: 1 week
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D43561
|
| | |
|
| |
|
|
| |
Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
|
| |
|
|
| |
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
| |
|
|
| |
Remove /^\s*\*+\s*\$FreeBSD\$.*$\n/
|
| |
|
|
| |
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
| |
|
|
|
| |
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D40669
|
| |
|
|
|
|
|
|
|
| |
ACPICA's table dumper doesn't try to dump this subtable's contents
either.
Reported by: GCC
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D40657
|
| |
|
|
|
|
|
|
| |
rc.suspend has gained an rcorder keyword recently. Document it alongside
the existing resume keyword.
Reviewed By: mhorne, Pau Amma <pauamma@gundo.com>
Differential Revision: https://reviews.freebsd.org/D40484
|
| |
|
|
|
|
|
|
|
| |
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.
Discussed with: pfg
MFC After: 3 days
Sponsored by: Netflix
|
| | |
|
| |
|
|
|
|
|
|
| |
This function intentionally saves a pointer to an on-stack variable in
a global as a dubious way of reading the stack pointer.
Reviewed by: imp, emaste
Differential Revision: https://reviews.freebsd.org/D37535
|
| | |
|
| |
|
|
| |
MFC after: 1 week
|
| |
|
|
|
|
|
| |
- s/Efficency/tEfficiency/
Obtained from: NetBSD
MFC after: 3 days
|
| |
|
|
|
|
|
|
| |
To support the Arm Statistical Profiling Extension (SPE) ACPI 6.3 added
a place to hold the SPE interrupt. Add to acpidump to show when printing
the Arm Generic Interrupt data.
Sponsored by: The FreeBSD Foundation
|
| |
|
|
| |
Pull Request: https://github.com/freebsd/freebsd-src/pull/572
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
There is a workaround in acpidump for an old IBM laptop. This is being
hit on a modern arm64 system causing acpidump to use the wrong field
when reading a later address.
As the laptop has a 32-bit CPU the only FreeBSD support for it is i386.
As such limit the workaround to that architecture.
Reviewed by: emaste, jkim, jhb (all earlier version)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32573
|
| |
|
|
|
|
|
| |
The first is actually a bitfield. The second is printed in hex by
dmidecode, so uniformidy should be good.
MFC after: 1 week
|
| |
|
|
| |
MFC after: 1 week
|
| |
|
|
| |
MFC after: 1 week
|
| |
|
|
|
|
|
| |
MFC after: 2 weeks
Notes:
svn path=/head/; revision=362811
|
| |
|
|
|
|
|
|
|
|
| |
These are allowed to be zero when the hardware reduced APCI flag is set
Sponsored by: Innovate UK
Differential Revision: https://reviews.freebsd.org/D23207
Notes:
svn path=/head/; revision=361216
|