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=-15.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 03765C433C1 for ; Wed, 24 Mar 2021 17:02:11 +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 7C3D061A0F for ; Wed, 24 Mar 2021 17:02:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7C3D061A0F 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=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=5vF3Ch3cScYIDJxcxXzCs74YOtydKGDC2v1B1Oroga4=; b=JmG3LD2HMWHffZyfnwiiEyLNI NH2vEDhrAq7L3ziITncnyA+5/NfUceXaBDsvamoihH0CWxAxbF+5MPZEdhuF1gorYQOq4nC/A8oiL Arp/qT2Qki+giwVbg1G29Rh3E/elGBewEoidupbOYfA8mo3RBMzcXx0fm14Q27dweBzrUHF6sCnbM Ank0fscJyMGMQZ46zZ5UXmiismz9EPUI+h+MU/wa96KvWwviXF5yCLrfrP7JHQKwnFxaOQUvstdwz WzxDSefeet0Ouu0AF3Y4MoGtN6ObJJjy+QGP6Ujj7o/Hd530UCOc8N3otaTFBo95xjPdUYzrbBUks XTzuqsL2w==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lP6rd-00HSla-BO; Wed, 24 Mar 2021 17:00:13 +0000 Received: from mail.kernel.org ([198.145.29.99]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lP6rX-00HSjL-6r for linux-arm-kernel@lists.infradead.org; Wed, 24 Mar 2021 17:00:09 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8C50E61A0F; Wed, 24 Mar 2021 17:00:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1616605205; bh=fExnnbT38v4VF5Hn3lh1Hsn+2r/ya3emRHTyqYl8JyU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gvRdEGhDomS+t5R9+mYpi/MBdByu/B49bm0C/W20Nq5GlUNk+S1coALoyNBgSa62r 91y2XEghPxc/hD3D0hiDOyh/9eirhXUPrWeJhiVYwr8KtDPo5MymrBC2rkzi7XyD8K jciBgXv5GayefHN/h2uRuiCuI34TOV46JojLeR+MPterdSJVF5CzxM/6WfsMCIzMQ6 Gto88i5TiGWBdBySmmmCXuS9s2fCS8mJ2cY5LPgygqHUfIXGhiwwdfGJ/HGrN3USYr /UYmHCIU/8DjZxxjYW4N0MB5X+IFUoHTEQMu/SAHUwSZXQ394q84C7JYddu42yuITs BLwYCK9ctp8Uw== Date: Wed, 24 Mar 2021 17:00:00 +0000 From: Will Deacon To: Mark Rutland Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, catalin.marinas@arm.com, james.morse@arm.com, marcan@marcan.st, maz@kernel.org, tglx@linutronix.de Subject: Re: [PATCHv3 5/6] arm64: Always keep DAIF.[IF] in sync Message-ID: <20210324165956.GD13030@willie-the-truck> References: <20210315115629.57191-1-mark.rutland@arm.com> <20210315115629.57191-6-mark.rutland@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210315115629.57191-6-mark.rutland@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210324_170007_936695_3B4E2C3F X-CRM114-Status: GOOD ( 16.21 ) 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, Mar 15, 2021 at 11:56:28AM +0000, Mark Rutland wrote: > From: Hector Martin > > Apple SoCs (A11 and newer) have some interrupt sources hardwired to the > FIQ line. We implement support for this by simply treating IRQs and FIQs > the same way in the interrupt vectors. > > To support these systems, the FIQ mask bit needs to be kept in sync with > the IRQ mask bit, so both kinds of exceptions are masked together. No > other platforms should be delivering FIQ exceptions right now, and we > already unmask FIQ in normal process context, so this should not have an > effect on other systems - if spurious FIQs were arriving, they would > already panic the kernel. > > Signed-off-by: Hector Martin > Signed-off-by: Mark Rutland > Tested-by: Hector Martin > Cc: Catalin Marinas > Cc: James Morse > Cc: Marc Zyngier > Cc: Thomas Gleixner > Cc: Will Deacon > --- > arch/arm64/include/asm/arch_gicv3.h | 2 +- > arch/arm64/include/asm/assembler.h | 8 ++++---- > arch/arm64/include/asm/daifflags.h | 10 +++++----- > arch/arm64/include/asm/irqflags.h | 16 +++++++--------- > arch/arm64/kernel/entry.S | 12 +++++++----- > arch/arm64/kernel/process.c | 2 +- > arch/arm64/kernel/smp.c | 1 + > 7 files changed, 26 insertions(+), 25 deletions(-) Acked-by: Will Deacon Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel