Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp383415iog; Wed, 15 Jun 2022 04:23:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyIskqfpQxRgW32PTJ8UtPkX7JzPa5cJUNsCCzdvdfw4g9HK1SZlIZb3GVfUnR2pbCLrd/Y X-Received: by 2002:a17:907:62a8:b0:6fe:8b21:4a0d with SMTP id nd40-20020a17090762a800b006fe8b214a0dmr8494924ejc.84.1655292209339; Wed, 15 Jun 2022 04:23:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655292209; cv=none; d=google.com; s=arc-20160816; b=njTmf4XxrCrFkNt947qmTbPeotjWvRwjDuovynOFseqNozP/VVeaAD/JQdM8q7KSRm D0k/2R+QPOyFzqvz1VstT9FTSQTFgn7fbpNyBQkEIkrnwAuZyEAVKz5KfdF24iUhq1Lf 57izJFjHwHlH+puWuDUUjwwhmaAz9LjSeqFrqfnGrFnodpQRbmVFgAdbxlU9gn8XrBKX wORFjgX/Plqvl79Uselxa0DzhZWUGtZ9A7O1EOh2MSkyyewXZHrJjhLyBb9Dd4pArfrC XlXdvclLdCg/7lILqoCZEbV/Xv3moStyOsSdTSCM3lZFGZO8iuOwaVEO/89egZoS609Z F96A== 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=7FkX3c+ur1uosvhZGa0PqZPXSpPqyLIF5DMs+1ZS0fY=; b=jJ/vsxUX5gDSnB/tfdbGkLZqTwTzt1Q/FRFWz7I3CrQ47Mtu5IoXGegpnktf6cdNCT hwziSgblNp3DOogKGwwbBL/p3vFIOIKGEp47JoyoMRpp7B+c1lXWFCuKKpKYk0LXgkTT ubpDbId11rVEznSD41igCgfuWylExSM7O+kQ2fUCxHvutvEpoyCQj2nuggOZl2Oo+fWk 27adpAOMBYccPtyjTRGo2dyRzBJhtKNq2LAJOknIq1O7xslozEr++P8rrNvZVqskAs8V z4ecqPXfC57hTgO3foj1sZExID+n5GY5wj3s+oVr2IJnfckHf4QcYKbu81RRY//zk0NQ RPIA== 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 ji8-20020a170907980800b00711d2dc62a2si15654246ejc.200.2022.06.15.04.23.03; Wed, 15 Jun 2022 04:23:29 -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 S1348528AbiFOK34 (ORCPT + 99 others); Wed, 15 Jun 2022 06:29:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347582AbiFOK3j (ORCPT ); Wed, 15 Jun 2022 06:29:39 -0400 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 109974BFDE for ; Wed, 15 Jun 2022 03:29:36 -0700 (PDT) Received: from linux.localdomain (unknown [113.200.148.30]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9Dxr9+NtKliy5VDAA--.20939S2; Wed, 15 Jun 2022 18:29:33 +0800 (CST) From: Tiezhu Yang To: Huacai Chen , WANG Xuerui Cc: Xuefeng Li , Jianmin Lv , Jun Yi , Rui Wang , linux-kernel@vger.kernel.org Subject: [RFC PATCH v3 0/3] LoongArch: Modify handle_syscall Date: Wed, 15 Jun 2022 18:29:30 +0800 Message-Id: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/ X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Tiezhu Yang (3): LoongArch: Add TI_SYSCALL in output_thread_info_defines() LoongArch: Only clone and clone3 need to call SAVE_STATIC LoongArch: No need to call RESTORE_ALL_AND_RET for all syscalls arch/loongarch/include/asm/stackframe.h | 17 ++++++++++++++++ arch/loongarch/kernel/asm-offsets.c | 1 + arch/loongarch/kernel/entry.S | 35 ++++++++++++++++++++++++++++++++- 3 files changed, 52 insertions(+), 1 deletion(-) -- 2.1.0