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. Changes in v2: * Tweaked how the error is detected and propagated in kvm_arch_init(). * Use %pS to print the table name and entry offset (Marc). * Tweaked the error message to spell out that magic number refers to the offending entry. 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 | 8 +++++-- arch/arm64/kvm/sys_regs.c | 35 ++++++++++++++++++------------- 3 files changed, 27 insertions(+), 18 deletions(-) -- 2.36.0 _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/mailman/listinfo/kvmarm