opnsense-src/sys/amd64
Ka Ho Ng b5c74dfd64 vmm: Fix AMD-vi using wrong rid range
The ACPI parsing code around rid range was wrong on assuming there is
only one pair of start/end device id range. Besides, ivhd_dev_parse()
never work as supposed. The start/end rid info was always zero.

Restructure the code to build dynamic-sized tables for each IOMMU softc
holding device entries. The device entries are enumerated to find a
suitable IOMMU unit. Operations on devices not governed (e.g. the IOMMU
unit itself) are no-op from now on. There are also a minor fix on wrong
%b formatting string usage.

Tested on my EPYC 7282.

Sponsored by:	The FreeBSD Foundation
Reviewed by:	grehan
Differential Revision:	https://reviews.freebsd.org/D30827
2021-07-14 01:53:10 +08:00
..
acpica acpi: Make nexus_acpi quiet on amd64 and i386 2021-03-05 12:54:00 -05:00
amd64 Revert "Pass the syscall number to capsicum permission-denied signals" 2021-07-10 20:26:01 +01:00
cloudabi32 Revert "Pass the syscall number to capsicum permission-denied signals" 2021-07-10 20:26:01 +01:00
cloudabi64 Revert "Pass the syscall number to capsicum permission-denied signals" 2021-07-10 20:26:01 +01:00
conf igc(4): Introduce new driver for the Intel I225 Ethernet controller. 2021-07-12 14:57:18 +10:00
ia32 Revert "Pass the syscall number to capsicum permission-denied signals" 2021-07-10 20:26:01 +01:00
include Revert "Pass the syscall number to capsicum permission-denied signals" 2021-07-10 20:26:01 +01:00
linux Revert "Pass the syscall number to capsicum permission-denied signals" 2021-07-10 20:26:01 +01:00
linux32 Revert "Pass the syscall number to capsicum permission-denied signals" 2021-07-10 20:26:01 +01:00
pci pci_cfgreg.c: Use io port config access for early boot time. 2019-04-09 18:07:17 +00:00
sgx Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
vmm vmm: Fix AMD-vi using wrong rid range 2021-07-14 01:53:10 +08:00
Makefile