mbox series

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

Message ID 20200924123731.268177-1-alexandru.elisei@arm.com (mailing list archive)
Headers show
Series KVM: arm64: Documentation updates | expand

Message

Alexandru Elisei Sept. 24, 2020, 12:37 p.m. UTC
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(-)

Comments

Marc Zyngier Sept. 30, 2020, 7:31 a.m. UTC | #1
On Thu, 24 Sep 2020 13:37:29 +0100, Alexandru Elisei wrote:
> 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.
> 
> [...]

Applied to next, thanks!

[1/2] KVM: arm64: Add undocumented return values for PMU device control group
      commit: af130d0adc8e48c73030c0d71a59ce1f7809a8fa
[2/2] KVM: arm64: Match PMU error code descriptions with error conditions
      commit: 51dd2eb98c72c1ff4cdb1526fff9a259a563c257

Cheers,

	M.