#
451f0333 |
| 08-Apr-2025 |
Andrew Turner <andrew@FreeBSD.org> |
sys: Make the iommu xref uintptr_t
On arm64 we use the iommu base address as an xref. This fails when the address has the lower 32-bits in common with another iommu as they will share an xref.
Revi
sys: Make the iommu xref uintptr_t
On arm64 we use the iommu base address as an xref. This fails when the address has the lower 32-bits in common with another iommu as they will share an xref.
Reviewed by: kib Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D48726
show more ...
|
Revision tags: release/13.5.0, 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, release/13.4.0, release/14.1.0, release/13.3.0 |
|
#
81bee6d7 |
| 31-Jan-2024 |
Jung-uk Kim <jkim@FreeBSD.org> |
acpica: Fix build with ACPICA 20230331 and later
ACPICA is using flexible arrays since 20230331 and it broke aarch64 build.
--- acpi_iort.o --- /usr/src/sys/arm64/acpica/acpi_iort.c:103:4: error: f
acpica: Fix build with ACPICA 20230331 and later
ACPICA is using flexible arrays since 20230331 and it broke aarch64 build.
--- acpi_iort.o --- /usr/src/sys/arm64/acpica/acpi_iort.c:103:4: error: field 'data' with variable sized type 'union (unnamed union at /usr/src/sys/arm64/acpica/acpi_iort.c:98:2)' not at the end of a struct or class is a GNU extension [-Werror,-Wgnu-variable-sized-type-not-at-end] 103 | } data; | ^
Reported by: bapt Tested by: bapt
show more ...
|
#
fdafd315 |
| 24-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Automated cleanup of cdefs and other formatting
Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row.
Remov
sys: Automated cleanup of cdefs and other formatting
Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row.
Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/ Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/ Remove /\n+#if.*\n#endif.*\n+/ Remove /^#if.*\n#endif.*\n/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/
Sponsored by: Netflix
show more ...
|
Revision tags: release/14.0.0 |
|
#
685dc743 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
#
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, release/13.1.0, release/12.3.0 |
|
#
d178b1f8 |
| 07-Aug-2021 |
Dmitry Salychev <dsl@mcusim.org> |
Parse named nodes from IORT ACPI on arm64
Add the ability to map named components from IORT to their SMMU or ITS node in order to setup interrupts. It is now possible to find a node by its name (sub
Parse named nodes from IORT ACPI on arm64
Add the ability to map named components from IORT to their SMMU or ITS node in order to setup interrupts. It is now possible to find a node by its name (substring) and resource ID similar to PCI nodes. This is needed by work on a driver for NXP's Second Generation Data Path Acceleration Architecture (DPAA2).
Reviewed by: andrew MFC after: 2 weeks Differential Revision:: https://reviews.freebsd.org/D31267
show more ...
|
Revision tags: release/13.0.0, release/12.2.0 |
|
#
e2515283 |
| 27-Aug-2020 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: Rubicon Communications, LLC (netgate.com)
|
#
c078c3fd |
| 22-Aug-2020 |
Ed Maste <emaste@FreeBSD.org> |
acpi_iort: fix mapping end calculation
According to the ARM Design Document "IO Remapping Table Platform" (DEN 0049D), the "Number of IDs" field of the ID mapping format means "The number of IDs in
acpi_iort: fix mapping end calculation
According to the ARM Design Document "IO Remapping Table Platform" (DEN 0049D), the "Number of IDs" field of the ID mapping format means "The number of IDs in the range minus one".
Submitted by: Greg V <greg@unrelenting.technology> Reviewed by: andrew Differential Revision: https://reviews.freebsd.org/D25179
show more ...
|
#
c7aa572c |
| 31-Jul-2020 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: Rubicon Communications, LLC (netgate.com)
|
#
f3856e68 |
| 17-Jul-2020 |
Ruslan Bukin <br@FreeBSD.org> |
Add acpi_iort_map_pci_smmuv3().
This new function allows us to find the SMMU instance assigned for a particular PCI RID.
Reviewed by: andrew Sponsored by: DARPA, AFRL Differential Revision: https:/
Add acpi_iort_map_pci_smmuv3().
This new function allows us to find the SMMU instance assigned for a particular PCI RID.
Reviewed by: andrew Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D25687
show more ...
|
Revision tags: release/11.4.0 |
|
#
59abbffa |
| 31-Jan-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r357270 through r357349.
|
#
45951bf0 |
| 31-Jan-2020 |
Andrew Turner <andrew@FreeBSD.org> |
Ignore the SMMUv3 and PMCG interrupt controller in the IORT tables
When mapping MSI/MSI-X interrupts throught he Arm IORT ACPI tables we may need to ignore an interrupt controller even if it is with
Ignore the SMMUv3 and PMCG interrupt controller in the IORT tables
When mapping MSI/MSI-X interrupts throught he Arm IORT ACPI tables we may need to ignore an interrupt controller even if it is within the bounds the entry describes. When the SMMUv3 is not using GSIV (non-MSI/MSI-X) interrupts we need to read the defined field. The Performance Monitoring Counter Group always ignores the first table entry.
MFC after: 2 weeks Sponsored by: DARPA, AFRL
show more ...
|
Revision tags: release/12.1.0, release/11.3.0 |
|
#
7f49ce7a |
| 28-Jun-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead @349476
Sponsored by: The FreeBSD Foundation
|
#
b0f79e32 |
| 24-Jun-2019 |
Jayachandran C. <jchandra@FreeBSD.org> |
arm64 acpi_iort: add some error handling
Print warnings for some bad kernel configurations (like NUMA disabled with multiple domains). Check and report some firmware errors (like incorrect proximity
arm64 acpi_iort: add some error handling
Print warnings for some bad kernel configurations (like NUMA disabled with multiple domains). Check and report some firmware errors (like incorrect proximity domain entries).
Differential Revision: https://reviews.freebsd.org/D20416
show more ...
|
#
9e43c218 |
| 10-Feb-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r343807 through r343955.
|
#
9088a475 |
| 07-Feb-2019 |
Jayachandran C. <jchandra@FreeBSD.org> |
arm64 acpi: Add support for IORT table
Add new file arm64/acpica/acpi_iort.c to support the "IO Remapping Table" (IORT). The table is specified in ARM document "ARM DEN 0049D" titled "IO Remapping T
arm64 acpi: Add support for IORT table
Add new file arm64/acpica/acpi_iort.c to support the "IO Remapping Table" (IORT). The table is specified in ARM document "ARM DEN 0049D" titled "IO Remapping Table Platform Design Document". The IORT table has information on the associations between PCI root complexes, SMMU blocks and GIC ITS blocks in the system.
The changes are to parse and save the information in the IORT table. The API to use this information is added to sys/dev/acpica/acpivar.h.
The acpi_iort.c also has code to check the GIC ITS nodes seen in the IORT table with corresponding entries in MADT table (for validity) and with entries in SRAT table (for proximity information).
Reviewed by: andrew Differential Revision: https://reviews.freebsd.org/D18002
show more ...
|