Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp305459pxb; Mon, 2 Nov 2020 23:14:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJyQEdGB98/CscW9AJ4Yorf6ZmB8/yAqRn37HIRsr9zXmen53S1Fi7WWpXMXVt0lvNX4ElWq X-Received: by 2002:a05:6402:1c99:: with SMTP id cy25mr6851668edb.283.1604387652396; Mon, 02 Nov 2020 23:14:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604387652; cv=none; d=google.com; s=arc-20160816; b=st8/GkzzNj8yiG2RzslwtFY6L/z772c0t1RCWQCvnuUbFLAAzV3I/giljALCk4KsyX 2Axelt8WEpDkj9A7JNCnkqcV2kIh5wKx9oAVxRUxUtBe3fxTY2jwfwWCGTjyIGItlg+V BjYZ7ghbEcfMCzIvC2YPw/TSohPL1EXQroFT1TbZIE+ZQUOrubtQlFl0CGzaRdFk2Nrw ZIa4b6GXK2sVLfI6JERjC6xihG3gCw9dQV7wXndOZdAQ/sNtDkECHH3X+notwgdDbCvO yY3PIGgsE9vQQwglzv63I9n1jzg4M+6wjsEOfiWuMxRj6z+VlOJBqPVfpPOy43AV72Ts 4JPA== 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=qcFxb1Af+wKucsgaytCV6DfusOzXyKx2oEdRl0xEy/E=; b=wA4WZkwqsD3Lcof5W9qX8jPfn+brYFzF9mAcR2tiKufP7h2Z4m3QzOH0B82rT63vZ8 ra2ZZNaq4m5QIsmUoUqe47H0BQCR7zmVPXjwuFofcOeJG8NtfmRjE1NzNeISd7tyfM7d vhDRkzz9IJgW2+4DKqi1n7sH8ebQa5qFGTcn5QQu8ze/o7unFALfvBkRqDBXKf90UEWM Qnl4DboGdRN5Bb9p3Z7Qmx+loCk+bYE+DzGcbpheve1yvMjQCi/nRIPOnMjmzp0NYYjk Lz1QpF1eVxggzq9Tka8tDLYm6Ol8pG2KuZCbq4+JrNpnO1j7fao0UoMRzd0p1u3p/qit GYyw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p18si5701865eja.627.2020.11.02.23.13.50; Mon, 02 Nov 2020 23:14:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727954AbgKCHMP (ORCPT + 99 others); Tue, 3 Nov 2020 02:12:15 -0500 Received: from mail.loongson.cn ([114.242.206.163]:37224 "EHLO loongson.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725968AbgKCHMO (ORCPT ); Tue, 3 Nov 2020 02:12:14 -0500 Received: from linux.localdomain (unknown [113.200.148.30]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9Dx79PGAqFfIKEEAA--.12977S2; Tue, 03 Nov 2020 15:12:06 +0800 (CST) From: Tiezhu Yang To: Thomas Bogendoerfer , Huacai Chen , Jiaxun Yang Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Xuefeng Li Subject: [PATCH v3 0/6] Modify some registers operations and move decode_cpucfg() to loongson_regs.h Date: Tue, 3 Nov 2020 15:11:59 +0800 Message-Id: <1604387525-23400-1-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 X-CM-TRANSID: AQAAf9Dx79PGAqFfIKEEAA--.12977S2 X-Coremail-Antispam: 1UD129KBjvdXoWrZrWkWw1xKr18Cr43Ar1UZFb_yoW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ulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org v2: Add some callbacks in csr_ipi probe() for patch #4 v3: Update the commit message and comment for patch #5 Tiezhu Yang (6): MIPS: Loongson64: Do not write the read only field LPA of CP0_CONFIG3 MIPS: Loongson64: Set the field ELPA of CP0_PAGEGRAIN only once MIPS: Loongson64: Set IPI_Enable register per core by itself MIPS: Loongson64: Add Mail_Send support for 3A4000+ CPU MIPS: Loongson64: SMP: Fix up play_dead jump indicator MIPS: Loongson64: Move decode_cpucfg() to loongson_regs.h .../asm/mach-loongson64/kernel-entry-init.h | 8 -- .../include/asm/mach-loongson64/loongson_regs.h | 34 ++++++ arch/mips/kernel/cpu-probe.c | 31 +----- arch/mips/loongson64/numa.c | 20 +--- arch/mips/loongson64/smp.c | 123 +++++++++++++++++---- 5 files changed, 136 insertions(+), 80 deletions(-) -- 2.1.0