OpenBSD cvs log

created 2021-03-20T22:46:18Z
begin 2021-03-15T00:00:00Z
end 2021-03-16T00:00:00Z
path src/sys
commits 7

date 2021-03-15T15:49:20Z
author deraadt
files src/sys/arch/macppc/include/vmparam.h log diff annotate
message Don't put an extern variable (ppc_kvm_stolen) into vmparam.h, other instances
of this file are only doing cpp #define

date 2021-03-15T15:49:22Z
author deraadt
files src/sys/arch/powerpc/powerpc/pmap.c log diff annotate
message Don't put an extern variable (ppc_kvm_stolen) into vmparam.h, other instances
of this file are only doing cpp #define

date 2021-03-15T17:28:45Z
author florian
files src/sys/netinet6/in6_ifattach.c log diff annotate
message Clear AUTOCONF6TEMP flag when we detach inet6.

date 2021-03-15T22:40:23Z
author patrick
files src/sys/dev/acpi/acpireg.h log diff annotate
message Add the IORT structure for named components. These give us the stream ids
used towards an smmu(4) for non-PCI devices. The references are provided
as ASCII printable paths.

ok kettenis@

date 2021-03-15T22:44:57Z
author patrick
files src/sys/arch/amd64/amd64/acpi_machdep.c log diff annotate
src/sys/arch/arm64/arm64/acpi_machdep.c log diff annotate
src/sys/arch/i386/i386/acpi_machdep.c log diff annotate
src/sys/dev/acpi/acpi.c log diff annotate
src/sys/dev/acpi/acpivar.h log diff annotate
message Add acpi_iommu_device_map(), which replaces the DMA tag with one that
is blessed with IOMMU magic, if available. This is mainly for arm64,
since on amd64 and i386 the IOMMU only captures PCIe devices, as far
as I know, which uses the pci_probe_device_hook(). This though is for
non-PCI devices attached through ACPI.

ok kettenis@

date 2021-03-15T22:48:57Z
author patrick
files src/sys/arch/arm64/dev/acpiiort.c log diff annotate
src/sys/arch/arm64/dev/acpiiort.h log diff annotate
src/sys/arch/arm64/dev/acpipci.c log diff annotate
src/sys/arch/arm64/dev/smmu.c log diff annotate
src/sys/arch/arm64/dev/smmu_acpi.c log diff annotate
src/sys/arch/arm64/dev/smmu_fdt.c log diff annotate
src/sys/arch/arm64/dev/smmuvar.h log diff annotate
message Change API of acpiiort(4). It was written as a hook before, taking the
PCI attach args and replacing the DMA tag inside. Our other IOMMU API
though takes a DMA tag and returns the old one or a new one. To have
acpiiort(4) integrate better with non-PCI ACPI devices, change the API
so that it is more similar to the other API. This also makes the code
easier to understand.

ok kettenis@

date 2021-03-15T22:56:48Z
author patrick
files src/sys/arch/arm64/arm64/acpi_machdep.c log diff annotate
src/sys/arch/arm64/dev/acpiiort.c log diff annotate
src/sys/arch/arm64/dev/acpiiort.h log diff annotate
message Add code to acpiiort(4) to look up named components in the IORT and
map them. This makes ACPI's call to acpi_iommu_device_map() do work
through acpiiort(4).

ok kettenis@