Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5661273imm; Wed, 12 Sep 2018 09:12:07 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdaq7OI6mgLDzxh/tdiacR+h8wjvcFcPfx+Va2uMx7rhzXn7F3GMrjoM7FcglcEDCt3zdL6d X-Received: by 2002:a62:5302:: with SMTP id h2-v6mr3209104pfb.183.1536768726967; Wed, 12 Sep 2018 09:12:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536768726; cv=none; d=google.com; s=arc-20160816; b=hUs2myqaDtiiZB6XwtOuL+uQ7H2NZrS2TlfV0ObmIF+qPjPmNvUxY1nqaGrPAGI9A1 jO6bcHFv52pE0mPEn1gNMEihHlizb7rKRCGxFrdz575OKs3ERD5l4k/XqZJjWdfEOVsL nIVGOTU2im3H2HgqOSI+eP//0SSX8RhuM/SZ3E969TTce20ErANxatRXFrBHu3ktaz5j WvmUQCYglHBqFOVebkaW/clnXb2VOkT6XeuT/ClwmTDdup7ZzF/9apNA0aGuN4ruDBpZ ymSC/CcX88YKgS2SK20gDHrbwQ5eWtcbbVkpETdVNLkzrwDfL/y/dQTyD5lE/De7OIlb TTWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:user-agent :organization:message-id:mime-version:date:subject:cc:to:from :dkim-signature; bh=GJ3YJpDj9xBXw8dvQrU3AY106q3Ovqo5gjVvCoKIMhM=; b=xaBIpCvpm9KvcqkJWsgE5wvi2DXvMBC+GRnX0cz+/b0sk4ECiIZxuFoyQWGwOgIvus FoBAgaqeXa73uxPP8sjd6mBgq0CnxO1iClaJsgO2dgqb+jimZPZERn6PHV5b9UakcSES ROvnXWK0tK8sbmw2Drbh06tqxl8okf+P4Tkc6h8F46dxdAyHWMpk63loVoMah2C60uov NfhvbqPtQRyzytuPPpBskGsxf/Jkf0IwkQiAZfwRR3vkAPkzf7DL2BS8hx23Ex2t103R GOI4/NIf9X3J6++USZqGXZ6boh39NU6xE5khTCRTFpGfuJY0ow860xWetK1CdtKKn8v3 v6vQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cesnet.cz header.s=office2 header.b=DtTP+9Sk; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cesnet.cz Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l30-v6si1421314pgn.238.2018.09.12.09.11.38; Wed, 12 Sep 2018 09:12:06 -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; dkim=pass header.i=@cesnet.cz header.s=office2 header.b=DtTP+9Sk; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cesnet.cz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728008AbeILVQX (ORCPT + 99 others); Wed, 12 Sep 2018 17:16:23 -0400 Received: from office2.cesnet.cz ([195.113.144.244]:39528 "EHLO office2.cesnet.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726672AbeILVQW (ORCPT ); Wed, 12 Sep 2018 17:16:22 -0400 Received: from localhost (unknown [IPv6:2001:718:1:2c:7d03:949b:de91:81b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by office2.cesnet.cz (Postfix) with ESMTPSA id 21EDE40005D; Wed, 12 Sep 2018 18:11:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cesnet.cz; s=office2; t=1536768668; bh=GJ3YJpDj9xBXw8dvQrU3AY106q3Ovqo5gjVvCoKIMhM=; h=From:To:Cc:Subject:Date; b=DtTP+9SkBlllgFbjlkB1WG9xthFY/2OshQGx8QVbsLHq2OpuN71W4Y/h1keWskRFm U2zhZfSjCvDb9MYHto0UBryAkaWoqI2743FgCb3KXHDSlQQgctFNV4X/uE7/0QMSqU SFiZb6JCJ3ZLAIaFAVl4tOY0gApTgZ7+grqT5Uo4= From: =?iso-8859-1?Q?Jan_Kundr=E1t?= To: Thomas Petazzoni , Lorenzo Pieralisi Cc: Jason Cooper , Lorenzo Pieralisi , Bjorn Helgaas , , , Subject: [BISECTED] Regression: Solidrun Clearfog Base won't boot since "PCI: =?iso-8859-1?Q?mvebu:_Only_remap_I/O_space_if_configured"?= Date: Wed, 12 Sep 2018 18:11:01 +0200 MIME-Version: 1.0 Message-ID: <61fdfd69-2bb6-478c-b0d5-69d8744adae3@cesnet.cz> Organization: CESNET User-Agent: Trojita/v0.7-361-gfee56b6f-dirty; Qt/5.11.0; xcb; Linux; Gentoo Base System release 2.4.1 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, since commit ee1604381a371b3ea6aec7d5e43b6e3f5e153854 ("PCI: mvebu: Only=20 remap I/O space if configured"), my board (Solidrun Clearfog Base) won't=20 finish booting with 4.18-rc3 won't boot: > [ 1.741458] Internal error: Oops - undefined instruction: 0 [#1] SMP ARM= > [ 1.748182] CPU: 1 PID: 72 Comm: kworker/1:2 Tainted: G W = 4.19.0-rc3 #1 > [ 1.756120] Hardware name: Marvell Armada 380/385 (Device Tree) > [ 1.762063] Workqueue: events deferred_probe_work_func > [ 1.767222] PC is at ioremap_page_range+0x114/0x1a4 > [ 1.772117] LR is at mvebu_pcie_probe+0x134/0xa60 > [ 1.776832] pc : [] lr : [] psr: a0000013 > [ 1.783115] sp : ee30dd88 ip : 000f0000 fp : c0837b38 > [ 1.788352] r10: 00000243 r9 : e9200000 r8 : 00000103 > [ 1.793590] r7 : ef6f8000 r6 : fee10000 r5 : fee00000 r4 : ef6f8004 > [ 1.800133] r3 : ef6f8000 r2 : e8000243 r1 : fee0ffff r0 : c0004000 > [ 1.806678] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment= none > [ 1.813832] Control: 10c5387d Table: 0000404a DAC: 00000051 > [ 1.819592] Process kworker/1:2 (pid: 72, stack limit =3D 0x(ptrval)) > [ 1.825874] Stack: (0xee30dd88 to 0xee30e000) > [ 1.830244] dd80: fee10000 e9200000 fee0ffff ffe00000 = c0007fb8 ee33e224 > [ 1.838445] dda0: 00000000 ee33e010 00000000 ef575610 ee33e224 00000000 = c0a30ac4 00000002 > [ 1.846646] ddc0: ef9f827c c03e9d5c c0ab6d30 ef9ed434 ee342898 ee342898 = ee33e1d0 ee33e1dc > [ 1.854848] dde0: ee342898 00000000 c0a03bc8 c07fcabc 00000001 ef575610 = ef577000 c02a72b4 > [ 1.863050] de00: 00000000 ee342898 ef6744d0 ef6744d0 ee342898 ef577000 = c07fcabc 5d6fd1e4 > [ 1.871252] de20: c0a30ac4 ef575610 00000000 c0a30ac4 00000000 00000000 = c0a30ac4 00000002 > [ 1.879454] de40: ef9e40c0 c043dba4 c0ab3144 ef575610 c0ab3150 c043c4e4 = ef575610 c0a30ac4 > [ 1.887656] de60: c043cb2c c0a03bc8 00000001 c0a5cf50 00000000 c043c958 = ef575610 c0a30ac4 > [ 1.895858] de80: ef575610 00000000 ee30ded4 c043cb2c c0a03bc8 00000001 = c0a5cf50 00000000 > [ 1.904059] dea0: ef9e40c0 c043af7c c0a5cf50 ef484d6c ef66d8b8 5d6fd1e4 = ef575610 ef575610 > [ 1.912261] dec0: c0a03bc8 ef575644 c0a371c4 c043c7c0 00000003 ef575610 = 00000001 5d6fd1e4 > [ 1.920462] dee0: ef575610 ef575610 c0a373f0 c0a371c4 00000000 c043b160 = ef575610 c0a371a8 > [ 1.928663] df00: c0a371a8 c043bdf8 c0a371e0 ee2f9880 ef9e40c0 ef9e5300 = 00000000 c01388b4 > [ 1.936864] df20: ef9e40c0 ef9e40c0 ee30c000 ee2f9880 ef9e40c0 ee2f9894 = c0a02d00 ef9e40d8 > [ 1.945064] df40: ffffe000 00000008 ef9e40c0 c0138e4c ffffe000 c0a5ca32 = c07d2f68 00000000 > [ 1.953265] df60: ffffe000 eee5e0c0 ee2fa4c0 00000000 ee30c000 ee2f9880 = c0138ba4 ef4d5ea4 > [ 1.961466] df80: eee5e0dc c013e448 00000001 ee2fa4c0 c013e2fc 00000000 = 00000000 00000000 > [ 1.969668] dfa0: 00000000 00000000 00000000 c01010e8 00000000 00000000 = 00000000 00000000 > [ 1.977869] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 = 00000000 00000000 > [ 1.986069] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000 = 00000000 00000000 > [ 1.994277] [] (ioremap_page_range) from [] (mvebu_p= cie_probe+0x134/0xa60) > [ 2.002917] [] (mvebu_pcie_probe) from [] (platform_= drv_probe+0x48/0x98) > [ 2.011382] [] (platform_drv_probe) from [] (really_= probe+0x1d0/0x2bc) > [ 2.019671] [] (really_probe) from [] (driver_probe_= device+0x60/0x160) > [ 2.027961] [] (driver_probe_device) from [] (bus_fo= r_each_drv+0x58/0xb8) > [ 2.036511] [] (bus_for_each_drv) from [] (__device_= attach+0xd0/0x138) > [ 2.044800] [] (__device_attach) from [] (bus_probe_= device+0x84/0x8c) > [ 2.053002] [] (bus_probe_device) from [] (deferred_= probe_work_func+0x60/0x8c) > [ 2.061991] [] (deferred_probe_work_func) from [] (p= rocess_one_work+0x218/0x508) > [ 2.071152] [] (process_one_work) from [] (worker_th= read+0x2a8/0x5c0) > [ 2.079355] [] (worker_thread) from [] (kthread+0x14= c/0x154) > [ 2.086774] [] (kthread) from [] (ret_from_fork+0x14= /0x2c) > [ 2.094015] Exception stack(0xee30dfb0 to 0xee30dff8) > [ 2.099079] dfa0: 00000000 00000000 = 00000000 00000000 > [ 2.107280] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 = 00000000 00000000 > [ 2.115481] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000 > [ 2.122115] Code: e2844004 e5972000 e3520000 0affffee (e7f001f2)=20 > [ 2.128225] ---[ end trace 7a77412d00a47123 ]--- > [ 2.132853] Kernel panic - not syncing: Fatal exception > [ 2.138094] CPU0: stopping > [ 2.140811] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G D W 4.= 19.0-rc3 #1 > [ 2.148489] Hardware name: Marvell Armada 380/385 (Device Tree) > [ 2.154430] [] (unwind_backtrace) from [] (show_stac= k+0x10/0x14) > [ 2.162198] [] (show_stack) from [] (dump_stack+0x88= /0x9c) > [ 2.169443] [] (dump_stack) from [] (handle_IPI+0x38= c/0x3ac) > [ 2.176863] [] (handle_IPI) from [] (gic_handle_irq+= 0x8c/0x90) > [ 2.184457] [] (gic_handle_irq) from [] (__irq_svc+0= x6c/0x90) > [ 2.191960] Exception stack(0xc0a01f18 to 0xc0a01f60) > [ 2.197024] 1f00: = 00000000 00001db4 > [ 2.205226] 1f20: ef9d1398 c0119260 ffffe000 c0a03bf0 c0a03c30 00000001 = 00000000 c0a03bc8 > [ 2.213426] 1f40: c0968980 00000000 00000000 c0a01f68 c0108e68 c0108e6c = 60000013 ffffffff > [ 2.221631] [] (__irq_svc) from [] (arch_cpu_idle+0x= 38/0x3c) > [ 2.229051] [] (arch_cpu_idle) from [] (do_idle+0x1e= 0/0x210) > [ 2.236469] [] (do_idle) from [] (cpu_startup_entry+= 0x18/0x20) > [ 2.244065] [] (cpu_startup_entry) from [] (start_ke= rnel+0x42c/0x454) > [ 2.252268] [] (start_kernel) from [<00000000>] ( (null)) > [ 2.258642] Rebooting in 10 seconds.. I cannot easily revert that commit now due to some followup changes. I'll=20 be happy to test patches which attempt to fix this. The DTS file in use on this board is armada-388-clearfog-base.dts in case=20 it matters (we have some DT add-on patches on top of that, but nothing PCI-=20= or MBUS-related). With kind regards, Jan