Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3020593rwd; Fri, 16 Jun 2023 11:05:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6R71Fvq2KqOKnQkMWkUtEmW4fGcxgve22540HTvSgvX06Nrflj2GVkwcoGen7K1Ga8YT0J X-Received: by 2002:a17:90a:6be4:b0:25b:e85a:e9fe with SMTP id w91-20020a17090a6be400b0025be85ae9femr2382182pjj.27.1686938722371; Fri, 16 Jun 2023 11:05:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686938722; cv=none; d=google.com; s=arc-20160816; b=pVfcXbqjh4fT4sn4gXZyzM4tBIlm0g3LdVI/w2pXFs8pKyQC5+Iijh9qQ2zr2448K2 e8GUFlofaj5srXvFHc8+wIFoZfmw0n4ztw8Io4x9isywJdMrxTq2g/EHZnDzhhyn1cXZ RSfpu9Y4/ilz6Au1XXcFhFuEGds6zuu+hGeI9SyLrKRTQggcA6ta5F0/umpyeyEcOP2R 2tSFoWT2Fhb6jRimApx+8TB/R08ZAljh9fEIJv70mZ2cdxTRzGwXaawaoZDPN7e2j5G1 1DrnCWPqd5Z+cpKmFelUoH63VdF/j0I69RPgY4UBgiSE3nPdvN7W5HB77dn0cFLm5C5f AUBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=eFQglhuNhmfpYu8t9XTctxJ0OCPRVA+JgTcgnhHp+0o=; b=gk9wvTqgmqnE4+OWlJx5q3vKrTnRos5SaqDFyHSK0Hj8kRH5gMGJkp8aWETFCq6qKj 7AMZJ2mmkQlbNeIM839bvjhwobmfjRaUMylDDtY8yWB4fkaSJtsyx6Igq1vWH9/8vDwM 4T7uQ7roG6eyWuBh0Zc5LXceZ8IyqMBmS59+NlBTH2PQcLjBZHnLAnRmhCpXakPXuzln Li0Rj4RoqdGA9zd/SNlIPuI5PXi6nlUNLRsKZDEvpy/Y7kMXexG5K4iJTNwLWX9U/i5a Cy1j09h1lyqtMpswxjyK0CY0Gml26bOd6kTfZshZmbz1NBQfNoGEUEcG70naTjO8FO+F GXpQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i8-20020a17090a64c800b002500dd30da9si2126641pjm.6.2023.06.16.11.05.05; Fri, 16 Jun 2023 11:05:22 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231856AbjFPRpP (ORCPT + 99 others); Fri, 16 Jun 2023 13:45:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229538AbjFPRpO (ORCPT ); Fri, 16 Jun 2023 13:45:14 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3EFD42D4C for ; Fri, 16 Jun 2023 10:45:13 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id CB1C062526 for ; Fri, 16 Jun 2023 17:45:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E1576C433C0; Fri, 16 Jun 2023 17:45:10 +0000 (UTC) From: Catalin Marinas To: Will Deacon , Mark Brown Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Anders Roxell , Naresh Kamboju Subject: Re: [PATCH v2] arm64/fpsimd: Exit streaming mode when flushing tasks Date: Fri, 16 Jun 2023 18:45:08 +0100 Message-Id: <168693750644.2414106.2496939341668921695.b4-ty@arm.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230607-arm64-flush-svcr-v2-1-827306001841@kernel.org> References: <20230607-arm64-flush-svcr-v2-1-827306001841@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,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 On Fri, 09 Jun 2023 23:43:41 +0100, Mark Brown wrote: > Ensure there is no path where we might attempt to save SME state after we > flush a task by updating the SVCR register state as well as updating our > in memory state. I haven't seen a specific case where this is happening or > seen a path where it might happen but for the cost of a single low overhead > instruction it seems sensible to close the potential gap. > > > [...] Applied to arm64 (for-next/misc), thanks! [1/1] arm64/fpsimd: Exit streaming mode when flushing tasks https://git.kernel.org/arm64/c/af3215fd0230 -- Catalin