From nobody Mon Jun 29 21:06:15 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1F7DBC433F5 for ; Wed, 2 Feb 2022 20:31:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347234AbiBBUbR (ORCPT ); Wed, 2 Feb 2022 15:31:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40726 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347148AbiBBUax (ORCPT ); Wed, 2 Feb 2022 15:30:53 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E2C8C06173D; Wed, 2 Feb 2022 12:30:52 -0800 (PST) Date: Wed, 02 Feb 2022 20:30:49 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1643833850; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=05IXDmsz590Qt5Iy6Gh3L/QY5R4OhEuU6v550Gi7aRo=; b=2w/ZhfBOL4NeJZ/d5w+0m97pAf0vPNiI9ziaKvNkIi71PvwmWTawwjUVRFmwmDYW7Xjejo zv9QuTKF8CjV1WU0kQcXbzSiZeFMEpccoiI7VCPCZGJTtWQz5dY2ulPDhLqO5Whtz25cbA VGrLBfbB0lU5BSjMX4fMFWpPwDkFWAzYLl+StYpNIqlQMqeO0j2VrA767bvzyb3FQy7QMk KKm5ceyG1IAwdacmV6vWLIfkPJmB4N/U2KM/DSVMT4b8kXC92O3TzVRSJOnNnOUY3DAwMr JF6UFRFVe/gWH5rdFcCzod43S/ZbpegQqISp9JoyJXfR5pacsfEu1GQKdoPwgw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1643833850; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=05IXDmsz590Qt5Iy6Gh3L/QY5R4OhEuU6v550Gi7aRo=; b=92iMbhDKZbUFBxVNSgKQCgU/hx34hluhPG6J1r9285DcV2Um+9T0diTdwFY52tn6kZl2zv WMA8ftu63JTaSQCw== From: "tip-bot2 for Maciej W. Rozycki" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/irq] x86/PCI: Show the physical address of the $PIR table Cc: "Maciej W. Rozycki" , Thomas Gleixner , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: References: MIME-Version: 1.0 Message-ID: <164383384979.16921.61822794104913419.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the x86/irq branch of tip: Commit-ID: 5c2830301a8784d0392aec617856f1b973bc5bea Gitweb: https://git.kernel.org/tip/5c2830301a8784d0392aec617856f1b97= 3bc5bea Author: Maciej W. Rozycki AuthorDate: Sun, 02 Jan 2022 23:24:23=20 Committer: Thomas Gleixner CommitterDate: Wed, 02 Feb 2022 21:27:54 +01:00 x86/PCI: Show the physical address of the $PIR table It makes no sense to hide the address of the $PIR table in a debug dump: PCI: Interrupt Routing Table found at 0x(ptrval) let alone print its virtual address, given that this is a BIOS entity at=20 a fixed location in the system's memory map. Show the physical address=20 instead then, e.g.: PCI: Interrupt Routing Table found at 0xfde10 Signed-off-by: Maciej W. Rozycki Signed-off-by: Thomas Gleixner Link: https://lore.kernel.org/r/alpine.DEB.2.21.2201020151450.56863@angie.o= rcam.me.uk --- arch/x86/pci/irq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/pci/irq.c b/arch/x86/pci/irq.c index 97b63e3..a33fe9c 100644 --- a/arch/x86/pci/irq.c +++ b/arch/x86/pci/irq.c @@ -84,8 +84,8 @@ static inline struct irq_routing_table *pirq_check_routin= g_table(u8 *addr) for (i =3D 0; i < rt->size; i++) sum +=3D addr[i]; if (!sum) { - DBG(KERN_DEBUG "PCI: Interrupt Routing Table found at 0x%p\n", - rt); + DBG(KERN_DEBUG "PCI: Interrupt Routing Table found at 0x%lx\n", + __pa(rt)); return rt; } return NULL;