Marc Zyngier c885793558 KVM: arm64: Refactor filtering of ID registers
Our current ID register filtering is starting to be a mess of if()
statements, and isn't going to get any saner.

Let's turn it into a switch(), which has a chance of being more
readable, and introduce a FEATURE() macro that allows easy generation
of feature masks.

No functionnal change intended.

Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Alexandru Elisei <alexandru.elisei@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
2021-02-03 11:00:01 +00:00
..
2020-12-20 10:44:05 -08:00
2020-12-20 10:44:05 -08:00
2020-11-10 11:22:52 +00:00
2020-11-10 11:22:52 +00:00
2020-12-20 10:44:05 -08:00