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=-6.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no 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 E0888C433ED for ; Tue, 11 May 2021 13:26:52 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 8EE6261288 for ; Tue, 11 May 2021 13:26:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8EE6261288 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com 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=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=p2IOCUXBmKfaxtnyG4Qd8NyLFrzTotruID6/Vbrv/qg=; b=I+f94bjapNHPBwYYFumwZzH2I 2lv6fHu91gBmsi9pWF1rlSJ1seiUnJYFqkYIUTPbsVkHXSZh20wrSgxm2DHB2sA5eMfE1jKeaqdSU AIBbzuwiRiZxyO1sAk/aaWrJBlFJKMHoBAIc9adaa0NJNMBm+q/WFPwoxhjwtVyq28wL2dQjiu+d1 m70Ya2VaRu5rvvtwQQkdUEW5sFDyoS0exJhRD84OGo2509fiAZ/SN4euqiDPqPsGjRMuexwVH2dHZ BVGWRDM9GrB6tXb+NHfB412ht6K71q56UzWhq6219QZJWFDihUso48bhe4JbZEYcHsLCbH1bN7jHX 4mKrlJnhw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lgSNt-0005ky-3t; Tue, 11 May 2021 13:25:14 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lgRVr-00HONB-Sn for linux-arm-kernel@desiato.infradead.org; Tue, 11 May 2021 12:29:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=kqLK74D9SH8RnqLA+Jg5xho6tHJoivZSxqMe0cIaDYM=; b=DP4gEBNRD0ij4fCFFjKbRBfiSo F2VeDQsVpIUkF+bjm1sO7IddrbSJyFdWw+0RRfh6iXg6Zh6zdOCB0hsPF7OSQRDwyc9AJKZp8xZfm 0Ej14n2M3dLiG+H14SsQVK/Jxv0WQ/N6EYPY9cBr+wLgejRxmgLOp+szTwYyaEQE/Uc2tpfvO7NbK z6zXcw1f7mAf4/3eEtS9dThOt/uQsYI3v5KosavGsz3TSMTpDlRXhCN6qkuF7BfWz8q3hXzU/QRQQ B76PskxTxdBlgIOilj0EX37PXDuwsB/Bz9bld8aD1ZZ3OOjfoedO232U3SykUfXWTfb7K9oa7Zomg 2Mc4JS5g==; Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lgRVp-009ZLZ-6b for linux-arm-kernel@lists.infradead.org; Tue, 11 May 2021 12:29:22 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7BCFB101E; Tue, 11 May 2021 05:29:16 -0700 (PDT) Received: from arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id CA25C3F719; Tue, 11 May 2021 05:29:15 -0700 (PDT) Date: Tue, 11 May 2021 13:28:27 +0100 From: Dave Martin To: Mark Brown Cc: Catalin Marinas , Will Deacon , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH v1 1/3] arm64/sve: Split _sve_flush macro into separate Z, P and FFR flushes Message-ID: <20210511122825.GB4187@arm.com> References: <20210510122348.56443-1-broonie@kernel.org> <20210510122348.56443-2-broonie@kernel.org> <20210510145710.GB18631@e103592.cambridge.arm.com> <20210510152253.GB4496@sirena.org.uk> <20210510153159.GA4187@arm.com> <20210510161958.GD4496@sirena.org.uk> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210510161958.GD4496@sirena.org.uk> User-Agent: Mutt/1.5.23 (2014-03-12) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210511_052921_305631_161B8B09 X-CRM114-Status: GOOD ( 17.76 ) 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 Mon, May 10, 2021 at 05:19:58PM +0100, Mark Brown wrote: > On Mon, May 10, 2021 at 04:47:23PM +0100, Dave Martin wrote: > > On Mon, May 10, 2021 at 04:22:53PM +0100, Mark Brown wrote: > > > On Mon, May 10, 2021 at 03:57:11PM +0100, Dave P Martin wrote: > > > > > If not, can we keep these combined? We could either keep the name > > > > sve_flush_p (since the FFR is a predicate register, if a weird kind of > > > > one), or go with something more descriptive such as sve_flush_p_and_ffr. > > > > Not right now but I do expect to build on this in the not too distant > > > future. > > > OK, but due to the fact that we need to dirty a P-register in order to > > zero the FFR, these still don't feel like independent operations. > > Indeed, like I said I got confused by the way the macros end up being > written when I originally wrote this. > > > Can we control the clearing of the FFR (or not) with an argument to a > > combined macro? > > It's an option, I'm poking around with how to do it. OK, if we keep the P-reg and FFR flushing as a single macro for now and extend it later, I'd be happy with that. Cheers ---Dave _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel