HomeFreeBSD

Stop calling gic_v3_detach when we haven't called gic_v3_attach

Description

Stop calling gic_v3_detach when we haven't called gic_v3_attach

The former tries to dereference memory allocated by the latter. If counting
the redistributor fails it may try to dereference memory that was never
allocated.

Sponsored by: Innovate UK

Details

Provenance
andrewAuthored on
Parents
rS367754: Allow the GICv3 ACPI driver to attach to a GICv4
Branches
Unknown
Tags
Unknown