From nobody Fri Nov 29 18:25:52 2024 Received: from smtpbgbr2.qq.com (smtpbgbr2.qq.com [54.207.22.56]) (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 6CD8C146586; Mon, 16 Sep 2024 09:26:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=54.207.22.56 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726478775; cv=none; b=ZZr2vmh70/fK0W6moUDE9pgdv1LvVD90KQrRRQ7kYVhpjyHTq4XekZDY7OjW/S/X9uMXbop9UMM58oM829dxuVzdRWjU+SEYX85oHZm6VVV7QiDf0QjYuJeRoFhom9E4iCNQPf7HeKhsS6JwE4GqZRfqRvo7Vb368c/fRtju3Rc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726478775; c=relaxed/simple; bh=aQkPuDpvwEae30GhlJo8cTrxC0ZYLwt1xKZE9oUNego=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=f9fIhljv9Lg898axWYhmaR+Rd1WxOBRVf9u6NWRiXzhArLprNLmaLVnvO5jsOJymlYqFXlP61Vs0nDmHlp8Kc5rMvpel2HeiL4porTdlyXVNpSNrTKlhVQaVr3DYbW4WemG1KjwnPN9zneJlxPCTwXKVSYIjdxQye4WQPq9q8Es= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=uniontech.com; spf=pass smtp.mailfrom=uniontech.com; dkim=pass (1024-bit key) header.d=uniontech.com header.i=@uniontech.com header.b=n5Px2110; arc=none smtp.client-ip=54.207.22.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=uniontech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=uniontech.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=uniontech.com header.i=@uniontech.com header.b="n5Px2110" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uniontech.com; s=onoh2408; t=1726478759; bh=5C0HaDNv0z40Dq3FSjo9w53WFVCZuvNtTiGz93K91R0=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=n5Px21108kW6uvaDJUby4SvZrloSti/oICfeoE40G351nbnKXDilLyH+9RRdCkgLt Z9Hexp4Zz0KRgQwwC4VNQjY8QMgCQJY1ihq4YfzQPL3TygCpIN5TifkkiXwG9e1JWF CHHl3ZtGeMG9fAuvvVuXvvmRXwGNZ0wM1KTaNFzA= X-QQ-mid: bizesmtpip3t1726478756ti9l687 X-QQ-Originating-IP: /gJoNUlmd+IboF2jL9DFoR2xzAYrz7MGcmEmwBftpMY= Received: from avenger-OMEN-by-HP-Gaming-Lapto ( [localhost]) by bizesmtp.qq.com (ESMTP) with id ; Mon, 16 Sep 2024 17:25:54 +0800 (CST) X-QQ-SSF: 0000000000000000000000000000000 X-QQ-GoodBg: 1 X-BIZMAIL-ID: 4414229508549440317 From: WangYuli To: stable@vger.kernel.org, gregkh@linuxfoundation.org, sashal@kernel.org, maobibo@loongson.cn, guanwentao@uniontech.com, zhangdandan@uniontech.com, wangyuli@uniontech.com, chenhuacai@loongson.cn Cc: zhaotianrui@loongson.cn, kernel@xen0n.name, kvm@vger.kernel.org, loongarch@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 6.10] LoongArch: KVM: Remove undefined a6 argument comment for kvm_hypercall() Date: Mon, 16 Sep 2024 17:25:46 +0800 Message-ID: <8EFAA3851253EB9A+20240916092546.429464-1-wangyuli@uniontech.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtpip:uniontech.com:qybglogicsvrgz:qybglogicsvrgz8a-1 Content-Type: text/plain; charset="utf-8" From: Dandan Zhang The kvm_hypercall() set for LoongArch is limited to a1-a5. So the mention of a6 in the comment is undefined that needs to be rectified. Reviewed-by: Bibo Mao Signed-off-by: Wentao Guan Signed-off-by: Dandan Zhang Signed-off-by: Huacai Chen Signed-off-by: WangYuli --- 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 4ba2312e5f8c..6d5e9b6c5714 100644 --- a/arch/loongarch/include/asm/kvm_para.h +++ b/arch/loongarch/include/asm/kvm_para.h @@ -28,9 +28,9 @@ * 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) { --=20 2.43.0