Received: by 2002:a05:7412:bc1a:b0:d7:7d3a:4fe2 with SMTP id ki26csp823801rdb; Sun, 20 Aug 2023 04:47:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFyNZznAdzT4/c+/hQ5dnVhKmtEi2Bt8Yxlr586zOTSWpJbJb5UkVkvmpOWTM8oOjKNQD2/ X-Received: by 2002:a05:6e02:1806:b0:349:296c:9b8a with SMTP id a6-20020a056e02180600b00349296c9b8amr7004805ilv.2.1692532033796; Sun, 20 Aug 2023 04:47:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692532033; cv=none; d=google.com; s=arc-20160816; b=Di9WCyZr2SMyZF/pBV7q1LElmuiX174ncs6qK/iqJR5odlUeZzprenGtxR8ksr4UKv RygKGHfYN/WqT5WgJ1h6MKo6ft8tty7cR0Er0S+UFGJNQ9LjI1H5BT22zGFfB3Cnslcy iYCYTJ5yQVL0u03f6oyM4WQZ2jIE7MbEbTBIq5kJh4vuE3vSkHJj2CHxz6buME0JczZi /Me4F7f03pBlJykV+uZlA8O1uGn+NV0EvsHh8pGiOc6A2zjoJwXiTZehzdiyJ4m3kv68 hOLWaZ2xXpt29YU7QLSP5ei5kUcpxPWZqftPu9qN3tf0OtXApksKM/jbkceoYyQxVbca R6tQ== 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=tu13Nm3ajiCeh11ugsG6BUBK/Li5aoJMxwhriQhxb8E=; fh=zoicnZrSUumwSLub61Q/qA0LDg7Zj98grk3RszA4Weg=; b=S1L6q2CW4HrRE5SzcGs/9wdbHU5t/dL5ck/lWIoDX/zUsw78BfAHSWnje5jH/eW3tb lEZenXFzsh6XW3d2DEKYPgY1J85KEfyvNENxYrthnoV6wOrqz61vXzRIZ5nGsXqOiCnN NSoL7IAaCmgpnSYCtmnnoLVhs6z9iEltIVx9z7XWApK+/rvRiMGieCrxoT5t/JQhEeww /L7v1Mcq4sjZs2/NMMvmL4oJKdTjp72Y5dX1yjHaEAcRk1dI0rYzTUiAVUJxMpGISm09 KR+x20wcAqALCp3o7KpY6fKNyLff7qGcJWwJycbXgolZliJF9rSW7iYh2wY3Q6J0j0X4 9CFA== 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:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id z19-20020a63e113000000b0056556d83a69si4845835pgh.234.2023.08.20.04.47.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Aug 2023 04:47:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 916362ED296; Sat, 19 Aug 2023 11:53:38 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230231AbjHSIgd (ORCPT + 99 others); Sat, 19 Aug 2023 04:36:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230029AbjHSIgb (ORCPT ); Sat, 19 Aug 2023 04:36:31 -0400 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 071527A8DB; Sat, 19 Aug 2023 01:36:26 -0700 (PDT) Received: from loongson.cn (unknown [113.200.148.30]) by gateway (Coremail) with SMTP id _____8AxFvEJf+BkNhsaAA--.53270S3; Sat, 19 Aug 2023 16:36:25 +0800 (CST) Received: from linux.localdomain (unknown [113.200.148.30]) by localhost.localdomain (Coremail) with SMTP id AQAAf8Cx_c4Hf+BkLDpeAA--.33957S2; Sat, 19 Aug 2023 16:36:24 +0800 (CST) From: Tiezhu Yang To: Thomas Bogendoerfer Cc: "Maciej W. Rozycki" , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, loongson-kernel@lists.loongnix.cn Subject: [PATCH v4 0/4] Modify die() for MIPS Date: Sat, 19 Aug 2023 16:36:19 +0800 Message-Id: <1692434183-2054-1-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 X-CM-TRANSID: AQAAf8Cx_c4Hf+BkLDpeAA--.33957S2 X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ X-Coremail-Antispam: 1Uk129KBj9xXoWrtF43XrWfJrWUtr1ftr4kXwc_yoW3ZFcEgF y8tryxG34xZFykZFyUurs7AFW3tFWj9r1Sq3Z3GrsIkFnxtr1kJFWqv39Yvr18XayFvrs5 CF98CFWfArZIkosvyTuYvTs0mTUanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUj1kv1TuYvT s0mT0YCTnIWjqI5I8CrVACY4xI64kE6c02F40Ex7xfYxn0WfASr-VFAUDa7-sFnT9fnUUI cSsGvfJTRUUUb7kYFVCjjxCrM7AC8VAFwI0_Jr0_Gr1l1xkIjI8I6I8E6xAIw20EY4v20x vaj40_Wr0E3s1l1IIY67AEw4v_JrI_Jryl8cAvFVAK0II2c7xJM28CjxkF64kEwVA0rcxS w2x7M28EF7xvwVC0I7IYx2IY67AKxVWUJVWUCwA2z4x0Y4vE2Ix0cI8IcVCY1x0267AKxV WUJVW8JwA2z4x0Y4vEx4A2jsIE14v26F4j6r4UJwA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_ Gr0_Gr1UM2AIxVAIcxkEcVAq07x20xvEncxIr21l57IF6xkI12xvs2x26I8E6xACxx1l5I 8CrVACY4xI64kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r106r15McIj6I8E87Iv67AK xVW8JVWxJwAm72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IYc2Ij64vIr41l42xK82IYc2Ij64 vIr41l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG67AKxVWUJVWUGwC20s026x8G jcxK67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r126r1DMIIYrxkI7VAKI48JMIIF0xvE2I x0cI8IcVAFwI0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF7I0E14v26r1j6r4UMIIF0xvE42xK 8VAvwI8IcIk0rVWUJVWUCwCI42IY6I8E87Iv67AKxVW8JVWxJwCI42IY6I8E87Iv6xkF7I 0E14v26r4j6r4UJbIYCTnIWIevJa73UjIFyTuYvjxU2ID7UUUUU X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,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: -- Add BUG() at the end of nmi_exception_handler() -- 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 three individual patches, suggested by Maciej, thank you. Tiezhu Yang (4): MIPS: Add BUG() at the end of nmi_exception_handler() MIPS: Do not kill the task in die() if notify_die() returns NOTIFY_STOP MIPS: Return earlier in die() if notify_die() returns NOTIFY_STOP MIPS: Add identifier names to arguments of die() declaration arch/mips/include/asm/ptrace.h | 2 +- arch/mips/kernel/traps.c | 15 +++++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) -- 2.1.0