#
705090cb |
| 22-Oct-2024 |
Konstantin Belousov <kib@FreeBSD.org> |
DMAR: handle affinity for in-memory data structures
Reviewed and tested by: markj Sponsored by: Advanced Micro Devices (AMD) Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revis
DMAR: handle affinity for in-memory data structures
Reviewed and tested by: markj Sponsored by: Advanced Micro Devices (AMD) Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D47254
show more ...
|
#
3848dc4f |
| 25-Sep-2024 |
Konstantin Belousov <kib@FreeBSD.org> |
dmar: on unmap, postpone freeing page table pages after the invalidation is done
IOMMU is free to access page tables until we invalidate them
Sponsored by: Advanced Micro Devices (AMD) Sponsored by
dmar: on unmap, postpone freeing page table pages after the invalidation is done
IOMMU is free to access page tables until we invalidate them
Sponsored by: Advanced Micro Devices (AMD) Sponsored by: The FreeBSD Foundation MFC after: 1 week
show more ...
|
#
f713ed66 |
| 25-Sep-2024 |
Konstantin Belousov <kib@FreeBSD.org> |
iommu: extend iommu_map_entry to store the list of associated freed page table pages
The pages are inserted into the added slist if the entry parameter is passed to iommu_pgfree(). For now it is no
iommu: extend iommu_map_entry to store the list of associated freed page table pages
The pages are inserted into the added slist if the entry parameter is passed to iommu_pgfree(). For now it is nop.
Sponsored by: Advanced Micro Devices (AMD) Sponsored by: The FreeBSD Foundation MFC after: 1 week
show more ...
|
#
bdd5eb33 |
| 25-Sep-2024 |
Konstantin Belousov <kib@FreeBSD.org> |
iommu: change iommu_domain_map_ops to take iommu_map_entry
instead of base/size.
Sponsored by: Advanced Micro Devices (AMD) Sponsored by: The FreeBSD Foundation MFC after: 1 week
|
#
10ebd230 |
| 25-Sep-2024 |
Konstantin Belousov <kib@FreeBSD.org> |
intel_idpgtbl.c: rename domain_* functions to dmar_*
Sponsored by: Advanced Micro Devices (AMD) Sponsored by: The FreeBSD Foundation MFC after: 1 week
|
Revision tags: release/13.4.0 |
|
#
09fc33d1 |
| 20-Jul-2024 |
Konstantin Belousov <kib@FreeBSD.org> |
dmar: avoid excessive indirection in KASSERT() in domain_map_buf()
Sponsored by: Advanced Micro Devices (AMD) Sponsored by: The FreeBSD Foundation MFC after: 1 week
|
#
29e22704 |
| 20-Jul-2024 |
Konstantin Belousov <kib@FreeBSD.org> |
x86 iommu: move page level related functions to common utils
Also improve pglvl_page_size() to handle level 6.
Sponsored by: Advanced Micro Devices (AMD) Sponsored by: The FreeBSD Foundation MFC af
x86 iommu: move page level related functions to common utils
Also improve pglvl_page_size() to handle level 6.
Sponsored by: Advanced Micro Devices (AMD) Sponsored by: The FreeBSD Foundation MFC after: 1 week
show more ...
|
#
23145534 |
| 30-Jun-2024 |
Konstantin Belousov <kib@FreeBSD.org> |
DMAR: rename domain_{alloc,free}_pgtbl to domain_domain_$1_pgtbl
Sponsored by: Advanced Micro Devices (AMD) Sponsored by: The FreeBSD Foundation MFC after: 1 week
|
#
7773023b |
| 08-Jul-2024 |
Konstantin Belousov <kib@FreeBSD.org> |
DMAR pagetables pages: handle ref_count special references
Preserve object reference and block bit during refcount arithmetic and obliteration, by using vm_page_wire()/unwire_noq().
Reviewed by: ma
DMAR pagetables pages: handle ref_count special references
Preserve object reference and block bit during refcount arithmetic and obliteration, by using vm_page_wire()/unwire_noq().
Reviewed by: markj Sponsored by: Advanced Micro Devices (AMD) Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D45910
show more ...
|
Revision tags: release/14.1.0 |
|
#
40d951bc |
| 25-May-2024 |
Konstantin Belousov <kib@FreeBSD.org> |
x86/iommu: extract useful utilities into x86_iommu.c
related to the page tables page allocation and mapping.
Sponsored by: The FreeBSD Foundation Sponsored by: Advanced Micro Devices (AMD) MFC afte
x86/iommu: extract useful utilities into x86_iommu.c
related to the page tables page allocation and mapping.
Sponsored by: The FreeBSD Foundation Sponsored by: Advanced Micro Devices (AMD) MFC after: 1 week
show more ...
|
Revision tags: release/13.3.0 |
|
#
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 |
|
#
661bd70b |
| 21-Oct-2021 |
Konstantin Belousov <kib@FreeBSD.org> |
DMAR: clean up warnings about write-only variables
For some of them, used only when KTR or KMSAN are configured, apply __unused attribute directly.
Sponsored by: The FreeBSD Foundation MFC after: 1
DMAR: clean up warnings about write-only variables
For some of them, used only when KTR or KMSAN are configured, apply __unused attribute directly.
Sponsored by: The FreeBSD Foundation MFC after: 1 week
show more ...
|
#
9feff969 |
| 08-Aug-2021 |
Ed Maste <emaste@FreeBSD.org> |
Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights
These ones were unambiguous cases where the Foundation was the only listed copyright holder (in the associated license block).
S
Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights
These ones were unambiguous cases where the Foundation was the only listed copyright holder (in the associated license block).
Sponsored by: The FreeBSD Foundation
show more ...
|
Revision tags: release/13.0.0, release/12.2.0 |
|
#
ab6c81a2 |
| 01-Sep-2020 |
Mateusz Guzik <mjg@FreeBSD.org> |
x86: clean up empty lines in .c and .h files
|
#
440cec3f |
| 12-Aug-2020 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: Rubicon Communications, LLC (netgate.com)
|
#
e383ec74 |
| 06-Aug-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r363739 through r363986.
|
#
16696f60 |
| 06-Aug-2020 |
Ruslan Bukin <br@FreeBSD.org> |
Add iommu_domain constructor and destructor.
Reviewed by: kib Sponsored by: DARPA/AFRL Differential Revision: https://reviews.freebsd.org/D25956
|
#
78b51754 |
| 04-Aug-2020 |
Ruslan Bukin <br@FreeBSD.org> |
Add a few macroses for conversion between DMAR unit, domain, ctx and IOMMU unit, domain, ctx.
Reviewed by: kib Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D25926
|
#
0eed04c8 |
| 01-Aug-2020 |
Ruslan Bukin <br@FreeBSD.org> |
Add iommu_domain_map_ops virtual table with map/unmap methods so x86 can support Intel DMAR and AMD IOMMU simultaneously.
Reviewed by: kib Sponsored by: DARPA/AFRL Differential Revision: https://rev
Add iommu_domain_map_ops virtual table with map/unmap methods so x86 can support Intel DMAR and AMD IOMMU simultaneously.
Reviewed by: kib Sponsored by: DARPA/AFRL Differential Revision: https://reviews.freebsd.org/D25894
show more ...
|
#
c7aa572c |
| 31-Jul-2020 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: Rubicon Communications, LLC (netgate.com)
|
#
17996960 |
| 31-Jul-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r363583 through r363738.
|
#
c8597a1f |
| 30-Jul-2020 |
Ruslan Bukin <br@FreeBSD.org> |
o Don't include headers from iommu.h, include them from the header consumers instead; o Order includes properly.
Reviewed by: kib Sponsored by: DARPA/AFRL Differential Revision: https://reviews.fr
o Don't include headers from iommu.h, include them from the header consumers instead; o Order includes properly.
Reviewed by: kib Sponsored by: DARPA/AFRL Differential Revision: https://reviews.freebsd.org/D25878
show more ...
|
#
15f6baf4 |
| 26-Jul-2020 |
Ruslan Bukin <br@FreeBSD.org> |
Rename DMAR flags: o DMAR_DOMAIN_* -> IOMMU_DOMAIN_* o DMAR_PGF_* -> IOMMU_PGF_*
Reviewed by: kib Sponsored by: DARPA/AFRL Differential Revision: https://reviews.freebsd.org/D25812
|