Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2130908pxb; Wed, 2 Feb 2022 23:06:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJyjNOdaE0+fhL84J6QCc/OTRg0ijYxgNwtGY9fisORDHMICGq0Ah8C8jQodVxv0fQalud2W X-Received: by 2002:aa7:cb4b:: with SMTP id w11mr33542362edt.268.1643872002408; Wed, 02 Feb 2022 23:06:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643872002; cv=none; d=google.com; s=arc-20160816; b=oSmU0j8uOGi7WRCF/iRdKddbm3RJ6NnRetjVAy/nrzlx88Xq1stCI/rdO7uxxTnEre Wi4JvHCVTtDiz6gMpgR5tmjTHbmzg7iSzxIRAsbe3JKurhVD448xfzFL4gGFm9cDJtPP 1n544UxsKM5ynnMwKWVkE+b+XAiOPF+aCjJ+Rj6HrEfrsVgei2XCg29AAO8b5/Ek5zsM LXqkL2bO+FF3hDPspxQjBZr7lXkSOiA/KUEOVCNKHE4DVt1Qxf2Z8aySrHEn1QhGsa7v 6LF9ECrf+sP6/x8VHfqqaGZEUNxw2lP+ohgBTx+ZJZ2Ex+Gai6CZFjgvnWiy6s+CBYhL IC7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=05IXDmsz590Qt5Iy6Gh3L/QY5R4OhEuU6v550Gi7aRo=; b=MvMM9xrjDxlZQa4UC786uFPlB0UWMnY3twFVljqqbttwFYnnvdjsQb0sST1TygrHzD k45UK3QLAhCy7x8+0gcQhcNdCtHuGJSIop5X6TIaTOFEt5f+YnllI76P6gx6u7ZxWN+V cg5f4uZhHcoSlglJVjemCWuQtDyBBpOgqfvWvUIM8350Bp9/IGdkeQohTw+z/qdxECtr jb0PgKLibZzDAEqG4gBbL4/AuCbS6RQffMX8acLhSAUA56xmyfH1xcfSaBzXl6s//M6T W3qtGkh0GhoNVqWR8WWv0TaP7sCHw7DjXtglSrEKI4FN04bgKLsdzLLByuXvOHl2MICT LIYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="2w/ZhfBO"; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y12si14370559edc.20.2022.02.02.23.06.18; Wed, 02 Feb 2022 23:06:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="2w/ZhfBO"; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347231AbiBBUbR (ORCPT + 99 others); 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: 7bit 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/5c2830301a8784d0392aec617856f1b973bc5bea Author: Maciej W. Rozycki AuthorDate: Sun, 02 Jan 2022 23:24:23 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 a fixed location in the system's memory map. Show the physical address 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.orcam.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_routing_table(u8 *addr) for (i = 0; i < rt->size; i++) sum += 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;