Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2816581rdb; Mon, 5 Feb 2024 20:43:54 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUKvk8OH7R4nP0wPCzpjuVQU2Y8yaiZqize8D2s4nmLi2kEB3CWSN6jWXFHrdIxWU8/o0YYJOp1muTwBMKvUGOjBY/+HhYEhNfTsgR6TA== X-Google-Smtp-Source: AGHT+IFuGgG+gYYsVVHfk1/Dhwc1upFktvjjKGN1Q4LbpOTeILZstmlIk2PLRCkz6sUkYsNIDecR X-Received: by 2002:a17:903:482:b0:1d9:b8cf:78f with SMTP id jj2-20020a170903048200b001d9b8cf078fmr459162plb.53.1707194633810; Mon, 05 Feb 2024 20:43:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707194633; cv=pass; d=google.com; s=arc-20160816; b=Iwku0eaPnaS/jlxRhkyOaTnxaFgGUxYiHxXLqZOQY+pR29xDjdjG7HBhZeuR0leEG2 /XV1DmS/YkKeqABP7/ze/nBjQJG2G7ki/BeeSH7nQmmdSp371EVYdT8NXAJG2ufKNwst 3nzSevL65cHHRsHTtSD+lX5GwiFT4g3gxCAEcivvbVBPnJJWbH0jbV+P3V0jQFX0v775 udWC9/qqNlVbKzDhrM5vPJagyAr7YuL1CrVS7mqpfba7jkCkf7anEo2Q8uM6xP+xO6qG oEg2AC2khCu9kr0+d4/s+0zJn8Y6QHn/c5J6EjQH/Q1H3XrhWhYkVG0DEiK3oJ8HcGO5 XZlQ== 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=aRxpLsXWopBDBBZOLrQR1bub1JvZXcBZ9CVKFd8F4+w=; b=vJUeTzhgor1IKqjmFu8wkOrtUqP7qQJny6H2n1l0oPlVvFbfvq+E6aLmNN2Xj9dLQW R72wf7d6jfz2smizmDHDw+lyiw6Y+WJhqhsDjiTt7IoW4xwvWyhprSkKFRPsTbnMiR9l HHkkdzwddvckIU1GoXfAEEYJHhbgNUB+TanZpfBpHlPlNcLwZcIkWzPrT6FHNYvfgwx5 N+ZNm1ybi50k1mxcwofjUWe2XEcbC4hctyEnduxcXRppMmGIWPiPurrYCEZW3lA5lQy6 eBWVIpwO6LAwPJzq7q9S9UC3F4rv88VQxgFlqaH+XwADZ78Ip4SoLq3CCuoUgrIMgVca ZTtw==; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54325-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCVjlxeW3tM85LgrYZ9IfHyhnFGEKH6ImfVLgtjQuff+Ty3X+dhsGIOuVvkC8Kpy9yEDSeM4get9SXCWUb3dF6revuM6hF6Fb+eM2JPMeA== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id t1-20020a170902e84100b001d757e49a79si985532plg.471.2024.02.05.20.43.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 20:43:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54325-linux.lists.archive=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-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54325-linux.lists.archive=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 1F693B21289 for ; Tue, 6 Feb 2024 04:43:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 875167C082; Tue, 6 Feb 2024 04:42:56 +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 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:tinylab.org:qybglogicsvrsz:qybglogicsvrsz4a-2 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 --- 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. */ -- 2.39.2