diff options
author | Christoffer Dall <cdall@cs.columbia.edu> | 2013-04-22 21:57:46 -0400 |
---|---|---|
committer | Christoffer Dall <cdall@cs.columbia.edu> | 2013-04-29 01:23:13 -0400 |
commit | aa404ddf952fa59c07575529ce93435538a3aebe (patch) | |
tree | a0c21b438a1a04b5ae2243c0ae3937d0313cbeb7 /Documentation/virtual/kvm/api.txt | |
parent | 3de50da6901521f9e520b8eb47d092779512e83c (diff) |
KVM: ARM: Fix API documentation for ONE_REG encoding
Unless I'm mistaken, the size field was encoded 4 bits off and a wrong
value was used for 64-bit FP registers.
Signed-off-by: Christoffer Dall <cdall@cs.columbia.edu>
Diffstat (limited to 'Documentation/virtual/kvm/api.txt')
-rw-r--r-- | Documentation/virtual/kvm/api.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Documentation/virtual/kvm/api.txt b/Documentation/virtual/kvm/api.txt index c09d1832e935..59fd9e6a5366 100644 --- a/Documentation/virtual/kvm/api.txt +++ b/Documentation/virtual/kvm/api.txt | |||
@@ -1814,22 +1814,22 @@ ARM registers are mapped using the lower 32 bits. The upper 16 of that | |||
1814 | is the register group type, or coprocessor number: | 1814 | is the register group type, or coprocessor number: |
1815 | 1815 | ||
1816 | ARM core registers have the following id bit patterns: | 1816 | ARM core registers have the following id bit patterns: |
1817 | 0x4002 0000 0010 <index into the kvm_regs struct:16> | 1817 | 0x4020 0000 0010 <index into the kvm_regs struct:16> |
1818 | 1818 | ||
1819 | ARM 32-bit CP15 registers have the following id bit patterns: | 1819 | ARM 32-bit CP15 registers have the following id bit patterns: |
1820 | 0x4002 0000 000F <zero:1> <crn:4> <crm:4> <opc1:4> <opc2:3> | 1820 | 0x4020 0000 000F <zero:1> <crn:4> <crm:4> <opc1:4> <opc2:3> |
1821 | 1821 | ||
1822 | ARM 64-bit CP15 registers have the following id bit patterns: | 1822 | ARM 64-bit CP15 registers have the following id bit patterns: |
1823 | 0x4003 0000 000F <zero:1> <zero:4> <crm:4> <opc1:4> <zero:3> | 1823 | 0x4030 0000 000F <zero:1> <zero:4> <crm:4> <opc1:4> <zero:3> |
1824 | 1824 | ||
1825 | ARM CCSIDR registers are demultiplexed by CSSELR value: | 1825 | ARM CCSIDR registers are demultiplexed by CSSELR value: |
1826 | 0x4002 0000 0011 00 <csselr:8> | 1826 | 0x4020 0000 0011 00 <csselr:8> |
1827 | 1827 | ||
1828 | ARM 32-bit VFP control registers have the following id bit patterns: | 1828 | ARM 32-bit VFP control registers have the following id bit patterns: |
1829 | 0x4002 0000 0012 1 <regno:12> | 1829 | 0x4020 0000 0012 1 <regno:12> |
1830 | 1830 | ||
1831 | ARM 64-bit FP registers have the following id bit patterns: | 1831 | ARM 64-bit FP registers have the following id bit patterns: |
1832 | 0x4002 0000 0012 0 <regno:12> | 1832 | 0x4030 0000 0012 0 <regno:12> |
1833 | 1833 | ||
1834 | 4.69 KVM_GET_ONE_REG | 1834 | 4.69 KVM_GET_ONE_REG |
1835 | 1835 | ||