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 D18B3C433EF for ; Fri, 22 Apr 2022 19:17:05 +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=Ft3ajh8nOQFagB43HG01PlnnwZpMdNdGKU56WRb+VmU=; b=bwTx/Hj8IhpWVm XB5l3SkfmJqGJf5wZfp2L0uNhorVUiZTJtAhUImhK8FTGuxXBfQZo3rzL0ISrDG/blqAO7mWDi6tQ Z1BzJx09okLwmVyUjfiLAM/FNOZLs0XYiFyCpGc7tjNFgk0Fhe9nzbCvb5fVQ8tfTqyOV6L7Av4Iw yQFBkJN8a0blZwWtmgHyJeJvVrZM6v8Twp62XSWnrsMmjkyYMNRrBnA+5EYZBrypQiM0zDkxF6DJc nym8fTRHgIOAuWBKhlTC1sn7ko/qREwdTS5I8ZXdlkZUT9JPFHPbKSjuHNpQBcPPuayKCQGnRih/H KTmZXnuiNMEWTgvetuMg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhylw-0026VL-Ne; Fri, 22 Apr 2022 19:16:52 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhylk-0026T2-7m; Fri, 22 Apr 2022 19:16:41 +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 dfw.source.kernel.org (Postfix) with ESMTPS id 3B8A561C36; Fri, 22 Apr 2022 19:16:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9DCEAC385A0; Fri, 22 Apr 2022 19:16:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650654996; bh=usqLrTa+RhNIXODsvc1TquBT71WxqcNK2RxgDri8djo=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=dHZdyEqPbXSmeLsuy8PRY8gXoSJpMet3UHqdYrtinR2eBd+8B/N2mmofElBUbtMxP q8r7n4ncrLlzphg1eptw0OcB/tkTXS7Wu5c0+2ETmdsj1L3+3zeqdF+HwcYSu+n3Uq 1g+pIuksyr7npaick9W4i8sLsxYXsIAz/zdYGL9VHag6K2ei3r6bOQvgiAUz5GPqwI GD8rl4Pj29WUDMJeHw7N6ZIi95tiQZ43R0ZteLd0w2UdCH+N/IpSZj8T4vn2EAA7dd GKq/Pw4mYPpOAz2Hjz6hIpuHQ54CPuvkDYSab0d4S9/Q5dgDzscYwk2MkrzQlU5y27 m331jxLqtxgKQ== Received: by mail-wr1-f41.google.com with SMTP id k22so12397415wrd.2; Fri, 22 Apr 2022 12:16:36 -0700 (PDT) X-Gm-Message-State: AOAM532S3uHRN9AyMivWX63JldD/kIZ/pIBokEpVLpp8qkOv38W6uGUH T0vcWi0XRVUi4v72bFqT224A94Ri3vkZbUWOqVw= X-Google-Smtp-Source: ABdhPJw6+Yao9x3BaLiJGzKRj3K3UIg0JnN9aGyxH7bzbX5jCygm3ZIZ1bsSqfcHE9peInK43hwx2CakFvcKMsS3Rps= X-Received: by 2002:a5d:6983:0:b0:207:a226:df4b with SMTP id g3-20020a5d6983000000b00207a226df4bmr5002354wru.192.1650654994816; Fri, 22 Apr 2022 12:16:34 -0700 (PDT) MIME-Version: 1.0 References: <20220419163810.2118169-1-arnd@kernel.org> <20220422170530.GA2338209@roeck-us.net> In-Reply-To: <20220422170530.GA2338209@roeck-us.net> From: Arnd Bergmann Date: Fri, 22 Apr 2022 21:16:18 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 00/48] ARM: PXA multiplatform support To: Guenter Roeck Cc: Robert Jarzmik , Linux ARM , Arnd Bergmann , Daniel Mack , Haojian Zhuang , Marek Vasut , Philipp Zabel , Lubomir Rintel , Paul Parsons , Tomas Cech , Sergey Lapin , Thomas Bogendoerfer , Michael Turquette , Stephen Boyd , "Rafael J. Wysocki" , Viresh Kumar , Dmitry Torokhov , Ulf Hansson , Dominik Brodowski , Helge Deller , Mark Brown , Linus Walleij , Linux Kernel Mailing List , "open list:BROADCOM NVRAM DRIVER" , IDE-ML , linux-clk , Linux PM list , "open list:HID CORE LAYER" , patches@opensource.cirrus.com, linux-leds@vger.kernel.org, linux-mmc , linux-mtd , linux-rtc@vger.kernel.org, USB list , Linux Fbdev development list , dri-devel , ALSA Development Mailing List X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220422_121640_396274_2D4F1566 X-CRM114-Status: GOOD ( 31.66 ) X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" Errors-To: linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org On Fri, Apr 22, 2022 at 7:05 PM Guenter Roeck wrote: > > On Tue, Apr 19, 2022 at 06:37:22PM +0200, Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > This revisits a series I sent a few years ago: > > > > https://lore.kernel.org/lkml/20191018154052.1276506-1-arnd@arndb.de/ > > > > All the other ARMv5 conversions are under way now, with > > OMAP1 being the only one still not in linux-next yet, > > and PXA completing the set. > > > > Most of the patches are unchanged from before, furtunately > > the PXA code is fairly stable. I addressed Robert's comments, > > pulled in two patches from Dmitry, and added the last a the > > final four patches to finish off the multiplatform conversion. > > > > I hope someone is left to test these on PXA: if this works, > > I'd like to merge it for 5.19. A git tree with these is avaialable > > for testing at > > > > https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git/log/?h=pxa-multiplatform-5.18 > > > > Unfortunately that crashes for me when trying to boot from ide. > Bisect points to the last patch of the series. Thanks a lot for testing and the perfect bug report! > [ 1.403715] 8<--- cut here --- > [ 1.403848] Unable to handle kernel paging request at virtual address feeb000e > [ 1.404097] [feeb000e] *pgd=00000000 Ok, this is the PCI I/O space area, which starts at 0xfee00000, clearly the way I/O space gets mapped changed here. I don't yet see what happened, but it should be straightforward to find from here. > [ 1.416643] pcmcia_init_one from pcmcia_device_probe+0xe4/0x2a0 > [ 1.416882] pcmcia_device_probe from really_probe+0xc8/0x3b4 > [ 1.417070] really_probe from __driver_probe_device+0x9c/0x214 > [ 1.417255] __driver_probe_device from driver_probe_device+0x38/0xe0 > [ 1.417454] driver_probe_device from __device_attach_driver+0xa4/0x11c > [ 1.417657] __device_attach_driver from bus_for_each_drv+0x88/0xd8 > [ 1.417864] bus_for_each_drv from __device_attach+0xf4/0x194 > [ 1.418047] __device_attach from bus_probe_device+0x8c/0x94 > [ 1.418224] bus_probe_device from device_add+0x3d0/0x894 > [ 1.418395] device_add from pcmcia_device_add+0x2ec/0x3e0 > [ 1.418568] pcmcia_device_add from pcmcia_card_add+0xd4/0x1a0 > [ 1.418756] pcmcia_card_add from pcmcia_bus_add+0x44/0x4c > [ 1.418930] pcmcia_bus_add from socket_insert+0x12c/0x150 > [ 1.419103] socket_insert from pccardd+0x398/0x44c > [ 1.419257] pccardd from kthread+0xdc/0x114 > [ 1.419400] kthread from ret_from_fork+0x14/0x2c > [ 1.419569] Exception stack(0xc48a5fb0 to 0xc48a5ff8) > [ 1.419735] 5fa0: 00000000 00000000 00000000 00000000 > [ 1.419979] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 > [ 1.420222] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 > [ 1.420501] Code: 13570000 e1a06000 0a000043 e3a03002 (e5c03000) > [ 1.420874] ---[ end trace 0000000000000000 ]--- > > --- > # bad: [7643a9ca9f8e08f71e15f89dd74863635e981e03] ARM: pxa: convert to multiplatform > # good: [3123109284176b1532874591f7c81f3837bbdc17] Linux 5.18-rc1 > git bisect start 'HEAD' 'v5.18-rc1' > # good: [9b03d7f95bd4d97101ecb8ea1e822103b81fdb2d] ARM: pxa: mainstone-wm97xx: use gpio lookup table > git bisect good 9b03d7f95bd4d97101ecb8ea1e822103b81fdb2d > # good: [764063eee7620ea9abb940068a7ad0e7f9efa1b6] cpufreq: pxa3: move clk register access to clk driver > git bisect good 764063eee7620ea9abb940068a7ad0e7f9efa1b6 > # good: [5153474f0a4388b7ddb59add4be73bfb42b2007f] ARM: mmp: remove tavorevb board support > git bisect good 5153474f0a4388b7ddb59add4be73bfb42b2007f > # good: [2746f7c78b428c8b01b691a29a972c08101ae343] ARM: PXA: fix multi-cpu build of xsc3 > git bisect good 2746f7c78b428c8b01b691a29a972c08101ae343 > # good: [73d5106e9489464eac84362705e93bcf3b376123] ARM: pxa: remove support for MTD_XIP > git bisect good 73d5106e9489464eac84362705e93bcf3b376123 > # first bad commit: [7643a9ca9f8e08f71e15f89dd74863635e981e03] ARM: pxa: convert to multiplatform I'll back out this patch for now while investigating further. Which machine did you hit this on? Is this on hardware or in qemu? Arnd ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ 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 E273CC433EF for ; Fri, 22 Apr 2022 19:16:41 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id EE0BC10E47C; Fri, 22 Apr 2022 19:16:40 +0000 (UTC) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6B4AA10E47C for ; Fri, 22 Apr 2022 19:16:39 +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 ams.source.kernel.org (Postfix) with ESMTPS id D8DC0B83080 for ; Fri, 22 Apr 2022 19:16:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9FE80C385A9 for ; Fri, 22 Apr 2022 19:16:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650654996; bh=usqLrTa+RhNIXODsvc1TquBT71WxqcNK2RxgDri8djo=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=dHZdyEqPbXSmeLsuy8PRY8gXoSJpMet3UHqdYrtinR2eBd+8B/N2mmofElBUbtMxP q8r7n4ncrLlzphg1eptw0OcB/tkTXS7Wu5c0+2ETmdsj1L3+3zeqdF+HwcYSu+n3Uq 1g+pIuksyr7npaick9W4i8sLsxYXsIAz/zdYGL9VHag6K2ei3r6bOQvgiAUz5GPqwI GD8rl4Pj29WUDMJeHw7N6ZIi95tiQZ43R0ZteLd0w2UdCH+N/IpSZj8T4vn2EAA7dd GKq/Pw4mYPpOAz2Hjz6hIpuHQ54CPuvkDYSab0d4S9/Q5dgDzscYwk2MkrzQlU5y27 m331jxLqtxgKQ== Received: by mail-wr1-f51.google.com with SMTP id h25so6349864wrc.13 for ; Fri, 22 Apr 2022 12:16:36 -0700 (PDT) X-Gm-Message-State: AOAM533dbeLK8su9x4WVWITcZkkwGbsSDe+fMmrL0ThjzTdDZJkoulXP dR5eWUSYU0kiCypLyEy3AcuhsOGFA1Vdj8cBzGw= X-Google-Smtp-Source: ABdhPJw6+Yao9x3BaLiJGzKRj3K3UIg0JnN9aGyxH7bzbX5jCygm3ZIZ1bsSqfcHE9peInK43hwx2CakFvcKMsS3Rps= X-Received: by 2002:a5d:6983:0:b0:207:a226:df4b with SMTP id g3-20020a5d6983000000b00207a226df4bmr5002354wru.192.1650654994816; Fri, 22 Apr 2022 12:16:34 -0700 (PDT) MIME-Version: 1.0 References: <20220419163810.2118169-1-arnd@kernel.org> <20220422170530.GA2338209@roeck-us.net> In-Reply-To: <20220422170530.GA2338209@roeck-us.net> From: Arnd Bergmann Date: Fri, 22 Apr 2022 21:16:18 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 00/48] ARM: PXA multiplatform support To: Guenter Roeck 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 , "Rafael J. Wysocki" , Viresh Kumar , Linux Fbdev development list , Dominik Brodowski , "open list:BROADCOM NVRAM DRIVER" , IDE-ML , linux-mtd , Tomas Cech , Robert Jarzmik , linux-clk , linux-leds@vger.kernel.org, linux-rtc@vger.kernel.org, Helge Deller , Marek Vasut , Paul Parsons , Sergey Lapin , Arnd Bergmann , Linux PM list , "open list:HID CORE LAYER" , Haojian Zhuang , Lubomir Rintel , Mark Brown , dri-devel , Linux ARM , Thomas Bogendoerfer , Stephen Boyd , patches@opensource.cirrus.com, Dmitry Torokhov , linux-mmc , Linux Kernel Mailing List , Michael Turquette , ALSA Development Mailing List , Daniel Mack Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Fri, Apr 22, 2022 at 7:05 PM Guenter Roeck wrote: > > On Tue, Apr 19, 2022 at 06:37:22PM +0200, Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > This revisits a series I sent a few years ago: > > > > https://lore.kernel.org/lkml/20191018154052.1276506-1-arnd@arndb.de/ > > > > All the other ARMv5 conversions are under way now, with > > OMAP1 being the only one still not in linux-next yet, > > and PXA completing the set. > > > > Most of the patches are unchanged from before, furtunately > > the PXA code is fairly stable. I addressed Robert's comments, > > pulled in two patches from Dmitry, and added the last a the > > final four patches to finish off the multiplatform conversion. > > > > I hope someone is left to test these on PXA: if this works, > > I'd like to merge it for 5.19. A git tree with these is avaialable > > for testing at > > > > https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git/log/?h=pxa-multiplatform-5.18 > > > > Unfortunately that crashes for me when trying to boot from ide. > Bisect points to the last patch of the series. Thanks a lot for testing and the perfect bug report! > [ 1.403715] 8<--- cut here --- > [ 1.403848] Unable to handle kernel paging request at virtual address feeb000e > [ 1.404097] [feeb000e] *pgd=00000000 Ok, this is the PCI I/O space area, which starts at 0xfee00000, clearly the way I/O space gets mapped changed here. I don't yet see what happened, but it should be straightforward to find from here. > [ 1.416643] pcmcia_init_one from pcmcia_device_probe+0xe4/0x2a0 > [ 1.416882] pcmcia_device_probe from really_probe+0xc8/0x3b4 > [ 1.417070] really_probe from __driver_probe_device+0x9c/0x214 > [ 1.417255] __driver_probe_device from driver_probe_device+0x38/0xe0 > [ 1.417454] driver_probe_device from __device_attach_driver+0xa4/0x11c > [ 1.417657] __device_attach_driver from bus_for_each_drv+0x88/0xd8 > [ 1.417864] bus_for_each_drv from __device_attach+0xf4/0x194 > [ 1.418047] __device_attach from bus_probe_device+0x8c/0x94 > [ 1.418224] bus_probe_device from device_add+0x3d0/0x894 > [ 1.418395] device_add from pcmcia_device_add+0x2ec/0x3e0 > [ 1.418568] pcmcia_device_add from pcmcia_card_add+0xd4/0x1a0 > [ 1.418756] pcmcia_card_add from pcmcia_bus_add+0x44/0x4c > [ 1.418930] pcmcia_bus_add from socket_insert+0x12c/0x150 > [ 1.419103] socket_insert from pccardd+0x398/0x44c > [ 1.419257] pccardd from kthread+0xdc/0x114 > [ 1.419400] kthread from ret_from_fork+0x14/0x2c > [ 1.419569] Exception stack(0xc48a5fb0 to 0xc48a5ff8) > [ 1.419735] 5fa0: 00000000 00000000 00000000 00000000 > [ 1.419979] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 > [ 1.420222] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 > [ 1.420501] Code: 13570000 e1a06000 0a000043 e3a03002 (e5c03000) > [ 1.420874] ---[ end trace 0000000000000000 ]--- > > --- > # bad: [7643a9ca9f8e08f71e15f89dd74863635e981e03] ARM: pxa: convert to multiplatform > # good: [3123109284176b1532874591f7c81f3837bbdc17] Linux 5.18-rc1 > git bisect start 'HEAD' 'v5.18-rc1' > # good: [9b03d7f95bd4d97101ecb8ea1e822103b81fdb2d] ARM: pxa: mainstone-wm97xx: use gpio lookup table > git bisect good 9b03d7f95bd4d97101ecb8ea1e822103b81fdb2d > # good: [764063eee7620ea9abb940068a7ad0e7f9efa1b6] cpufreq: pxa3: move clk register access to clk driver > git bisect good 764063eee7620ea9abb940068a7ad0e7f9efa1b6 > # good: [5153474f0a4388b7ddb59add4be73bfb42b2007f] ARM: mmp: remove tavorevb board support > git bisect good 5153474f0a4388b7ddb59add4be73bfb42b2007f > # good: [2746f7c78b428c8b01b691a29a972c08101ae343] ARM: PXA: fix multi-cpu build of xsc3 > git bisect good 2746f7c78b428c8b01b691a29a972c08101ae343 > # good: [73d5106e9489464eac84362705e93bcf3b376123] ARM: pxa: remove support for MTD_XIP > git bisect good 73d5106e9489464eac84362705e93bcf3b376123 > # first bad commit: [7643a9ca9f8e08f71e15f89dd74863635e981e03] ARM: pxa: convert to multiplatform I'll back out this patch for now while investigating further. Which machine did you hit this on? Is this on hardware or in qemu? 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 76DF0C433EF for ; Fri, 22 Apr 2022 19:17:57 +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=SmuUsOHSe//+agWPuER8dZ9ZUvfPKWOhuSpWAdY28Z8=; b=ugTYrEXUiMhjXm Bs4ZRhv//2myXmdBmNGSjLTK93CFiB23Gp8HzTjjy7cP+7M9l4KBOV2ttH8sNeFkWlpggfbSkfp5v 7SIwKa5AhbFOY4ApNi7yOSWouQqMXDL+H2h7TWcj3l3igihuymuAwhQ9rLu8a0y6oi3/3fMqdJ1jJ 3n4t9T6w0TOHPrzrawSEcXwT8mOnxOMccqNOlDOKb99IrheHBlgIZeHwBTJYlOBUcAsbhiPT78z8e /Ym26PXWJcGv3PpXCf5wCI0xypX9PmNQ67NfdQdweo3+SgyDexM555PSfKgt3t62YpKa524ac13Vf 4Uo5RJES0RrvZVHgkh/A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhylo-0026UB-0A; Fri, 22 Apr 2022 19:16:44 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhylk-0026T2-7m; Fri, 22 Apr 2022 19:16:41 +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 dfw.source.kernel.org (Postfix) with ESMTPS id 3B8A561C36; Fri, 22 Apr 2022 19:16:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9DCEAC385A0; Fri, 22 Apr 2022 19:16:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650654996; bh=usqLrTa+RhNIXODsvc1TquBT71WxqcNK2RxgDri8djo=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=dHZdyEqPbXSmeLsuy8PRY8gXoSJpMet3UHqdYrtinR2eBd+8B/N2mmofElBUbtMxP q8r7n4ncrLlzphg1eptw0OcB/tkTXS7Wu5c0+2ETmdsj1L3+3zeqdF+HwcYSu+n3Uq 1g+pIuksyr7npaick9W4i8sLsxYXsIAz/zdYGL9VHag6K2ei3r6bOQvgiAUz5GPqwI GD8rl4Pj29WUDMJeHw7N6ZIi95tiQZ43R0ZteLd0w2UdCH+N/IpSZj8T4vn2EAA7dd GKq/Pw4mYPpOAz2Hjz6hIpuHQ54CPuvkDYSab0d4S9/Q5dgDzscYwk2MkrzQlU5y27 m331jxLqtxgKQ== Received: by mail-wr1-f41.google.com with SMTP id k22so12397415wrd.2; Fri, 22 Apr 2022 12:16:36 -0700 (PDT) X-Gm-Message-State: AOAM532S3uHRN9AyMivWX63JldD/kIZ/pIBokEpVLpp8qkOv38W6uGUH T0vcWi0XRVUi4v72bFqT224A94Ri3vkZbUWOqVw= X-Google-Smtp-Source: ABdhPJw6+Yao9x3BaLiJGzKRj3K3UIg0JnN9aGyxH7bzbX5jCygm3ZIZ1bsSqfcHE9peInK43hwx2CakFvcKMsS3Rps= X-Received: by 2002:a5d:6983:0:b0:207:a226:df4b with SMTP id g3-20020a5d6983000000b00207a226df4bmr5002354wru.192.1650654994816; Fri, 22 Apr 2022 12:16:34 -0700 (PDT) MIME-Version: 1.0 References: <20220419163810.2118169-1-arnd@kernel.org> <20220422170530.GA2338209@roeck-us.net> In-Reply-To: <20220422170530.GA2338209@roeck-us.net> From: Arnd Bergmann Date: Fri, 22 Apr 2022 21:16:18 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 00/48] ARM: PXA multiplatform support To: Guenter Roeck Cc: Robert Jarzmik , Linux ARM , Arnd Bergmann , Daniel Mack , Haojian Zhuang , Marek Vasut , Philipp Zabel , Lubomir Rintel , Paul Parsons , Tomas Cech , Sergey Lapin , Thomas Bogendoerfer , Michael Turquette , Stephen Boyd , "Rafael J. Wysocki" , Viresh Kumar , Dmitry Torokhov , Ulf Hansson , Dominik Brodowski , Helge Deller , Mark Brown , Linus Walleij , Linux Kernel Mailing List , "open list:BROADCOM NVRAM DRIVER" , IDE-ML , linux-clk , Linux PM list , "open list:HID CORE LAYER" , patches@opensource.cirrus.com, linux-leds@vger.kernel.org, linux-mmc , linux-mtd , linux-rtc@vger.kernel.org, USB list , Linux Fbdev development list , dri-devel , ALSA Development Mailing List X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220422_121640_396274_2D4F1566 X-CRM114-Status: GOOD ( 31.66 ) 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 Fri, Apr 22, 2022 at 7:05 PM Guenter Roeck wrote: > > On Tue, Apr 19, 2022 at 06:37:22PM +0200, Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > This revisits a series I sent a few years ago: > > > > https://lore.kernel.org/lkml/20191018154052.1276506-1-arnd@arndb.de/ > > > > All the other ARMv5 conversions are under way now, with > > OMAP1 being the only one still not in linux-next yet, > > and PXA completing the set. > > > > Most of the patches are unchanged from before, furtunately > > the PXA code is fairly stable. I addressed Robert's comments, > > pulled in two patches from Dmitry, and added the last a the > > final four patches to finish off the multiplatform conversion. > > > > I hope someone is left to test these on PXA: if this works, > > I'd like to merge it for 5.19. A git tree with these is avaialable > > for testing at > > > > https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git/log/?h=pxa-multiplatform-5.18 > > > > Unfortunately that crashes for me when trying to boot from ide. > Bisect points to the last patch of the series. Thanks a lot for testing and the perfect bug report! > [ 1.403715] 8<--- cut here --- > [ 1.403848] Unable to handle kernel paging request at virtual address feeb000e > [ 1.404097] [feeb000e] *pgd=00000000 Ok, this is the PCI I/O space area, which starts at 0xfee00000, clearly the way I/O space gets mapped changed here. I don't yet see what happened, but it should be straightforward to find from here. > [ 1.416643] pcmcia_init_one from pcmcia_device_probe+0xe4/0x2a0 > [ 1.416882] pcmcia_device_probe from really_probe+0xc8/0x3b4 > [ 1.417070] really_probe from __driver_probe_device+0x9c/0x214 > [ 1.417255] __driver_probe_device from driver_probe_device+0x38/0xe0 > [ 1.417454] driver_probe_device from __device_attach_driver+0xa4/0x11c > [ 1.417657] __device_attach_driver from bus_for_each_drv+0x88/0xd8 > [ 1.417864] bus_for_each_drv from __device_attach+0xf4/0x194 > [ 1.418047] __device_attach from bus_probe_device+0x8c/0x94 > [ 1.418224] bus_probe_device from device_add+0x3d0/0x894 > [ 1.418395] device_add from pcmcia_device_add+0x2ec/0x3e0 > [ 1.418568] pcmcia_device_add from pcmcia_card_add+0xd4/0x1a0 > [ 1.418756] pcmcia_card_add from pcmcia_bus_add+0x44/0x4c > [ 1.418930] pcmcia_bus_add from socket_insert+0x12c/0x150 > [ 1.419103] socket_insert from pccardd+0x398/0x44c > [ 1.419257] pccardd from kthread+0xdc/0x114 > [ 1.419400] kthread from ret_from_fork+0x14/0x2c > [ 1.419569] Exception stack(0xc48a5fb0 to 0xc48a5ff8) > [ 1.419735] 5fa0: 00000000 00000000 00000000 00000000 > [ 1.419979] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 > [ 1.420222] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 > [ 1.420501] Code: 13570000 e1a06000 0a000043 e3a03002 (e5c03000) > [ 1.420874] ---[ end trace 0000000000000000 ]--- > > --- > # bad: [7643a9ca9f8e08f71e15f89dd74863635e981e03] ARM: pxa: convert to multiplatform > # good: [3123109284176b1532874591f7c81f3837bbdc17] Linux 5.18-rc1 > git bisect start 'HEAD' 'v5.18-rc1' > # good: [9b03d7f95bd4d97101ecb8ea1e822103b81fdb2d] ARM: pxa: mainstone-wm97xx: use gpio lookup table > git bisect good 9b03d7f95bd4d97101ecb8ea1e822103b81fdb2d > # good: [764063eee7620ea9abb940068a7ad0e7f9efa1b6] cpufreq: pxa3: move clk register access to clk driver > git bisect good 764063eee7620ea9abb940068a7ad0e7f9efa1b6 > # good: [5153474f0a4388b7ddb59add4be73bfb42b2007f] ARM: mmp: remove tavorevb board support > git bisect good 5153474f0a4388b7ddb59add4be73bfb42b2007f > # good: [2746f7c78b428c8b01b691a29a972c08101ae343] ARM: PXA: fix multi-cpu build of xsc3 > git bisect good 2746f7c78b428c8b01b691a29a972c08101ae343 > # good: [73d5106e9489464eac84362705e93bcf3b376123] ARM: pxa: remove support for MTD_XIP > git bisect good 73d5106e9489464eac84362705e93bcf3b376123 > # first bad commit: [7643a9ca9f8e08f71e15f89dd74863635e981e03] ARM: pxa: convert to multiplatform I'll back out this patch for now while investigating further. Which machine did you hit this on? Is this on hardware or in qemu? 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A7A80C43217 for ; Fri, 22 Apr 2022 19:23:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229711AbiDVT0W (ORCPT ); Fri, 22 Apr 2022 15:26:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229566AbiDVT0Q (ORCPT ); Fri, 22 Apr 2022 15:26:16 -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 19E5B291D43; Fri, 22 Apr 2022 12:20:13 -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 96CF961CEB; Fri, 22 Apr 2022 19:16:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F2A8DC385BC; Fri, 22 Apr 2022 19:16:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650654997; bh=usqLrTa+RhNIXODsvc1TquBT71WxqcNK2RxgDri8djo=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=BcbAj7n7cyrdsYQDBhKMzC/YUP1oi3n0WJLV/Vawg0ETGgRxV3laogMOtLoZsS2S6 deAr85yKEmeImhiHAgSHPYRkW4keZh105LIDrm0LR/EY+7ylYYi5+Ag9M9tf4obaqu 6qys2kdldoqnru7mzQfJXQU9V+CnbiPr9Tktzh6HF1FiaQ3cdZifzPK+IzTLrZupY3 nj76lUfw/prvPD39owSDZAYYqmaY/o4jd1l0MOSMfMfXqhh6ksSgKZQso7EdYWgT82 sS83lues1q+E9qW5a3gPFPNwTUorxb9c9MGc25aNl98SvSiYw+tUUBKBn/94bqxJ36 XhAvozQCefNHg== Received: by mail-wr1-f47.google.com with SMTP id q7so4751997wrm.5; Fri, 22 Apr 2022 12:16:36 -0700 (PDT) X-Gm-Message-State: AOAM531y3Mhhr0MFAokHPZ9evsmIFRZ5vjPGpIPLwUldh7tqQdpP0bLv T2dgMunT5PXj2CquFVe+0ENKqNdJTU5JzhwERSI= X-Google-Smtp-Source: ABdhPJw6+Yao9x3BaLiJGzKRj3K3UIg0JnN9aGyxH7bzbX5jCygm3ZIZ1bsSqfcHE9peInK43hwx2CakFvcKMsS3Rps= X-Received: by 2002:a5d:6983:0:b0:207:a226:df4b with SMTP id g3-20020a5d6983000000b00207a226df4bmr5002354wru.192.1650654994816; Fri, 22 Apr 2022 12:16:34 -0700 (PDT) MIME-Version: 1.0 References: <20220419163810.2118169-1-arnd@kernel.org> <20220422170530.GA2338209@roeck-us.net> In-Reply-To: <20220422170530.GA2338209@roeck-us.net> From: Arnd Bergmann Date: Fri, 22 Apr 2022 21:16:18 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 00/48] ARM: PXA multiplatform support To: Guenter Roeck Cc: Robert Jarzmik , Linux ARM , Arnd Bergmann , Daniel Mack , Haojian Zhuang , Marek Vasut , Philipp Zabel , Lubomir Rintel , Paul Parsons , Tomas Cech , Sergey Lapin , Thomas Bogendoerfer , Michael Turquette , Stephen Boyd , "Rafael J. Wysocki" , Viresh Kumar , Dmitry Torokhov , Ulf Hansson , Dominik Brodowski , Helge Deller , Mark Brown , Linus Walleij , Linux Kernel Mailing List , "open list:BROADCOM NVRAM DRIVER" , IDE-ML , linux-clk , Linux PM list , "open list:HID CORE LAYER" , patches@opensource.cirrus.com, linux-leds@vger.kernel.org, linux-mmc , linux-mtd , linux-rtc@vger.kernel.org, USB list , Linux Fbdev development list , dri-devel , ALSA Development Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org On Fri, Apr 22, 2022 at 7:05 PM Guenter Roeck wrote: > > On Tue, Apr 19, 2022 at 06:37:22PM +0200, Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > This revisits a series I sent a few years ago: > > > > https://lore.kernel.org/lkml/20191018154052.1276506-1-arnd@arndb.de/ > > > > All the other ARMv5 conversions are under way now, with > > OMAP1 being the only one still not in linux-next yet, > > and PXA completing the set. > > > > Most of the patches are unchanged from before, furtunately > > the PXA code is fairly stable. I addressed Robert's comments, > > pulled in two patches from Dmitry, and added the last a the > > final four patches to finish off the multiplatform conversion. > > > > I hope someone is left to test these on PXA: if this works, > > I'd like to merge it for 5.19. A git tree with these is avaialable > > for testing at > > > > https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git/log/?h=pxa-multiplatform-5.18 > > > > Unfortunately that crashes for me when trying to boot from ide. > Bisect points to the last patch of the series. Thanks a lot for testing and the perfect bug report! > [ 1.403715] 8<--- cut here --- > [ 1.403848] Unable to handle kernel paging request at virtual address feeb000e > [ 1.404097] [feeb000e] *pgd=00000000 Ok, this is the PCI I/O space area, which starts at 0xfee00000, clearly the way I/O space gets mapped changed here. I don't yet see what happened, but it should be straightforward to find from here. > [ 1.416643] pcmcia_init_one from pcmcia_device_probe+0xe4/0x2a0 > [ 1.416882] pcmcia_device_probe from really_probe+0xc8/0x3b4 > [ 1.417070] really_probe from __driver_probe_device+0x9c/0x214 > [ 1.417255] __driver_probe_device from driver_probe_device+0x38/0xe0 > [ 1.417454] driver_probe_device from __device_attach_driver+0xa4/0x11c > [ 1.417657] __device_attach_driver from bus_for_each_drv+0x88/0xd8 > [ 1.417864] bus_for_each_drv from __device_attach+0xf4/0x194 > [ 1.418047] __device_attach from bus_probe_device+0x8c/0x94 > [ 1.418224] bus_probe_device from device_add+0x3d0/0x894 > [ 1.418395] device_add from pcmcia_device_add+0x2ec/0x3e0 > [ 1.418568] pcmcia_device_add from pcmcia_card_add+0xd4/0x1a0 > [ 1.418756] pcmcia_card_add from pcmcia_bus_add+0x44/0x4c > [ 1.418930] pcmcia_bus_add from socket_insert+0x12c/0x150 > [ 1.419103] socket_insert from pccardd+0x398/0x44c > [ 1.419257] pccardd from kthread+0xdc/0x114 > [ 1.419400] kthread from ret_from_fork+0x14/0x2c > [ 1.419569] Exception stack(0xc48a5fb0 to 0xc48a5ff8) > [ 1.419735] 5fa0: 00000000 00000000 00000000 00000000 > [ 1.419979] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 > [ 1.420222] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 > [ 1.420501] Code: 13570000 e1a06000 0a000043 e3a03002 (e5c03000) > [ 1.420874] ---[ end trace 0000000000000000 ]--- > > --- > # bad: [7643a9ca9f8e08f71e15f89dd74863635e981e03] ARM: pxa: convert to multiplatform > # good: [3123109284176b1532874591f7c81f3837bbdc17] Linux 5.18-rc1 > git bisect start 'HEAD' 'v5.18-rc1' > # good: [9b03d7f95bd4d97101ecb8ea1e822103b81fdb2d] ARM: pxa: mainstone-wm97xx: use gpio lookup table > git bisect good 9b03d7f95bd4d97101ecb8ea1e822103b81fdb2d > # good: [764063eee7620ea9abb940068a7ad0e7f9efa1b6] cpufreq: pxa3: move clk register access to clk driver > git bisect good 764063eee7620ea9abb940068a7ad0e7f9efa1b6 > # good: [5153474f0a4388b7ddb59add4be73bfb42b2007f] ARM: mmp: remove tavorevb board support > git bisect good 5153474f0a4388b7ddb59add4be73bfb42b2007f > # good: [2746f7c78b428c8b01b691a29a972c08101ae343] ARM: PXA: fix multi-cpu build of xsc3 > git bisect good 2746f7c78b428c8b01b691a29a972c08101ae343 > # good: [73d5106e9489464eac84362705e93bcf3b376123] ARM: pxa: remove support for MTD_XIP > git bisect good 73d5106e9489464eac84362705e93bcf3b376123 > # first bad commit: [7643a9ca9f8e08f71e15f89dd74863635e981e03] ARM: pxa: convert to multiplatform I'll back out this patch for now while investigating further. Which machine did you hit this on? Is this on hardware or in qemu? 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 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 23878C433EF for ; Mon, 25 Apr 2022 13:29:28 +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 50EA01777; Mon, 25 Apr 2022 15:28:36 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 50EA01777 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1650893366; bh=usqLrTa+RhNIXODsvc1TquBT71WxqcNK2RxgDri8djo=; h=References:In-Reply-To:From:Date:Subject:To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=JuQAoRwaXHBSKGbgj+pkahU10TPnwVoIRpP4f3Hvki3ouqf9hQtNTRmX72AS3g3AB R1qMaCQRkDZaiTJrois9QboSbF2Z5eSvcU8gODPdUvw7/JesnRiPSkN51l0Sz0ZKvT C0qtVU3lnClej52ZtJJDn7nYzrWxCHefsDZQNW/M= Received: from vmi242170.contaboserver.net (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 57D10F804FD; Mon, 25 Apr 2022 15:27:51 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id C535EF80245; Fri, 22 Apr 2022 21:16:45 +0200 (CEST) Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id CA3CBF800D1 for ; Fri, 22 Apr 2022 21:16:39 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz CA3CBF800D1 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dHZdyEqP" 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 9984DB83243 for ; Fri, 22 Apr 2022 19:16:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D2372C385B3 for ; Fri, 22 Apr 2022 19:16:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650654996; bh=usqLrTa+RhNIXODsvc1TquBT71WxqcNK2RxgDri8djo=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=dHZdyEqPbXSmeLsuy8PRY8gXoSJpMet3UHqdYrtinR2eBd+8B/N2mmofElBUbtMxP q8r7n4ncrLlzphg1eptw0OcB/tkTXS7Wu5c0+2ETmdsj1L3+3zeqdF+HwcYSu+n3Uq 1g+pIuksyr7npaick9W4i8sLsxYXsIAz/zdYGL9VHag6K2ei3r6bOQvgiAUz5GPqwI GD8rl4Pj29WUDMJeHw7N6ZIi95tiQZ43R0ZteLd0w2UdCH+N/IpSZj8T4vn2EAA7dd GKq/Pw4mYPpOAz2Hjz6hIpuHQ54CPuvkDYSab0d4S9/Q5dgDzscYwk2MkrzQlU5y27 m331jxLqtxgKQ== Received: by mail-wr1-f52.google.com with SMTP id t6so8948163wra.4 for ; Fri, 22 Apr 2022 12:16:36 -0700 (PDT) X-Gm-Message-State: AOAM5322IvpI9I1AgtmNIaR+iVmWKMgBlXuJVfVsJ/OoMs+mmaH/3zFm vwGxkSXxf+h5QRfNzAh4VE0I5LuxT0z6mSCVK6M= X-Google-Smtp-Source: ABdhPJw6+Yao9x3BaLiJGzKRj3K3UIg0JnN9aGyxH7bzbX5jCygm3ZIZ1bsSqfcHE9peInK43hwx2CakFvcKMsS3Rps= X-Received: by 2002:a5d:6983:0:b0:207:a226:df4b with SMTP id g3-20020a5d6983000000b00207a226df4bmr5002354wru.192.1650654994816; Fri, 22 Apr 2022 12:16:34 -0700 (PDT) MIME-Version: 1.0 References: <20220419163810.2118169-1-arnd@kernel.org> <20220422170530.GA2338209@roeck-us.net> In-Reply-To: <20220422170530.GA2338209@roeck-us.net> From: Arnd Bergmann Date: Fri, 22 Apr 2022 21:16:18 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 00/48] ARM: PXA multiplatform support To: Guenter Roeck Content-Type: text/plain; charset="UTF-8" X-Mailman-Approved-At: Mon, 25 Apr 2022 15:27:43 +0200 Cc: Ulf Hansson , USB list , Philipp Zabel , "Rafael J. Wysocki" , Viresh Kumar , Sergey Lapin , Linux Fbdev development list , Dominik Brodowski , "open list:BROADCOM NVRAM DRIVER" , IDE-ML , linux-mtd , Tomas Cech , Robert Jarzmik , linux-clk , linux-leds@vger.kernel.org, linux-rtc@vger.kernel.org, Linus Walleij , Helge Deller , Marek Vasut , Paul Parsons , Michael Turquette , Arnd Bergmann , Linux PM list , "open list:HID CORE LAYER" , Haojian Zhuang , Lubomir Rintel , Mark Brown , dri-devel , Linux ARM , Thomas Bogendoerfer , Stephen Boyd , patches@opensource.cirrus.com, Dmitry Torokhov , linux-mmc , Linux Kernel Mailing List , ALSA Development Mailing List , Daniel Mack 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 Fri, Apr 22, 2022 at 7:05 PM Guenter Roeck wrote: > > On Tue, Apr 19, 2022 at 06:37:22PM +0200, Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > This revisits a series I sent a few years ago: > > > > https://lore.kernel.org/lkml/20191018154052.1276506-1-arnd@arndb.de/ > > > > All the other ARMv5 conversions are under way now, with > > OMAP1 being the only one still not in linux-next yet, > > and PXA completing the set. > > > > Most of the patches are unchanged from before, furtunately > > the PXA code is fairly stable. I addressed Robert's comments, > > pulled in two patches from Dmitry, and added the last a the > > final four patches to finish off the multiplatform conversion. > > > > I hope someone is left to test these on PXA: if this works, > > I'd like to merge it for 5.19. A git tree with these is avaialable > > for testing at > > > > https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git/log/?h=pxa-multiplatform-5.18 > > > > Unfortunately that crashes for me when trying to boot from ide. > Bisect points to the last patch of the series. Thanks a lot for testing and the perfect bug report! > [ 1.403715] 8<--- cut here --- > [ 1.403848] Unable to handle kernel paging request at virtual address feeb000e > [ 1.404097] [feeb000e] *pgd=00000000 Ok, this is the PCI I/O space area, which starts at 0xfee00000, clearly the way I/O space gets mapped changed here. I don't yet see what happened, but it should be straightforward to find from here. > [ 1.416643] pcmcia_init_one from pcmcia_device_probe+0xe4/0x2a0 > [ 1.416882] pcmcia_device_probe from really_probe+0xc8/0x3b4 > [ 1.417070] really_probe from __driver_probe_device+0x9c/0x214 > [ 1.417255] __driver_probe_device from driver_probe_device+0x38/0xe0 > [ 1.417454] driver_probe_device from __device_attach_driver+0xa4/0x11c > [ 1.417657] __device_attach_driver from bus_for_each_drv+0x88/0xd8 > [ 1.417864] bus_for_each_drv from __device_attach+0xf4/0x194 > [ 1.418047] __device_attach from bus_probe_device+0x8c/0x94 > [ 1.418224] bus_probe_device from device_add+0x3d0/0x894 > [ 1.418395] device_add from pcmcia_device_add+0x2ec/0x3e0 > [ 1.418568] pcmcia_device_add from pcmcia_card_add+0xd4/0x1a0 > [ 1.418756] pcmcia_card_add from pcmcia_bus_add+0x44/0x4c > [ 1.418930] pcmcia_bus_add from socket_insert+0x12c/0x150 > [ 1.419103] socket_insert from pccardd+0x398/0x44c > [ 1.419257] pccardd from kthread+0xdc/0x114 > [ 1.419400] kthread from ret_from_fork+0x14/0x2c > [ 1.419569] Exception stack(0xc48a5fb0 to 0xc48a5ff8) > [ 1.419735] 5fa0: 00000000 00000000 00000000 00000000 > [ 1.419979] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 > [ 1.420222] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 > [ 1.420501] Code: 13570000 e1a06000 0a000043 e3a03002 (e5c03000) > [ 1.420874] ---[ end trace 0000000000000000 ]--- > > --- > # bad: [7643a9ca9f8e08f71e15f89dd74863635e981e03] ARM: pxa: convert to multiplatform > # good: [3123109284176b1532874591f7c81f3837bbdc17] Linux 5.18-rc1 > git bisect start 'HEAD' 'v5.18-rc1' > # good: [9b03d7f95bd4d97101ecb8ea1e822103b81fdb2d] ARM: pxa: mainstone-wm97xx: use gpio lookup table > git bisect good 9b03d7f95bd4d97101ecb8ea1e822103b81fdb2d > # good: [764063eee7620ea9abb940068a7ad0e7f9efa1b6] cpufreq: pxa3: move clk register access to clk driver > git bisect good 764063eee7620ea9abb940068a7ad0e7f9efa1b6 > # good: [5153474f0a4388b7ddb59add4be73bfb42b2007f] ARM: mmp: remove tavorevb board support > git bisect good 5153474f0a4388b7ddb59add4be73bfb42b2007f > # good: [2746f7c78b428c8b01b691a29a972c08101ae343] ARM: PXA: fix multi-cpu build of xsc3 > git bisect good 2746f7c78b428c8b01b691a29a972c08101ae343 > # good: [73d5106e9489464eac84362705e93bcf3b376123] ARM: pxa: remove support for MTD_XIP > git bisect good 73d5106e9489464eac84362705e93bcf3b376123 > # first bad commit: [7643a9ca9f8e08f71e15f89dd74863635e981e03] ARM: pxa: convert to multiplatform I'll back out this patch for now while investigating further. Which machine did you hit this on? Is this on hardware or in qemu? Arnd