Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp329411imn; Fri, 29 Jul 2022 08:07:46 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uUWx35a9gbP/of7Kg+iE78Z5LfHMv+N65dKcE9MVw+qzkx4DsLFKAfWDK8gGcpgJJ0bfZM X-Received: by 2002:a17:907:3d89:b0:72b:4d89:9c7a with SMTP id he9-20020a1709073d8900b0072b4d899c7amr3179919ejc.50.1659107265732; Fri, 29 Jul 2022 08:07:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659107265; cv=none; d=google.com; s=arc-20160816; b=k0dj2tCBVHqOUGHmjrfdtGbtVz6SdRVQac+65SA96PxfWGmtb7Yx+kwHGzR86+DHd3 QCEo6Ydg8E73jWKNG2lk7SLNV9PppyOHmrXuSNDxyDdqNs/lO/8FO8+00JUz8LPMDbiR 5oYUbehzMp+g8df/hwu+yiSwLcUYv3yNhoc4qB96jOgMVcRdPo+Fy7jr+pz9Fd4tVryO peAcmH33HrDvz+6PgR6ng/tpYdUTX9NKKhyzSjkp5r50WROmjKjgzPc4KYRJH91OWDbX Iiv1vIfScQSqOSOqCk/AVQWKRe46iYVMOQuqiLHtFH0WgzAidVNFCZLs+tnMs2LyVepD uyJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=xIXG149132k2SmD61B48xQUthjjpuOLUUGh6Isytb3I=; b=LZaNM5+/VrH/AnWs48rK3GWgeiS5dT5c686aJT6VB+i0NpNQKtN73ZedpSKpWzACOh QyT15awN8Gfw5lLwgyv/zjRCNJ20zdDI2u/kJIRVYypoqJOfYybSplBl4qb7l58HRLxT CR3XadvoheTEUwtrVVhit6RUC9/Q20lq6dwt7LeiJfX/M1M5f+oDfcq7Jg+arRsSFAEc ijlE54jwK0gljy1XoCNYZF1u/XYFa1lFGWCQc2WUOlPfkl/rGmt+0ZiBkxB2g16pVF53 dZxKSy6D6kA+sAqrxnuAEAL/UgY16M3OqxfkQSOGCXeeoh0Ztra4qbq/1n/9nXrkyxKy I8mA== 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 fq32-20020a1709069da000b0072b83cc1867si2855978ejc.640.2022.07.29.08.07.17; Fri, 29 Jul 2022 08:07:45 -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 S237156AbiG2OmJ (ORCPT + 99 others); Fri, 29 Jul 2022 10:42:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233837AbiG2OmI (ORCPT ); Fri, 29 Jul 2022 10:42:08 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61E6E1121; Fri, 29 Jul 2022 07:42:06 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0156A61826; Fri, 29 Jul 2022 14:42:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C9CE0C433C1; Fri, 29 Jul 2022 14:42:02 +0000 (UTC) From: Huacai Chen To: Linus Torvalds , Arnd Bergmann , Huacai Chen Cc: loongarch@lists.linux.dev, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Guo Ren , Xuerui Wang , Jiaxun Yang , Huacai Chen Subject: [GIT PULL] LoongArch fixes for v5.19-final Date: Fri, 29 Jul 2022 22:42:05 +0800 Message-Id: <20220729144205.3412161-1-chenhuacai@loongson.cn> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,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 The following changes since commit e0dccc3b76fb35bb257b4118367a883073d7390e: Linux 5.19-rc8 (2022-07-24 13:26:27 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson.git tags/loongarch-fixes-5.19-5 for you to fetch changes up to 45b53c9051770c0d9145083a328548745ee2e75b: LoongArch: Fix wrong "ROM Size" of boardinfo (2022-07-29 18:22:33 +0800) ---------------------------------------------------------------- LoongArch fixes for v5.19-final 1, Fix cache size calculation, stack protection attributes, ptrace's fpr_set and "ROM Size" in boardinfo; 2, Some cleanups and improvements of assembly. 3, Some cleanups of unused code and useless code. ---------------------------------------------------------------- Bibo Mao (2): LoongArch: Remove clock setting during cpu hotplug stage LoongArch: Remove unused variables Huacai Chen (2): LoongArch: Disable executable stack by default LoongArch: Fix shared cache size calculation Jun Yi (1): LoongArch: Remove useless header compiler.h Qi Hu (1): LoongArch: Fix missing fcsr in ptrace's fpr_set Tiezhu Yang (1): LoongArch: Fix wrong "ROM Size" of boardinfo WANG Xuerui (8): LoongArch: Use ABI names of registers where appropriate LoongArch: Use the "jr" pseudo-instruction where applicable LoongArch: Use the "move" pseudo-instruction where applicable LoongArch: Simplify "BEQ/BNE foo, zero" with BEQZ/BNEZ LoongArch: Simplify "BLT foo, zero" with BLTZ LoongArch: Simplify "BGT foo, zero" with BGTZ LoongArch: Re-tab the assembly files LoongArch: Remove several syntactic sugar macros for branches arch/loongarch/Kconfig | 1 - arch/loongarch/include/asm/asmmacro.h | 12 --- arch/loongarch/include/asm/atomic.h | 37 +++---- arch/loongarch/include/asm/barrier.h | 4 +- arch/loongarch/include/asm/cmpxchg.h | 4 +- arch/loongarch/include/asm/compiler.h | 15 --- arch/loongarch/include/asm/elf.h | 2 - arch/loongarch/include/asm/futex.h | 11 +- arch/loongarch/include/asm/irqflags.h | 1 - arch/loongarch/include/asm/local.h | 1 - arch/loongarch/include/asm/loongson.h | 16 +-- arch/loongarch/include/asm/stacktrace.h | 12 +-- arch/loongarch/include/asm/thread_info.h | 4 +- arch/loongarch/include/asm/uaccess.h | 2 +- arch/loongarch/kernel/cacheinfo.c | 11 +- arch/loongarch/kernel/entry.S | 4 +- arch/loongarch/kernel/env.c | 20 ---- arch/loongarch/kernel/fpu.S | 174 +++++++++++++++---------------- arch/loongarch/kernel/genex.S | 12 +-- arch/loongarch/kernel/head.S | 8 +- arch/loongarch/kernel/ptrace.c | 12 ++- arch/loongarch/kernel/reset.c | 1 - arch/loongarch/kernel/setup.c | 2 +- arch/loongarch/kernel/smp.c | 113 +++----------------- arch/loongarch/kernel/switch.S | 4 +- arch/loongarch/lib/clear_user.S | 2 +- arch/loongarch/lib/copy_user.S | 2 +- arch/loongarch/lib/delay.c | 1 - arch/loongarch/mm/page.S | 118 ++++++++++----------- arch/loongarch/mm/tlbex.S | 98 ++++++++--------- include/linux/cpuhotplug.h | 1 - 31 files changed, 277 insertions(+), 428 deletions(-) delete mode 100644 arch/loongarch/include/asm/compiler.h