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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (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 5FDCCC021A0 for ; Thu, 13 Feb 2025 22:14:47 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Yv8cQ0WHFz30CN; Fri, 14 Feb 2025 09:14:46 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip="2604:1380:45d1:ec00::3" ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1739484886; cv=none; b=VaLQqOfn3aD6vdzDmDvl/AxIBGiLAjJdj2ZUHIf2IFbhDSG9fYbKqT0izzgknF7hAv+eWXRngSv5Un+yqRO3EMdb1xu54JMI6Ic3OQjmhurEa9d4SWTeFXzjjksgetkP9UIP2O9nnmxVCoa3grRIAmNTxP741ofUFJOgwmzYV8XxEnvEPXe6XTZeG3AhWD+js7Uw+5gxnRh5OashLBM4H/ofxlRMVZi9ng8B4/YcwNcAf24290KBtc0XelBvxcN8fMluHc+qqwbda0agUfs5CRebEXijeDSyQQPH2i8uv/cAxzH5aCDuHyYRu2DxHBReV53IvMwn9tdsIADk5CMITA== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1739484886; c=relaxed/relaxed; bh=XG5RlBgKjh+9iyxqUII1wILkqSJBstSN7/E8OUyOjIA=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; b=ip/ECuMvjyhB5NTtzIHSNzyTpVSjzkELnr04qEQcGDuLoN2W1bDmYFSqwAxnThb1sCCaN/6CUe+fjLHhC7H7uHBDrvmDcsbzGJ1cCGoWhJYgwlwRoOD/4Ge6vTpvzf5iJCYcXLWQpqSyGnSUlf9p3GcD94fR1XLOyx7UPfAOOYJzB9UjT+ZrgnnmmezfZqj3NXY/zWiC1LVsc7gbkVjNYHCbR/4HAvTz8qSjmliHJ12ajAxwjN/xwOBpP+r1dL+6trEPK9gMo8dF5ih7tRn7u9V9qKKZWH/vCK/yAjjgQGNxfJ8SW906EIyPOPZ+TFN3/NW0jypYwy34rRXYUS2r8A== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=BJpkEmBT; dkim-atps=neutral; spf=pass (client-ip=2604:1380:45d1:ec00::3; helo=nyc.source.kernel.org; envelope-from=helgaas@kernel.org; receiver=lists.ozlabs.org) smtp.mailfrom=kernel.org Authentication-Results: lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=BJpkEmBT; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=kernel.org (client-ip=2604:1380:45d1:ec00::3; helo=nyc.source.kernel.org; envelope-from=helgaas@kernel.org; receiver=lists.ozlabs.org) Received: from nyc.source.kernel.org (nyc.source.kernel.org [IPv6:2604:1380:45d1:ec00::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4Yv8cP2ml7z3054 for ; Fri, 14 Feb 2025 09:14:45 +1100 (AEDT) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id CBB08A40B5C; Thu, 13 Feb 2025 22:12:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9B9DDC4CED1; Thu, 13 Feb 2025 22:14:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1739484882; bh=2mCO7TSVY9WnU7z7mJv7Hzum3SA2OJA2XG1d+rd36Zs=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=BJpkEmBTGtABjVaHBzB+u5PWOMtiEpWZKoKGu8EeS+/la1wEHNCz/SaV4QpBr5ELe Ktzkp1ahxbWY6mIdQUsvih1Zeco/nj5HM43csN8v7FBwPh2tpnBLjIMahaEbwEVmyP wMkTSeUqHYF1RrNb3dkl1laq1ulMv+ooCufsocK4qqautwNvMpg3CPDS8kQLA03cHT DzImEux1NDyBJRAm8R+Mfjv8dPM6ySTCB4BozjpJeUpjMvkN1OJHYOyhpSmdeO/ZZ5 MBMRPC3yQJf8o7Zs5T41pR/dUW4FrrvN+HO2TvZa6QuMj9kmG05EzY4G9g/bfiF5kf DHCnvlbPlaZug== Date: Thu, 13 Feb 2025 16:14:41 -0600 From: Bjorn Helgaas To: Ilpo =?utf-8?B?SsOkcnZpbmVu?= Cc: Bjorn Helgaas , linux-pci@vger.kernel.org, Karolina Stolarek , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Mahesh J Salgaonkar , Oliver O'Halloran Subject: Re: [PATCH 0/4] PCI: pci_printk() removal (+ related cleanups) Message-ID: <20250213221441.GA136775@bhelgaas> X-Mailing-List: linuxppc-dev@lists.ozlabs.org List-Id: List-Help: List-Owner: List-Post: List-Archive: , List-Subscribe: , , List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20241216161012.1774-1-ilpo.jarvinen@linux.intel.com> On Mon, Dec 16, 2024 at 06:10:08PM +0200, Ilpo Järvinen wrote: > include/linux/pci.h provides pci_printk() which is a low-level > interface with level that is only useful for AER due to error severity > variations. > > This series cleans up shpchp logging wrappers to avoid using low-level > pci_printk() unnecessarily and replaces pci_printk() with aer_printk(). > > Ilpo Järvinen (4): > PCI: shpchp: Remove logging from module init/exit functions > PCI: shpchp: Change dbg() -> ctrl_dbg() I applied the above to pci/hotplug for v6.15, thanks! > PCI: shpchp: Cleanup logging and debug wrappers > PCI: Descope pci_printk() to aer_printk() > > drivers/pci/hotplug/shpchp.h | 18 +----------------- > drivers/pci/hotplug/shpchp_core.c | 13 +------------ > drivers/pci/hotplug/shpchp_hpc.c | 2 +- > drivers/pci/pcie/aer.c | 10 +++++++--- > include/linux/pci.h | 3 --- > 5 files changed, 10 insertions(+), 36 deletions(-) > > -- > 2.39.5 >