From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E4921C433F5 for ; Thu, 21 Apr 2022 05:19:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1384402AbiDUFWp (ORCPT ); Thu, 21 Apr 2022 01:22:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1384344AbiDUFWg (ORCPT ); Thu, 21 Apr 2022 01:22:36 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B83CBC7C; Wed, 20 Apr 2022 22:19:47 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 2EAAD811B; Thu, 21 Apr 2022 05:16:56 +0000 (UTC) Date: Thu, 21 Apr 2022 08:19:45 +0300 From: Tony Lindgren To: Arnd Bergmann Cc: Aaro Koskinen , linux-omap , Janusz Krzysztofik , 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 , Linux Kernel Mailing List , USB list , dmaengine@vger.kernel.org, "open list:HID CORE LAYER" , linux-mmc , "open list:SERIAL DRIVERS" , dri-devel , Linux Fbdev development list , ALSA Development Mailing List Subject: Re: [PATCH 26/41] ARM: omap1: relocate static I/O mapping Message-ID: References: <20220419133723.1394715-1-arnd@kernel.org> <20220419133723.1394715-27-arnd@kernel.org> <20220420134615.GA1947@darkstar.musicnaut.iki.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org * Arnd Bergmann [220420 19:18]: > On Wed, Apr 20, 2022 at 3:46 PM Aaro Koskinen wrote: > > > > 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. > > Thanks a lot for testing! > > I managed to get to the bottom of this after just a few hours, and > it turned out to be a simple math error on my end, as I got > the alignment wrong, the offset has to be 0x00f00000 > instead of 0x00fb0000 be section aligned. I made sure the > kernel boots up (to the point of missing a rootfs) and uploaded > the fixed branch. Good to hear this got sorted out :) Regards, Tony From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BCF0FC433F5 for ; Thu, 21 Apr 2022 05:19:52 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E6E2710E27D; Thu, 21 Apr 2022 05:19:51 +0000 (UTC) Received: from muru.com (muru.com [72.249.23.125]) by gabe.freedesktop.org (Postfix) with ESMTP id 7055510E27D for ; Thu, 21 Apr 2022 05:19:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 2EAAD811B; Thu, 21 Apr 2022 05:16:56 +0000 (UTC) Date: Thu, 21 Apr 2022 08:19:45 +0300 From: Tony Lindgren To: Arnd Bergmann Subject: Re: [PATCH 26/41] ARM: omap1: relocate static I/O mapping Message-ID: References: <20220419133723.1394715-1-arnd@kernel.org> <20220419133723.1394715-27-arnd@kernel.org> <20220420134615.GA1947@darkstar.musicnaut.iki.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ulf Hansson , USB list , Linux Fbdev development list , Dominik Brodowski , Lee Jones , Daniel Thompson , Aaro Koskinen , Peter Ujfalusi , Helge Deller , Janusz Krzysztofik , Russell King , Krzysztof Kozlowski , Alan Stern , "open list:SERIAL DRIVERS" , "open list:HID CORE LAYER" , Arnd Bergmann , Mark Brown , dri-devel , linux-omap , Linux ARM , Felipe Balbi , Paul Walmsley , Jingoo Han , Dmitry Torokhov , linux-mmc , Linux Kernel Mailing List , Kevin Hilman , Vinod Koul , dmaengine@vger.kernel.org, ALSA Development Mailing List Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" * Arnd Bergmann [220420 19:18]: > On Wed, Apr 20, 2022 at 3:46 PM Aaro Koskinen wrote: > > > > 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. > > Thanks a lot for testing! > > I managed to get to the bottom of this after just a few hours, and > it turned out to be a simple math error on my end, as I got > the alignment wrong, the offset has to be 0x00f00000 > instead of 0x00fb0000 be section aligned. I made sure the > kernel boots up (to the point of missing a rootfs) and uploaded > the fixed branch. Good to hear this got sorted out :) Regards, Tony From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 168FDC433F5 for ; Thu, 21 Apr 2022 05:21:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=cT0JKCh/jQFuPjyLb+5iMv1FPc7AUSvN8sTcmnoC75Q=; b=0YoluBmHcKU0a/ Jbm4CwBbyTU8+CqMzzAzdc0sYqKhdkw/PFxrwr9V8D1eMVSBW+AguD1my7YQoEIyXcumDd/e8ZuEK S/53KFUKmUQ+cSVNjFqZkTgndIu6EoMUKUYNl0JsXL5T7GiC202R+nN+UFpjepXpv/A0VU9Xk9rvD r+PRsY8T7GSEB+PjBTC/zB/DLtR/D7Qa/DSzSxzpFEM2B2WrDUZC9MCZ9ikjuGc8fkY+hIE/a5YHs FKpGD7pStjiTEY03lf96e9jrB3z1qGFoK6Oqyuw3H0Bex36NAJMaNwqQl6+wPGErGkdpPl07vaAUm qu7gL1yU3ejKd5ZY3I3Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhPES-00BYCn-Fi; Thu, 21 Apr 2022 05:19:56 +0000 Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhPEO-00BYBs-MC for linux-arm-kernel@lists.infradead.org; Thu, 21 Apr 2022 05:19:54 +0000 Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 2EAAD811B; Thu, 21 Apr 2022 05:16:56 +0000 (UTC) Date: Thu, 21 Apr 2022 08:19:45 +0300 From: Tony Lindgren To: Arnd Bergmann Cc: Aaro Koskinen , linux-omap , Janusz Krzysztofik , 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 , Linux Kernel Mailing List , USB list , dmaengine@vger.kernel.org, "open list:HID CORE LAYER" , linux-mmc , "open list:SERIAL DRIVERS" , dri-devel , Linux Fbdev development list , ALSA Development Mailing List Subject: Re: [PATCH 26/41] ARM: omap1: relocate static I/O mapping Message-ID: References: <20220419133723.1394715-1-arnd@kernel.org> <20220419133723.1394715-27-arnd@kernel.org> <20220420134615.GA1947@darkstar.musicnaut.iki.fi> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220420_221952_800411_4C6F023A X-CRM114-Status: GOOD ( 24.73 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org * Arnd Bergmann [220420 19:18]: > On Wed, Apr 20, 2022 at 3:46 PM Aaro Koskinen wrote: > > > > 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. > > Thanks a lot for testing! > > I managed to get to the bottom of this after just a few hours, and > it turned out to be a simple math error on my end, as I got > the alignment wrong, the offset has to be 0x00f00000 > instead of 0x00fb0000 be section aligned. I made sure the > kernel boots up (to the point of missing a rootfs) and uploaded > the fixed branch. Good to hear this got sorted out :) Regards, Tony _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8319AC433F5 for ; Fri, 22 Apr 2022 13:33:27 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 97EAB16D5; Fri, 22 Apr 2022 15:32:35 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 97EAB16D5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1650634405; bh=LxxQsJF2y0siHGYkCRa3D9g3wOshXr0hI8lvjvOzhyQ=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=BO0mbRAsMP2+tykSWf7U+ocLrOoF4PE+OMtS0E8FsjGA5l9g+4t0NfywAoUm7POmh c3x1u1Xe+g4NENLTi2w1QclYIqcAnDHRXa36+lpdyH9/Udl9lnf1f/hZgO3r7PX6kB Y+FxvccVCw8p9uVCEvj4ElJifNRV3fp11PiCmGQw= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 5DBA8F804F3; Fri, 22 Apr 2022 15:31:46 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 42130F804F1; Thu, 21 Apr 2022 07:19:57 +0200 (CEST) Received: from muru.com (muru.com [72.249.23.125]) by alsa1.perex.cz (Postfix) with ESMTP id 073D0F8047D for ; Thu, 21 Apr 2022 07:19:50 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 073D0F8047D Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 2EAAD811B; Thu, 21 Apr 2022 05:16:56 +0000 (UTC) Date: Thu, 21 Apr 2022 08:19:45 +0300 From: Tony Lindgren To: Arnd Bergmann Subject: Re: [PATCH 26/41] ARM: omap1: relocate static I/O mapping Message-ID: References: <20220419133723.1394715-1-arnd@kernel.org> <20220419133723.1394715-27-arnd@kernel.org> <20220420134615.GA1947@darkstar.musicnaut.iki.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Mailman-Approved-At: Fri, 22 Apr 2022 15:31:40 +0200 Cc: Ulf Hansson , USB list , Linus Walleij , Linux Fbdev development list , Dominik Brodowski , Lee Jones , Daniel Thompson , Aaro Koskinen , Peter Ujfalusi , Helge Deller , Janusz Krzysztofik , Russell King , Krzysztof Kozlowski , Alan Stern , "open list:SERIAL DRIVERS" , "open list:HID CORE LAYER" , Arnd Bergmann , Mark Brown , dri-devel , linux-omap , Linux ARM , Felipe Balbi , Paul Walmsley , Jingoo Han , Dmitry Torokhov , linux-mmc , Linux Kernel Mailing List , Kevin Hilman , Vinod Koul , dmaengine@vger.kernel.org, ALSA Development Mailing List X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" * Arnd Bergmann [220420 19:18]: > On Wed, Apr 20, 2022 at 3:46 PM Aaro Koskinen wrote: > > > > 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. > > Thanks a lot for testing! > > I managed to get to the bottom of this after just a few hours, and > it turned out to be a simple math error on my end, as I got > the alignment wrong, the offset has to be 0x00f00000 > instead of 0x00fb0000 be section aligned. I made sure the > kernel boots up (to the point of missing a rootfs) and uploaded > the fixed branch. Good to hear this got sorted out :) Regards, Tony