Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp832177ybl; Wed, 14 Aug 2019 06:41:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqyy9ea6PEIUHloWOA2xrc963SSsNtww+ycVSg+HMDVaFkJbtmCAbEDYkwzwFuzI6IL7gYjd X-Received: by 2002:a63:7887:: with SMTP id t129mr26609566pgc.309.1565790074339; Wed, 14 Aug 2019 06:41:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565790074; cv=none; d=google.com; s=arc-20160816; b=W7r5/x4fLPS9fgQtK6EWVj2gUY9ozVVGTlxTxj9hu499xAWH+L65mYNREwFyehPPbZ l6Luk4h8IrhDiByjPjB8iYfNdh1urD9NEmv3RieDPvrCBEUAQIjkAopgdIB3c2Seczqy 61/FaT6JB2o4tesie19gjIB0+oYUl5e5KKQkzvkHac1eq0O9IxAsXZNX/rEZuXqMYRxq uYgGMfwuETQU0jdI5swWiVRDTotYQ6ysOe8V8MPRsHIWWc8DMr4oyxqN4RznpXs3vn9n rMb+fjR9526+MRtNB1F9vwAvJLb7lVfbaVxHDke+Av6bBQS7/7XgW8SM5mknrYkPJkoA iCnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=gbkt2sT2qKfb9jKTgHU5XdKw5KCS6o1l1B5tLkQTh/g=; b=qKL6/rSAI2sXyyX1Vu2yRfLmzPCiD3MzEczuRk6UAh8WRG8fNFRtsDaNoJYMOp5e/i wKDhbBzOv9zICbDiMRekL30LkjPqOyV+5hAQTgYGYjdwGZ1+erOkW2hLLfpYZsRYiGZz ifDbeHj3wYsGalzhj+sDMvMVbZNKYg6ITdLUUBsRApGW2th+UqsP1ec35p3soPzacSNI T68lnnp9bMrV7eXtzoF0XeVicBlZmvR1GappNCNlPi5RJi+tSh+50VSu0D1yIj7xCi6u BU49kqVuIFOCyjoBwdcW9XowNoZLrL2OB/MERZrYw5I5C6X0Zx7J/ug8SieRXTdQmcN7 TtgQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y186si66067177pgd.440.2019.08.14.06.40.57; Wed, 14 Aug 2019 06:41:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727875AbfHNNkL (ORCPT + 99 others); Wed, 14 Aug 2019 09:40:11 -0400 Received: from muru.com ([72.249.23.125]:57752 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726722AbfHNNkK (ORCPT ); Wed, 14 Aug 2019 09:40:10 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id D37C680C8; Wed, 14 Aug 2019 13:40:36 +0000 (UTC) Date: Wed, 14 Aug 2019 06:40:06 -0700 From: Tony Lindgren To: Arnd Bergmann Cc: Aaro Koskinen , Dominik Brodowski , linux-omap , Linux ARM , Greg Kroah-Hartman , Linus Walleij , Bartlomiej Zolnierkiewicz , Tomi Valkeinen , Linux Kernel Mailing List Subject: Re: [PATCH 14/22] ARM: omap1: use pci_ioremap_io() for omap_cf Message-ID: <20190814134006.GE52127@atomide.com> References: <20190808212234.2213262-1-arnd@arndb.de> <20190808212234.2213262-15-arnd@arndb.de> <20190813103605.GL52127@atomide.com> <20190813181158.GA26798@darkstar.musicnaut.iki.fi> <20190814074918.GA52127@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Arnd Bergmann [190814 10:37]: > On Wed, Aug 14, 2019 at 9:49 AM Tony Lindgren wrote: > > * Arnd Bergmann [190813 19:34]: > > > On Tue, Aug 13, 2019 at 8:12 PM Aaro Koskinen wrote: > > > diff --git a/arch/arm/mach-omap1/hardware.h b/arch/arm/mach-omap1/hardware.h > > > index 232b8deef907..9fc76a3c9e57 100644 > > > --- a/arch/arm/mach-omap1/hardware.h > > > +++ b/arch/arm/mach-omap1/hardware.h > > > @@ -61,7 +61,7 @@ static inline u32 omap_cs3_phys(void) > > > > > > #endif /* ifndef __ASSEMBLER__ */ > > > > > > -#define OMAP1_IO_OFFSET 0x01000000 /* Virtual IO > > > = 0xfefb0000 */ > > > +#define OMAP1_IO_OFFSET 0x00fb0000 /* Virtual IO > > > = 0xff000000 */ > > > #define OMAP1_IO_ADDRESS(pa) IOMEM((pa) - OMAP1_IO_OFFSET) > > > > > > #include "serial.h" > > > > Oh OK yeah sounds like that's the issue. > > > > > There may be additional locations that hardcode the virtual address. > > > > Those should be in mach-omap1/io.c, and I recall innovator had some > > hardcoded fpga address that should also be checked. > > I see four boards with hardcoded I/O addresses, but they are all below > the PCI I/O virtual address range, and are not affected by that change. > > For the innovator FPGA access, this was ok, it uses the correct address > in the OMAP1_IO_OFFSET range. OK thanks for checking. I tried to apply your virtual address patch to test boot it, but could not get it to apply. What tree is it against? Regards, Tony