Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2577018iob; Mon, 16 May 2022 01:01:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJziILm8Zy6qdOI+Ny06VKZMCKn6hT5HLzxZWJXLsqDggri1CQd2pbTYy74GIzLCJW8h2cnP X-Received: by 2002:a05:6000:1d98:b0:20c:c29d:76db with SMTP id bk24-20020a0560001d9800b0020cc29d76dbmr13392208wrb.710.1652688070645; Mon, 16 May 2022 01:01:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652688070; cv=none; d=google.com; s=arc-20160816; b=VUHj5QdeHO89bS6GrvDzBWTO5UY0EagovNZ2Wj/QG9hnNnutoBA396hRBHPgQNuf9y yREF/SQEp9VuLj8aZOdGmurTFBfjoWzgij21QNW/YFOpFjao8fjEQAk/Tzd1Pb2R0fEk zNYejWvmE5WdtBICdK7qPsSjeuoFvOC2nsyTqBBhjGb7puClhHugeLX0DlHrPkhexhNP l1b4cuRyvzaIZkphBFlLf6E3mKX8tG3AxDXamamOdxUUlCQ2vb7kjC7Rf3nXglaqhuUU 1VNg5Lv6Ll0xf3+bQAPO7naiUdmyJP2rm8Xtcph0oqx3F3ANkt1J7kS23AXzWk9lu8nY +o5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from; bh=9OtDIAUldv2gtMfYBuPfd4S1YdHzRqHlfRDsnnijP2I=; b=QWPsxjwktjUI94QbObYWX0HeIMQQq0Dp12EN8WcrFPd/uq9wMGq/sr2LsOmVNCITo7 Jv1cKEnED1fLMKPCBJhe3I88aCOOJwblCNXkRdb+OmfBaW4fQcOrzp5PflgStAfMb5tK DpSQ5AQ/8o9iUI83hifIm2js4Qd2uyTK8vwtVvVQGlZ2piXFd/Bf44SnoGi31uZ52rav aJwhGY5Y9aYDZKdURqipwlo71aZYj9esf8pyhs+jpAKh8zJGW1pxYG/EwK3oWV/yCOme hVbQp5WKNh6eYD7E3drkw55m6D4NLwBv+eRihPho9eGZsR2ICQzTu9xV+GMWfCF5XbbV 2SFA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bi22-20020a05600c3d9600b003941ca18341si11839187wmb.198.2022.05.16.01.00.43; Mon, 16 May 2022 01:01:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236444AbiEOKcF (ORCPT + 99 others); Sun, 15 May 2022 06:32:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236277AbiEOKbL (ORCPT ); Sun, 15 May 2022 06:31:11 -0400 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA04EAE6B for ; Sun, 15 May 2022 03:31:09 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4L1JZP3RnJz4xbN; Sun, 15 May 2022 20:31:09 +1000 (AEST) From: Michael Ellerman To: Christophe Leroy , Michael Ellerman , Paul Mackerras , Benjamin Herrenschmidt Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org In-Reply-To: References: Subject: Re: [PATCH v1] powerpc: Use static call for get_irq() Message-Id: <165261052949.1047019.3804884242995162781.b4-ty@ellerman.id.au> Date: Sun, 15 May 2022 20:28:49 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 11 Mar 2022 13:38:04 +0100, Christophe Leroy wrote: > __do_irq() inconditionnaly calls ppc_md.get_irq() > > That's definitely a hot path. > > At the time being ppc_md.get_irq address is read every time > from ppc_md structure. > > [...] Applied to powerpc/next. [1/1] powerpc: Use static call for get_irq() https://git.kernel.org/powerpc/c/e59596a2d6a75ea3deb60698b95942aaf03681f5 cheers