History log of /freebsd/sys/x86/iommu/x86_iommu.h (Results 1 – 15 of 15)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# d97838b7 03-Nov-2024 Konstantin Belousov <kib@FreeBSD.org>

iommu: eliminate iommu_free_ctx()

iommu_free_ctx_locked() alone is enough

Sponsored by: Advanced Micro Devices (AMD)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week


# b08d332d 13-Oct-2024 Konstantin Belousov <kib@FreeBSD.org>

devices: report iommu data for the device in the dev. sysctl tree

Show the iommu unit' device name/unit which translates the device'
requests, if any, as parsed out from the BIOS tables.
Also show t

devices: report iommu data for the device in the dev. sysctl tree

Show the iommu unit' device name/unit which translates the device'
requests, if any, as parsed out from the BIOS tables.
Also show the rid value for the device.

Sponsored by: Advanced Micro Devices (AMD)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D47098

show more ...


# c9e22c74 12-Oct-2024 Konstantin Belousov <kib@FreeBSD.org>

iommu: extract driver-independent ddb context and mapping reporting

Sponsored by: Advanced Micro Devices (AMD)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week


# e9d948cf 12-Oct-2024 Konstantin Belousov <kib@FreeBSD.org>

iommu: move context link and ref count into device-independent parts

This also allows to move some bits of ddb print routines into
iommu_utils.c common for x86 iommu drivers.

Sponsored by: Advanced

iommu: move context link and ref count into device-independent parts

This also allows to move some bits of ddb print routines into
iommu_utils.c common for x86 iommu drivers.

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 ...


Revision tags: release/13.4.0
# ba33e74c 27-Jul-2024 Konstantin Belousov <kib@FreeBSD.org>

busdma_iommu: indirect dmar-specific method calls in iommu_get_dev_ctx()

Sponsored by: Advanced Micro Devices (AMD)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week


# 0386b245 23-Aug-2024 Konstantin Belousov <kib@FreeBSD.org>

DMAR: move hw.iommu.dmar.{tbl_pagecnt,batch_coalesce} sysctls up one level

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 ...


# b3042e3a 07-Jul-2024 Konstantin Belousov <kib@FreeBSD.org>

x86 dmar: generalize dmar_domain_free_entry() into iommu_domain_free_entry()

Sponsored by: Advanced Micro Devices (AMD)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week


# ff54674b 30-Jun-2024 Konstantin Belousov <kib@FreeBSD.org>

x86 iommu: move device_tag_init() to utils

Sponsored by: Advanced Micro Devices (AMD)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week


# 5967352a 09-Jun-2024 Konstantin Belousov <kib@FreeBSD.org>

x86 iommu: move DMAR-independent parts of the interrupt setup code into common

Sponsored by: Advanced Micro Devices (AMD)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week


# fc8da73b 09-Jun-2024 Konstantin Belousov <kib@FreeBSD.org>

x86 iommu x86_unit_common: expand hw completion write-out area to 8 bytes

in preparation to share it with AMD IOMMU. AMD writes out 8 bytes. We
use 32-bit completion sequence numbers, and CPUs are l

x86 iommu x86_unit_common: expand hw completion write-out area to 8 bytes

in preparation to share it with AMD IOMMU. AMD writes out 8 bytes. We
use 32-bit completion sequence numbers, and CPUs are little-endian. So
the expansion is acceptable on Intel.

Sponsored by: Advanced Micro Devices (AMD)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

show more ...


# ad794e6d 06-Jun-2024 Konstantin Belousov <kib@FreeBSD.org>

x86 iommu: move DMAR-independent parts of the qi code into common

Sponsored by: Advanced Micro Devices (AMD)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week


Revision tags: release/14.1.0
# 65b133e5 29-May-2024 Konstantin Belousov <kib@FreeBSD.org>

x86: allow to have more than one kind of IOMMU

Sponsored by: Advanced Micro Devices (AMD)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week


# 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 ...