Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp2570319pxb; Mon, 18 Apr 2022 03:43:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+qP6776Eiao4GaGOSuNsMaIjTj54I/CBG0+DjNiNdj5S+08KwQfeJM0WfcSuonln9/JDW X-Received: by 2002:a17:906:e18:b0:6e8:69c2:528c with SMTP id l24-20020a1709060e1800b006e869c2528cmr8338958eji.439.1650278638405; Mon, 18 Apr 2022 03:43:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650278638; cv=none; d=google.com; s=arc-20160816; b=MWLqR8niqNmcV0Mt+45F5aXZM/aLrhi1TfNWcVQY/SK/xSya4uIljkXYhXenKfjz4K PuwUlPOgsrsWHJycFq4xUe6/Ew6ajWS0/0jUbGecpNaWErXuPkck/mq5R0nsEu0kOc5O SIksiTqb1/xqFyNz+fCCxq/cz6fRX7VgWDB9EXb+YASpp+MsLJm4O9D246owF1Ec6eVk RdXS2566wfxrDR+Es1UOulUOy1G2HcOAtOOwqOolTmmg8o5cE02xd8LR+7EKc0kXakP/ pF5wJMzYRvmTUosbiaa1HcyLmpDilbof1Eyq1t//vzgrM97Z8SYpWwFlF1OLvDdO+l/S VFOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=mPqWvFE0s9RS//BbVqKRAJHP2kAHf3gw7RAw6jhPvWY=; b=YRPJkrJ+xpTrDwnzwCQjGTkMs2q5n+7hh876IuSCeYPxZS7CqKAIfICwG7gsBav18E XwYAmBZ+aQng+TwIluLnEq6qcf1LrwcRCmDnPcXDVxTgbJcdKMWJKCsmLgQRVYQH7oeV HqKMaI8Uo/LbXahvuqgwg9PkL5yTB/9ukLc5pNwj+yNbW8Y+apeEbfr2XzLGlM7/Qdhn q8h/YBCBKJ///7Lto8SD0rzrQA56M7TyHtrNkxNAmyv+bQMF1sbLozEK0PYKfmazzF1t ETSDzthg0t7jc2mUbytqxDl9j6uosgvK37KMhreKNTB5X2/1KRwuq2Yz5xuRX5zibwdO TWWg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jw25-20020a17090776b900b006df76385ce4si5436137ejc.388.2022.04.18.03.43.34; Mon, 18 Apr 2022 03:43:58 -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; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236601AbiDRIix (ORCPT + 99 others); Mon, 18 Apr 2022 04:38:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236403AbiDRIiu (ORCPT ); Mon, 18 Apr 2022 04:38:50 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 819A6E0EB for ; Mon, 18 Apr 2022 01:36:12 -0700 (PDT) Received: from dggpeml500026.china.huawei.com (unknown [172.30.72.54]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4KhgFK40KPzFq2h; Mon, 18 Apr 2022 16:33:41 +0800 (CST) Received: from [10.174.179.110] (10.174.179.110) by dggpeml500026.china.huawei.com (7.185.36.106) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Mon, 18 Apr 2022 16:36:10 +0800 Message-ID: Date: Mon, 18 Apr 2022 16:36:09 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.2.1 Subject: Re: [PATCH] ARM: fix the incorrect value of sp in __die() Content-Language: en-US To: "Russell King (Oracle)" CC: , , , , , , , References: <20220418034516.521046-1-songyuanzheng@huawei.com> From: songyuanzheng In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.179.110] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To dggpeml500026.china.huawei.com (7.185.36.106) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Thanks for your reply. I didn't fully understand these code, please ignore this patch. Thanks. On 2022/4/18 16:03, Russell King (Oracle) wrote: > Insufficient stack space to handle exception! > Task stack: [0xf09dc000..0xf09de000] > IRQ stack: [0xf0800000..0xf0802000] > Overflow stack: [0xc210e000..0xc210f000] > Internal error: kernel stack overflow: 0 [#1] SMP ARM > Modules linked in: > CPU: 0 PID: 81 Comm: sh Not tainted 5.18.0-rc3 #4 > Hardware name: ARM-Versatile Express > PC is at mmioset+0x20/0xa8 > LR is at recursive_loop+0x34/0x9c > pc : [] lr : [] psr: 20000013 > sp : f09dbf48 ip : f09dbf4c fp : 00219644 > ... > Stack: (0xf09dbf48 to 0xf09de000)