Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2032679pxa; Sun, 16 Aug 2020 21:05:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyiq4mZ32yqCodcVS0DvFjjHIx/+uvqDhnLSzUioDAEEviq1LWQnoO+ZPJtXKY9mHZR6DXc X-Received: by 2002:a17:906:aad2:: with SMTP id kt18mr13823526ejb.537.1597637149331; Sun, 16 Aug 2020 21:05:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597637149; cv=none; d=google.com; s=arc-20160816; b=d8X5ETkilth1K0g7QpfK+l7UfEzSE0Hhg5ubMXOswT0Zpn1FNPDe2GPNUNEfHd0ES1 f/wtv8lv6AB5NPX0HAekNXfHk3XDmnL2H7xL17QaDMoZQsq0O/n+4BAwL/A45JeSJPC9 V9VsZCNs8o3XBieRBl4m3mBsuDqgpEOYbXsHHnuzBqmiK0OmKAKZt6+SJRLE6YUD0Z9g dmMjHZw1VS6CToJzOSTNq+q+twdY/ylqjNnzodfAqZHMGfXKbcUsWLrOz/xWIAnS5lRY iSHEa2vDyqVwE7gkN34pyi8oy4CwJ1w5We2KSmvSQLchtuMdiV+4bDKxkGVWy1CLJqEb 1+Aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Zx+DKxjlv6l+Ytb5Ikjbt2bshOYhf7vmo8HqksJTUkY=; b=PgBDYn6zYXxhx/7LcmD7w4fnAva1qAwF/0++/aOEeTh3chhiz/ysseaZVPnOSrQa03 BMwwSLRZXTUYHD1x63oBR9KCJbq76BHu9ThkNLwWsflfwiSmSVydQ6uMk+CLQygZITK4 +9shcvkvjSML/N3DAWM7kYHtQdm6Rt6QcEWQpP9vBP1cqGnazEtOEEEl655B0TPkFZ4O r4dR2VqS6RfilYmzB0V8SJx64OtnVWit6VZpKHLbvPQW2sxai6VsZqZZ50we5tuRkf0s 62ZrsoSCw+cLMbeejwBBLU9W3SQzpksOY3sZuiHNhHBct5s6bmrSCIrC2ez+7+JMNpc1 ITjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@flygoat.com header.s=vultr header.b=SeE8f4Bs; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e2si10447896edv.492.2020.08.16.21.05.26; Sun, 16 Aug 2020 21:05:49 -0700 (PDT) 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; dkim=fail header.i=@flygoat.com header.s=vultr header.b=SeE8f4Bs; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726904AbgHQDrl (ORCPT + 99 others); Sun, 16 Aug 2020 23:47:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38062 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726315AbgHQDrk (ORCPT ); Sun, 16 Aug 2020 23:47:40 -0400 Received: from vultr.net.flygoat.com (vultr.net.flygoat.com [IPv6:2001:19f0:6001:3633:5400:2ff:fe8c:553]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58306C061388; Sun, 16 Aug 2020 20:47:40 -0700 (PDT) Received: from localhost.localdomain (unknown [IPv6:2001:da8:20f:4430:250:56ff:fe9a:7470]) by vultr.net.flygoat.com (Postfix) with ESMTPSA id B244B1FED2; Mon, 17 Aug 2020 03:47:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=flygoat.com; s=vultr; t=1597636056; bh=oWs/OR6uGAmxHxGeX7FqOfuNk1VxyUq9ikoG+zJSSlo=; h=From:To:Cc:Subject:Date:From; b=SeE8f4Bsk8v5HwBE92s2WK9WLsmYWvUXvxLjfOaOzszCjrx79qi3FPbEnCiaRsa9n /6ddDJ+tF5mM9foWZQbiDUJswvc4fUzFgsKCBJ5IT8ywjYbXREg9bFoeTJ+QBwrZ0O iHe1rePOJzxFY6rTuL4WtbAucL+4ZTix36nTA+tTzmPC0C0hkI6EVdqWieDkliuUgM 4mrKC+qblbk4dmAy0UMKrXtMvuz0unwudD6IkBQCUBdsDFJf0FgdEPbuywPiVqOQhT zSE0ocSK6vWCx6KHK99NQs34WpGXnPOav3E9GU4wieOIXRrIHKSjP9E7hGUOlA5arQ X/J8G6CCAE4gg== From: Jiaxun Yang To: linux-mips@vger.kernel.org Cc: Jiaxun Yang , Thomas Bogendoerfer , Huacai Chen , Aleksandar Markovic , Serge Semin , Paul Burton , WANG Xuerui , =?UTF-8?q?=E5=91=A8=E7=90=B0=E6=9D=B0=20=28Zhou=20Yanjie=29?= , Liangliang Huang , afzal mohammed , "Peter Zijlstra (Intel)" , Peter Xu , Sergey Korolev , Alexey Malahov , Marc Zyngier , Anup Patel , Ming Lei , Thomas Gleixner , Atish Patra , Ulf Hansson , Daniel Jordan , Steven Price , Mike Leach , Michael Kelley , linux-kernel@vger.kernel.org, kvm@vger.kernel.org Subject: [PATCH 0/7] R4000 clock enhancements for Loongson Date: Mon, 17 Aug 2020 11:46:39 +0800 Message-Id: <20200817034701.3515721-1-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.28.0.rc1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Jiaxun Yang (7): MIPS: sync-r4k: Rework to be many cores firendly MIPS: time: Use CPUHUP to handle r4k timer MIPS: Kconfig: Always select SYNC_R4K if both SMP and r4k timer is enabled MIPS: Loongson64: Remove custom count sync procudure MIPS: cevt-r4k: Don't handle IRQ if clockevent is not enabled MIPS: cevt-r4k: Enable intimer for Loongson CPUs with extimer MIPS: KVM: Don't use htimer when INTIMER is disabled arch/mips/Kconfig | 10 +- arch/mips/include/asm/cpu-features.h | 4 + arch/mips/include/asm/cpu.h | 1 + arch/mips/include/asm/r4k-timer.h | 5 - arch/mips/include/asm/smp.h | 1 - arch/mips/include/asm/time.h | 28 +++--- arch/mips/kernel/cevt-r4k.c | 65 ++++++++++-- arch/mips/kernel/cpu-probe.c | 6 +- arch/mips/kernel/smp.c | 5 - arch/mips/kernel/sync-r4k.c | 143 ++++++++++++--------------- arch/mips/kernel/time.c | 22 ++++- arch/mips/kvm/vz.c | 6 ++ arch/mips/loongson64/smp.c | 32 +----- include/linux/cpuhotplug.h | 1 + 14 files changed, 173 insertions(+), 156 deletions(-) -- 2.28.0.rc1