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.

(cherry picked from commit 1236b04bb7045e541b2343543e356273db20ee56)

Details

Provenance
kevansAuthored on Mar 19 2022, 3:03 AM
Parents
rG22e96af8b472: da.4: Don't document softtimeout
Branches
Unknown
Tags
Unknown