Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1010851rwb; Fri, 28 Jul 2023 03:26:43 -0700 (PDT) X-Google-Smtp-Source: APBJJlFPf8vLnRK9oJGfmiuSThzR9wVdnhnUWFSzDEnCh+JeTH0XRjbKJxNvZ4i2YoXUtUDwtvrZ X-Received: by 2002:a05:6808:d4f:b0:3a6:fb16:c782 with SMTP id w15-20020a0568080d4f00b003a6fb16c782mr1122252oik.30.1690540003201; Fri, 28 Jul 2023 03:26:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690540003; cv=none; d=google.com; s=arc-20160816; b=flvYC3yh5Fv28919nwsPKTMM82c/wdp0zAHwW8D8XHTlzJQMv5HO/CFujXgAHIz+4I iIpsxVZMWcUvNnN+95zbspR0XUX6fYISUivPIFPhX2ooQTl0K6qL3WqFQYBtsq8cdPfv vZ4Ka36XzoBNI8XNL0sHVq6OOa4GRuVI5w3VmDPLxLrIUJw8WGSBMCKd8avPdLM4zFZ3 Wr/Z4L9Ulsb2xa5Bz4zXp0WUrMjBITl6VVWG0UfcObpwEH3foTWjFNG9EwLECejFbRvf Pk49kXcRDkgdiMnWGYrR7leYswDzDC9fYUBFV2iUlQki6KFnw+5SxS7e25tTZv4d6Dih ylZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=xKoqM+Nhgaj7ei4pSXf6wmV6x/vx/N90NwVPUmIlMOI=; fh=5tEbhPYzmPR5bNWw+M1TCiia9/rsnuaozgXTiL6NYEA=; b=pyVsF3GC4en53cSyJi2K9YV/hIxalGyuQ0KXPXmBRKun4Dc2Ydcb0iLpRToxKF0zgC bj4BC0rljfsCRg6B7+LhLcl8RGuSVD/0SvK5zxKruR00GxwswEBr43t3fb7UjNcPKqCz AAR6rljN0q7ZVNdH848JNEUMZcpkmitLBJxYnuseCwQB3fbVJYG8KxwVEDt8gqkObSaJ LJ75y5Bj+YSHexQ7DrYyfcckSd4SPqfNL7pxxykcw8dX/2RbQf0H0f1derbUBaNq9iBv vAL0xpfpn9ZPv7BrFVMQzTeSOlfOh1DLutLxa0zH7GbrOkLJcUUXMKYeiX0wbMCNO4jq w51Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfromscratch.org header.s=cert4 header.b="ZO5QGD/O"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=linuxfromscratch.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g128-20020a636b86000000b00553899f130dsi2677944pgc.820.2023.07.28.03.26.31; Fri, 28 Jul 2023 03:26:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfromscratch.org header.s=cert4 header.b="ZO5QGD/O"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=linuxfromscratch.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235712AbjG1KGG (ORCPT + 99 others); Fri, 28 Jul 2023 06:06:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230398AbjG1KFr (ORCPT ); Fri, 28 Jul 2023 06:05:47 -0400 Received: from rivendell.linuxfromscratch.org (rivendell.linuxfromscratch.org [208.118.68.85]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AD67E3A95; Fri, 28 Jul 2023 03:05:37 -0700 (PDT) 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> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 > >=20 > > This is the config I have been using successfully: > > https://gist.github.com/pdp7/ecb34ba1e93fc6cfc4dce66d71e14f82 > >=20 > > Could you try that config? > >=20 > > Linux 6.5-rc3 boots okay when built with it: > > https://gist.github.com/pdp7/580b072f9a5bf9be87cf88b5f81e50e3 >=20 > Yes, your configuration works. >=20 > 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?