From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BDE0DC4708F for ; Tue, 1 Jun 2021 18:22:49 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8F44361396 for ; Tue, 1 Jun 2021 18:22:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8F44361396 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=rNSpk6wbAxWelL1VovnDYV24e4mvKb9rsuF9B041jVc=; b=zcpN+AbdrDS3/r GKbI8hyNxQQtgm5IdtcWEEnxp8r51/a5JyaQrZg6OU3D2ls4kLYtyLpJudwt5C1VZ934UTqV9ljaV Pj2+oZr/uggul/Vnjx2pAvqBIPtMHsBDtx2/76DJbbJ/8Lo/w0o6o8UpPdkvjC/SUk0gYHowHOigJ b5fDS6LT46GXLMJPiuehYdCpnlIo9w8p0X4iD7525pTHca810SWzYqaRYPVvfDfv2FC7dq/OUHrik ED2wkMWVQt2mtxK1kt2Ht1xh1fGwrads394mK6rA6kRbDBnh8z2aivK0/obbA+FjXlafBqB9w7G7S nSo7pbHTBvnPXtx3+IIQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lo90y-000JmI-8E; Tue, 01 Jun 2021 18:21:20 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lo90t-000JlQ-P1 for linux-arm-kernel@lists.infradead.org; Tue, 01 Jun 2021 18:21:17 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id A748561396; Tue, 1 Jun 2021 18:21:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1622571675; bh=OdIORKFN7ydho+pw7PMdo52pUaFfn9ZE0osWT3BTvuc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iWPs4X+v3pB06d6UvC46lvbs8028hUWyJfRkz9KaGFFQZpm1FFdqGp97Nj9DtZeV7 pLp03htKvpL5f5tl3hAt2+csWnDsRZ1kGg6WfnV+BYQJ5T3XlCzALTFiU87SQA8i5l EJlAiHHoJtOl9qVF3apYBq+hceeZiC0jqPq4Mru1nZPYPSql7hfm7laDbh2Cq730e3 LQ+3fb4r9c+H+cNuTx1fuqZz4/CjnuchIa/BHv4tm0wxM+ImitxzpD9bzY+AON4hfQ VHn3UYe8VDgUCLNH6cehZp67m0v91aQgoHruKc8+k9EMJJ6boE6hMvLWbjd00cRDh3 wmHWJbAH7j1iw== From: Will Deacon To: Catalin Marinas , Mark Brown Cc: kernel-team@android.com, Will Deacon , Marc Zyngier , Sudeep Holla , linux-arm-kernel@lists.infradead.org, Lorenzo Pieralisi , Ard Biesheuvel Subject: Re: [PATCH v5] arm64: smccc: Support SMCCC v1.3 SVE register saving hint Date: Tue, 1 Jun 2021 19:20:58 +0100 Message-Id: <162255596295.3128943.7640114426381897762.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210601130419.5432-1-broonie@kernel.org> References: <20210601130419.5432-1-broonie@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210601_112115_852552_20B8AE47 X-CRM114-Status: GOOD ( 11.17 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, 1 Jun 2021 14:04:19 +0100, Mark Brown wrote: > SMCCC v1.2 requires that all SVE state be preserved over SMC calls which > introduces substantial overhead in the common case where there is no SVE > state in the registers. To avoid this SMCCC v1.3 introduces a flag which > allows the caller to say that there is no state that needs to be preserved > in the registers. Make use of this flag, setting it if the SMCCC version > indicates support for it and the TIF_ flags indicate that there is no live > SVE state in the registers, this avoids placing any constraints on when > SMCCC calls can be done or triggering extra saving and reloading of SVE > register state in the kernel. > > [...] Applied to arm64 (for-next/smccc), thanks! [1/1] arm64: smccc: Support SMCCC v1.3 SVE register saving hint https://git.kernel.org/arm64/c/0a284a999fed Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel