From patchwork Tue Jan 2 19:45:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 10141285 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 557086035E for ; Tue, 2 Jan 2018 19:45:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 446E828D79 for ; Tue, 2 Jan 2018 19:45:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 38D9E28DCD; Tue, 2 Jan 2018 19:45:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B4A2428D79 for ; Tue, 2 Jan 2018 19:45:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751127AbeABTpv (ORCPT ); Tue, 2 Jan 2018 14:45:51 -0500 Received: from mout.gmx.net ([212.227.15.19]:56410 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751014AbeABTpu (ORCPT ); Tue, 2 Jan 2018 14:45:50 -0500 Received: from ls3530.fritz.box ([193.159.16.7]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MhiTL-1eINrv0lyF-00MsyU; Tue, 02 Jan 2018 20:45:44 +0100 Date: Tue, 2 Jan 2018 20:45:42 +0100 From: Helge Deller To: linux-parisc@vger.kernel.org, James Bottomley , John David Anglin Subject: [PATCH] parisc: Show unhashed HPA of Dino chip Message-ID: <20180102194542.GA27739@ls3530.fritz.box> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.1 (2017-09-22) X-Provags-ID: V03:K0:LA4i18HYm8KXxm+i4piHRu09HYpfvU4eZOtOgGJU5URI7i/a9fS UjCRQpdGJjbLDETYC3nMmLlaUvXmCtAJrnGjh5RWgWPVolmtQuk4bhccizmDv9/25NDc+zs RWCF6KZhCfkI/o7h0+cUDP8Qi6bOpFiarOZoP8Vuo3OL0Bju0k7F0zZziDhws4dW6tl47EA Uv5rUnEtG+/ocGnZFA8lw== X-UI-Out-Filterresults: notjunk:1; V01:K0:0KeeOD+5LUQ=:BuKBE6ln7FZWXk7cXAGF83 oC9oOQ87LGyoNPquHxFh/r/MzbZwNaWs8CwXwiGZV7zIaMr0Upnu5D34YyxQpY0oz05EdlY2L MO0wrDqg827Vw+r8Q1Jci6tyqA2f+BogVIH/UHN1VowvYCYdp2OsqBnPZCj376zYTfWFbF0FW FuoFzmaIIVKHGkvH6xSUVpyJHOoQmxJIfOQlo6Y4jDiqw4Dc1vrmgSGb7AtzmoV3zpNn5Wdm+ yjKMRZLkIfBcEc/KO4B/HISAOhPYs1HE5y1dwwLbdhMimoMKreDkjjPhh/OXSunBAJUkznFXv +Ox8RTdPYnMvXG4UgY+DBBtITUvRdNtaQDMh1ZFbaMQz4jQ8LR+ljnL6Z9ggkKMzns4ERlqGZ Fmw5SMEChtGD4qKpjwY+LLEJ2pnX3+JjAxwPqxTFYbiuL2bblv30klUobJVRWPZmtRTRMzjIe uAIbweTg4jVZG5Q/6g5LaJr1JBUhcNE2Cf/qTpx2bmZT12/mbgZtHG946YGel6A9YaVIjFb0v OidxCT5lWvwQk7W+kqkAbxdL1gE0DeJEPfkA+rQNhW41Yu4qgA7KZZWcZFXxjEp7RIgs0HZYk OCpLl2L577V7nc0ZRiER08GspmDhy4ka9waH9EXL5LEOKiwiIQldBPzsIp4Yu4TqP/Soi9TQX 8hdv/YCbSOr4qaZxJhnXG27YKL+DtFjIXItj2WXQkI8E2bhpJhkOkd4WDmMB3RhDXiZVe0PXX suExNR1NwNqr4GfUQDlulnu54SyHA4huJfOdwyz6Koz28nrSsk9PJBkz6gEWFRwt32JHt1fZd okN0slTrlTGp22Hx11qRWfnHXG33Q== Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fixes: ad67b74d2469d9b8 ("printk: hash addresses printed with %p") Signed-off-by: Helge Deller --- To unsubscribe from this list: send the line "unsubscribe linux-parisc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/parisc/dino.c b/drivers/parisc/dino.c index 0b3fb99d9b89..7390fb8ca9d1 100644 --- a/drivers/parisc/dino.c +++ b/drivers/parisc/dino.c @@ -303,7 +303,7 @@ static void dino_mask_irq(struct irq_data *d) struct dino_device *dino_dev = irq_data_get_irq_chip_data(d); int local_irq = gsc_find_local_irq(d->irq, dino_dev->global_irq, DINO_LOCAL_IRQS); - DBG(KERN_WARNING "%s(0x%p, %d)\n", __func__, dino_dev, d->irq); + DBG(KERN_WARNING "%s(0x%px, %d)\n", __func__, dino_dev, d->irq); /* Clear the matching bit in the IMR register */ dino_dev->imr &= ~(DINO_MASK_IRQ(local_irq)); @@ -316,7 +316,7 @@ static void dino_unmask_irq(struct irq_data *d) int local_irq = gsc_find_local_irq(d->irq, dino_dev->global_irq, DINO_LOCAL_IRQS); u32 tmp; - DBG(KERN_WARNING "%s(0x%p, %d)\n", __func__, dino_dev, d->irq); + DBG(KERN_WARNING "%s(0x%px, %d)\n", __func__, dino_dev, d->irq); /* ** clear pending IRQ bits @@ -396,7 +396,7 @@ static irqreturn_t dino_isr(int irq, void *intr_dev) if (mask) { if (--ilr_loop > 0) goto ilr_again; - printk(KERN_ERR "Dino 0x%p: stuck interrupt %d\n", + printk(KERN_ERR "Dino 0x%px: stuck interrupt %d\n", dino_dev->hba.base_addr, mask); return IRQ_NONE; } @@ -553,7 +553,7 @@ dino_fixup_bus(struct pci_bus *bus) struct pci_dev *dev; struct dino_device *dino_dev = DINO_DEV(parisc_walk_tree(bus->bridge)); - DBG(KERN_WARNING "%s(0x%p) bus %d platform_data 0x%p\n", + DBG(KERN_WARNING "%s(0x%px) bus %d platform_data 0x%px\n", __func__, bus, bus->busn_res.start, bus->bridge->platform_data); @@ -854,7 +854,7 @@ static int __init dino_common_init(struct parisc_device *dev, res->flags = IORESOURCE_IO; /* do not mark it busy ! */ if (request_resource(&ioport_resource, res) < 0) { printk(KERN_ERR "%s: request I/O Port region failed " - "0x%lx/%lx (hpa 0x%p)\n", + "0x%lx/%lx (hpa 0x%px)\n", name, (unsigned long)res->start, (unsigned long)res->end, dino_dev->hba.base_addr); return 1;