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 2649BC433EF for ; Wed, 20 Apr 2022 19:21:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234251AbiDTTXx (ORCPT ); Wed, 20 Apr 2022 15:23:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230233AbiDTTXw (ORCPT ); Wed, 20 Apr 2022 15:23:52 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA1ED13FBB; Wed, 20 Apr 2022 12:21:05 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 64F6161647; Wed, 20 Apr 2022 19:21:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C350EC385A8; Wed, 20 Apr 2022 19:21:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650482464; bh=+PgOfT87QXZRKpM2v9ZNowWskAsreLZEe6RAZERVuxs=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=LWkg8+P3Xly8sjIxoqjEgUnQ8BqoLngtqGiQEPZggl4dkK1DiOpgHHwSwn56ifoYf 0jYMBC2y9oudEQNk98zILpE9CQilgE7tkJqFfirwGiPaSzGz60rXyG7LagSrWPhQem gbXXIArHrbaEUbVwFKFsMGfZw+kiVhQTkNWJBmFatyWcBtF+i4qgINtXXuldo7Vx0G RpToCuYAP6mrwt+aiH/IjOOBsTv71f5Oi3+i5AJ3tiOTaMEh/815Em+H9EnYveGtMX wgIyjIS3nQS3pxspnrQ1f27FpB7+Y6rOGSmBE7zDDiBd809M2ZhAxpsXP8A+8SQw2R w9+fnlrAhUS+g== Received: by mail-wr1-f47.google.com with SMTP id m14so3602817wrb.6; Wed, 20 Apr 2022 12:21:04 -0700 (PDT) X-Gm-Message-State: AOAM531HBf5PvIpNJOJDMxIoRo2xda1qDyp1WenSvo6XtyrM6cHHhQeu u4iC9XS8SJYNsKkRkMm7dhmZ0zBzHXaHtBvuABs= X-Google-Smtp-Source: ABdhPJznf39uJYDI3N62QzlkS6buptTPqwk86KhjNzbLbHyB/jaRCmYyra2UZ9f1wUtI0joZyTmyxGE4xOIYt2PeYqA= X-Received: by 2002:a5d:64a3:0:b0:20a:7931:5b84 with SMTP id m3-20020a5d64a3000000b0020a79315b84mr17397786wrp.407.1650482462896; Wed, 20 Apr 2022 12:21:02 -0700 (PDT) MIME-Version: 1.0 References: <20220419133723.1394715-1-arnd@kernel.org> <20220419133723.1394715-27-arnd@kernel.org> <20220420134615.GA1947@darkstar.musicnaut.iki.fi> In-Reply-To: <20220420134615.GA1947@darkstar.musicnaut.iki.fi> From: Arnd Bergmann Date: Wed, 20 Apr 2022 21:20:46 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 26/41] ARM: omap1: relocate static I/O mapping To: Aaro Koskinen Cc: linux-omap , Tony Lindgren , 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 Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org 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. Arnd 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 B353BC43217 for ; Wed, 20 Apr 2022 19:21:08 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E240510E2AC; Wed, 20 Apr 2022 19:21:07 +0000 (UTC) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by gabe.freedesktop.org (Postfix) with ESMTPS id 80AB110E2AC for ; Wed, 20 Apr 2022 19:21:06 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5454D6158D for ; Wed, 20 Apr 2022 19:21:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B9F94C385AA for ; Wed, 20 Apr 2022 19:21:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650482464; bh=+PgOfT87QXZRKpM2v9ZNowWskAsreLZEe6RAZERVuxs=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=LWkg8+P3Xly8sjIxoqjEgUnQ8BqoLngtqGiQEPZggl4dkK1DiOpgHHwSwn56ifoYf 0jYMBC2y9oudEQNk98zILpE9CQilgE7tkJqFfirwGiPaSzGz60rXyG7LagSrWPhQem gbXXIArHrbaEUbVwFKFsMGfZw+kiVhQTkNWJBmFatyWcBtF+i4qgINtXXuldo7Vx0G RpToCuYAP6mrwt+aiH/IjOOBsTv71f5Oi3+i5AJ3tiOTaMEh/815Em+H9EnYveGtMX wgIyjIS3nQS3pxspnrQ1f27FpB7+Y6rOGSmBE7zDDiBd809M2ZhAxpsXP8A+8SQw2R w9+fnlrAhUS+g== Received: by mail-wr1-f51.google.com with SMTP id k22so3616955wrd.2 for ; Wed, 20 Apr 2022 12:21:04 -0700 (PDT) X-Gm-Message-State: AOAM533mcBEeVsMUGtoKAL3tDOy/8BgKk9qobqk+5NnELlaYSQhwQzLo SvXZm/sHWnRcGwLwrJRs6Y5MZEM3j0ViSsWpRhY= X-Google-Smtp-Source: ABdhPJznf39uJYDI3N62QzlkS6buptTPqwk86KhjNzbLbHyB/jaRCmYyra2UZ9f1wUtI0joZyTmyxGE4xOIYt2PeYqA= X-Received: by 2002:a5d:64a3:0:b0:20a:7931:5b84 with SMTP id m3-20020a5d64a3000000b0020a79315b84mr17397786wrp.407.1650482462896; Wed, 20 Apr 2022 12:21:02 -0700 (PDT) MIME-Version: 1.0 References: <20220419133723.1394715-1-arnd@kernel.org> <20220419133723.1394715-27-arnd@kernel.org> <20220420134615.GA1947@darkstar.musicnaut.iki.fi> In-Reply-To: <20220420134615.GA1947@darkstar.musicnaut.iki.fi> From: Arnd Bergmann Date: Wed, 20 Apr 2022 21:20:46 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 26/41] ARM: omap1: relocate static I/O mapping To: Aaro Koskinen Content-Type: text/plain; charset="UTF-8" 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 , Tony Lindgren , Linux Fbdev development list , Dominik Brodowski , Lee Jones , Daniel Thompson , Kevin Hilman , 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 , Vinod Koul , dmaengine@vger.kernel.org, ALSA Development Mailing List Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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. Arnd 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 E75B2C433F5 for ; Wed, 20 Apr 2022 19:22:55 +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:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=SJAwszYXAQVw7BF7McKwPim7aGnQvQM5T72NBJCa3tc=; b=bBYKdYQVE3An4w NcQNhz92PNRnWsJ93x9ewSEdzUuqaOyS0Qf8DsCRjwuIOxUCwkBERaccgxJVVETIuqO49vMC7bFft OtM4Ezie0gu4sGlNgWdIOJpPW6P+Y6L2Br3z9wa7aIDn5QfaTbN36BaynDPSNn2FJCBU5GQOftfvs NjDJRmXftSvqb8XWcdOdBnHX9h9TBlq+480/ggBWWWSlJEIog7sODt0AqJuUvhQWcq9O5SA+pSrLS 0mCsC3Si0mOPGzcbETMzav0VVYGPdgV+CjBYNMYWpB9VyC1tGRCxPa/tUCitD8FEgMf4WhFvk1qKh DkGVO40OUy2de8MxkoSQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhFt1-00ABjV-R0; Wed, 20 Apr 2022 19:21:11 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhFsy-00ABhu-6p for linux-arm-kernel@lists.infradead.org; Wed, 20 Apr 2022 19:21:09 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id AD295B8215E for ; Wed, 20 Apr 2022 19:21:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CBB7CC385AB for ; Wed, 20 Apr 2022 19:21:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650482464; bh=+PgOfT87QXZRKpM2v9ZNowWskAsreLZEe6RAZERVuxs=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=LWkg8+P3Xly8sjIxoqjEgUnQ8BqoLngtqGiQEPZggl4dkK1DiOpgHHwSwn56ifoYf 0jYMBC2y9oudEQNk98zILpE9CQilgE7tkJqFfirwGiPaSzGz60rXyG7LagSrWPhQem gbXXIArHrbaEUbVwFKFsMGfZw+kiVhQTkNWJBmFatyWcBtF+i4qgINtXXuldo7Vx0G RpToCuYAP6mrwt+aiH/IjOOBsTv71f5Oi3+i5AJ3tiOTaMEh/815Em+H9EnYveGtMX wgIyjIS3nQS3pxspnrQ1f27FpB7+Y6rOGSmBE7zDDiBd809M2ZhAxpsXP8A+8SQw2R w9+fnlrAhUS+g== Received: by mail-wr1-f42.google.com with SMTP id t6so168119wra.4 for ; Wed, 20 Apr 2022 12:21:04 -0700 (PDT) X-Gm-Message-State: AOAM530MijGCkCJ4v6BtB+kgPDY3hyDvZt7V4Q6ByEV7gjE9QXbJo+Qf cDzGVIx76VcL5OZNP27il8JuY5t8T0P8WOQCQPY= X-Google-Smtp-Source: ABdhPJznf39uJYDI3N62QzlkS6buptTPqwk86KhjNzbLbHyB/jaRCmYyra2UZ9f1wUtI0joZyTmyxGE4xOIYt2PeYqA= X-Received: by 2002:a5d:64a3:0:b0:20a:7931:5b84 with SMTP id m3-20020a5d64a3000000b0020a79315b84mr17397786wrp.407.1650482462896; Wed, 20 Apr 2022 12:21:02 -0700 (PDT) MIME-Version: 1.0 References: <20220419133723.1394715-1-arnd@kernel.org> <20220419133723.1394715-27-arnd@kernel.org> <20220420134615.GA1947@darkstar.musicnaut.iki.fi> In-Reply-To: <20220420134615.GA1947@darkstar.musicnaut.iki.fi> From: Arnd Bergmann Date: Wed, 20 Apr 2022 21:20:46 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 26/41] ARM: omap1: relocate static I/O mapping To: Aaro Koskinen Cc: linux-omap , Tony Lindgren , 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220420_122108_558592_EB8771A9 X-CRM114-Status: GOOD ( 23.68 ) 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 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. Arnd _______________________________________________ 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 81E07C433EF for ; Fri, 22 Apr 2022 13:53:13 +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 C20B8163D; Fri, 22 Apr 2022 15:52:21 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C20B8163D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1650635591; bh=+PgOfT87QXZRKpM2v9ZNowWskAsreLZEe6RAZERVuxs=; h=References:In-Reply-To:From:Date:Subject:To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=kY7JkMMb+LAiCUmH+bp6+hmrQOp5CF6tpGgnwr5sO6uEj6DVzVkHfkt6FmHwzAdGT MBnObhYh1WnATBkH0479DgX6tqbOr2wob9dMmxB6cbFzXotyCfhDxdybglMZu8M4KP 1rqm9CV2GeX4YosPoRMdCQRPwXOw3LzI+LMobV3Q= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id E2A4EF8087B; Fri, 22 Apr 2022 15:32:42 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 4FCD7F80125; Wed, 20 Apr 2022 21:21:13 +0200 (CEST) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id E6BDFF800F8 for ; Wed, 20 Apr 2022 21:21:06 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz E6BDFF800F8 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="LWkg8+P3" Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 19B04B8215C for ; Wed, 20 Apr 2022 19:21:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B3A41C385A9 for ; Wed, 20 Apr 2022 19:21:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650482464; bh=+PgOfT87QXZRKpM2v9ZNowWskAsreLZEe6RAZERVuxs=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=LWkg8+P3Xly8sjIxoqjEgUnQ8BqoLngtqGiQEPZggl4dkK1DiOpgHHwSwn56ifoYf 0jYMBC2y9oudEQNk98zILpE9CQilgE7tkJqFfirwGiPaSzGz60rXyG7LagSrWPhQem gbXXIArHrbaEUbVwFKFsMGfZw+kiVhQTkNWJBmFatyWcBtF+i4qgINtXXuldo7Vx0G RpToCuYAP6mrwt+aiH/IjOOBsTv71f5Oi3+i5AJ3tiOTaMEh/815Em+H9EnYveGtMX wgIyjIS3nQS3pxspnrQ1f27FpB7+Y6rOGSmBE7zDDiBd809M2ZhAxpsXP8A+8SQw2R w9+fnlrAhUS+g== Received: by mail-wr1-f52.google.com with SMTP id s29so516939wrb.8 for ; Wed, 20 Apr 2022 12:21:04 -0700 (PDT) X-Gm-Message-State: AOAM531Z1RsAeiudB7KmLdvc3doWUNeYLzetxuNcKQAhmBiEYfHw/hQR 1LswgHesguKxSYkFFCQ52EBTVaTPQUPTqqiIJh4= X-Google-Smtp-Source: ABdhPJznf39uJYDI3N62QzlkS6buptTPqwk86KhjNzbLbHyB/jaRCmYyra2UZ9f1wUtI0joZyTmyxGE4xOIYt2PeYqA= X-Received: by 2002:a5d:64a3:0:b0:20a:7931:5b84 with SMTP id m3-20020a5d64a3000000b0020a79315b84mr17397786wrp.407.1650482462896; Wed, 20 Apr 2022 12:21:02 -0700 (PDT) MIME-Version: 1.0 References: <20220419133723.1394715-1-arnd@kernel.org> <20220419133723.1394715-27-arnd@kernel.org> <20220420134615.GA1947@darkstar.musicnaut.iki.fi> In-Reply-To: <20220420134615.GA1947@darkstar.musicnaut.iki.fi> From: Arnd Bergmann Date: Wed, 20 Apr 2022 21:20:46 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 26/41] ARM: omap1: relocate static I/O mapping To: Aaro Koskinen Content-Type: text/plain; charset="UTF-8" X-Mailman-Approved-At: Fri, 22 Apr 2022 15:31:42 +0200 Cc: Ulf Hansson , USB list , Tony Lindgren , Linus Walleij , Linux Fbdev development list , Dominik Brodowski , Lee Jones , Daniel Thompson , Kevin Hilman , 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 , 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" 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. Arnd