Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp287939pxb; Wed, 20 Apr 2022 22:55:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyl1Cy9SOxKMwhj2KCZV8xG67DlDU3AAEwmV9LtcIZrNUz2SXqMwufTDzIXk5l7xtBG2BDL X-Received: by 2002:a17:90a:4581:b0:1bc:d215:8722 with SMTP id v1-20020a17090a458100b001bcd2158722mr8446787pjg.149.1650520531065; Wed, 20 Apr 2022 22:55:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1650520531; cv=pass; d=google.com; s=arc-20160816; b=r4U2ItqNoDt92MnvNNlTr0groFYNkHA834bFkf5G5uwzxvDtQeMZctMtWa0ExSncFF IvKxJsD9OE/tWFviHdOtFRa2OB9ZaPHfMYtwxjz3KywVkhLHbLkzZZgUDlrTRCRZbaKU Jc3Ov5kA7t+qmCZuCwSU11o44Q/7yiJB20hxCymdWOF6De3N+IWCUJjrO41rT+T1wQzE 95I9J5O3Rk83dFYNXhsKoUtgTw3tp2lWo/txD1Sn654jzYJuiD4XCzUsnxwqpXxyzibV /EU1RosKcHuLQPuioKhPrwrgRFx/kQ9SeLvIiRqu6SQYnNIrPyy7VoKoARTucblpB16a BmoA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=hPdeBaZ6eVr/qRTevscI2sSHgl9RZPmaXc8iV1TPOYQ=; b=qfZ9XaC2fU+Qhc+aPYqlx86Fq9sqf9SzZHo7Rz5k0JfyCDQMIEUm7va8xIN8Yrw61r Ei1VGvzD+qGtcTT9fsNgJZtyKYKt+q++NvbzXNDKTKxd9pZ7xNF1dvxQ0u5PBktVTSlf DX+YB31iz1V5O4ndReKhz0VfcDxUyl/SHmYi+Jly3pLee3Fej8qN3tKsmxTcbRi+B6+s fnsXWL9rjwjli1X9mWpMsQ53nRR89qKc7BamMN2gFXA+J2/9OPFxkSPP6aN0gVE6qyDI SYGfc0c3/4bp6T5OnzjXQAGp7hbqJmJ65bskKNxeSnk6brFnvwzApM29N3mbzub9FFzW A0ag== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@iki.fi header.s=meesny header.b=TWxI7Ho2; arc=pass (i=1); 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e21-20020a656495000000b003816043efe0si4179440pgv.469.2022.04.20.22.55.15; Wed, 20 Apr 2022 22:55:31 -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=@iki.fi header.s=meesny header.b=TWxI7Ho2; arc=pass (i=1); 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379151AbiDTNtR (ORCPT + 99 others); Wed, 20 Apr 2022 09:49:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379139AbiDTNtJ (ORCPT ); Wed, 20 Apr 2022 09:49:09 -0400 Received: from meesny.iki.fi (meesny.iki.fi [IPv6:2001:67c:2b0:1c1::201]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2575A21E0D; Wed, 20 Apr 2022 06:46:22 -0700 (PDT) Received: from darkstar.musicnaut.iki.fi (85-76-69-216-nat.elisa-mobile.fi [85.76.69.216]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: aaro.koskinen) by meesny.iki.fi (Postfix) with ESMTPSA id AD3B7205A6; Wed, 20 Apr 2022 16:46:17 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1650462379; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hPdeBaZ6eVr/qRTevscI2sSHgl9RZPmaXc8iV1TPOYQ=; b=TWxI7Ho2RtsaPS6MDuk2M+E+sq1KJYxSGS4DmJDZp6BP1taIQkAU15m6enkHBtGqJiUXvp lXQHG+v4JXQrypyUiMgoBHrh9vRs0uJa78N5cmw1Dkb39AobNvcLF22yj6OlonUngPVdl9 hg/zZ4gRXP0aP/DTuM9FEXSAfDl6JAk= Date: Wed, 20 Apr 2022 16:46:15 +0300 From: Aaro Koskinen To: Arnd Bergmann Cc: linux-omap@vger.kernel.org, tony@atomide.com, jmkrzyszt@gmail.com, Arnd Bergmann , Russell King , Paul Walmsley , Kevin Hilman , Peter Ujfalusi , Vinod Koul , Dmitry Torokhov , Ulf Hansson , Dominik Brodowski , Mark Brown , Felipe Balbi , Alan Stern , Lee Jones , Daniel Thompson , Jingoo Han , Helge Deller , Linus Walleij , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, dmaengine@vger.kernel.org, linux-input@vger.kernel.org, linux-mmc@vger.kernel.org, linux-serial@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, alsa-devel@alsa-project.org Subject: Re: [PATCH 26/41] ARM: omap1: relocate static I/O mapping Message-ID: <20220420134615.GA1947@darkstar.musicnaut.iki.fi> References: <20220419133723.1394715-1-arnd@kernel.org> <20220419133723.1394715-27-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220419133723.1394715-27-arnd@kernel.org> ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1650462379; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hPdeBaZ6eVr/qRTevscI2sSHgl9RZPmaXc8iV1TPOYQ=; b=H/ymb4ClmH02P6z9wJPj5hwDvA4ML4CAqvyTrTXpyzakXMrwIF7fhncpTt2p+tyb+n415S rXswuQZfImMNpPXfbjLG2A2bYft152C7y10qe9zeKLi8GlOcXPiCV9y/0Eijq+J6KgXV6K JExPxjG2F+njcVYYdJlNrzaNBE0jppU= ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=aaro.koskinen smtp.mailfrom=aaro.koskinen@iki.fi ARC-Seal: i=1; s=meesny; d=iki.fi; t=1650462379; a=rsa-sha256; cv=none; b=CVy72ecIkI6wF0iqwa+Xy91DJU3aDMoxGNfzuIx9Vt1gzOxFw+Q04asMI9whLP3P8s501X P2eVWVYDpVAr6tfbV1PJEm52Z8VQMrb77N573CgDjOg+UHf97HnYPA9FH0wGgHHkmeXpu6 wtihpIfPU1zC4kkQJy4ZZuJBXIgiXlA= X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS autolearn=ham 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 Hi, On Tue, Apr 19, 2022 at 03:37:08PM +0200, Arnd Bergmann wrote: > From: Arnd Bergmann > > The address range 0xfee00000-0xfeffffff is used for PCI and > PCMCIA I/O port mappings, but OMAP1 has its static mappings > there as well. > > Move the OMAP1 addresses a little higher to avoid crashing > at boot. This has the same problem I reported in 2019, with earlyprintk the system no longer boots: https://marc.info/?t=156530014200005&r=1&w=2 Tested on OSK and SX1/qemu. A. > Signed-off-by: Arnd Bergmann > --- > arch/arm/Kconfig.debug | 6 +++--- > arch/arm/mach-omap1/include/mach/hardware.h | 2 +- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug > index 0c9497d549e3..f57b449000f7 100644 > --- a/arch/arm/Kconfig.debug > +++ b/arch/arm/Kconfig.debug > @@ -1837,9 +1837,9 @@ config DEBUG_UART_VIRT > default 0xfec00000 if ARCH_IXP4XX && !CPU_BIG_ENDIAN > default 0xfec00003 if ARCH_IXP4XX && CPU_BIG_ENDIAN > default 0xfef36000 if DEBUG_HIGHBANK_UART > - default 0xfefb0000 if DEBUG_OMAP1UART1 || DEBUG_OMAP7XXUART1 > - default 0xfefb0800 if DEBUG_OMAP1UART2 || DEBUG_OMAP7XXUART2 > - default 0xfefb9800 if DEBUG_OMAP1UART3 || DEBUG_OMAP7XXUART3 > + default 0xff000000 if DEBUG_OMAP1UART1 || DEBUG_OMAP7XXUART1 > + default 0xff000800 if DEBUG_OMAP1UART2 || DEBUG_OMAP7XXUART2 > + default 0xff009800 if DEBUG_OMAP1UART3 || DEBUG_OMAP7XXUART3 > default 0xffd01000 if DEBUG_HIP01_UART > default DEBUG_UART_PHYS if !MMU > depends on DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \ > diff --git a/arch/arm/mach-omap1/include/mach/hardware.h b/arch/arm/mach-omap1/include/mach/hardware.h > index 05c5cd3e95f4..e3522e601ccd 100644 > --- a/arch/arm/mach-omap1/include/mach/hardware.h > +++ b/arch/arm/mach-omap1/include/mach/hardware.h > @@ -63,7 +63,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 > -- > 2.29.2 >