Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp459788pxa; Fri, 21 Aug 2020 11:38:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJysm5MeD+wKwaLYEB17YZfcGth2wl+UXaO3VMH75+PcuCXZ567vMzXCsyGJGcm9FQ7azeQN X-Received: by 2002:a17:906:6d54:: with SMTP id a20mr4301889ejt.501.1598035089165; Fri, 21 Aug 2020 11:38:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598035089; cv=none; d=google.com; s=arc-20160816; b=h8ybK22weqjyKZxmk/vMXtdoszY6eL7y5/3Kl/2kId0vyKALgfc1zxBIvuILLKQUJF pW1kEnxzDi948PfPB3HdMQsYqVtDnLveMgEzeJ+EmQKUIsAvXoH2gO7+3rUuXeZnIIP8 Lu+YOp9kufgM4PJIuryz9syDK2aU9iv5T+ezBYvLxdN7P6qdjS3a+Ra1AebMDorcDT+S fCG2osp9VuNShxgsf9AYcPZVlunaP/ftX6uVQ760YT3o2yw4nleI1AZqTKXj21nYXquW 2QuNfOwgK38ccmhu3p8Z2vbkP79ODjg4P97wnba3jE0rIhzw6xIrrgmyMvScb4OdiG5m DENA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:to:from:cc:subject:date :dkim-signature; bh=UfiaKNHVUOJp6y83l+zDDzL8YjdP1aXCnAawlT70F7Q=; b=UNFVBLa3eo4uAGVNkvf4KBAc/femVmZlE5cm25KOWjAfGSWS58B0q5KLA4SQ1mxzOB YwWoGJNALgPPvArJXio6QTdUM1t7FMHndPyvpkjmcj1TmWS+Gyiri7LfuPQVow8uHVde jWbxliQUZ6ThXQ4wrJguDXpOPAqPehc7jg7DWVLC2PJhsi747krT//d2oU6StRUWBJ2E 0YpoeP8x/PBhHip+SBshZkuuWtHL3qAGLJk/lIg/3SrMe56WvCGWC7l41ZlXRsKmxUwq ewiJ+l/RxD3kyeNfWHLA1ZG3EF84Zch/NTAGR6+KqBouXPy3EcRH2YYLnbn5Ix6+tixI jasQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dabbelt-com.20150623.gappssmtp.com header.s=20150623 header.b=QneoFIKU; 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 h25si1788601eje.30.2020.08.21.11.37.45; Fri, 21 Aug 2020 11:38:09 -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=pass header.i=@dabbelt-com.20150623.gappssmtp.com header.s=20150623 header.b=QneoFIKU; 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 S1726760AbgHUSg1 (ORCPT + 99 others); Fri, 21 Aug 2020 14:36:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726611AbgHUSgJ (ORCPT ); Fri, 21 Aug 2020 14:36:09 -0400 Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66FA5C0613ED for ; Fri, 21 Aug 2020 11:26:45 -0700 (PDT) Received: by mail-pl1-x642.google.com with SMTP id z23so1252058plo.8 for ; Fri, 21 Aug 2020 11:26:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt-com.20150623.gappssmtp.com; s=20150623; h=date:subject:cc:from:to:message-id; bh=UfiaKNHVUOJp6y83l+zDDzL8YjdP1aXCnAawlT70F7Q=; b=QneoFIKULFQitVGh39KS/agGfZlihosqNChwoNV86tLkjBCSXBKLRSShLPhpp1FKhq AEZPYX6IDEQQ4biSE5STbp9xPyc3EsEPdqzqjlSYC0I4SOKhsrNz76VWy8lV1Z0EouOo H3N17Ps1PgP7KquaNRd0fk9Br/XuSxk0ROaK6hX/cGDSVhEcoiCIxlXwtPjWZFAAASFx 2QsVCrJC0lh7dbWCWo9Nl8YujyyIcFnNeZc12NYDA0Nj4Ewd4O9a/EIsjNsHTXsPN4ue aYSTbRu+ZCer6h4HLo+zK4o5U9Vp/2qHk4e1HM2j9WpKDxbG5SkGGyludWa/E2vWB8gz JH2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:subject:cc:from:to:message-id; bh=UfiaKNHVUOJp6y83l+zDDzL8YjdP1aXCnAawlT70F7Q=; b=Bs0gVQWF5/rmFSYeM4qAtnkj+StPutr3NHIEl0ewlnLNTi/5+9P7HDpGwR4a+AuxBV cPM+Uss6siHMkeCbqRb7kfstSDCFp7O31bGdGA/b0slVKST5h/jqTcSaPmWO7TujUy0d vMs3xvJ+zgMqRtHvKlGoXtIF5XLTIw5tIDjEaaa2lbcRAsu1lcH9L/5C1dE3y1RLo8P2 Fcw2imnrKjPfLfsaaM6C5Jeu09ozCR1YPr36j4K9UzrWggJxdvcStzRRSXaaNV7A47zA rrpUsxpJ8kNqOdGy/9sQ1VaPX6Bq9tm5Yko6hbv06BdBlB7QkKoUTFfivXvSzPVwzEII +9XA== X-Gm-Message-State: AOAM530e0vxRCOKcP+smk39SOYBR/9ZpVaI/SJwt61wt57Epu2GGm4L3 EcinALO6gFSNYS/HrY6+pPcymNwah5rxug== X-Received: by 2002:a17:902:6545:: with SMTP id d5mr3327296pln.257.1598034404762; Fri, 21 Aug 2020 11:26:44 -0700 (PDT) Received: from localhost (76-210-143-223.lightspeed.sntcca.sbcglobal.net. [76.210.143.223]) by smtp.gmail.com with ESMTPSA id w3sm3509478pff.56.2020.08.21.11.26.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Aug 2020 11:26:44 -0700 (PDT) Date: Fri, 21 Aug 2020 11:26:44 -0700 (PDT) X-Google-Original-Date: Fri, 21 Aug 2020 11:20:22 PDT (-0700) Subject: [GIT PULL] RISC-V Fixes for 5.9-rc2 CC: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org From: Palmer Dabbelt To: Linus Torvalds Message-ID: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5: Linux 5.9-rc1 (2020-08-16 13:04:57 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv-for-linus-5.9-rc2 for you to fetch changes up to fc26f5bbf19459930b7290c87b65a9ae6a274650: riscv: Add SiFive drivers to rv32_defconfig (2020-08-20 11:00:21 -0700) ---------------------------------------------------------------- RISC-V Fixes for 5.9-rc2 * The CLINT driver has been split in two: one to handle the M-mode CLINT (memory mapped and used on NOMMU systems) and one to handle the S-mode CLINT (via SBI). * The addition of SiFive's drivers to rv32_defconfig ---------------------------------------------------------------- Anup Patel (4): RISC-V: Add mechanism to provide custom IPI operations clocksource/drivers: Add CLINT timer driver RISC-V: Remove CLINT related code from timer and arch dt-bindings: timer: Add CLINT bindings Bin Meng (1): riscv: Add SiFive drivers to rv32_defconfig .../devicetree/bindings/timer/sifive,clint.yaml | 60 ++++++ arch/riscv/Kconfig | 2 +- arch/riscv/Kconfig.socs | 2 + arch/riscv/configs/nommu_virt_defconfig | 7 +- arch/riscv/configs/rv32_defconfig | 5 + arch/riscv/include/asm/clint.h | 39 ---- arch/riscv/include/asm/smp.h | 19 ++ arch/riscv/include/asm/timex.h | 28 +-- arch/riscv/kernel/Makefile | 2 +- arch/riscv/kernel/clint.c | 44 ---- arch/riscv/kernel/sbi.c | 14 ++ arch/riscv/kernel/setup.c | 2 - arch/riscv/kernel/smp.c | 44 ++-- arch/riscv/kernel/smpboot.c | 4 +- drivers/clocksource/Kconfig | 12 +- drivers/clocksource/Makefile | 1 + drivers/clocksource/timer-clint.c | 226 +++++++++++++++++++++ drivers/clocksource/timer-riscv.c | 17 +- include/linux/cpuhotplug.h | 1 + 19 files changed, 376 insertions(+), 153 deletions(-) create mode 100644 Documentation/devicetree/bindings/timer/sifive,clint.yaml delete mode 100644 arch/riscv/include/asm/clint.h delete mode 100644 arch/riscv/kernel/clint.c create mode 100644 drivers/clocksource/timer-clint.c