Received: by 10.213.65.68 with SMTP id h4csp890487imn; Fri, 6 Apr 2018 10:38:38 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+ShXUDWe5oaTZh8CXbQnvM5HNeUnQjjWtz0QvB4GFvSIF5uIp/Z/TNWAZZPNKBPMDNYbWp X-Received: by 2002:a17:902:830b:: with SMTP id bd11-v6mr28162449plb.166.1523036318529; Fri, 06 Apr 2018 10:38:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523036318; cv=none; d=google.com; s=arc-20160816; b=Ti1bNvunakiB/Mg7UG+HptMT6dIuJ3oApRZQJuftWw7NBrOY8uNq/u1+q9oXFSAksG LyVFj8MprTuBXZAR9XvSnsFmpRJ1/DGjZ4AWCL4eEEipOU1KTGFSN7g9pO52Rn30vuXK 41sGNYheqeo0omTmIE7gPvsU9ZfyVbKsjZifBwg06YwWGP3vSb0/CmIotpaUpY5jaqjs Mky2MR4khBLiz3NZpyxj+ZpZzMpSU0UlVgbt72ilgDxQKF9zzYvBI2zRV6zvsL8i26Dc vnC7UhzMbGQpx5VQ+ZkTKmpFP43FgDY+5mrsdgdwCfiFI9UQ4IrJLLAseP8nQOCvV6rh GUzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=0/a4sEsEqs1sir1G5DJ09jry15Km4dSJnsEaFbUXCGM=; b=eojT/4qnTk4bmrV6Jc/0sc+ycGSWQoex32VW+Bx6zBlNwUrp1iUVxqKLDGo1OlIadx v0dw6FaOAYcy98fyEKTtq0uRtRDSlhgvVWN1Q5IOmB81Ipa0vdOHI2zV1rbfusflnvx+ gtnpMOInj4VlmNvaWyO9HRcVQzeOWBzzSwQLZcn/63ZauvveIq8WJyq7EukCddwDxWyk kXkT0vk4dQ4cZQAkGIXZArY0GkMXW4ts/v5Oqz9j0Tiz33KV4gaMePB15dI5IkQ4DSvv OjEQHeJXW7raRiuHU7d9lvII4I4DpvwbfvCHOKIgjjd95OnrEp9UMojMtPfu2XUfv4TE 57Eg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h12-v6si9004834plt.571.2018.04.06.10.38.24; Fri, 06 Apr 2018 10:38:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751642AbeDFRe6 (ORCPT + 99 others); Fri, 6 Apr 2018 13:34:58 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:40432 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751278AbeDFRe5 (ORCPT ); Fri, 6 Apr 2018 13:34:57 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A80FF80D; Fri, 6 Apr 2018 10:34:56 -0700 (PDT) Received: from lakrids.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 07DD63F587; Fri, 6 Apr 2018 10:34:52 -0700 (PDT) Date: Fri, 6 Apr 2018 18:34:50 +0100 From: Mark Rutland 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 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> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: 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.