HomeFreeBSD

gicv3_its: Flush cache after allocating ITT memory

Description

gicv3_its: Flush cache after allocating ITT memory

It has to be zeroed before committing it to device.
We do that by allocating it with M_ZERO, but there was no
memory barrier or cache flush to ensure its sees it zeroed.
This fixes MSIX on LS1028A SoC.

Submitted by: Kornel Duleba <mindal@semihalf.com>
Reviewed by: andrew
Obtained from: Semihalf
Sponsored by: Alstom Group
Differential Revision: https://reviews.freebsd.org/D30033

Details

Provenance
mwAuthored on Apr 29 2021, 9:39 AM
Reviewer
andrew
Differential Revision
D30033: gicv3_its: Flush cache after allocating ITT memory
Parents
rG2f32a971b7f9: Wait longer for a previous IPI to be sent
Branches
Unknown
Tags
Unknown