OSDN Git Service

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)
commit290a6bb06de9ec24cecbb11bf4be35411d0b2625
tree93b43ab6bdf6cd06713072ccd55c029022c10ab7
parent0e20f5e25556c00ee813469d373b00abcf298708
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