Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp46319ybf; Wed, 26 Feb 2020 08:34:04 -0800 (PST) X-Google-Smtp-Source: APXvYqyPp5vuXnx00rw8T+vpijo0jU0oOkeExbFYdENQyUVKIGY9QgHSWsqSKDJ8qpmHPfSwm8mt X-Received: by 2002:aca:45c1:: with SMTP id s184mr3886511oia.158.1582734844714; Wed, 26 Feb 2020 08:34:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582734844; cv=none; d=google.com; s=arc-20160816; b=faB26ylVEj0IFsrnBzwgYWD+4++QywsTibIG/AFgtMVVm7ZVWnjh5kBXQ7UGBhmWdz n+p1O38GuxlzCao4KldIDDgJn2z1EyorYeu/Hk0eI0svflwbtLPiJ+gQcOo9U3N5EQnH wOsQ/1CkwuLfzDAml316VgU2i3dfxMQn1U2OZOVBI43XZFRkOL0ahRoV19xeWHBHOib3 Wc4yA3xNgtSuILylM3BYAE0JKc/YN9U7SebBbhM6aKhmPvRzvReKWgdzxDoqEZgwRvmO oLugg85ga6b1PVNsiH/4LnzsX2oIGZCZuSLEVXQ6pR0zJQ4N6sKvu0a0Pe168H/V4ZaK Ewcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=0sPau9kPvnTOqJSQTh3du8eI32+3wir91NtNEbLxR6w=; b=ykrDj1tfZfjlKmiJC857IguXe/TlFXYC+1b2AwEoxdqms1WDgo3Asa78w41t1WULXp eLUlxrBLG4vaP7JbOT25QLHqoqjz6xzD3/eAl/PtF9nL1bFHYaeCN6Qb7WoiSGw+Stso B6PknezeNlILtkKvi0dLc1mJHA5lPD0KsAizFHQ8VznLwEnXIPiaqtvWrpJKlFWPamtW 2XwFSKOIRrpJAcMwhmHNFyc2dsTaDuikHAYz/IFoI+NoxX5f5j9LT114Imopvp8NzwHg sbuZQffxobt0TRDmXMSCAbIL3NgCQb7Lex0gV2kRi140pfvDySbAb7Qlw4QkLS4dW83Q eF6g== 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 9si1383295oir.71.2020.02.26.08.33.52; Wed, 26 Feb 2020 08:34:04 -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; 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 S1727888AbgBZQbq (ORCPT + 99 others); Wed, 26 Feb 2020 11:31:46 -0500 Received: from muru.com ([72.249.23.125]:57758 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726905AbgBZQbp (ORCPT ); Wed, 26 Feb 2020 11:31:45 -0500 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 9BCE38022; Wed, 26 Feb 2020 16:32:28 +0000 (UTC) Date: Wed, 26 Feb 2020 08:31:40 -0800 From: Tony Lindgren To: afzal mohammed Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, Krzysztof Halasa , Russell King , Hartley Sweeten , Alexander Sverdlin , Lubomir Rintel , Kevin Hilman , Aaro Koskinen , Viresh Kumar , Shiraz Hashim , Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Gregory Clement , Allison Randal , Greg Kroah-Hartman , Thomas Gleixner , Arnd Bergmann , Enrico Weigelt Subject: Re: [PATCH v2 02/18] ARM: replace setup_irq() by request_irq() Message-ID: <20200226163140.GP37466@atomide.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * afzal mohammed [200224 00:49]: > request_irq() is preferred over setup_irq(). The early boot setup_irq() > invocations happen either via 'init_IRQ()' or 'time_init()', while > memory allocators are ready by 'mm_init()'. > > Per tglx[1], setup_irq() existed in olden days when allocators were not > ready by the time early interrupts were initialized. > > Hence replace setup_irq() by request_irq(). > > Seldom remove_irq() usage has been observed coupled with setup_irq(), > wherever that has been found, it too has been replaced by free_irq(). > > [1] https://lkml.kernel.org/r/alpine.DEB.2.20.1710191609480.1971@nanos > > Signed-off-by: afzal mohammed > Acked-by: Viresh Kumar > Acked-by: Alexander Sverdlin # EP93xx > Tested-by: Alexander Sverdlin # EP93xx Works for me: Tested-by: Tony Lindgren # omap1 osk