Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp758256ybv; Thu, 20 Feb 2020 06:49:32 -0800 (PST) X-Google-Smtp-Source: APXvYqygPzMeB53X7coRC2l2LWJnOddT4Y15Bc0L79VgMU0QSpn7cZ3e3LqR1N2T46c6PnA+AH0r X-Received: by 2002:a9d:6a90:: with SMTP id l16mr22407234otq.353.1582210171959; Thu, 20 Feb 2020 06:49:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582210171; cv=none; d=google.com; s=arc-20160816; b=JUSLQjnC0HWrxfVy3JxsrSBkjiRk0DSyu4mBnZfJWzP3JAJspVLEbAuJWdR15+PanB HMNxBvIYF/cNJdzK2MoYqnt2bk/2AQeN7oBB9DRSTHfQtt+mlPVX99Hn290y/UNMdsBO a0PIjU7nJSHWmtKQoVQwbP/Qg81odWuNiTVUG6ABQRa9/MLGUbov5nKdnuQWgRkY+N+o lvLOtuVHMpvJF+UisyCF0nFrRRPrbyKH6oSvpi9i/49p6QR7w3RwAu7TZMFW+MMnHNoB RnREb7g1GV4srOl87Zz0iO3/Bo4l8jY5CDeBu4Lbtt6Xz/MkCoHsyrURuSFPBIj/JmaA YTSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=VFsELfj9kJG75Pqbvz1ocn9qZImBer1nJRUwC4Q7bZY=; b=iDQKYFRlCffIb6mdGDvp3mH//bmh3LeRkz3GYvU8s9OmrYZwS9LJGVDByaqaInEUET 0+M/PExY3IlK9maJkEigz3fLjCWjztG4YnMUqp1tU1qzFD0BUE/53OHdaCIAovNMq/8I iIerk6Rn3HV6wGNX+LhcQMvofiwI+mRZ/QgZb0NsczTauqtl/0bLzSnp+EZo0lXNgGLw F8614BfB4c+nFBhSpf280WPh30Kw1OHkHg/1w5UPKSmxbu3GZGeYawxr257z1aqvHzoF EFLLZUCqTh4VPa5vdotrKZYnUI/rJ5c8r0ib4jG63QZoKmakQ/ApT2AGqohMjx1I/dCO EKUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MqqtgYfS; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j2si1670304otk.164.2020.02.20.06.49.19; Thu, 20 Feb 2020 06:49:31 -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=pass header.i=@linaro.org header.s=google header.b=MqqtgYfS; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728198AbgBTOsn (ORCPT + 99 others); Thu, 20 Feb 2020 09:48:43 -0500 Received: from mail-lj1-f195.google.com ([209.85.208.195]:45358 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727705AbgBTOsn (ORCPT ); Thu, 20 Feb 2020 09:48:43 -0500 Received: by mail-lj1-f195.google.com with SMTP id e18so4464406ljn.12 for ; Thu, 20 Feb 2020 06:48:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VFsELfj9kJG75Pqbvz1ocn9qZImBer1nJRUwC4Q7bZY=; b=MqqtgYfSSn3FHYbEg13WQb6BWeq4sbtryqg6cZPsn20u3rxkq6YEFBDAKvqJIFORbm M1po1MNlQg90SORMlvuRTXHTALEgnixnZsrP1s5lpXbugJqoEfSx8o58UyRkAkmMVOJp x+L3zNQohho2+EaJBd3pH+v8U8eiBJ1NTeZ6h9zMcQVEmoCiIdBjGjNBO8Pz95ppvPQ6 2tvTxNVaFFK5eyU6Onxv+Ad+n9MLSmCgPJ0u1C4VA1ZLT5alsQXwfPHcF+esY0xcjqP0 eTgvVT9GXk3/30zrL57T+5kp/4Np5rJTR2vAbph1f77RDtWaR3Oncv7yRHXuVt2MPSVY oSaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VFsELfj9kJG75Pqbvz1ocn9qZImBer1nJRUwC4Q7bZY=; b=WxBezHrkzDdWyVfj7XSAEMdLo/pVKUCV+FVfT88Goj8+Kbyolu4OqhOAv+jl5Kbq0d dpX3MiWCtw1CPRdAr3nY9Js4n7HUmSL5Zph+4W7SVgQmITEOYBKORyXxRmz4hWcvhmqp RV8otZdxy9CPy9kvewQgE18lxdt2q9GuKRYIQI2AnPNO0BKWs2TWhVtIzK1Y9yNjJ1hy crdb3hhohhIXvIiSxViK0ufmKJTNJbyrPMH2H9lSle3/615UVGb1fJtlamLfnzb9YfWO wOqU67bQNq0r+LV6tGqIoCjJB7JK+nVZDs8K1/LebyI2rU2OGXwClyAI+qsp1RctC76U o0/g== X-Gm-Message-State: APjAAAWieoGVIu9XQjhZL4RkRPD9zDUKfs+HjTZXYiIguTpM9w/E0MBK TnseyAOurY8bkqnt8q1Mup4O8j591ZwgRAdlo8ylzcpX194= X-Received: by 2002:a2e:81c3:: with SMTP id s3mr18661030ljg.168.1582210121456; Thu, 20 Feb 2020 06:48:41 -0800 (PST) MIME-Version: 1.0 References: <109d17402bc75ed186a2e151dfda1edf05463b5a.1581478324.git.afzal.mohd.ma@gmail.com> In-Reply-To: <109d17402bc75ed186a2e151dfda1edf05463b5a.1581478324.git.afzal.mohd.ma@gmail.com> From: Linus Walleij Date: Thu, 20 Feb 2020 15:48:30 +0100 Message-ID: Subject: Re: [PATCH 16/18] clocksource: Replace setup_irq() by request_irq() To: afzal mohammed Cc: "linux-kernel@vger.kernel.org" , linux-rpi-kernel , Linux ARM , linux-samsung-soc , "open list:ARM/Amlogic Meson..." , Daniel Lezcano , Thomas Gleixner , Florian Fainelli , Ray Jui , Scott Branden , bcm-kernel-feedback-list , Nicolas Saenz Julienne , Kukjin Kim , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Barry Song , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Kevin Hilman , Tony Prisk , Allison Randal , Enrico Weigelt , Greg Kroah-Hartman , Kate Stewart Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 12, 2020 at 9:05 AM afzal mohammed wrote: > request_irq() is preferred over setup_irq(). Existing callers of > setup_irq() reached mostly via 'init_IRQ()' & '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 This makes the kernel a better place. Acked-by: Linus Walleij Yours, Linus Walleij