]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Clear the indirect flag in the GICv3 ITS driver
authorAndrew Turner <andrew@FreeBSD.org>
Tue, 4 Oct 2022 11:46:24 +0000 (12:46 +0100)
committerAndrew Turner <andrew@FreeBSD.org>
Mon, 23 Jan 2023 12:36:27 +0000 (12:36 +0000)
commit39c0645817579e56683d00d38d3290a2c0b5f2cf
tree8c5761333e4304e172b4b751282ceeb72a3de14c
parentb3a94d46752d23ca75f698dce01bbb4ac33f43c8
Clear the indirect flag in the GICv3 ITS driver

Summary:
The indirect flag tells the hardware to use a flat or two level table.
As we only support using the flat table ensure the flag that marks
which is in use is set correctly.

We can't rely on this being set correctly as some firmware may set the
indirect flag, e.g. booting from LinuxBoot.

Reviewed by: imp
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D36873

(cherry picked from commit a0a4f5cf17236c7245250d1a9ec6fe39286f4a25)
sys/arm64/arm64/gic_v3_reg.h
sys/arm64/arm64/gicv3_its.c