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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4B194C54E49 for ; Sat, 24 Feb 2024 11:31:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Subject:Cc:To:From:Message-ID:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=MlHyepmhUxMrd4BvyR36WKqhH9vidnqUjCNWS3vWNdk=; b=LkS1R7m/Vhhoif WDXVIcXHRSnCKi0L1tlPBYw82+/oN8ll+vy0kukkww8jXh9F61K6Bcu484jic718MLAcw+6uwAMn+ hJL4OJAc0oOf9tjzw/fZDA+4azmp44fp7BAZI1nAT4wkaMvi3LJJVcm3CU6IfdU2BAz0mqeuQLefp oIhchXbCTprbBRIN/OTRLXSOnjSMj4IvVBg48I+Hs7ryZqPY+JnjbYoGHYZlMP+w8FRLSp47lgg4f W66PiCiDlUCrHy2I3PmbtCyKpqU45/VzSKSeA+ImNjlxbz3p1aix+T3qS8EzEN+/wUtTT5/PGoIRB u21uD32sEazBC6eXR69g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rdqFT-0000000Cjib-13PH; Sat, 24 Feb 2024 11:31:19 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rdqFQ-0000000Cjhv-1dDz for linux-arm-kernel@lists.infradead.org; Sat, 24 Feb 2024 11:31:17 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 7DDE4CE23D4; Sat, 24 Feb 2024 11:31:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B9E56C433C7; Sat, 24 Feb 2024 11:31:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708774268; bh=bcm3DdqghLXqV1NDYxNhc4E3ZjWsODb7HUSJWc8HasI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=qBoXj187P+E9luvr9Axsx9150L4De7EaN940cIVttWMr7c7jJL8NXQgF8/raWWXNl Eq/F4upq5KMG93mJLniOyY0Je2IXCLhD7wNx/1VnJB/9hPIngT+tkA/qzhHoDfpmVR XTAfZm9tHemT/6HM+4nr34cEq8HHy7/iL8H9TSh8WiHSvhz121huf7QADtQbDrIU29 KjGqs7oUnoAV2bnIgsQgJ2ya7XEIILD9abEaTYa+a64uSce8Cdix5fvOwPGJLqfL7E vzZH420bTizVHF6dPO8NqgrsWdVwafztNrTkORK2q0GU4dRwU/ICGWOxFXnbfgkRsX 7ToAAzBRglDcw== Received: from sofa.misterjones.org ([185.219.108.64] helo=wait-a-minute.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1rdqFG-006M9n-Jj; Sat, 24 Feb 2024 11:31:06 +0000 Date: Sat, 24 Feb 2024 11:31:05 +0000 Message-ID: <878r3a9k06.wl-maz@kernel.org> From: Marc Zyngier To: Oliver Upton Cc: Thomas Gleixner , Zenghui Yu , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kvmarm@lists.linux.dev, Jing Zhang Subject: Re: [PATCH 3/3] irqchip/gic-v3-its: Print the vPE table installed in redistributor In-Reply-To: References: <20240219185809.286724-1-oliver.upton@linux.dev> <20240219185809.286724-4-oliver.upton@linux.dev> <87bk869man.wl-maz@kernel.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/28.2 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: oliver.upton@linux.dev, tglx@linutronix.de, yuzenghui@huawei.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kvmarm@lists.linux.dev, jingzhangos@google.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240224_033116_820486_45FE1388 X-CRM114-Status: GOOD ( 26.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 Sat, 24 Feb 2024 11:11:41 +0000, Oliver Upton wrote: > > On Sat, Feb 24, 2024 at 10:41:36AM +0000, Marc Zyngier wrote: > > On Mon, 19 Feb 2024 18:58:08 +0000, Oliver Upton wrote: > > > - pr_debug("CPU%d: VPROPBASER = %llx %*pbl\n", > > > - smp_processor_id(), val, > > > - cpumask_pr_args(gic_data_rdist()->vpe_table_mask)); > > > + pr_info("CPU%d: Using %s vPE table @%llx (%s)\n", > > > + smp_processor_id(), > > > + (val & GICR_VPROPBASER_4_1_INDIRECT) ? "indirect" : "direct", > > > + val & GICR_VPROPBASER_4_1_ADDR, > > > + (page) ? "allocated" : > > > + ((from_its) ? "inherited from ITS" : "inherited from RD")); > > > > From past experience, having the vpe_table_mask value displayed did > > help tracking VPE table affinity bugs. > > My reasoning behind it was that the change expanded the table mask by > way of printing what's going on at every RD. But easy enough to throw > back in! Yeah, true enough. But the mask presents a nice, concise way to express the affinities that comparing a bunch of lines doesn't exactly convey. > > > This said, my problem with this patch is that we already have tons of > > these statement printed once per CPU/RD. This is really huge and > > accounts for a significant part of the boot time on large machines > > (64+ CPUs). > > > > Before we add more of those, I'd really want to have a way to tone > > them down and only print them at runtime *if* required by the user. > > Kind of a dymanic debug, but driven from the command-line and present > > early enough. > > Yeah, what'd be really nice is a way to enable pr_debug() on a per > file / driver / whatever basis, since turning on all of it becomes a bit > of a firehose... But I guess that's what grep is for. > > WDYT about leaving it at pr_debug() for now, with the additional context > of what exactly VPROPBASE is getting programmend with? Yup, I'm all for that. Hopefully we can find a good way to way to control the debug output in the near future. Thanks, M. -- Without deviation from the norm, progress is not possible. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel