Received: by 10.223.176.46 with SMTP id f43csp1792727wra; Wed, 24 Jan 2018 23:46:36 -0800 (PST) X-Google-Smtp-Source: AH8x227hfHT3/NGC7PimqpdHVAkIER1dGEYhjXJkMiVU0QyY6UikSa4WqepVGDFI3uyAHzXk7Vm7 X-Received: by 10.99.154.73 with SMTP id e9mr10843455pgo.26.1516866396339; Wed, 24 Jan 2018 23:46:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516866396; cv=none; d=google.com; s=arc-20160816; b=p4URkbqw/03/IJBfY9oJ2xtGUobUitoLIA3trQDZgN9jgybkp8ixnYralC+vJlMKYU XIpHhtfU2wEUKHrN45WvT8LIgkkR8BXDBPGbwSgYMAlZ2T9Rcz11IYJGIKkBQOJI42xS 6DEOnHV37vnlxzL9PG+TvFAM+9bTV2goqMIfdiVTQAl0YIcMdhpDowvKqX+xzjW0BSdI UmIgzoyAGeiwnnRKODkfMVkz3VNQpNdQOdjMkm2Rrf2nN7nir6JHodfPEm2v1GFzAMbR QzOLAJR82c0pux9aXqeCljgRLjPLNP35pVFiOnlYiK55lEqaBtvxvZfrF7A9OH/9d4hI aVuw== 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:arc-authentication-results; bh=Nw0/JgRzf4DKjE5OERqkgTydCzMyxX3wC5wfL5G5+vA=; b=Mlo2xpqgCOuvNN4w07bh9aco2pgmNADSgoNy5a+eJsasaWgXQmx8lqcsHCWBHgfGGg 1rxr/EHYJ1YiUvYDTbc+zDVwq8jSFsYbpEfD5iF1l7G7hXu5PEaLEswp4WAdsmo5ctUM QYq0jUKGMfCKk0bz2vTlqlUYF8rWud43g7LdAEAyDpY0MXfukJcog3TvagNV0bdsz22n xkf20dDmyDDff1q5OKfMZKKmxbzo1mortVFYbtLGo1VmyEFiIW6Cj4aVdjdvc4cSBrW7 EVm+94AhdavjhyEXUg/elJ3XZcGjbyxy/tT0h+aPlH4V5DoFJdf0qmL4STaUYVTjo76N AcWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=AEYEgsNG; 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 r9si3948875pfr.296.2018.01.24.23.46.08; Wed, 24 Jan 2018 23:46:36 -0800 (PST) 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=AEYEgsNG; 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 S1751287AbeAYHpd (ORCPT + 99 others); Thu, 25 Jan 2018 02:45:33 -0500 Received: from bombadil.infradead.org ([65.50.211.133]:40289 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751081AbeAYHpc (ORCPT ); Thu, 25 Jan 2018 02:45:32 -0500 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=Nw0/JgRzf4DKjE5OERqkgTydCzMyxX3wC5wfL5G5+vA=; b=AEYEgsNGmQ5g5kEJeMrUOb7l8 kFBH/fcS6P9K+b31apFsLxUPlMj+GIB3/S1rpsqHEF/FF7HT8cGG66GSFVodjXMH27XsJKOsz7iLE w4aOFQlV5KjkUp8y3svqzVj6NqwQEB9zBT4jemw/6+qRQLVPx+kSjwFRB6ni+gHFhg0vJffJERDpV Y8mQ/DI290X771wEXBLIvF0b19mo96IG3Z0Ev36X79dUFNNmiciE4esuSf45M/WGoVw535MFmxV8p PLSXKdiQxrBDdidmpFjiHhttVeCSMZYrrgRZ7GV0eS0l8hQCpskG0SfXVhqf49LAuxZU6+lwHCIQM 8NYEgK+Dw==; Received: from hch by bombadil.infradead.org with local (Exim 4.89 #1 (Red Hat Linux)) id 1eecDf-0005fF-IG; Thu, 25 Jan 2018 07:45:11 +0000 Date: Wed, 24 Jan 2018 23:45:11 -0800 From: Christoph Hellwig To: Palmer Dabbelt Cc: linux@armlinux.org.uk, catalin.marinas@arm.com, Will Deacon , jonas@southpole.se, stefan.kristiansson@saunalahti.fi, shorne@gmail.com, tglx@linutronix.de, Christoph Hellwig , Arnd Bergmann , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, patches@groups.riscv.org Subject: Re: [PATCH v2 1/4] arm: Make set_handle_irq and handle_arch_irq generic Message-ID: <20180125074511.GA14162@infradead.org> References: <20180125030756.21787-1-palmer@sifive.com> <20180125030756.21787-2-palmer@sifive.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180125030756.21787-2-palmer@sifive.com> User-Agent: Mutt/1.9.1 (2017-09-22) 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 Wed, Jan 24, 2018 at 07:07:53PM -0800, Palmer Dabbelt wrote: > It looks like this same irqchip registration mechanism has been copied > into a handful of ports, including aarch64 and openrisc. I want to use > this in the RISC-V port, so I thought it would be good to make this > generic instead. > > This patch simply moves set_handle_irq and handle_arch_irq from arch/arm > to kernel/irq/handle.c. The two important changes here are that: a) the handle_arch_irq defintion is moved from assembly to C code b) it is now marked __ro_after_init Those should be prominently mentioned in the changelog, and for a we probably need an explicit ACK from the ARM folks.