Message ID | 20240221100252.3990445-1-songshuaishuai@tinylab.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-74498-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp942033dyc; Wed, 21 Feb 2024 02:11:08 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU/K0nbyYBUY39KlduvRjeEw6glt6Kpqxc9y7aiwyL4K7teYXW0dgOYBPchiN/BLCibpIW619l0GdY7Oot8tzuMD92dHw== X-Google-Smtp-Source: AGHT+IGfjqv463drGX2YIuxCnvrkkrz/fbXmLUdDKRzHg7W5LkYbCiDCmidBxgvjNFf+zLDsq44F X-Received: by 2002:a05:6870:e0d2:b0:21e:5827:9483 with SMTP id a18-20020a056870e0d200b0021e58279483mr18177804oab.29.1708510268193; Wed, 21 Feb 2024 02:11:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708510268; cv=pass; d=google.com; s=arc-20160816; b=UJB7reWqtaKM3g++MZdqCoY8rNkwoA5FyIVJfoD4qBkijGQfXOSc+gjNQMuxHcsMn3 C76atEx7Ucz5MJFWQm4KQpF4S68mXdP/65krjCwlnwpl3Dp/7k191+SCLRMucpQfZW+w 6t2dc2YFXA6oB5+eTlpS7JFO8+ZMfWBenqEWcyks7cZ+jlUVhnvohAHMpTvOToClhg09 RR654I5HKXcVdZFEDa05XqTI9lpwrmugJT9LDxXPs27/up50xDz9PTb0yxiKzRI1ma+m Hd2C7v2x2TaA+pCojkgwc4m5ekR0eVZKTlCK1t4i7pjqpEbmBGWDZ+50gLLaJ93tRrho 2New== 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:cc:to :from; bh=POlmOJ/xVH7LYR5bVbT/k5WC/4nvaLPqdaa6dzc5oBM=; fh=pYEc426M1NpesUEWuyUn7b0Bs+B26rsXeicoXOUWS9k=; b=LyZq0vag9woVu4MLh9U04GrkNolfR129smlxaQcJoATiJYLabFQkV+ABrDF4iRpnMt kNrSkJTCQT1sn/Ndg9Pb6hcSfD5vCD53qsGVf2dzY4iT9rFbQAbYCOkvgRg/eiyt0sNL AGQXz0yYvjJuIIHoMz+fe7wvumJ0vUfN6SDqNccT6u5NjoMU9XDMQ+ckbz8zwcp57FiC uRbfCJr6bq+kKyLF+yTUBNRqUYOIieVMMQHmFY6fQTLuDckK5SJXcGjruG9PF3LfUuRO H07/YaTeqltinBgTScZCAhVppNmSoMVIXffsK3nzOJe71VM+jErZF6tPwTQpZF71xgiI rlsA==; 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-74498-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74498-ouuuleilei=gmail.com@vger.kernel.org" Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id q16-20020a656850000000b005dbec3481efsi7909026pgt.91.2024.02.21.02.11.08 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 02:11:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-74498-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=tinylab.org); spf=pass (google.com: domain of linux-kernel+bounces-74498-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74498-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 25A5F287F68 for <ouuuleilei@gmail.com>; Wed, 21 Feb 2024 10:06:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7C37E3D560; Wed, 21 Feb 2024 10:04:55 +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 9EDC23D965 for <linux-kernel@vger.kernel.org>; Wed, 21 Feb 2024 10:04:49 +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=1708509893; cv=none; b=VET+CPSUWInqOCEPNrPUUoQGmPP5Esxz1bJJ+fj+zT45fYXQLveXNB64eA054h+/URlxn5dDl1ecg+9VYBvX5hKUOgSVNDX8FhpaENO+r/ke/4gkllqvmepFXrIHANA+HrwVvDZZpamLsCB6F6mQYGFSK3KQNovfGVeP/cykQhk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708509893; c=relaxed/simple; bh=RMLx0DOlR6d8tmi9pMcIaBeoejWyA37IhHX8Be6XsDM=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=umJoQeJNzGFHOfSgP7Ww/61Fy44NtzWh5YEWfZQZuuSZf/SPlXSXNbPyggv13ThCGIhIAeDc2kx03RTJ68lE4RT1KdAfqYu554wt9+vwWjjzjMsplstG+xvYMw1+97/yqMi/zQ+keqaOj0a0YpMkEC44rHGrukMNqINRJ+yGqoM= 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: bizesmtp79t1708509791tffdlfxc X-QQ-Originating-IP: hZ5w7OPc1Pp86+CkyB3tl09awzp4C34FMga0zrF7TLo= Received: from ubuntu1.. ( [221.226.144.218]) by bizesmtp.qq.com (ESMTP) with id ; Wed, 21 Feb 2024 18:03:09 +0800 (CST) X-QQ-SSF: 01200000000000B0B000000A0000000 X-QQ-FEAT: C46Rb8GPIEdPMTROtMOZN6nemes7t5ZwikAXs3JSN5ZREdpnZoH+yMSsiy3X3 2zkr3jRvn/gzVABgxzc3QJkIk2UKXHjs9d/ZCOMC4IgwFRvy294Bt3lvNmR2us87eGtjrMk qKKWrSgIcXajT/Yp4RVc8Um9sEdBp7Sey+bwv7O394Q0bP0UJlE6TgC5OcFD3V/3DzRCMJ3 jr3NvicWNxtebFmxdyrqnzq4hQB9KnLHju69ppHjDO7C1erx0qdWC4B6hO9+gtaQCrGS+aY L9tKwiT4xqDqRC7aruaYwsWTP31kfo6UvMtJH+PwbkfPFk1r8MdN4L8t/dxLnJYlvJaaaMi /9eDaaE88b3I+cyZPpXbMpZ8Lg90g== X-QQ-GoodBg: 0 X-BIZMAIL-ID: 3370517727250236861 From: Song Shuai <songshuaishuai@tinylab.org> 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 Cc: Andy Chiu <andybnac@gmail.com> Subject: [PATCH V2] riscv: vector: Fix a typo of preempt_v Date: Wed, 21 Feb 2024 18:02:52 +0800 Message-Id: <20240221100252.3990445-1-songshuaishuai@tinylab.org> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:tinylab.org:qybglogicsvrsz:qybglogicsvrsz4a-2 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791502862922096936 X-GMAIL-MSGID: 1791502862922096936 |
Series |
[V2] riscv: vector: Fix a typo of preempt_v
|
|
Commit Message
Song Shuai
Feb. 21, 2024, 10:02 a.m. UTC
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". And s/acheived/achieved/. Reviewed-by: Andy Chiu <andybnac@gmail.com> Signed-off-by: Song Shuai <songshuaishuai@tinylab.org> --- Changes since V1: https://lore.kernel.org/linux-riscv/20240206044217.1283849-1-songshuaishuai@tinylab.org/ - s/acheived/achieved/ - Add Reviewed-by from Andy --- arch/riscv/include/asm/simd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/riscv/include/asm/simd.h b/arch/riscv/include/asm/simd.h index 54efbf523d49..adb50f3ec205 100644 --- a/arch/riscv/include/asm/simd.h +++ b/arch/riscv/include/asm/simd.h @@ -34,9 +34,9 @@ static __must_check inline bool may_use_simd(void) return false; /* - * Nesting is acheived in preempt_v by spreading the control for + * Nesting is achieved 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. */