From patchwork Mon Aug 17 03:46:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaxun Yang X-Patchwork-Id: 11716401 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 37FDB739 for ; Mon, 17 Aug 2020 03:47:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1C36722B43 for ; Mon, 17 Aug 2020 03:47:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=flygoat.com header.i=@flygoat.com header.b="SeE8f4Bs" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726888AbgHQDrl (ORCPT ); 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?b?5ZGo55Cw5p2wIChaaG91IFlhbmppZSk=?= , 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 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@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(-)