HomeFreeBSD

DMAR: clear dmar_devs[unit] if attach failed

Description

DMAR: clear dmar_devs[unit] if attach failed

This should stop attempts to use a unit which was not completely
initialized, but referenced by ACPI DMAR table during scoped devices
operions.

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

Details

Provenance
kibAuthored on Aug 20 2024, 2:41 PM
Differential Revision
D46382: DMAR: clear dmar_devs[unit] if attach failed
Parents
rG40bffb7d2124: rangelocks: fix typo in rl_w_validate
Branches
Unknown
Tags
Unknown