Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp2784533ybg; Thu, 24 Oct 2019 15:19:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqwmZxQgeT/x1xCLJ3DeERjKP3D2ehrED78/80zKLvX5StD1fNTLfS+uHUds+YBBbwkLxXVF X-Received: by 2002:a17:906:d781:: with SMTP id pj1mr457342ejb.98.1571955569596; Thu, 24 Oct 2019 15:19:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571955569; cv=none; d=google.com; s=arc-20160816; b=jscoxD4q2J1+7ZqXwBAT98bvQG1QeVr1njx4+e/zi+iNFrh0aD36DyufG18NAWFAD6 MF6KhWDktUyexC6+F2q+yDFiIG3D9cK4ZFhrTE29riPIwojnqN7Sxyi58YBPqt5/SuD6 Qkf6ruXkntuCInt2I06Q5EFPjPrsp1zaSDZIdTVqYDj1wgC5Yb6VvttpA9S7IPStsmPP 829SeUUcDLUh51Djs5D3I0Apr7X2bM74XdRYNMTzBOQzDYEg/kJeWlm9AQKEV1fBszE5 P8vIncFEi+Q+xdO7VVmRYCYXBaOZF0V6mU8q4QyIjsRaW7C1b+kHsG+HK9x1OkgW22pg VNqg== 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:dkim-signature; bh=CgLjd+bfjE9VsjFb6HX1AhNT+XQoqxuPeqHBkIlr6Mw=; b=tlZEFjY6LwtFPK9O4xfI0NpcYxeTQnwVnnOOn5eIf4O9CfsbWg/v4ZRovGj9KHsoT7 UZWUg3GpcjdQMRWD7WHoheQufzUVPoA9b+ab50/CkB8C07os5c39z5QNJ3OvMendijum AYnH5N6zGS0aMWoduysSswtg757bk+N4UMU0lweHLAyFTXdaVoSrRP1/lokpyhwc1yqX T0ij9gJjk72Emr2q+IJZhL0CJpq0oUzdFAL2YPeN3Cx3U9ip9tJy4zc9jJRryqJSfBD6 3E8RZzXlT50pIjVd8/A37U+qj8VCNhBdeHowiWtj0EwpdfdYA0nUkq64pVkcHVh92wKc gTxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=muXJTiUy; 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 m21si18378709edc.153.2019.10.24.15.19.05; Thu, 24 Oct 2019 15:19:29 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=muXJTiUy; 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 S2437847AbfJXHDN (ORCPT + 99 others); Thu, 24 Oct 2019 03:03:13 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:57462 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727635AbfJXHDM (ORCPT ); Thu, 24 Oct 2019 03:03:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; 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:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=CgLjd+bfjE9VsjFb6HX1AhNT+XQoqxuPeqHBkIlr6Mw=; b=muXJTiUy0SyVcz+NhNkswl/+C sfZJK0tqqKyzKPyiJLdLo3VpXIMPBMWohxvChk7p1dtklD2KwcX3I0A8Ya4GrFDMsPM5aW/jrsWL/ /zUUNla1wdPgRVIWCCnhzP13SPz2fDfFwxi2/4TPs26OAbbGb38aLxXjuJOSNKiMKe1iqkWKwRixz RBrn23N25+UDvEM/gAurdR4U4F0OTBGcmiZIy4YgzzrEdHqrUhrONgrw84pTvQ6S9duAiGu0jiR31 ckrGNOSysflO6RrugO2DQSvQS9Y4+DgAW4rWF+9qbRL+Hwyc2tCLPC7w+2JS6ASoK08AuijS9t6Il /Oa2zbA8A==; Received: from hch by bombadil.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1iNX9L-0004MN-If; Thu, 24 Oct 2019 07:03:11 +0000 Date: Thu, 24 Oct 2019 00:03:11 -0700 From: Christoph Hellwig To: Marc Zyngier Cc: Christoph Hellwig , Palmer Dabbelt , Paul Walmsley , alan.mikhak@sifive.com, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, tglx@linutronix.de, jason@lakedaemon.net Subject: Re: [PATCH] irqchip: Skip contexts other supervisor in plic_init() Message-ID: <20191024070311.GA16652@infradead.org> References: <20191024013019.GA675@infradead.org> <20191024075116.48055961@why> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191024075116.48055961@why> User-Agent: Mutt/1.12.1 (2019-06-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 24, 2019 at 07:51:16AM +0100, Marc Zyngier wrote: > > > > Will this need to change for RISC-V M-mode Linux support? > > > > > > > > https://lore.kernel.org/linux-riscv/20191017173743.5430-1-hch@lst.de/ > > > > > > Yes. > > > > For M-mode we'll want to check IRQ_M_EXT above. So we should just > > merge this patch ASAP and then for my rebased M-mode series I'll > > fix the check to do that for the M-Mode case, which is much cleaner > > than my hack. > > Does this need to be taken as a fix, potentially Cc to stable? Or is > that 5.5 material? So I though that the S-mode context were kinda aways to be sorted before M-mode, but I can't find anything guranteeing it. So I think this actually is a fix, and getting this queued up in the next -rc would really help me with the nommu stuff - otherwise we'd need to take it through the riscv tree for 5.5 to avoid conflicts. Btw, here is my: Reviewed-by: Christoph Hellwig for the patch.