Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp1026695rdh; Fri, 27 Oct 2023 02:33:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFU+QO6bhe1ZUkBK2ptf4hDFMmJEpwNy6qEdXCs6P+/LUYHYXtBnMfvoimAqi2omLhQMnTI X-Received: by 2002:a05:620a:2844:b0:779:ceec:e29d with SMTP id h4-20020a05620a284400b00779ceece29dmr1920986qkp.42.1698399192545; Fri, 27 Oct 2023 02:33:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698399192; cv=none; d=google.com; s=arc-20160816; b=vPnelJvOp2TcJzYzv7eaTP3GNsSjBfxB1NLBgchfjlTC1OXX3FdT9yfsJkj/DiCh4n UMwDMVIauRw1aDL1wkx/RMW1Wus1cDP5WWkPXsGqebAKMstyNIVoTPz0jXaSCHsz/N5k oTDax6VyDmnI3ZU6WeEUYEKl5h8gtCkT3kPWUulmTJMTVOVijIsAl3hnZId5J1r6quRr /xb52pn4wh108vxJaDlHC5HpBdmVzmANqL0nFAUWNlAT8+etkrGltZUUFG2CxbREjxV/ U9mUl90clhgY17Yqhekbvzg5wUbPSwWYhuEvA+bXeeQz8ObcRHQrSJXq42Z/W2p2M9Jp xMIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=XrOZEST9dEJkExoJo5GlItS9W8EC9USO1zLR4bl+Grk=; fh=RxjCNf1iL0ROleLVXKL6sGV66GbXQKzrkuw8OauOGHs=; b=MXbgWgJn5kpzL7nq26WZv2vs1aZbODQ2CV+4WJ3aA/N05mvhETZP8YO42ctfVAMJ7C LsTKlt7T4DU5xwnaMUHLniAsLgU9B8fbQFqez4F7SRCrnPcA2alcT6/jsfisVb9rv1z3 ESWDcF+a2/NhOUJX6XTjpJ9RGq7gmPta71kF60VVInO3BVEXgTB3kY7sQumy9P1M5gyw Nr9j+NWs8N/rAp/Xd6TK+SNKd1SHhve9lNSYhPqKYN+EeHYbAfbDvEoVznMAoHgR4DiF cuQgvij14x1XEgSM1fFd3FqpNoVmTVZrn4UJCv88Gh3WloGT7OOL/+s9fyBL7NJ0A72i EtNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WGxUc1Fm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id g200-20020a0dddd1000000b005a7d0b5e17dsi1966362ywe.422.2023.10.27.02.33.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 02:33:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WGxUc1Fm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 823D5804C1BA; Fri, 27 Oct 2023 02:31:36 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345585AbjJ0JbX (ORCPT + 99 others); Fri, 27 Oct 2023 05:31:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345511AbjJ0JbT (ORCPT ); Fri, 27 Oct 2023 05:31:19 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E185AF for ; Fri, 27 Oct 2023 02:31:16 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A998FC433CB for ; Fri, 27 Oct 2023 09:31:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698399075; bh=32xHlCKJDS5VKbaDnq/BJ50yrsQl1IiT6t8Cc+ds0xw=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=WGxUc1FmDwpRMtD63eKBtmnZlRk8Tg0JPxrzPQOmn6suFUppoL9QFGmJbCMbap66u jw5XfvHszulDB0yrr4uDnBZ9k4vOzjvEztAhjT4U7BtOFHenB9hHHOPJMTDUvbpozF ivMlaEglIuAk8JYqTmWW+ZWwrf4BBVzXF8heFXcfHwoMtqccpoicG36FCU1eGoSaGN 3AqPQe8ylRwNdpREywyuzp+kqdBMA34Elnr6AEaUxgn3vXjke0cH/Be9yVa0BPOXpC i064BGUh64LP/QIHmdbuNOIjTPinvMHMl48QXoeBf7cgSA+YudChMcrgR1It0eUjVC G+s2U9UbfT9cA== Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-540c54944c4so3795306a12.1 for ; Fri, 27 Oct 2023 02:31:15 -0700 (PDT) X-Gm-Message-State: AOJu0YzKKUXdBQVafTddM3HFgJPCsWmzetCqAvO+9AiuD2BYtsVOVfAI ObLferJKSqkaKajrnFoYS2w3w2HgWy7NfwznwFA= X-Received: by 2002:a05:6402:1f90:b0:540:2a8f:806f with SMTP id c16-20020a0564021f9000b005402a8f806fmr5124196edc.3.1698399074112; Fri, 27 Oct 2023 02:31:14 -0700 (PDT) MIME-Version: 1.0 References: <1698048691-19521-1-git-send-email-yangtiezhu@loongson.cn> <1698048691-19521-9-git-send-email-yangtiezhu@loongson.cn> <4a516dcf-aac6-48c9-9082-ac812f313edc@loongson.cn> In-Reply-To: <4a516dcf-aac6-48c9-9082-ac812f313edc@loongson.cn> From: Huacai Chen Date: Fri, 27 Oct 2023 17:31:01 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4 8/8] LoongArch: Add ORC stack unwinder support To: Tiezhu Yang Cc: Josh Poimboeuf , Peter Zijlstra , loongarch@lists.linux.dev, linux-kernel@vger.kernel.org, loongson-kernel@lists.loongnix.cn Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 27 Oct 2023 02:31:36 -0700 (PDT) On Fri, Oct 27, 2023 at 5:25=E2=80=AFPM Tiezhu Yang wrote: > > > > On 10/27/2023 03:02 PM, Huacai Chen wrote: > > v3 works in most cases, v4 cannot work completely (stop at show_stack),= why? > > There are no obvious differences of this patch between v3 and v4. > > > [ 61.642993] Call Trace: > > [ 61.642995] [<9000000002ad3808>] show_stack+0x40/0x17c > > I can not reproduce the above issue with this patch unless remove > the option "-falign-functions" in arch/loongarch/Makefile, please > make sure the option "-falign-functions" is in your test code. A compiler issue? Can you try this one? Thanks. https://mirrors.wsyu.edu.cn/fedora/linux/Yongbao/cross-toolchain/20231026/ Huacai > > Thanks, > Tiezhu > >