Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp84361imn; Tue, 26 Jul 2022 23:44:22 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tUtrNgJ4qFaTIHeOYtkhWH5INAbJ7vAZP9U3/DUoDdyUdknR/NHAz1vYdK5VLAUlcB8ldI X-Received: by 2002:a17:902:e5c7:b0:16d:82dd:8c3d with SMTP id u7-20020a170902e5c700b0016d82dd8c3dmr10606216plf.62.1658904262686; Tue, 26 Jul 2022 23:44:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658904262; cv=none; d=google.com; s=arc-20160816; b=xkB++sn6QmJkfo9PerghZlD+JpG8uNZo1ISRSioyc/2Ongj0dR1W+W32Ab4b2+MsY0 /XG5BrH9xaa0INbVCVVxNYbkrC7pt/xwre08oo/ROzoO5WCEIZA/QPvcZ8X9xyMJaxUo alufBbha7RxdEq6yubJQboanMDKc21CCt0n46MdDx7xSXj48W6qQb7VyQO0+Q0BWQvzT ebk+EwEi2R1M/uEJjXSnQq9NINPXeicX9ub9TyqjxRZ7KuLU9H/Ztog+wkbgokn1dTCo ldez/5XtIpOHI2VeWRPpvHJm/tU3HM9a6NmS40G406a5WX80UMEuN48x0KEuuWd20WSE PuXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=2z5Lq2jNjFmzj8C4+LdKBPeRwdeTa2BMBoAuYAn/7M4=; b=djEYJ4aSHDvZgkjDut3ibMWFX35k/Cv23Ko83cRfoPtTc4R9wkP5Prj4JWMz1RVaUN ocUkLH0YuOQ/tlo4p0NMyC5eln3x2DlpJNby1y/n4IhoWg2HJBKuxAll6fkpuIkmsVVt UktUc/Yxrtg9o8PPE722fNiL+98smtXkvKlX9l0AZFShz/pmFH6YViUaWTQ2VZZLi87d 6KFNYpJYrjKcLmA4ssU9dhSN6VZ189Lye/MHovccMywPChLO+/1AO2r04n+3tODOVuZA vD5SM6fELoHGNMcQJ+R33vMgLW9S5akmBEvxqtvLYxrPEQEjVFfwcmEJbhccOF7egTw3 1B8w== 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 z6-20020a170903018600b0016c4f0065d8si20707152plg.602.2022.07.26.23.44.08; Tue, 26 Jul 2022 23:44:22 -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 S229554AbiG0G3h (ORCPT + 99 others); Wed, 27 Jul 2022 02:29:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229501AbiG0G3f (ORCPT ); Wed, 27 Jul 2022 02:29:35 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D0751EAFD; Tue, 26 Jul 2022 23:29:34 -0700 (PDT) Received: from dggemv704-chm.china.huawei.com (unknown [172.30.72.53]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4Lt3kX65Ygz9sxl; Wed, 27 Jul 2022 14:28:20 +0800 (CST) Received: from kwepemm600010.china.huawei.com (7.193.23.86) by dggemv704-chm.china.huawei.com (10.3.19.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Wed, 27 Jul 2022 14:29:31 +0800 Received: from [10.67.110.237] (10.67.110.237) by kwepemm600010.china.huawei.com (7.193.23.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Wed, 27 Jul 2022 14:29:29 +0800 Subject: Re: [PATCH 5/5] ARM: stacktrace: Convert stacktrace to generic ARCH_STACKWALK To: Linus Walleij CC: , , , , , , , , , , , , , , , , , , , , , , References: <20220712021527.109921-1-lihuafei1@huawei.com> <20220712021527.109921-6-lihuafei1@huawei.com> From: Li Huafei Message-ID: Date: Wed, 27 Jul 2022 14:29:29 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.110.237] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To kwepemm600010.china.huawei.com (7.193.23.86) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS 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 Hi Linus, On 2022/7/18 17:12, Linus Walleij wrote: > On Tue, Jul 12, 2022 at 4:19 AM Li Huafei wrote: > >> This patch converts ARM stacktrace to the generic ARCH_STACKWALK >> implemented by commit 214d8ca6ee85 ("stacktrace: Provide common >> infrastructure"). >> >> Signed-off-by: Li Huafei > > Looks good to me: > Reviewed-by: Linus Walleij > > What I want to know is if this commit will avoid the problem mentioned > in review of commit 3? I.e. the generic stackwalk code will make sure we are > not running the task on another CPU, so that is why we could remove > that check? > In v3, I removed patch 3 of v1 and kept that check, see https://lore.kernel.org/lkml/20220727040022.139387-1-lihuafei1@huawei.com/ Given this change, I did not add your reviewed-by to patch 4 of v3. If you think patch 4 of v3 is still ok, please do let me know. Thank you very much! Thanks, Huafei > Yours, > Linus Walleij > . >