Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1879096rwl; Sat, 8 Apr 2023 03:55:44 -0700 (PDT) X-Google-Smtp-Source: AKy350anmVfXOXpSUgT8/in50+MwRjGO6VusRPbr2+yVuTQh81K8+Mp8W+fx1tqgdBz+5pX6xhKN X-Received: by 2002:a17:902:c74a:b0:1a1:ee8c:eed7 with SMTP id q10-20020a170902c74a00b001a1ee8ceed7mr1323494plq.67.1680951344680; Sat, 08 Apr 2023 03:55:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680951344; cv=none; d=google.com; s=arc-20160816; b=nkRtGyrIAPmaU8/P718tx+Q2Dy92rWR4V9MuugLpSyEwn63cXk+IgiLF3lDl1fjfg6 uYgIBkPLNYPlM8dTlppkhhiCeHwwIDM37d2ZBec5hzc8e4dib+Ng2BnZ1rOxiV79iQSn uYVdhwSB+R7bIIWU0AY3Umz4xkinXmxGplUdQnzhZK0TcteFWd08QeulsHL1ClABR8O3 YU3D5CbFyrP99Fhu9/N1AxmrCgG2teCxGV6V4eWXB6oGr6VBlyZP2yeR7tvYtkORN7kX oRizG3AFT9AvyoqGzf70EUJVTQ0BheGl0cbOxISkwrLIO2iL5wTcqqvlLaPy8/NIHVTW C7fg== 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=YFX2XZ6rPTkBPgbt+bmfi2tBwL0d+qePMLiRgHvH19w=; b=HwTTQSG/liTBXvF/G+jaT0FfKqBCnHcUwmyVgIhGD+Z4dd/sdtQ+wLvqoihN8QLWfC piXyJBehbigfIOOYTQ2Oje+vI4dSBKC1d1soNGNIuehewaDWyAMYC7nDzHbeUN+Li9qI 5YpI/ceajtEwzKrnBH18vVBHSSPqPqgGkadBwxsQ0OeeYsYnRBeLVvRgJj1kaYlnEbX5 AYi+8VpcVgXJNBBs2wscl1igb0e33hpZdBH6Ubro8Wc0Y4V3NeB96Chv8YPC/KkAUQ7g tqECZWFNdkjpJ10+hgxfCWxhoOl5xwMOxbbQH/hO8KFFgEJs1PkKLbFs/bdFi+nlKQqU q5xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=35T6t51q; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=V4tFp6o6; 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 i17-20020a170902c95100b001a50da86238si4631690pla.296.2023.04.08.03.55.33; Sat, 08 Apr 2023 03:55:44 -0700 (PDT) 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=35T6t51q; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=V4tFp6o6; 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 S230191AbjDHKuN (ORCPT + 99 others); Sat, 8 Apr 2023 06:50:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230182AbjDHKtl (ORCPT ); Sat, 8 Apr 2023 06:49:41 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01F4F113D7 for ; Sat, 8 Apr 2023 03:48:58 -0700 (PDT) Date: Sat, 08 Apr 2023 10:45:20 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1680950721; 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=YFX2XZ6rPTkBPgbt+bmfi2tBwL0d+qePMLiRgHvH19w=; b=35T6t51qir9bQL0EbZWK4k7+FDn+qICCRNJtT/asL9KudsbMZkA16ZROaojmbgOG9AUCqn 1g6+w8g4LP79kfgFqWjVbBcJ4SIg+rZHWY31+ngygHtPgJZmtv7S6l0c9+g8sk4OcE87aF +9Y44UW+HJBWtcyS8vGGlByJ4oZ4WNhrT4jRfETI8VXg+U/HP10zlrZKcCc2W6lAwyT/eT o4CHWuOK6uuVvN8keOV/tsfxrDEn7R5PJRV8A4WJ2UUz6WbDpk/Hymn4zdIiukpWVAJ2ID i+B03blEL5bIc/PkELm04gq38hoqlFJh23JGFjGKd4ubpWn2o1rP4bzsfhEvaA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1680950721; 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=YFX2XZ6rPTkBPgbt+bmfi2tBwL0d+qePMLiRgHvH19w=; b=V4tFp6o6gJbkrfq0Z3t7S3ocgUPxhkE9dkI1PxAoRuyreh/THK9IICjJeA6AMaiyMkY0Ay eWKuXKyhHh0AjyBg== From: irqchip-bot for =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez?= Rojas Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-kernel@vger.kernel.org Subject: [irqchip: irq/irqchip-next] irqchip/bcm-6345-l1: Request memory region Cc: noltari@gmail.com, Florian Fainelli , Marc Zyngier , tglx@linutronix.de In-Reply-To: <20230316192833.1603149-1-noltari@gmail.com> References: <20230316192833.1603149-1-noltari@gmail.com> MIME-Version: 1.0 Message-ID: <168095072076.404.2128594434310940615.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 X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the irq/irqchip-next branch of irqc= hip: Commit-ID: 23c7ff129cf33dee5f1f4fd9fa729ab440e8f1c5 Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platfo= rms/23c7ff129cf33dee5f1f4fd9fa729ab440e8f1c5 Author: =C3=81lvaro Fern=C3=A1ndez Rojas AuthorDate: Thu, 16 Mar 2023 20:28:33 +01:00 Committer: Marc Zyngier CommitterDate: Sat, 08 Apr 2023 11:07:43 +01:00 irqchip/bcm-6345-l1: Request memory region Request memory region in order to display it in /proc/iomem. Also stop printing the MMIO address since it just displays (ptrval). Signed-off-by: =C3=81lvaro Fern=C3=A1ndez Rojas Acked-by: Florian Fainelli Signed-off-by: Marc Zyngier Link: https://lore.kernel.org/r/20230316192833.1603149-1-noltari@gmail.com --- drivers/irqchip/irq-bcm6345-l1.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/irqchip/irq-bcm6345-l1.c b/drivers/irqchip/irq-bcm6345-l= 1.c index 6899e37..fa113cb 100644 --- a/drivers/irqchip/irq-bcm6345-l1.c +++ b/drivers/irqchip/irq-bcm6345-l1.c @@ -257,6 +257,9 @@ static int __init bcm6345_l1_init_one(struct device_node = *dn, if (!cpu->map_base) return -ENOMEM; =20 + if (!request_mem_region(res.start, sz, res.name)) + pr_err("failed to request intc memory"); + for (i =3D 0; i < n_words; i++) { cpu->enable_cache[i] =3D 0; __raw_writel(0, cpu->map_base + reg_enable(intc, i)); @@ -335,8 +338,7 @@ static int __init bcm6345_l1_of_init(struct device_node *= dn, for_each_cpu(idx, &intc->cpumask) { struct bcm6345_l1_cpu *cpu =3D intc->cpus[idx]; =20 - pr_info(" CPU%u at MMIO 0x%p (irq =3D %d)\n", idx, - cpu->map_base, cpu->parent_irq); + pr_info(" CPU%u (irq =3D %d)\n", idx, cpu->parent_irq); } =20 return 0;