Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3533707imw; Thu, 7 Jul 2022 03:29:16 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s05wNXijVjUREOkb/tVnH93OsfbIFj+qLGRaOAmIWfZlIXdkQOdb75yp+hqZtuH0gXYGqB X-Received: by 2002:a05:6402:248d:b0:437:dd4c:e70e with SMTP id q13-20020a056402248d00b00437dd4ce70emr58836477eda.75.1657189756225; Thu, 07 Jul 2022 03:29:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657189756; cv=none; d=google.com; s=arc-20160816; b=VzNoNtP5VLQQ0YvNl6RG751fRB9z8uG6NJVCtxPGyzflcGtfu6i5jQfrXxcAIxJ6k4 72bTPTU4o9Dh3GjsyCSlIdCx/C8aVRYQ3gN6YzxnBysfSWAoA9NH5GTSNd6GKkRMW5ri kBBFP8MvG04v5r/135B/17GO0fIR1uSHPL0/EwYCutajVcVsT9XOhHvLLbxKDOBSS6H/ i+z2FEVu4ve00bD5IZIDTewxb501WNvrqRVrHVRzQtwl8ghPUR8O0IKREqZ0fxa2bjeW oAINapBKTciRdIvOdeGvTgyBA/sSm12aFtTuUS6segn4KGxy8jlgreW7OYir06wMwsUx mh0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:feedback-id:dkim-signature:dkim-signature; bh=blIZCyCRaX2Kykl2XYQhF1kcXz91lm/t4KZgjyH+ZSU=; b=GnuuelzmrDQBhGCXTHOJRcmu9V/uFjN7UVHLWjQ4+PnK7QUMtDYKNIYubHzl990QFr aibTGj+RtwSiJQ6OUrcIT0vYyhrM+2kkovFEQAFtQJXpMz28guznLqa3Hcz8rFr7K2yl 0QThI132Ph2Z00Ep8JT7sb0yBhrf5aqudJgLSRFEZFV7UDbLCIi9P+WIHndzrfS1DXOY zJgtyse4ZTt7ZlYHZxnhA52LfyZ5g3kvxbWWuOxp2M2lHDW4trB/OFC9qP81nXvNsIxw jLc5maP5AwNxpEqcpsvkwvN8Jc7ISgNid/BzyYSWzSmKWdKVYV41cc75bBVDWmGD71AO 9H8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm1 header.b=UjWvfp3B; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=ff2K2vPE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o23-20020a170906775700b007084cb35e5esi15910709ejn.442.2022.07.07.03.28.44; Thu, 07 Jul 2022 03:29:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm1 header.b=UjWvfp3B; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=ff2K2vPE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235052AbiGGJ6V (ORCPT + 99 others); Thu, 7 Jul 2022 05:58:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231775AbiGGJ6U (ORCPT ); Thu, 7 Jul 2022 05:58:20 -0400 Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7A304F19A for ; Thu, 7 Jul 2022 02:58:19 -0700 (PDT) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 33A553200901; Thu, 7 Jul 2022 05:58:17 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Thu, 07 Jul 2022 05:58:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1657187896; x= 1657274296; bh=blIZCyCRaX2Kykl2XYQhF1kcXz91lm/t4KZgjyH+ZSU=; b=U jWvfp3BGT724u6qaVZOepvcwjgDtug4sqsJGq7/sCMaBVbNaY8dKYhwUUCqGlgzW yKbrVoLvr/yBH7tMxOaBxGnArfmgCM01YWSunZjDCk4QA4gmXelihCT8qzA4h7tO fbwBogSGdHwWGQpc2vDO4FYtM9t1LhpTbYO47n4ul/3ebDUPjn8YoJhGGXMS1p1n uPynTK2HtNt1UTcNvs1bVR7MZzOrnk0eBw5DyVKoxxGJl74Sds/ScU6uWwdQYL2S i9pZ5nMh0HavCCe5YszT4Xb+plfg/O7ezCxn/UBVMMYfavl2g1UlhU43gPdP2feA 5RsGL+WmgCCzpEuoPeEpA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1657187896; x= 1657274296; bh=blIZCyCRaX2Kykl2XYQhF1kcXz91lm/t4KZgjyH+ZSU=; b=f f2K2vPEEaVg45MA5zpZZ6E6RtM0VZRK3uni3dVVA498kXQqr/M2LQ/plFWsw2s7q cJ6gMDlrX+mMf/ixkOQdbncGcV72IS7KF2KZn4P1ClMbpOkYyj+xLHJ6kxCQtpXi +sKeZwXVEd8SM/nvvNPc3Dlh8uv2J6dTq2k9pVtwrfI0jL9h7yZDtRFWzOLZPuYd +8Po+bLlxdBuHYos+iYwxbiuofaZGN5h+cFXMNzaDUOLe4Ngcob2VPMKwHLRWM2h EzjiOOti1MWmbNI7X6KtRzF6t0eomwnvVtGnNswRgRNdiQPoVxIEmL5dOxA5+lh7 wyXvcMMJ4GRQE+9NLGTQw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudeihedgvdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeflihgr gihunhcujggrnhhguceojhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomheqne cuggftrfgrthhtvghrnhepudfhkeevvddtueekfeefgfetlefgueegueeltddtieejgeei heevgfehgfdvfeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepjhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomh X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 7 Jul 2022 05:58:15 -0400 (EDT) Message-ID: Date: Thu, 7 Jul 2022 10:58:14 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v3] LoongArch: Remove vcsr in loongarch_fpu Content-Language: en-GB To: WANG Xuerui , Qi Hu , Huacai Chen Cc: loongarch@lists.linux.dev, LKML References: <20220706112937.1218573-1-huqi@loongson.cn> <8a9cd14a-54ed-cd2b-88ad-647a43b09d0e@loongson.cn> <2e0bb05b-cd85-4eb0-bf8f-f90156196a63@www.fastmail.com> <0125879d-7452-17bc-8b46-3d4ae21648d1@xen0n.name> From: Jiaxun Yang In-Reply-To: <0125879d-7452-17bc-8b46-3d4ae21648d1@xen0n.name> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 在 2022/7/7 9:56, WANG Xuerui 写道: > > However, the experiment result is counter-intuitive to me after all; > are you aware that perhaps *some* 3A5000's in the wild actually have > functional VCSR? If so, the state obviously needs isolation > (saving/restoring simply becoming no-ops on later steppings), but > otherwise this cleanup should be correct. ^ Yep, my concern was 3A5000 with VCSR enabled can be vulnerable. Thanks - Jiaxun