mbox series

[0/2] KVM/arm64: sys_reg_table_init() small improvements

Message ID 20220425163904.859195-1-alexandru.elisei@arm.com (mailing list archive)
Headers show
Series KVM/arm64: sys_reg_table_init() small improvements | expand

Message

Alexandru Elisei April 25, 2022, 4:39 p.m. UTC
These are two small improvements to how KVM handles an out-of-order
sys_reg_desc table. These should only affect KVM developers, as the end
user should never see an error caused by an unsorted sys_reg_desc table.

Alexandru Elisei (2):
  KVM/arm64: Don't BUG_ON() if emulated register table is unsorted
  KVM/arm64: Print emulated register table name when it is unsorted

 arch/arm64/include/asm/kvm_host.h |  2 +-
 arch/arm64/kvm/arm.c              |  7 ++++--
 arch/arm64/kvm/sys_regs.c         | 37 ++++++++++++++++++-------------
 3 files changed, 28 insertions(+), 18 deletions(-)