From patchwork Tue Feb 6 04:42:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Song Shuai X-Patchwork-Id: 197184 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp1319669dyb; Mon, 5 Feb 2024 20:43:59 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVL+txHfBXq+0zHbVOUrtJ59O+qjKy8bQBF76lkY7HaNVKOVFFa/Nv/oW6eIU1FZPRc1kSlq0KosuiSzkUQQ2KT7lCiyw== X-Google-Smtp-Source: AGHT+IFrkLjqoDKOqpiLNolNR7auaeZ+7X9gu7nm6UwZ9ckT5Oi/LtgZPtUgR7KmZv+t35/ELMhN X-Received: by 2002:a05:6358:d09b:b0:176:2c3d:fb35 with SMTP id jc27-20020a056358d09b00b001762c3dfb35mr2090552rwb.20.1707194639627; Mon, 05 Feb 2024 20:43:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707194639; cv=pass; d=google.com; s=arc-20160816; b=eUgbTauLJStn7jyYDfRqAMOIQaK5O4yD+HPwjVaeC6K9elGzoFeZ2ywHWTwvZiKKku V+XJt3hCJyJoByjnqcaZH3vJ04UaC8ZZZk4CAbP2HvMZPVYoIDgg6GiaADuXJm9auGIc WDJk/ibk0mh1Rf5yg3mYE3Ch9qs1v44l7fNcthpZT70gW1NzI/oTg+Kfb81C96oIOgkt s8bGGdItN+c4rUiTh2O12WD2WqQrbNzBgeTWoFO+j3DWyNsw3BlChiBfl26F2E+u5SD/ vl3sJTtzOZq5JIA3mQbb6czkzclgjX5ch+uP74+WrQ7Vk1euMGtQ9pxivc/mdSHdBxZX Motg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=feedback-id:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:to:from; bh=bzYNEbG2rADfymlFcdOU2iop0c4tisbQfqlRSruP7Cs=; fh=+emhlVtifu+KVyID7mACh1Sjh9ALIYlje7VMrGU2x2Y=; b=OcaiPNiDtNvApI28X6Ca8ZWyer35nSdtCx/M6U/wTcNILQieQT9HinwxC/IoH1meMC YXTckhe/PJo00f65diC8u4Zxkrl7iT+7308p6jd/sBcI2g3IOl62QNOOySsEgu1fo7S7 2Fm0+4gnugg1zFKN44pflrva7K9UC2AlSdHd0+mqZW+b7hQ6ePujf6zUGakK6cOPQxsB SoooLskMsp9Eiq1UIMO25WQkuzGuOF3AmLzMzvg/4m8iGV/zE+wMu3FKjO6U1zq1dcEU 5uf5U1Bnv+GWkRrAMH7cc/OlkrDn7jRypqY8y/CCj0O0Du1lNme6YKwRWeoHkJ+WBOnI CJaQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=tinylab.org); spf=pass (google.com: domain of linux-kernel+bounces-54325-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54325-ouuuleilei=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCVHh3z9aHNO5VCev2mDSytkg+NjHgAQA5UUhGBWOu/DtzF1b6d8KKn0zC0Uh/2BxQsEQbEWyT8w9uf1eFxEGoo2+OxKXw== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id n38-20020a635c66000000b005d8b313de26si957665pgm.594.2024.02.05.20.43.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 20:43:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54325-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=tinylab.org); spf=pass (google.com: domain of linux-kernel+bounces-54325-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54325-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 86360B21434 for ; Tue, 6 Feb 2024 04:43:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AB7B87C0BB; Tue, 6 Feb 2024 04:42:57 +0000 (UTC) Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.155.65.254]) (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 02C9579DC6 for ; Tue, 6 Feb 2024 04:42:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=43.155.65.254 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707194576; cv=none; b=AAixQWQhsk4ySzxfYWcnRoNqBE5+4c8SbKM3YW/9mCVPEQxsrDyUySpo4M8Ppyo3iHOjCCE5NVCqLqF5Eb7dz1gboq3q+6ynTiLsVrnwFI4rcPcibDCJlQsLdxOuPB1FmW2UdorK0r26WQpbgVFNwf0Qj2jokwLdCS8jeGPBixY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707194576; c=relaxed/simple; bh=nc0jLkuc57sYljrMKMUObIFnwLlI3hm99D6/F9t3tXQ=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=Lu3CW3RtB4bZLD+MgFa93Y1zVXxPhg9L6Eyy6SO+X/XEnMVpEgRbgTwn1mTiyDIe11gOL7iS4Au3nt0l/YYhd/kdv9tQXiKLjebUu6azy1kuka8rcVbmlTYQo4zNewzJIVMZiXlJ/RVpjQl7vAfeIqGyqsM+N4gq5axjxn/P4RI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tinylab.org; spf=pass smtp.mailfrom=tinylab.org; arc=none smtp.client-ip=43.155.65.254 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tinylab.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tinylab.org X-QQ-mid: bizesmtp91t1707194541t9xd589g X-QQ-Originating-IP: pMzahIqg6H5dlPo+vAhyxexMUr3RLOXUZCog16Pyj2M= Received: from ubuntu1.. ( [221.226.144.218]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 06 Feb 2024 12:42:19 +0800 (CST) X-QQ-SSF: 01200000000000B0B000000A0000000 X-QQ-FEAT: 0vfWcIgh24yhEjsGKgTjDSuqmFqO91+wU93WDdBJmkdGhNU+EQTKp6T9wFfHE olJfbkXSl/UD1IDL1lpyYWuZoBKR2L2POs7sSK6FcxK1VX9S/a9GHCXPvGihUkjQxrXQfpL qqUVUzZFca0MGPliNtXrVYcMSvNVHq1WbP7lxKqLNyR21PSIi+AvS/32OST/Zj+5jt7DNng nkRODrT+5JhpFwTTafFJEzFmj8NBCOWbaZbY/46bYa6LWKMFSg+SHcf6JqYY42pj7QRkH05 2tjOmG/3g55LOROKes7bYsuSxZL5+VMzrCv+1pZ8JOSc4NB7xBzPbWZPV/Kv7JkxRBo6hon lcEUggmWI7xYFQel30= X-QQ-GoodBg: 0 X-BIZMAIL-ID: 11924492051614252062 From: Song Shuai To: paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, andy.chiu@sifive.com, ebiggers@google.com, vincent.chen@sifive.com, songshuaishuai@tinylab.org, greentime.hu@sifive.com, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] riscv: vector: Fix a typo of preempt_v Date: Tue, 6 Feb 2024 12:42:17 +0800 Message-Id: <20240206044217.1283849-1-songshuaishuai@tinylab.org> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:tinylab.org:qybglogicsvrsz:qybglogicsvrsz4a-2 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790123326463261067 X-GMAIL-MSGID: 1790123326463261067 The term "preempt_v" represents the RISCV_PREEMPT_V field of riscv_v_flags and is used in lots of comments. Here corrects the miss-spelling "prempt_v". Signed-off-by: Song Shuai Reviewed-by: Andy Chiu --- arch/riscv/include/asm/simd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/riscv/include/asm/simd.h b/arch/riscv/include/asm/simd.h index 54efbf523d49..04baee713eff 100644 --- a/arch/riscv/include/asm/simd.h +++ b/arch/riscv/include/asm/simd.h @@ -36,7 +36,7 @@ static __must_check inline bool may_use_simd(void) /* * Nesting is acheived in preempt_v by spreading the control for * preemptible and non-preemptible kernel-mode Vector into two fields. - * Always try to match with prempt_v if kernel V-context exists. Then, + * Always try to match with preempt_v if kernel V-context exists. Then, * fallback to check non preempt_v if nesting happens, or if the config * is not set. */