Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp778361ybh; Mon, 13 Jul 2020 00:26:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8u7BEJsRbM3bhwWlL99jTsO45Pg9K0XR7RJETXxJbD7M9ke53trP0kqLyBswK7HwbgGup X-Received: by 2002:a50:cf09:: with SMTP id c9mr49705928edk.90.1594625172146; Mon, 13 Jul 2020 00:26:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594625172; cv=none; d=google.com; s=arc-20160816; b=AqIR/dSr2bnZ96pUf7YiZQolnb+6QMxnZevJSO/8H3nQIRjy4D8qArx3eY+CNlXm4W 6bJOiQcQhN3Nd3I5biSnLFzM4wRMjhUTqxBpMzFcZPavrKi5mV+CB+cyb7w9W2zhSj6V cgCyz+cjQBftSv8dmbxBVNNELOuXIF27VbBm6JDEsXIzCJHEG/8hAmbrWyysGrPjdbex RoZtKv5rPIY3VeF1+XnY32FJFeWhPplRmSBnIuJ3fAlvosuPwQFrPW3draZdMSWA/n0z 7hq0lTo3Krt/mfmg1B8PjcMtPyhz+GsjHb091UujroU7ujGgn2bJvFyFDxgH1cHHoAep 5TEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=8GG+16W3EExH2v5Dbej0MMkf0NnuBaFhYRm8wceDOPg=; b=qm3yKMZzLiZaFfnJ4fjTR6+cJbkbSGwNmcjxWdKduVkQT6DwpbALRCcVIR2OJEHcab EbrB5Lr2cFqK9PUpHumIA0RJK2mF+vWpykkGgkUhbKxEuxt//3GLdkJUcMM8T83YlsHW JcqwMrNetMMnUT5o8uHnPGfGF1TJ3gMye//PiF/2P+GKUg23zld3bDQpj180xbuTIdor OguMmwzAQGS1QLuezph8audHrB5ZN7JJAJUveEJzISyYs5F7CMxti2N1WG6XmeMVA75u Z7ob0WF4prfoTCpnFy614DK6oyuaDdCzFsSNRiezOzGXZaERDdejtZvN6o34CM+iDqKy powg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a19si8550813eje.150.2020.07.13.00.25.49; Mon, 13 Jul 2020 00:26:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728284AbgGMHYh (ORCPT + 99 others); Mon, 13 Jul 2020 03:24:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725830AbgGMHYg (ORCPT ); Mon, 13 Jul 2020 03:24:36 -0400 Received: from andre.telenet-ops.be (andre.telenet-ops.be [IPv6:2a02:1800:120:4::f00:15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B30EC061794 for ; Mon, 13 Jul 2020 00:24:35 -0700 (PDT) Received: from ramsan ([84.195.186.194]) by andre.telenet-ops.be with bizsmtp id 2XQX230064C55Sk01XQXlM; Mon, 13 Jul 2020 09:24:31 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan with esmtp (Exim 4.90_1) (envelope-from ) id 1juspD-0006Qe-3i; Mon, 13 Jul 2020 09:24:31 +0200 Received: from geert by rox.of.borg with local (Exim 4.90_1) (envelope-from ) id 1juspD-0001cY-1g; Mon, 13 Jul 2020 09:24:31 +0200 From: Geert Uytterhoeven To: John Paul Adrian Glaubitz , Stefan Reinauer , linux-m68k@lists.linux-m68k.org Cc: linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] zorro: Fix address space collision message with RAM expansion boards Date: Mon, 13 Jul 2020 09:24:29 +0200 Message-Id: <20200713072429.6182-1-geert@linux-m68k.org> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When booting Linux on an Amiga with BigRAMPlus Zorro expansion board: zorro: Address space collision on device Zorro device 12128600 (Individual Computers) [??? 0x50000000-] This happens because the address space occupied by the BigRAMPlus Zorro device is already in use, as it is part of system RAM. Hence the message is harmless. Zorro memory expansion boards have the ERTF_MEMLIST flag set, which tells AmigaOS to link the board's RAM into the free memory list. While we could skip registering the board resource if this flag is set, that may cause issues with Zorro II RAM excluded in a memfile. Hence fix the issue by just ignoring the error if ERTF_MEMLIST is set. Reported-by: John Paul Adrian Glaubitz Signed-off-by: Geert Uytterhoeven --- drivers/zorro/zorro.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/zorro/zorro.c b/drivers/zorro/zorro.c index 47c733817903f303..1b9928648583193c 100644 --- a/drivers/zorro/zorro.c +++ b/drivers/zorro/zorro.c @@ -181,7 +181,7 @@ static int __init amiga_zorro_probe(struct platform_device *pdev) z->resource.name = z->name; r = zorro_find_parent_resource(pdev, z); error = request_resource(r, &z->resource); - if (error) + if (error && !(z->rom.er_Type & ERTF_MEMLIST)) dev_err(&bus->dev, "Address space collision on device %s %pR\n", z->name, &z->resource); -- 2.17.1