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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6CED0CCA48C for ; Tue, 26 Jul 2022 09:15:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237744AbiGZJPo (ORCPT ); Tue, 26 Jul 2022 05:15:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231864AbiGZJPm (ORCPT ); Tue, 26 Jul 2022 05:15:42 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A5C9237EB; Tue, 26 Jul 2022 02:15:40 -0700 (PDT) Received: from dggemv704-chm.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4LsWRx4mlwzgYgW; Tue, 26 Jul 2022 17:13:49 +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; Tue, 26 Jul 2022 17:15:04 +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; Tue, 26 Jul 2022 17:15:03 +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: <1771ac18-8b6a-46ae-c610-afecb28bd21c@huawei.com> Date: Tue, 26 Jul 2022 17:15:03 +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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? > It was explained in commit 3, thank you very much. Thanks, Huafei > Yours, > Linus Walleij > . >