From nobody Fri Dec 19 19:16:07 2025 Received: from pegase2.c-s.fr (pegase2.c-s.fr [93.17.235.10]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9B5DA1FC7DD for ; Thu, 9 Jan 2025 07:20:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=93.17.235.10 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736407206; cv=none; b=HiVZCHAd8ehw5hTHxw+jwDBK+8efbEBeG6lZSRYDlnajXA3Gb5E6xIb+a9omzTtEC+bHC2PDQQb0OAINccBJ/w0Ur3K+nAvUl0UR+oHLKFfEpC0fBi4qS+DNlNRxzPQtZS1W+Q8IPYdrFVuNzN7cC1tH46NqV4HkdceUROJ3PAw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736407206; c=relaxed/simple; bh=F+nUfFfSYDlH2v4BBspYm/WhP1UVUw2HniW5FkbTJwU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Xeh/oYRorcDrDb64XV9H5hXbr3XJm9MgQz8taQqZ5yXHQcGjkS8Zmr8Q2GDDWr7JQx+qFNQdU/bYVmmnvgdOZsgWGNJjLKGPVLjRJfd3bh1bz9daGhrM1pzJHpKqQwGseHdEN7U77DctKUISyZXs1M0ziuQclcyT2ywsGcN/t5k= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=csgroup.eu; spf=pass smtp.mailfrom=csgroup.eu; arc=none smtp.client-ip=93.17.235.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=csgroup.eu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=csgroup.eu Received: from localhost (mailhub3.si.c-s.fr [172.26.127.67]) by localhost (Postfix) with ESMTP id 4YTFl91S0fz9sTy; Thu, 9 Jan 2025 07:49:41 +0100 (CET) X-Virus-Scanned: amavisd-new at c-s.fr Received: from pegase2.c-s.fr ([172.26.127.65]) by localhost (pegase2.c-s.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3J7o4WG4m-Yo; Thu, 9 Jan 2025 07:49:41 +0100 (CET) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase2.c-s.fr (Postfix) with ESMTP id 4YTFk71VKnz9sSC; Thu, 9 Jan 2025 07:48:47 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 21BB98B783; Thu, 9 Jan 2025 07:48:47 +0100 (CET) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id D59MGwN2egiA; Thu, 9 Jan 2025 07:48:47 +0100 (CET) Received: from PO20335.idsi0.si.c-s.fr (unknown [192.168.235.99]) by messagerie.si.c-s.fr (Postfix) with ESMTP id B1B178B768; Thu, 9 Jan 2025 07:48:46 +0100 (CET) From: Christophe Leroy To: Michael Ellerman , Nicholas Piggin , Naveen N Rao , Madhavan Srinivasan Cc: Christophe Leroy , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: [PATCH] powerpc/ipic: Stop printing address of registers Date: Thu, 9 Jan 2025 07:48:36 +0100 Message-ID: X-Mailer: git-send-email 2.47.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1736405316; l=912; i=christophe.leroy@csgroup.eu; s=20211009; h=from:subject:message-id; bh=F+nUfFfSYDlH2v4BBspYm/WhP1UVUw2HniW5FkbTJwU=; b=eyXskOH6wf5nNThhR2s2Tvv+8sdTXj8mTnewGVOxuYd5mMyr5cOSdtIOYz2mO7fh0qTIwEz++ Lzzzr6NOOFYBrltQCA1IURdLkGD+h+fmXE7hEvpdu8V4kLFeHPJbv4s X-Developer-Key: i=christophe.leroy@csgroup.eu; a=ed25519; pk=HIzTzUj91asvincQGOFx6+ZF5AoUuP9GdOtQChs7Mm0= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The following line appears at boot: IPIC (128 IRQ sources) at (ptrval) This is pointless so remove the printing of the virtual address and replace it by matching physical address. Signed-off-by: Christophe Leroy --- arch/powerpc/sysdev/ipic.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/powerpc/sysdev/ipic.c b/arch/powerpc/sysdev/ipic.c index 5f69e2d50f26..037b04bf9a9f 100644 --- a/arch/powerpc/sysdev/ipic.c +++ b/arch/powerpc/sysdev/ipic.c @@ -762,8 +762,7 @@ struct ipic * __init ipic_init(struct device_node *node= , unsigned int flags) ipic_write(ipic->regs, IPIC_SIMSR_H, 0); ipic_write(ipic->regs, IPIC_SIMSR_L, 0); =20 - printk ("IPIC (%d IRQ sources) at %p\n", NR_IPIC_INTS, - primary_ipic->regs); + pr_info("IPIC (%d IRQ sources) at MMIO %pa\n", NR_IPIC_INTS, &res.start); =20 return ipic; } --=20 2.47.0