Received: by 2002:a05:7412:1492:b0:e2:908c:2ebd with SMTP id s18csp563648rdh; Tue, 22 Aug 2023 04:34:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEEmuhXtYI60NI17IG8uryhBPXjNED1M4Hdf8yUAcsVonMTD3rWw0gdgdcY6HxkLMZbJyC7 X-Received: by 2002:a17:902:db11:b0:1bc:ee6:7f2e with SMTP id m17-20020a170902db1100b001bc0ee67f2emr7758255plx.53.1692704049165; Tue, 22 Aug 2023 04:34:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692704049; cv=none; d=google.com; s=arc-20160816; b=kV2PGQ6VSUsv1b4WcF7/yGp3pF9SqGNE8QgXAJOv11DXriPW5iGV6GKifO1q8NDXrZ 2dMo/1tOYJeCOmfOKOJilm/i29LmSJLg0XpGUm8PFoSVj5Hn+JjAYWTC+aRo4godGRGJ qO10G56LXc0vMIiQ/GVj9n2/UcNM21frj7rRCYlBCtbJOm6ddgwaIxlwI+Nw0R02ttIE E66WOo0N26NcLGAHSOdkK4d7IEvS5w4qPBRw+WoskrBWvb346ifxisDSVZmKYoAErW1q K7Myr8/oN26nNYufO8kkO0tzH7lp6H3iu+WZv+5u3iGdQqb4Xd/wvSCb2CKTb47gBcfH 4NLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=1z7gqw+Hm7NCcmy0heTCn3UEbsGWqz6HbCwfCpHIbBY=; fh=SZ39SBhiFik3r2Qby0lfj8dSyaj5PbEfEri4a6Oa5Uc=; b=mtaXCz/pEaXBQ6koYLHeSa6e4U5Xfx1OuiTiQ5KEoXlJ9CywdBWUcMPYvaLBgilghX nz59W5qXptlHXkWrDSPGEBCM6g/ztAkrC43HjBL82o9dDr9vdh+K8D7JstIbIR1oLPe8 XRz5a4iEJ1iK+Uojsr6CV7jm8FgYfn9jR7YIb63Msv1ZC0Va4mhNut1QD4MaCxVTvY3Y 3OsGUzurbsz9tnlIz8rlyaiPC+w7/fjGwiu12x8PwiAbQNP3gOqUr/o3jMKYFduWKb0O hBXuBB7TqFrISumVdsrO1lJ5XQ3aMdp//RhfWN6i4tEyoISuUJVUuU6DaguS+PwanVTL RL0A== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l6-20020a170903244600b001bbc40ac12dsi1508850pls.132.2023.08.22.04.33.55; Tue, 22 Aug 2023 04:34:09 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233445AbjHVIyC (ORCPT + 99 others); Tue, 22 Aug 2023 04:54:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232083AbjHVIyC (ORCPT ); Tue, 22 Aug 2023 04:54:02 -0400 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0DF8ACE for ; Tue, 22 Aug 2023 01:53:59 -0700 (PDT) Received: from loongson.cn (unknown [113.200.148.30]) by gateway (Coremail) with SMTP id _____8Cxc_Cmd+RkOtwaAA--.55057S3; Tue, 22 Aug 2023 16:53:58 +0800 (CST) Received: from linux.localdomain (unknown [113.200.148.30]) by localhost.localdomain (Coremail) with SMTP id AQAAf8CxvM6ld+RkwS5gAA--.37979S2; Tue, 22 Aug 2023 16:53:58 +0800 (CST) From: Tiezhu Yang To: Huacai Chen Cc: loongarch@lists.linux.dev, linux-kernel@vger.kernel.org, loongson-kernel@lists.loongnix.cn Subject: [PATCH v4 0/3] Modify die() for LoongArch Date: Tue, 22 Aug 2023 16:53:54 +0800 Message-Id: <1692694437-27077-1-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 X-CM-TRANSID: AQAAf8CxvM6ld+RkwS5gAA--.37979S2 X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ X-Coremail-Antispam: 1Uk129KBj9xXoWrZr4kJF47ZrW7WFyrWr43XFc_yoWxKwb_WF 4xJa95Gw1xZFyDZF1kWFZ3AryjqF4vqr1SvF93Jr4UJFnIqr15XFWqqa98Zr1vgFWFqrs5 Cr1q9rW3ArnIkosvyTuYvTs0mTUanT9S1TB71UUUUUDqnTZGkaVYY2UrUUUUj1kv1TuYvT s0mT0YCTnIWjqI5I8CrVACY4xI64kE6c02F40Ex7xfYxn0WfASr-VFAUDa7-sFnT9fnUUI cSsGvfJTRUUUb7AYFVCjjxCrM7AC8VAFwI0_Jr0_Gr1l1xkIjI8I6I8E6xAIw20EY4v20x vaj40_Wr0E3s1l1IIY67AEw4v_Jrv_JF1l8cAvFVAK0II2c7xJM28CjxkF64kEwVA0rcxS w2x7M28EF7xvwVC0I7IYx2IY67AKxVWUCVW8JwA2z4x0Y4vE2Ix0cI8IcVCY1x0267AKxV W8JVWxJwA2z4x0Y4vEx4A2jsIE14v26r4UJVWxJr1l84ACjcxK6I8E87Iv6xkF7I0E14v2 6r4UJVWxJr1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqjxCEc2xF0cIa020Ex4CE44I27w Aqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jrv_JF1lYx0Ex4A2jsIE 14v26r1j6r4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0EwIxGrwCF04k20xvY0x 0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E 7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_JF0_Jw1lIxkGc2Ij64vIr41lIxAIcV C0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr1lIxAIcVCF 04k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF0xvEx4A2jsIEc7 CjxVAFwI0_Jr0_GrUvcSsGvfC2KfnxnUUI43ZEXa7IU8zwZ7UUUUU== X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 v4: -- Return earlier in die() if notify_die() returns NOTIFY_STOP -- Update the patch titles and commit messages. v3: -- Make each patch can be built without errors and warnings. v2: -- Update the commit message to give more detailed info, split into two individual patches, suggested by Maciej, thank you. Tiezhu Yang (3): LoongArch: Do not kill the task in die() if notify_die() returns NOTIFY_STOP LoongArch: Return earlier in die() if notify_die() returns NOTIFY_STOP LoongArch: Add identifier names to arguments of die() declaration arch/loongarch/include/asm/ptrace.h | 2 +- arch/loongarch/kernel/traps.c | 14 ++++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) -- 2.1.0