Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1695996rdd; Thu, 11 Jan 2024 06:51:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IGRRef1Xs6R24TFGe7NmOLlFBcAeXmaY+OvmgYFBVThO452JiBDm1WneE81MCJvKqqdbRVO X-Received: by 2002:a17:906:eb41:b0:a2a:212:cfe5 with SMTP id mc1-20020a170906eb4100b00a2a0212cfe5mr908875ejb.12.1704984688104; Thu, 11 Jan 2024 06:51:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704984688; cv=none; d=google.com; s=arc-20160816; b=CotxgJi9wy9x6LFHSEVLLTsLAOe6cuWqRJSRCW/0xb34H0xliq7RWan00P1hG4jGpx 7mOlmF8mfIitnKbb2ZpRxv8eCP7twpSg0B0Da2d4kep8mdCBszfpdLe50JJsbbr/g/MT ClRNOTVnVQwJbQgTYXeymd+W9uDj8zICY7+7Mn/1ThZzWME6HbkFk+JPk8KarW+iYNCF zIXe/07TeJVTgySwK8sNXNlmGe4mmLQ7tr3/VWp1agWnpJRHZklMH0YXDQ1I0YDiVsZw RFGVq1NNeuhxrJGNY7acCprKH0XuZ+r+OWvs6vByelYi1Cxsok+ZP3+0wudQcGitV08h MCuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=UfGLm46ROmq06TLZFcvqpv0a6Tsp5Oqj1gHgtkSvovg=; fh=nmfAu1odwzL2DGVTSZ3pBkz4R6KYqeLbp/W1Z9Kq/a8=; b=FJplibq1fmTubskhmJj88heT3e90N8mx06qKcDdSO7ZIcvIQx2Banct7rCOtZfqzgn zxAEHL4ts34/dOdTcg1Kp4o1WVCBP8hfnD6Biif9v9KAuW9pdbwXrfu7o4l+7o6Gzq2q ggkHvTo8aP7KmLBhS1FdtgFD3NxULDMbcXpVG6Cw0SqozcLZ1WnnNkovF0RR2bkZBBEG bJGacKv5WzHtl+sbSXPiSgMT3i6T7jIi765qNFkUJj161+A4FLHYF/u9R6NN3O97MluS wffWu1uvAlZtlVLJ7TtuXQjLX7LWoEb/wm+I4VTVSM8g8m8t8kfZtwRMi5CEcOtF1FLR EMYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MvrdmSn8; spf=pass (google.com: domain of linux-kernel+bounces-23734-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23734-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id fy20-20020a170906b7d400b00a2852cfdbc5si564001ejb.489.2024.01.11.06.51.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 06:51:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23734-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MvrdmSn8; spf=pass (google.com: domain of linux-kernel+bounces-23734-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23734-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 am.mirrors.kernel.org (Postfix) with ESMTPS id D46F91F22D1A for ; Thu, 11 Jan 2024 14:51:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EAD4F4EB2F; Thu, 11 Jan 2024 14:50:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="MvrdmSn8" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 1D664495CC for ; Thu, 11 Jan 2024 14:50:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id A8D49C43394; Thu, 11 Jan 2024 14:50:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704984637; bh=+blWXOkxs+elmiiGxL/nzv66ZE7UIH/a2iH3jf6WOV0=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=MvrdmSn8UtowhN7o/iJd1KQk9lDrmGaHxmqnpBMwd+g65GDsWrjHwTwFLFw1GOjjW xUtteiGQz/iuIIo7ObwUmeJNgViVe8hZn23amuaxOhhxLCy+yljeuI+HRvEv1ZJDRb kD7rwvNmZkqzctQLIbgLORTKrX+s2TfM5KYD7F1nN/YtMscXTA3pzOk0T5Ci9IXicu fWbxOz1/ZFhf0lrJAZkcgLRVOTSIIoiDMffVVe8RoxFlnBLhQDJIKaKURLkiNMpkKq 1dSSsSGZUJ7yLXk8oVlkCO7F7E2w5gQGfM5TBaY7F7ym5r3Ot4NDHjk0BJWc6GnmGy NMdspWQtG15Iw== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 8D54EDFC698; Thu, 11 Jan 2024 14:50:37 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] riscv: vector: Check SR_SD before saving vstate From: patchwork-bot+linux-riscv@kernel.org Message-Id: <170498463757.20080.7960935665061816471.git-patchwork-notify@kernel.org> Date: Thu, 11 Jan 2024 14:50:37 +0000 References: <20231221070449.1809020-1-songshuaishuai@tinylab.org> In-Reply-To: <20231221070449.1809020-1-songshuaishuai@tinylab.org> To: Song Shuai Cc: linux-riscv@lists.infradead.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, andy.chiu@sifive.com, greentime.hu@sifive.com, conor.dooley@microchip.com, guoren@kernel.org, bjorn@rivosinc.com, xiao.w.wang@intel.com, heiko@sntech.de, ruinland.tsai@sifive.com, linux-kernel@vger.kernel.org Hello: This patch was applied to riscv/linux.git (for-next) by Palmer Dabbelt : On Thu, 21 Dec 2023 15:04:49 +0800 you wrote: > The SD bit summarizes the dirty states of FS, VS, or XS fields, > providing a "fast check" before saving fstate or vstate. > > Let __switch_to_vector() check SD bit as __switch_to_fpu() does. > > Fixes: 3a2df6323def ("riscv: Add task switch support for vector") > Signed-off-by: Song Shuai > > [...] Here is the summary with links: - riscv: vector: Check SR_SD before saving vstate https://git.kernel.org/riscv/c/e1b76bc00ed1 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html