HomeFreeBSD

arm/gic: fix a KASSERT in arm_gic_reserve_msi_range()

Description

arm/gic: fix a KASSERT in arm_gic_reserve_msi_range()

Fix the off-by-one in the KASSERT in arm_gic_reserve_msi_range()
allowing the MSIs being allocated at the end of the IRQ range.

Reported by: bz
Submitted by: andrew
Reviewed by: andrew
Differential Revision: https://reviews.freebsd.org/D36291

(cherry picked from commit 11d08e7e8d6ca4de0852b2998593a295b04cb567)

Details

Provenance
bzAuthored on Aug 22 2022, 11:51 AM
Reviewer
andrew
Differential Revision
D36291: arm/gic: fix a KASSERT in arm_gic_reserve_msi_range()
Parents
rGa5a49aedc639: Use the cached dc zva length in arm64 memset
Branches
Unknown
Tags
Unknown