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=-9.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 9146FC47078 for ; Fri, 21 May 2021 15:28:35 +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 59F16613CC for ; Fri, 21 May 2021 15:28:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 59F16613CC 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=qThd2tmfdR7pvscbLwyPBsNHvsEwhtdvtFiGVh6tS+s=; b=kbble8zMELXDaKnHhrzMbuWn4K tiP5p81EwpdLDLgUc31hWeJTI95wfVn+fee+jgXyGLarlHY8hk4bT5BI05YPOJR+8bDLAh9JA0fnl 9KvkbSgmaj9JrC42Crd+JeuHXTmm6+UD3bk8hZ5DPbdtTvsU/Cm/dmRz3Tv1BbkEQCm5gnAx1QVl+ yj7CC4VJRehTsi8VdLgaV5UDHN5m0S/5iZNUTo2wAHBeGe1Rm9FdqM5uOjkHbAK67mvMIcKdPyaQQ aaZZ8mGsWCaeB7Gz7LIAVgoTrkkCd004+qo93BurPzEJLiZ/Mbi5W2VVW4d5av8qkokavAdNmW92R C3ZFSAzw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lk738-0001QZ-Vz; Fri, 21 May 2021 15:26:55 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lk72k-0001OK-HH for linux-arm-kernel@desiato.infradead.org; Fri, 21 May 2021 15:26:30 +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=YInLCmmASSqsyEdsZV4znPBNdZtWEdxTSrIG3h98rY4=; b=mXU4UPFZa9HWqlDFB5KNp13ghI 25pQwPa88/X9r12n2jP7fUTzL5wRVE/6McIUW07/ZsoucHUPjPIieqfN+s9GvLDMrOFSaNTN+hXQu J/+jN6U5nkwl2YNw2VWIsKKIS98I4/dX/Kx5ydxh4BeK6qvbc+0YJUmowhENpQ8x3gFW9zxP/Gm9N sA6nv/G7kXNpEtG4pHfolEWbjDYh+1vEqUJ4jTgwWjzewUFwDBMryx218Y6+XiBtxoJHAO7+QhHrc 0fuER6/y4SXI+Pn6vfRsVWcAslHZ2OvuMoysxxYBjSEBTF1fiwEg3zYgP97eseL/flg3/e9CzPbkQ Q/Vx+D2g==; Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lk6zS-00HE5y-LP for linux-arm-kernel@lists.infradead.org; Fri, 21 May 2021 15:23:07 +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 17915150C; Fri, 21 May 2021 08:23:05 -0700 (PDT) Received: from C02TD0UTHF1T.local (unknown [10.57.33.243]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 27EFB3F73B; Fri, 21 May 2021 08:23:03 -0700 (PDT) Date: Fri, 21 May 2021 16:23:00 +0100 From: Mark Rutland To: Joey Gouly Cc: linux-arm-kernel@lists.infradead.org, catalin.marinas@arm.com, james.morse@arm.com, maz@kernel.org, will@kernel.org, nd@arm.com Subject: Re: [PATCH v2 07/19] arm64: entry: convert IRQ+FIQ handlers to C Message-ID: <20210521152300.GB9239@C02TD0UTHF1T.local> References: <20210519123902.2452-1-mark.rutland@arm.com> <20210519123902.2452-8-mark.rutland@arm.com> <20210521131915.GC35816@e124191.cambridge.arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210521131915.GC35816@e124191.cambridge.arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210521_082306_765151_423F94D1 X-CRM114-Status: GOOD ( 14.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 Fri, May 21, 2021 at 02:19:15PM +0100, Joey Gouly wrote: > Hi Mark, > > On Wed, May 19, 2021 at 01:38:50PM +0100, Mark Rutland wrote: > > For various reasons we'd like to convert the bulk of arm64's exception > > triage logic to C. As a step towards that, this patch converts the EL1 > > and EL0 IRQ+FIQ triage logic to C. > > > > Separate C functions are added for the native and compat cases so that > > in subsequent patches we can handle native/compat differences in C. > > > > Since the triage functions can now call arm64_apply_bp_hardening() > > directly, the do_el0_irq_bp_hardening() wrapper function is removed. [...] > > - .macro el0_interrupt_handler, handler:req > > - user_exit_irqoff > > Nothing is using the user_exit_irqoff macro anymore, it could be > removed? Sure, I'll get rid of that. > > - enable_da > > - > > - tbz x22, #55, 1f > > - bl do_el0_irq_bp_hardening > > -1: > > - irq_handler \handler > > - .endm > > - > > [..] > > Reviewed-by: Joey Gouly Thanks! Mark. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel