diff options
| author | Marc Zyngier <maz@kernel.org> | 2026-02-02 18:43:20 +0000 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-02-05 09:01:41 +0000 |
| commit | ad90512f12fef5506d1f72cdfbd720eb701eab8c (patch) | |
| tree | 364ae2c6723a2d31bb01c560babe84a2227f362c /rust/alloc/collections/git@git.tavy.me:linux.git | |
| parent | 8d94458263bb2d44d8ba461327a1e18c05cfc453 (diff) | |
KVM: arm64: Add REQUIRES_E2H1 constraint as configuration flags
A bunch of EL2 configuration are very similar to their EL1 counterpart,
with the added constraint that HCR_EL2.E2H being 1.
For us, this means HCR_EL2.E2H being RES1, which is something we can
statically evaluate.
Add a REQUIRES_E2H1 constraint, which allows us to express conditions
in a much simpler way (without extra code). Existing occurrences are
converted, before we add a lot more.
Reviewed-by: Fuad Tabba <tabba@google.com>
Tested-by: Fuad Tabba <tabba@google.com>
Link: https://patch.msgid.link/20260202184329.2724080-12-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
