]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: KVM: Add UAPI notes for swapped registers
authorAndrew Jones <drjones@redhat.com>
Mon, 20 Jan 2020 13:08:25 +0000 (14:08 +0100)
committerMarc Zyngier <maz@kernel.org>
Thu, 23 Jan 2020 10:38:14 +0000 (10:38 +0000)
commite0e60f805c24c02e4e53dff337a1ede1e50610e6
tree93b43ab6bdf6cd06713072ccd55c029022c10ab7
parentb12b5cb659bfdf15253df8ff8b53028a8ec25836
arm64: KVM: Add UAPI notes for swapped registers

Two UAPI system register IDs do not derive their values from the
ARM system register encodings. This is because their values were
accidentally swapped. As the IDs are API, they cannot be changed.
Add WARNING notes to point them out.

Suggested-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Andrew Jones <drjones@redhat.com>
[maz: turned XXX into WARNING]
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200120130825.28838-1-drjones@redhat.com
Documentation/virt/kvm/api.txt
arch/arm64/include/uapi/asm/kvm.h