Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2266044rdb; Wed, 21 Feb 2024 02:11:02 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXrn+rTKFedrCOl1LeqZNbPrLZhpKywRfUXvpKPGI2x4gVbLbSNtbsiWYfKuaA8BOaI+VOg2DRDvOwdIAnDevX8TG2LRnxyT2hUPDKYNA== X-Google-Smtp-Source: AGHT+IGENwsCk2t1iF2Ndqf4TzA2JTA1Mq0KIdWyaKweLQv/wJUU9oMY+v6hTPPnWLj5lVnfGEnA X-Received: by 2002:a9d:6395:0:b0:6dd:dc68:d543 with SMTP id w21-20020a9d6395000000b006dddc68d543mr17460123otk.7.1708510262112; Wed, 21 Feb 2024 02:11:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708510262; cv=pass; d=google.com; s=arc-20160816; b=mnCiRK/8VOTUoQgjFgfZ7Tuu1vwktHSuH0AeZl+ziguG3ydsdY19KcK+xwM2GPcmJD OkVZd7io8cZBv9yL6HfIaYSEEyU/tzEJQj4YvyJDL9Viz2BvIGxaD3j6oWpLeH/s6fdq J5SeW0b58iQF9pNexbJeGISFNxxcqcihgeR2NTtgBKD71HmE3cuFYKa5txxDGBpneWj/ HBib/e4Nc64R2C4hCI+yaNCFiJg//3taLs/6i82Z57zBGEG9VFcXr05dxPvBjGmKIIDO FOxpyJe5m76eeEzHU6NI35dGL9eiQ95btEvpHHYDidctdKIyApKv6/NaUVSFEdQ8Q/UE O7oA== 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74498-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id k185-20020a6324c2000000b005cd7c92f504si7686233pgk.481.2024.02.21.02.11.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 02:11:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-74498-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=tinylab.org); spf=pass (google.com: domain of linux-kernel+bounces-74498-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74498-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 0E7E9287CC2 for ; Wed, 21 Feb 2024 10:06:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 66CBF3D984; Wed, 21 Feb 2024 10:04:54 +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 ; 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 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 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: 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". And s/acheived/achieved/. Reviewed-by: Andy Chiu Signed-off-by: Song Shuai --- 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. */ -- 2.39.2