Fuad Tabba 9ff67dd26a KVM: arm64: Use generated FGT RES0 bits instead of specifying them
Now that all FGT fields are accounted for and represented, use
the generated value instead of manually specifying them.

For __HFGWTR_EL2_RES0, however, there is no generated value. Its
fields are subset of HFGRTR_EL2, with the remaining being RES0.
Therefore, add a mask that represents the HFGRTR_EL2 only bits
and define __HFGWTR_EL2_* using those and the __HFGRTR_EL2_*
fields.

No functional change intended.

Signed-off-by: Fuad Tabba <tabba@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20231214100158.2305400-13-tabba@google.com
2023-12-18 11:25:51 +00:00
..
2023-11-03 15:44:25 -10:00
2023-11-04 08:07:19 -10:00
2023-11-03 15:44:25 -10:00
2023-11-01 15:28:33 -10:00
2023-11-10 16:35:04 -08:00
2023-09-05 10:09:31 -07:00
2023-11-12 10:50:38 -08:00
2023-11-22 13:55:13 +01:00
2023-11-03 15:44:25 -10:00