From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7CFC0C433DF for ; Fri, 26 Jun 2020 10:15:43 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4471A20C09 for ; Fri, 26 Jun 2020 10:15:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ZDiO2JdJ"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="tKW5dZsK" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4471A20C09 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:In-reply-to:Subject:To: From:References:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=zZMRlyC13KjhGtgV+7v0O0A2TvVBhuwIZhVojwMMVco=; b=ZDiO2JdJz7e7oyBw8UN4UtNc5 SA4ysGB266VViP9awcdmbtnWkYMBFhCQuXCj5N7TUawahre6j6OzcTKfLKQEX/euaaIQtPpx2rTfr 3R93xBgw0wK2/PiqVn0O7KCWPMr5gVQhWmTdBpHcYWuwF3m/WBHTRuJtCzuFWpleIs9SovWw1Bup/ Gtynb8A9/gYDaIiKZ8rn/o4Ydt4oldeFztsj29WkVNK4JkQXF4qq5DK++r2uVTvPDqGCtw0QVZkLK NLd/U1klLch5vnb7YJh+oZrjVLgAxUpqMvJanFYMHNRt53FqRVNleIiNcB4U8NXQxgZJPhWXrvRcr TFQzrwsug==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jolN2-0005fr-NE; Fri, 26 Jun 2020 10:14:08 +0000 Received: from casper.infradead.org ([90.155.50.34]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jolMy-0000hS-NX for linux-arm-kernel@merlin.infradead.org; Fri, 26 Jun 2020 10:14:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Type:MIME-Version:Message-ID: Date:In-reply-to:Subject:Cc:To:From:References:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=us1W4axBGefQYdLzzbioKNH7i9T+1rLiQBXC+QtrMh8=; b=tKW5dZsKlSsMs6AC90P3g313Cm lXOx284Az86n70L/tEI9oljbPW89IdpXhjzio0E5CE176vV7aq+M7RnuXfKIewuhia7WX1MM4LadS TaKsftKvgi7Mv0yT4nnix65tiDc65T6GppwgL747Pvz7U6L4983cDJf+Rjv+hVM/gQBsEDhzE2vvQ chQqD060JUfsecaKeloEAVrqGd8t1XWKECtrIxiUFWyIwn+ajJEUGLQRwLEh2Bf+1v8phNXd+rZn/ pA1b5phxks3TRgKHllUAC7AMTzbXME+WTj8LlIg3IfoyqsAK2CLFKCTMPb3tsRP8lmPzI4dZDisAL drUHGnhA==; Received: from foss.arm.com ([217.140.110.172]) by casper.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1joWZi-0004in-6P for linux-arm-kernel@lists.infradead.org; Thu, 25 Jun 2020 18:26:16 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 02B9DD6E; Thu, 25 Jun 2020 11:26:13 -0700 (PDT) Received: from e113632-lin (e113632-lin.cambridge.arm.com [10.1.194.46]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 5737C3F71E; Thu, 25 Jun 2020 11:26:11 -0700 (PDT) References: <20200624195811.435857-1-maz@kernel.org> <20200624195811.435857-16-maz@kernel.org> User-agent: mu4e 0.9.17; emacs 26.3 From: Valentin Schneider To: Marc Zyngier Subject: Re: [PATCH v2 15/17] arm64: Remove custom IRQ stat accounting In-reply-to: <20200624195811.435857-16-maz@kernel.org> Date: Thu, 25 Jun 2020 19:26:09 +0100 Message-ID: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200625_192614_533645_05AFAA90 X-CRM114-Status: UNSURE ( 9.13 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sumit Garg , Florian Fainelli , Russell King , Jason Cooper , kernel-team@android.com, Andrew Lunn , Catalin Marinas , Gregory Clement , linux-kernel@vger.kernel.org, Thomas Gleixner , Will Deacon , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 24/06/20 20:58, Marc Zyngier wrote: > @@ -801,26 +802,15 @@ void show_ipi_list(struct seq_file *p, int prec) > unsigned int cpu, i; > > for (i = 0; i < NR_IPI; i++) { > + unsigned int irq = irq_desc_get_irq(ipi_desc[i]); > seq_printf(p, "%*s%u:%s", prec - 1, "IPI", i, > prec >= 4 ? " " : ""); > for_each_online_cpu(cpu) > - seq_printf(p, "%10u ", > - __get_irq_stat(cpu, ipi_irqs[i])); > + seq_printf(p, "%10u ", kstat_irqs_cpu(irq, cpu)); > seq_printf(p, " %s\n", ipi_types[i]); How attached are we to that custom IPI printout? AIUI we *could* give them a "prettier" name in request_percpu_irq() and let the standard procfs printout take the wheel. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel