Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp64814iog; Tue, 14 Jun 2022 19:12:58 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t9pTcRi56kcN+VcE+hfJDv7erCvflYrdAIpjLkakCOb9C++nKjCVVLOsQZUDvTUAZh4MKp X-Received: by 2002:a17:903:18a:b0:167:621b:d6e8 with SMTP id z10-20020a170903018a00b00167621bd6e8mr7364461plg.113.1655259178307; Tue, 14 Jun 2022 19:12:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655259178; cv=none; d=google.com; s=arc-20160816; b=OchraFSh5SOGQO+rvLcUWkVj+yhQYwsG70v7a8UDrKuCJZ5DJPxHURf1PJv9v5mrHy fmdJWsBkJE8fuXk3jpwzU0GMFJLHXqlVhx/Kx8/hFivyDTuZFpzS8rZcECWY3G/pzwnF wg3SJtf1ls82nwpEYak+PsCgOSIGqmOgO7a1tBgO6xJ1CodxVaPJnvLzcbMLG1bJ+Q/o oBELRM1qJCLXwaALmuZ/U/xPRAQDDctvEK1vBGYaQnU25zfuD5H2bDiN2RrDnydBQLqM FRzw8wE0Q0//hWI5B8FzwDEXt0R6RWNVJ72OMUK+sevjG2e12nyMfkcVt6H/v+dMAfuV j7Pw== 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=Ex1g/hyZrV5gyN+weIjdYwTcoAySwFgFPlKA58THWHg=; b=cgk1SVPwnt11kdHOabYDZ9Aj9D+83mewhnvIXmH37bcoWYUiJFjzKR+p4KoFcKV6uq UXxri91l9NRmZ9c010QPpnImV+Z4Sukpa1ZMRD0Dcz2nYm9xHyTUgc8XASdvs0F0ZVtb iJTEY5xWS4cJdpHsgYfMoNjv9flvT9xR5jK6A0p/oIYtKM45nCKwOQU467ZheGbq0MmE EEPYmYcd+poGRclyZJXa80fhU86MqRM+Cc6zgFv5ryOCTC7xb4c4CmM/wNLSnvSS6NPS e8h3Nb/rxrp5ZusZZdW0L1oHVlzF5Nq9/GKcODUoDklmSGrThdkn1AAzd9htQfiS628l lo+A== 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 f10-20020a170902ce8a00b00158f777bbbfsi16953470plg.559.2022.06.14.19.12.40; Tue, 14 Jun 2022 19:12:58 -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 S244658AbiFOBjS (ORCPT + 99 others); Tue, 14 Jun 2022 21:39:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241102AbiFOBjO (ORCPT ); Tue, 14 Jun 2022 21:39:14 -0400 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 095E73617A for ; Tue, 14 Jun 2022 18:39:08 -0700 (PDT) Received: from linux.localdomain (unknown [113.200.148.30]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9DxP046OKliBLNCAA--.5517S2; Wed, 15 Jun 2022 09:39:07 +0800 (CST) From: Tiezhu Yang To: Huacai Chen , WANG Xuerui Cc: Xuefeng Li , Jianmin Lv , Jun Yi , linux-kernel@vger.kernel.org Subject: [RFC PATCH 0/2] LoongArch: Modify handle_syscall Date: Wed, 15 Jun 2022 09:39:03 +0800 Message-Id: <1655257145-24140-1-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 X-CM-TRANSID: AQAAf9DxP046OKliBLNCAA--.5517S2 X-Coremail-Antispam: 1UD129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUYF7AC8VAFwI0_Jr0_Gr1l1xkIjI8I6I8E 6xAIw20EY4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM28Cjx kF64kEwVA0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVW8JVW5JwA2z4x0Y4vE2Ix0cI8I cVCY1x0267AKxVWxJVW8Jr1l84ACjcxK6I8E87Iv67AKxVW8Jr0_Cr1UM28EF7xvwVC2z2 80aVCY1x0267AKxVW8Jr0_Cr1UM2AIxVAIcxkEcVAq07x20xvEncxIr21l5I8CrVACY4xI 64kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r1j6r18McIj6I8E87Iv67AKxVWUJVW8Jw Am72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IYc2Ij64vIr41lF7I21c0EjII2zVCS5cI20VAG YxC7MxkIecxEwVAFwVWkMxAIw28IcxkI7VAKI48JMxC20s026xCaFVCjc4AY6r1j6r4UMI 8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE17CEb7AF67AK xVWUAVWUtwCIc40Y0x0EwIxGrwCI42IY6xIIjxv20xvE14v26r1j6r1xMIIF0xvE2Ix0cI 8IcVCY1x0267AKxVWUJVW8JwCI42IY6xAIw20EY4v20xvaj40_Wr1j6rW3Jr1lIxAIcVC2 z280aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267AKxVW8JVW8JrUvcSsGvfC2KfnxnU UI43ZEXa7VUbYFAPUUUUU== X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ 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 (2): 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 | 10 ++++++++++ arch/loongarch/kernel/entry.S | 25 ++++++++++++++++++++++++- 2 files changed, 34 insertions(+), 1 deletion(-) -- 2.1.0