[PATCH v2 0/2] KVM: arm64: Documentation updates

Alexandru Elisei alexandru.elisei at arm.com
Thu Sep 24 08:37:29 EDT 2020


I noticed some discrepancies between the error codes returned by KVM PMU
emulation and the documentation, this is my attempt at fixing them.

The code is from the original implementation of KVM PMU, and I thought it
would be more prudent to modify the documentation to match the code instead
of the other way around.

Changes since v1:
- Added Reviewed-by from Andrew Jones for #1. Thank you!
- Changed -ENXIO description for KVM_ARM_VCPU_PMU_V3_IRQ in #2 to take into
  account the case where KVM_GET_DEVICE_ATTR is called and the irq number
  is not set.

Alexandru Elisei (2):
  KVM: arm64: Add undocumented return values for PMU device control
    group
  KVM: arm64: Match PMU error code descriptions with error conditions

 Documentation/virt/kvm/devices/vcpu.rst | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

-- 
2.28.0




More information about the linux-arm-kernel mailing list