#
8c108dcc |
| 26-Feb-2025 |
Konstantin Belousov <kib@FreeBSD.org> |
acpidump: do not use pointer arithmetic to check for overflow
Pointer arithmetic overflow is UB. Convert to unsigned uintptr_t and do the check there.
PR: 204945 Reported by: David Binderman <dcb3
acpidump: do not use pointer arithmetic to check for overflow
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
show more ...
|
Revision tags: release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0 |
|
#
41b95006 |
| 23-Oct-2024 |
Konstantin Belousov <kib@FreeBSD.org> |
acpidump(8): add const qualifier to the known tables array
Sponsored by: Advanced Micro Devices (AMD) Sponsored by: The FreeBSD Foundation
|
#
5a6e19ca |
| 20-Oct-2024 |
Konstantin Belousov <kib@FreeBSD.org> |
acpidump: use acpica definitions for devscope types in DMAR decoding
and add missed acpi namespace device type entry decoding.
Sponsored by: Advanced Micro Devices (AMD) Sponsored by: The FreeBSD F
acpidump: use acpica definitions for devscope types in DMAR decoding
and add missed acpi namespace device type entry decoding.
Sponsored by: Advanced Micro Devices (AMD) Sponsored by: The FreeBSD Foundation MFC after: 1 week
show more ...
|
#
8f553746 |
| 22-Oct-2024 |
Konstantin Belousov <kib@FreeBSD.org> |
acpidump: correct memcmp() result check
Fixes: e9ab827df94fed8f129ca4f7756e23ce77d8a655 Sponsored by: The FreeBSD Foundation
|
#
3ff9ea7d |
| 15-Oct-2024 |
Warner Losh <imp@FreeBSD.org> |
acpidump: Add -T TBLN to print a specific ACPI fixed table
Add the ability to dump a specific ACPI table rather than all of them.
Sponsored by: Netflix Reviewed by: andrew Differential Revision:
acpidump: Add -T TBLN to print a specific ACPI fixed table
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
show more ...
|
#
e9ab827d |
| 15-Oct-2024 |
Warner Losh <imp@FreeBSD.org> |
acpidump: Sort signature ifs alphabetically and make table driven
Sort the ACPI signatures alphabetically and move it into a table we can iterate through
Sponsored by: Netflix Reviewed by: andrew
acpidump: Sort signature ifs alphabetically and make table driven
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
show more ...
|
#
19dd8811 |
| 15-Oct-2024 |
Warner Losh <imp@FreeBSD.org> |
acpidump: Use ACPI_NAMESEG_SIZE instead of 4
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
|
#
5d57fad8 |
| 11-Oct-2024 |
Warner Losh <imp@FreeBSD.org> |
acpidump: Print SPCR v3 and v4 fields
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
acpidump: Print SPCR v3 and v4 fields
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
show more ...
|
#
ca9e31ee |
| 11-Oct-2024 |
Warner Losh <imp@FreeBSD.org> |
Revert "apcidump: Add dumping SPCR"
This reverts commit 593d7a1634b5:
In preparation for importing new SPCR definitions, back out my hack since it conflicts with the new definitions.
Sponsored by:
Revert "apcidump: Add dumping SPCR"
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
show more ...
|
#
593d7a16 |
| 04-Oct-2024 |
Warner Losh <imp@FreeBSD.org> |
apcidump: Add dumping SPCR
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
apcidump: Add dumping SPCR
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
show more ...
|
Revision tags: release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0 |
|
#
f5a04b16 |
| 22-Jun-2023 |
Takanori Watanabe <takawata@FreeBSD.org> |
acpidump: add 's' option to parse dsdt and ssdt's separately. In some machine, they may not be parsed if they are concatinated into one image.
Reviewed by: kib MFC after: 1 we
acpidump: add 's' option to parse dsdt and ssdt's separately. In some 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
show more ...
|
#
1eb7099e |
| 30-May-2024 |
Konstantin Belousov <kib@FreeBSD.org> |
acpidump: improve length calculation for several IVHD elements
Use sizeofs of structures corresponding to the parsed device entry. This does not change the calculation, but fixes logical inconsisten
acpidump: improve length calculation for several IVHD elements
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
show more ...
|
#
6cba29c0 |
| 20-May-2024 |
Konstantin Belousov <kib@FreeBSD.org> |
acpidump IVRS table format: change 'IOMMUId' into 'IOMMU DeviceId'
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 i
acpidump IVRS table format: change 'IOMMUId' into 'IOMMU DeviceId'
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
show more ...
|
#
f1519a82 |
| 05-Apr-2024 |
Konstantin Belousov <kib@FreeBSD.org> |
acpidump: add Foundation copyright
Sponsored by: The FreeBSD Foundation MFC after: 1 week
|
#
6d789b61 |
| 01-Apr-2024 |
Konstantin Belousov <kib@FreeBSD.org> |
acpidump: dump AMD IVRS table describing IOMMU layout
Reviewed by: markj Sponsored by: Advanced Micro Devices (AMD) Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: http
acpidump: dump AMD IVRS table describing IOMMU layout
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
show more ...
|
#
969a4b8b |
| 04-Apr-2024 |
Konstantin Belousov <kib@FreeBSD.org> |
acpidump: add printfield() helper
Reviewed by: markj Sponsored by: Advanced Micro Devices (AMD) Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.
acpidump: add printfield() helper
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
show more ...
|
#
4262ad56 |
| 04-Apr-2024 |
Konstantin Belousov <kib@FreeBSD.org> |
acpidump: the acpi_get_fadt_revision() argument is unused
everywhere except i386.
Reviewed by: markj Sponsored by: Advanced Micro Devices (AMD) Sponsored by: The FreeBSD Foundation MFC after: 1 wee
acpidump: the acpi_get_fadt_revision() argument is unused
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
show more ...
|
#
de937ecb |
| 03-Apr-2024 |
Konstantin Belousov <kib@FreeBSD.org> |
acpidump: silent the warning about unaligned uuid
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 Spon
acpidump: silent the warning about unaligned uuid
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
show more ...
|
#
861f5b95 |
| 02-Apr-2024 |
SHENG-YI HONG <aokblast@FreeBSD.org> |
acpidump(8) Fix typo in error message
acpidump(8) uses iasl(8) to parse acpi information.
MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D
acpidump(8) Fix typo in error message
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
show more ...
|
#
b3e76948 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
#
e65868dd |
| 20-Jun-2023 |
John Baldwin <jhb@FreeBSD.org> |
acpidump: Remove set but unused variable.
ACPICA's table dumper doesn't try to dump this subtable's contents either.
Reported by: GCC Reviewed by: emaste Differential Revision: https://reviews.free
acpidump: Remove set but unused variable.
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
show more ...
|
#
4d846d26 |
| 10-May-2023 |
Warner Losh <imp@FreeBSD.org> |
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
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
show more ...
|
Revision tags: release/13.2.0, release/12.4.0 |
|
#
3b7935f3 |
| 19-Aug-2022 |
Alexander Motin <mav@FreeBSD.org> |
Decode couple arrays in NFIT table.
MFC after: 1 week
|
#
0b4302aa |
| 04-Jun-2022 |
Gordon Bergling <gbe@FreeBSD.org> |
acpi(4): Fix a typo in a debug statement
- s/Efficency/tEfficiency/
Obtained from: NetBSD MFC after: 3 days
|
Revision tags: release/13.1.0 |
|
#
c363da4a |
| 01-Feb-2022 |
Andrew Turner <andrew@FreeBSD.org> |
Add the Arm SPE interrupt to acpidump
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
Add the Arm SPE interrupt to acpidump
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
show more ...
|