mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] KVM: Loongarch: Remove undefined a6 argument comment for kvm_hypercall
@ 2024-07-25 13:48 Dandan Zhang
  2024-07-26  1:49 ` maobibo
  2024-07-31  6:05 ` WangYuli
  0 siblings, 2 replies; 11+ messages in thread
From: Dandan Zhang @ 2024-07-25 13:48 UTC (permalink / raw)
  To: zhaotianrui, maobibo, chenhuacai, kernel
  Cc: kvm, loongarch, linux-kernel, wangyuli, Dandan Zhang, Wentao Guan

The kvm_hypercall set for LoongArch is limited to a1-a5.
The mention of a6 in the comment is undefined that needs to be rectified.

Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
Signed-off-by: Dandan Zhang <zhangdandan@uniontech.com>
---
 arch/loongarch/include/asm/kvm_para.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/loongarch/include/asm/kvm_para.h b/arch/loongarch/include/asm/kvm_para.h
index 335fb86778e2..43ec61589e6c 100644
--- a/arch/loongarch/include/asm/kvm_para.h
+++ b/arch/loongarch/include/asm/kvm_para.h
@@ -39,9 +39,9 @@ struct kvm_steal_time {
  * Hypercall interface for KVM hypervisor
  *
  * a0: function identifier
- * a1-a6: args
+ * a1-a5: args
  * Return value will be placed in a0.
- * Up to 6 arguments are passed in a1, a2, a3, a4, a5, a6.
+ * Up to 5 arguments are passed in a1, a2, a3, a4, a5.
  */
 static __always_inline long kvm_hypercall0(u64 fid)
 {
-- 
2.43.4


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-08-06  7:45 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-25 13:48 [PATCH] KVM: Loongarch: Remove undefined a6 argument comment for kvm_hypercall Dandan Zhang
2024-07-26  1:49 ` maobibo
2024-07-26  2:55   ` Huacai Chen
2024-07-26  3:09     ` WangYuli
2024-07-26  3:34     ` maobibo
2024-07-26  6:32       ` Huacai Chen
2024-07-26  6:50         ` maobibo
2024-07-29  3:03           ` WangYuli
2024-07-29  3:49             ` maobibo
2024-08-06  7:45             ` Huacai Chen
2024-07-31  6:05 ` WangYuli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®