HomeFreeBSD

arm64: gic: disable the ITS if it's enabled prior to configuration

Description

arm64: gic: disable the ITS if it's enabled prior to configuration

The ITS is defined to be disabled on a warm reset, but we may be coming
in via another kernel/hypervisor type setup where the ITS has been
previously configured then relinquished to the next kernel in the chain.

If it's enabled, the later configuration of GITS_BASER will almost
certainly fail -- clear it to prevent that.

Reviewed by: andrew
Sponsored by: Ampere Computing
Submitted by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D34546

Details

Provenance
kevansAuthored on Mar 19 2022, 3:03 AM
Reviewer
andrew
Differential Revision
D34546: arm64: gic: disable the ITS if it's enabled prior to configuration
Parents
rGe9369d5fc923: Correct date in ObsoleteFiles.inc entry
Branches
Unknown
Tags
Unknown