Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp619421rwe; Thu, 25 Aug 2022 06:30:03 -0700 (PDT) X-Google-Smtp-Source: AA6agR6ELgfVX9r8gSwZAez/sKSvd7ZEEVUIwcDUi3uxSMOWN617esiutE5sfZ6RSep4v0Tg84q3 X-Received: by 2002:a17:90b:1c83:b0:1fb:9d43:866d with SMTP id oo3-20020a17090b1c8300b001fb9d43866dmr4658448pjb.246.1661434202991; Thu, 25 Aug 2022 06:30:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661434202; cv=none; d=google.com; s=arc-20160816; b=KtsJ77B3qeBUff0tHT6Z195cdQH+jGR6O0tGTaj88sbRkEV4sO7ici4u4YCyxUhrSD uvslvhhwgkMCbww2Ox7au7wl/3JKvblhfqC3HQ0Q+9Q+x0OzluVFT3hykkgeMu8M1tio JduVzi5aBPwjvJOAQRnlMqiJ6TicvYDTCZ93ZGmwx6cTzI0sSunnC87MxI0VZU0WBELR ROaEgpZ/kT5MpyQxBs3AO5nEQDz5QWAWExZd1Zn9+crMpmGfiH4dEbTk6stNf8t+JkyA UkX+pFYYsAWUPrctD8HlGBfGisyb5O563D/Xlt8oEj/mTrXJrhDLsRIPjjP5XMwGFKns cVHA== 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=ltO6hGkJJP+qwdRAwQKbu93a/xlHNEMYQ26e4J2VG7w=; b=iH0F9wm7RsLEZxqSXABruJaD+JJjNXzNzhDf8lcbfERQmTZi1Qxn9XVAvqa+GImr+U hcz5+eDJemZeag7hKdQ7b6c/+2Wd/TgQXRn0rnnRnZF2AvSVacO4bhBiXxCj9tOWn3SU PYb72wZ3NcHivNZz/OfbQ9z9RSP5jZH3HRZYwlSJuoVSZ8OX6LYjFh9UjR8cfAy/QNis z1rBB1fqoaJTQ+xfd9bV+qD/4qjRisWIMvjP4IxzlBk1G9BTa7DkeLa4FewAhMD7mLjb P38kGSZwUsVYugrvu8syptw5y5weN3s9lDJYWBbqx7+Ulq4GHM5ofNXsESysO6waI/hp Ndfw== 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 y186-20020a638ac3000000b00421904fd399si20221625pgd.347.2022.08.25.06.29.50; Thu, 25 Aug 2022 06:30:02 -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 S242400AbiHYNKz (ORCPT + 99 others); Thu, 25 Aug 2022 09:10:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242271AbiHYNKx (ORCPT ); Thu, 25 Aug 2022 09:10:53 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B37BA50EF; Thu, 25 Aug 2022 06:10:52 -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 ams.source.kernel.org (Postfix) with ESMTPS id 15150B82956; Thu, 25 Aug 2022 13:10:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 63130C433C1; Thu, 25 Aug 2022 13:10:47 +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 v6.0-rc3 Date: Thu, 25 Aug 2022 21:10:21 +0800 Message-Id: <20220825131021.3671756-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, 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 The following changes since commit 1c23f9e627a7b412978b4e852793c5e3c3efc555: Linux 6.0-rc2 (2022-08-21 17:32:54 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson.git tags/loongarch-fixes-6.0-1 for you to fetch changes up to b83699ea1e62951857c2d8648bd93a4744899eb7: LoongArch: mm: Avoid unnecessary page fault retires on shared memory types (2022-08-25 19:34:59 +0800) ---------------------------------------------------------------- LoongArch fixes for v6.0-rc3 Fix a bunch of build errors/warnings, a poweroff error and an unbalanced locking in do_page_fault(). ---------------------------------------------------------------- Huacai Chen (6): LoongArch: Select PCI_QUIRKS to avoid build error LoongArch: Fix build warnings in VDSO LoongArch: Cleanup reset routines with new API LoongArch: Cleanup headers to avoid circular dependency LoongArch: Add subword xchg/cmpxchg emulation LoongArch: mm: Avoid unnecessary page fault retires on shared memory types arch/loongarch/Kconfig | 1 + arch/loongarch/include/asm/addrspace.h | 16 ++++++ arch/loongarch/include/asm/cmpxchg.h | 98 +++++++++++++++++++++++++++++++++- arch/loongarch/include/asm/io.h | 19 ------- arch/loongarch/include/asm/page.h | 2 +- arch/loongarch/include/asm/percpu.h | 8 +++ arch/loongarch/include/asm/pgtable.h | 7 ++- arch/loongarch/include/asm/reboot.h | 10 ---- arch/loongarch/kernel/reset.c | 69 ++++++++---------------- arch/loongarch/mm/fault.c | 4 ++ arch/loongarch/mm/mmap.c | 11 +--- arch/loongarch/vdso/vgetcpu.c | 2 + arch/loongarch/vdso/vgettimeofday.c | 15 +++--- 13 files changed, 164 insertions(+), 98 deletions(-) delete mode 100644 arch/loongarch/include/asm/reboot.h