From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot0-f199.google.com (mail-ot0-f199.google.com [74.125.82.199]) by kanga.kvack.org (Postfix) with ESMTP id DB59B6B0003 for ; Fri, 6 Apr 2018 13:34:57 -0400 (EDT) Received: by mail-ot0-f199.google.com with SMTP id g13-v6so1085808otk.5 for ; Fri, 06 Apr 2018 10:34:57 -0700 (PDT) Received: from foss.arm.com (usa-sjc-mx-foss1.foss.arm.com. [217.140.101.70]) by mx.google.com with ESMTP id o29-v6si3434958oth.501.2018.04.06.10.34.56 for ; Fri, 06 Apr 2018 10:34:56 -0700 (PDT) Date: Fri, 6 Apr 2018 18:34:50 +0100 From: Mark Rutland Subject: Re: [PATCH 1/5] arm64: entry: isb in el1_irq Message-ID: <20180406173450.5h7lgh2xdtcs5fbs@lakrids.cambridge.arm.com> References: <20180405171800.5648-1-ynorov@caviumnetworks.com> <20180405171800.5648-2-ynorov@caviumnetworks.com> <5036b99a-9faa-c220-27dd-e0d73f8b3fc7@arm.com> <20180406165402.nq3sabeku2mp3hpb@yury-thinkpad> <20180406172211.r42reit2bnpocab2@lakrids.cambridge.arm.com> <1ef13053-c3eb-deea-a4cc-67723fdf47f8@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1ef13053-c3eb-deea-a4cc-67723fdf47f8@arm.com> Sender: owner-linux-mm@kvack.org List-ID: To: James Morse Cc: Yury Norov , "Paul E. McKenney" , Will Deacon , Chris Metcalf , Christopher Lameter , Russell King - ARM Linux , Steven Rostedt , Mathieu Desnoyers , Catalin Marinas , Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Alexey Klimov , linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, kvm-ppc@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org On Fri, Apr 06, 2018 at 06:30:50PM +0100, James Morse wrote: > Hi Mark, > > On 06/04/18 18:22, Mark Rutland wrote: > > Digging a bit, I also thing that our ct_user_exit and ct_user_enter > > usage is on dodgy ground today. > > [...] > > > I think similar applies to SDEI; we don't negotiate with RCU prior to > > invoking handlers, which might need RCU. > > The arch code's __sdei_handler() calls nmi_enter() -> rcu_nmi_enter(), which > does a rcu_dynticks_eqs_exit(). Ah, sorry. I missed that! Thanks, Mark.