From patchwork Thu Jul 25 13:48:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dandan Zhang X-Patchwork-Id: 13741957 Received: from smtpbgbr1.qq.com (smtpbgbr1.qq.com [54.207.19.206]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 15A7E13AA36; Thu, 25 Jul 2024 13:49:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=54.207.19.206 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721915384; cv=none; b=VVpvn/60udELsZexqP1yACsCscOTlVHfK7vFZWDP3Uz829N/WVRQPRLI3Sd9XlhSv2NkgHf7SByY2cyA3L8iQNJDda75354qH0b1BC4N68500Kpp6wffuZfXOOaktqaTm1wR0q7OwNloUnYZW3ZHcKnPKKCxfiFhRReFsMFnSPA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721915384; c=relaxed/simple; bh=mlnvQkZF8haoVtd03wlfeODswdiv6cYjuNDKaho37bU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=svRFSMmXSKclOOSKPxc77YP0JE2j+syl4p77gTf+03RG4mcgWit3YRf1slceS114Mo8IWuRDZfddRash92EnvybyckaQoJkRkQHFPLBQ+Rf5BJuK/4A50Hcd7te+7bbJSJagdJ7b44dh0IheTaI8JouZSnBQmn98CnNAPsiQfZ0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=uniontech.com; spf=pass smtp.mailfrom=uniontech.com; arc=none smtp.client-ip=54.207.19.206 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=uniontech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=uniontech.com X-QQ-mid: bizesmtpsz10t1721915305t6fofr X-QQ-Originating-IP: I9iGX2cphYkxFE07t+CqcFR1Z6bXblmwSD3nkC9paCk= Received: from localhost.localdomain ( [113.57.152.160]) by bizesmtp.qq.com (ESMTP) with id ; Thu, 25 Jul 2024 21:48:23 +0800 (CST) X-QQ-SSF: 0000000000000000000000000000000 X-QQ-GoodBg: 1 X-BIZMAIL-ID: 138238057667816493 From: Dandan Zhang To: zhaotianrui@loongson.cn, maobibo@loongson.cn, chenhuacai@kernel.org, kernel@xen0n.name Cc: kvm@vger.kernel.org, loongarch@lists.linux.dev, linux-kernel@vger.kernel.org, wangyuli@uniontech.com, Dandan Zhang , Wentao Guan Subject: [PATCH] KVM: Loongarch: Remove undefined a6 argument comment for kvm_hypercall Date: Thu, 25 Jul 2024 21:48:20 +0800 Message-ID: <6D5128458C9E19E4+20240725134820.55817-1-zhangdandan@uniontech.com> X-Mailer: git-send-email 2.43.4 Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtpsz:uniontech.com:qybglogicsvrgz:qybglogicsvrgz8a-0 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 Signed-off-by: Dandan Zhang Reviewed-by: Bibo Mao --- 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) {