From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bmailout3.hostsharing.net (bmailout3.hostsharing.net [176.9.242.62]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 16C53242D95; Wed, 28 May 2025 06:38:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=176.9.242.62 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1748414342; cv=none; b=VqPFk8GZ7AWrq297v2AeSPBT5tEQlHkWhbQ/ajUnd3W8QrM16zlcV7WcSFvk60kf1MutXp4iJ04CuYi/8rUElssivM9PmUTYne9wEEdfmv1Hj8hhKiO709lQM23FUZjycUDt416OAZrGriurXAQTronxMxJZE39CrPEvXVuryOw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1748414342; c=relaxed/simple; bh=Duw0wz08mc2oHMqHnxezalaq0om2rCtkTpHvQTZc+XI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=P71+4y/HwGLpzILQnTUM0IFSMb7gciaIA6wLgv8sZSUmABxEVXIhtQdFBTpCtuRyw7D7FXZRWtPiL810D4+F+lEiyFv7ktkQnagx0r4dbHLMJE9vvbv18xLSYPQW0sk6Vag5DAe+wL3wA+/UcdNzywZI9c+rfg/KC0DZfuiwJ18= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wunner.de; spf=none smtp.mailfrom=h08.hostsharing.net; arc=none smtp.client-ip=176.9.242.62 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wunner.de Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=h08.hostsharing.net Received: from h08.hostsharing.net (h08.hostsharing.net [IPv6:2a01:37:1000::53df:5f1c:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "*.hostsharing.net", Issuer "RapidSSL TLS RSA CA G1" (verified OK)) by bmailout3.hostsharing.net (Postfix) with ESMTPS id 7F9772C0AD18; Wed, 28 May 2025 08:38:51 +0200 (CEST) Received: by h08.hostsharing.net (Postfix, from userid 100393) id 3F699176016; Wed, 28 May 2025 08:38:51 +0200 (CEST) Date: Wed, 28 May 2025 08:38:51 +0200 From: Lukas Wunner To: Bjorn Helgaas Cc: linux-pci@vger.kernel.org, Jon Pan-Doh , Karolina Stolarek , Weinan Liu , Martin Petersen , Ben Fuller , Drew Walton , Anil Agrawal , Tony Luck , Ilpo =?iso-8859-1?Q?J=E4rvinen?= , Sathyanarayanan Kuppuswamy , Jonathan Cameron , Sargun Dhillon , "Paul E . McKenney" , Mahesh J Salgaonkar , Oliver O'Halloran , Kai-Heng Feng , Keith Busch , Robert Richter , Terry Bowman , Shiju Jose , Dave Jiang , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Bjorn Helgaas Subject: Re: [PATCH v8 13/20] PCI/ERR: Add printk level to pcie_print_tlp_log() Message-ID: References: <20250522232339.1525671-1-helgaas@kernel.org> <20250522232339.1525671-14-helgaas@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250522232339.1525671-14-helgaas@kernel.org> On Thu, May 22, 2025 at 06:21:19PM -0500, Bjorn Helgaas wrote: > @@ -130,6 +132,6 @@ void pcie_print_tlp_log(const struct pci_dev *dev, > } > } > > - pci_err(dev, "%sTLP Header%s: %s\n", pfx, > + dev_printk(level, &dev->dev, "%sTLP Header%s: %s\n", pfx, > log->flit ? " (Flit)" : "", buf); > } Nit: pci_printk() ? The definition in include/linux/pci.h was retained by fab874e12593.