powerpc/hvcall: Reorder Nestedv2 hcall opcodes
authorVaibhav Jain <vaibhav@linux.ibm.com>
Tue, 19 Dec 2023 09:22:36 +0000 (14:52 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 21 Dec 2023 11:13:06 +0000 (22:13 +1100)
commiteb8446e164572180c2cd0ea4e8494e4419202396
tree06d83119a0422811dc825525571723c5a3738681
parentccc0f7b7673e63139ba9d916f4567d4fadb14b55
powerpc/hvcall: Reorder Nestedv2 hcall opcodes

Reorder the newly introduced hcall opcodes for Nestedv2 to follow the
increasing-opcode-number convention followed in 'hvcall.h'.

Also updates the value for MAX_HCALL_OPCODE which is used in various
places in arch code for range checking. Notably in the KVM enabled-hcall
logic, and in hcall tracing.

Fixes: 19d31c5f1157 ("KVM: PPC: Add support for nestedv2 guests")
Suggested-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Vaibhav Jain <vaibhav@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231219092309.118151-1-vaibhav@linux.ibm.com
arch/powerpc/include/asm/hvcall.h