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 ADA1AC0015E for ; Fri, 28 Jul 2023 10:05:46 +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:MIME-Version:References:In-Reply-To: Date:Cc:To:From:Subject:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=rcey9XqZTNNTjt2yRBWIkfP/Lr7G6oB+f6lFieACjAg=; b=i313XWRMb3MaWA urMOWbUSZ304hnaCcyXzCzdHJZRCrMM0kTMmycIWututWc+AbjSuqj7byOHdT2bvSZreviMrs6usJ dyDQ1CA5BkfM9WcMotpDNudDA7zHZcmWoh9EbC1C+KuycP6/kkZgpRJ5MQtF4//4Aqg9WWesgqD8s M4IC1uBYrXLoPRgDF5+PBov2L2tIAeCg8eLA3tNHouWzOKXHd0KBOXzJHYXlZaeNjCP1n1AW9ef4y WjEDYCbiqnEkr5G52ibGgT3SrCoP3c57e8FBxGUDG4em6u/veTYdw9FwiTuOcunJzlh934KkD0WM3 CrUSuzuWlBtTYjx1mwfg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKLv-002mXk-2v; Fri, 28 Jul 2023 10:05:43 +0000 Received: from rivendell.linuxfromscratch.org ([208.118.68.85]) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKLs-002mXB-22 for linux-riscv@lists.infradead.org; Fri, 28 Jul 2023 10:05:42 +0000 Received: from localhost.localdomain (xry111.site [89.208.246.23]) by rivendell.linuxfromscratch.org (Postfix) with ESMTPSA id 817E21C1DA0; Fri, 28 Jul 2023 10:05:29 +0000 (GMT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 1.0.0 at rivendell.linuxfromscratch.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfromscratch.org; s=cert4; t=1690538733; bh=qRtVWvhOJ/YXekRzxi/JP4QHeemzpizvRATJRuTsluI=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=ZO5QGD/O+lR0Kz8nJ3weEySlKMx4Zs9Z9LYiuJfO5X/zsnwnGcoMHW84OZh5r2PdD C2XRCKPUru789pFD/kMmpTtC4VJO8jlYJstBokrpC+pY1kYrbvXsoP0V+jND1tFK9w IVaxhrn4KaKnUkcVEeWwp2XqPJAEkcnGKNAe175qcNrA5yBKolYGf3DkwdKxW/FiMR B+zsWhYFFhaIzIBcJvYKVCkF5qVGm/2iRbDNHpHlbWbG42Vh6tZthH3vQoepDDNcyH Hz4Q4JGufcoVOcXdxMutwVgtiVcw0B80cciGfrnQ+wVXlMn1hZGDiwkpJYDa/2bTGg GkyLJXkXVJX7g== Message-ID: <0f528aa0d4e6f2491835c9a78bb38dd162b75810.camel@linuxfromscratch.org> Subject: Re: [PATCH v3 0/8] Add Sipeed Lichee Pi 4A RISC-V board support From: Xi Ruoyao To: Drew Fustini Cc: Jisheng Zhang , Conor Dooley , Thomas Gleixner , Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Palmer Dabbelt , Paul Walmsley , Albert Ou , Daniel Lezcano , Guo Ren , Fu Wei , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org Date: Fri, 28 Jul 2023 18:05:27 +0800 In-Reply-To: References: <20230617161529.2092-1-jszhang@kernel.org> <20230725-unheard-dingy-42f0fafe7216@wendy> <3e0994dab495920ac590dc28d6b9d9765abe0c7e.camel@linuxfromscratch.org> <866eab3e30a18c50742a75d62aee223fdc7e3cee.camel@linuxfromscratch.org> <4986b92f1a5aa303a529c6004aaedd2184c3ccf7.camel@linuxfromscratch.org> <290101d386866f639a7c482527d7a78c5108d49b.camel@linuxfromscratch.org> User-Agent: Evolution 3.48.4 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_030540_858593_30E007C5 X-CRM114-Status: GOOD ( 15.42 ) X-BeenThere: linux-riscv@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-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On Fri, 2023-07-28 at 15:40 +0800, Xi Ruoyao wrote: > On Fri, 2023-07-28 at 00:04 -0700, Drew Fustini wrote: > > It seems like your kernel config is the problem. I used it and I saw > > the same result of a panic in riscv_intc_irq: > > https://gist.github.com/pdp7/1a26ebe20017a3b90c4e9c005f8178e1 > > > > This is the config I have been using successfully: > > https://gist.github.com/pdp7/ecb34ba1e93fc6cfc4dce66d71e14f82 > > > > Could you try that config? > > > > Linux 6.5-rc3 boots okay when built with it: > > https://gist.github.com/pdp7/580b072f9a5bf9be87cf88b5f81e50e3 > > Yes, your configuration works. > > I'll try to figure out which specific configuration item is problematic > in my origin one... Ah, I found it... If I deselect CONFIG_FRAME_POINTER it will crash. And I see RISC-V selects ARCH_WANT_FRAME_POINTERS, so it seems frame pointer is mandated. But then why I'm able to deselect CONFIG_FRAME_POINTER? _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv