Received: by 10.192.165.156 with SMTP id m28csp1176145imm; Fri, 13 Apr 2018 14:50:59 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+HSdGH1LGmsOClKem4zkHm8e4MmH5fhfMbHTwIbAjvBWMm26VQGBnw3y/KHfuGPQYA/+X3 X-Received: by 10.98.237.17 with SMTP id u17mr5352470pfh.78.1523656259026; Fri, 13 Apr 2018 14:50:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523656258; cv=none; d=google.com; s=arc-20160816; b=sxD3KaXXv1Ni9xBg0sMKOeRH5+DbX13sjV0s4ZYHKWrV4PML4aDHpGH6Sa6FpcJ7L2 4DG6JqJMRXRKefwkrAzTVza6LfKWo0/GA6gM4yA8IJwp4+snNuo3U+jQ5jxoIk9fAUIj 5ARiEfg1dhAUgbBnyoE/QM9obcsq+orvxblFSWMxWeh8L/3xOjHnXHSlbfXoO6hUOgij z/b7BAqsSx8BeVZ58HdDvrooW7E9MlxfzvNbgE6poU6VzV63hszj8hxGgT7jP/QAdD7b WBchh0RtM6MSdp0Q7ARuWJaIJP4LWcRnrOsugqi/hC2Z4usOHqbXCpgvHCQoW7Fhj7Cd x1Rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=tcmJsOHJhaS/I4ycR714WcmhLsRxjY480mRLPOX6rb4=; b=wHNoQFv3Bo/z7Hj6BrbcIoXjbfmsH5NJO+CewwG+RZF9dEi6WY8HufxJAyxb+TqDPo CACLQzUy2SnkpzcqftAaDmijCowXAvX0hg4hEAsfSjKB0KqiQ29THYqHsvLAWPLl3gA3 IUEzGpfe+Q/tbP35QemarnWh/WolmGZadMTIUStCrePEw+SlwoNUKmK4n8IUjtqoODqD N1U+/0DCUsaJWjLSr8c5hfp8O1F4+rxHQtbfsvkprUH5jC+G4nniB1aG/jn8HnuLQBux UW01qRW+OHhl37yeJqLk22ZZkDGj/p/c2ksj+pFL0YfoXWJCc53RpextPgJ5fpbAnVrm 78lA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=fXX4srZ1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t3si4724191pgt.547.2018.04.13.14.50.44; Fri, 13 Apr 2018 14:50:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=fXX4srZ1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751886AbeDMVth (ORCPT + 99 others); Fri, 13 Apr 2018 17:49:37 -0400 Received: from esa4.hgst.iphmx.com ([216.71.154.42]:43223 "EHLO esa4.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751109AbeDMVte (ORCPT ); Fri, 13 Apr 2018 17:49:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1523656175; x=1555192175; h=from:to:cc:subject:date:message-id; bh=kWAph2ZftbAAQgNC9gxCzFSbURzYkHk7WTTkQk47m1Q=; b=fXX4srZ1wVEWBLNUYxUybtEE7K5q42qa8RcSgaqM3L+bQSn0SWOcuCHj hu/5j12LWTs9y/Lm6EjgS9LvNeIu/gEUrUdE+t6DzBSIefU+t+GYGgM2x TynKmjaigsw3noP5YpQ7eMMAkZSLCQWG7o+hsvMZ3+ybA6pn0iBmTGdeb DAxAhGX0HrpsN/OgHyRblWQEoevcu7asC1cqddO+UCuREmdbgi8GbYEOt gznqXggcnU4b2Ce8l0MjslSynXaCj9dl0671bhxDpND09qQIUzdZ7N3p9 +UQzNMaQbSOES5ZBJOS4CbbI4CQnhw6OENBfNj//+BGU3v9OxZWJAYAFo Q==; X-IronPort-AV: E=Sophos;i="5.48,446,1517846400"; d="scan'208";a="75828832" Received: from uls-op-cesaip02.wdc.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 14 Apr 2018 05:49:35 +0800 Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep02.wdc.com with ESMTP; 13 Apr 2018 14:41:27 -0700 Received: from jedi-01.sdcorp.global.sandisk.com (HELO jedi-01.int.fusionio.com) ([10.11.143.218]) by uls-op-cesaip02.wdc.com with ESMTP; 13 Apr 2018 14:49:35 -0700 From: Atish Patra To: palmer@sifive.com, linux-riscv@lists.infradead.org Cc: albert@sifive.com, tglx@linutronix.de, mjc@sifive.com, linux-kernel@vger.kernel.org Subject: [RFC PATCH 0/2] Fix timer initialization and Add support hotplug. Date: Fri, 13 Apr 2018 14:49:32 -0700 Message-Id: <1523656174-249811-1-git-send-email-atish.patra@wdc.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch (1/2)fixes issues around timer initialization. This fix is required for CPU hotplug to work. That's why they are clubbed into one series. I can separate them if required. Atish Patra (2): RISCV: Register clocksource and events correctly RISCV: Support cpu hotplug. arch/riscv/Kconfig | 11 +++++- arch/riscv/include/asm/csr.h | 1 + arch/riscv/include/asm/smp.h | 9 +++-- arch/riscv/kernel/head.S | 12 +++++++ arch/riscv/kernel/process.c | 7 ++++ arch/riscv/kernel/setup.c | 17 ++++++++++ arch/riscv/kernel/smpboot.c | 70 +++++++++++++++++++++++++++++++++++++-- arch/riscv/kernel/time.c | 9 +---- arch/riscv/kernel/traps.c | 6 ++-- drivers/clocksource/riscv_timer.c | 44 +++++++++++++++--------- include/linux/cpuhotplug.h | 1 + 11 files changed, 154 insertions(+), 33 deletions(-) -- 2.7.4