HomeFreeBSD

arm64/vgic_v3: Fix an inverted test when reading GICD_I<C|S>ENABLER

Description

arm64/vgic_v3: Fix an inverted test when reading GICD_I<C|S>ENABLER

On read, these registers' fields return 1 if forwarding of the
corresponding interrupt is enabled, and 0 otherwise. The test in
read_enabler() was inverted.

Reported by: Kevin Day <kevin@your.org>
Reviewed by: andrew
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D54678

Details

Provenance
markjAuthored on Jan 15 2026, 2:04 PM
Reviewer
andrew
Differential Revision
D54678: arm64/vgic_v3: Fix an inverted test when reading GICD_I<C|S>ENABLER
Parents
rG251662e5abdd: linuxkpi: Clean up linux_shmem_file_setup() a bit
Branches
Unknown
Tags
Unknown