Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp588709imm; Wed, 25 Jul 2018 02:38:16 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc2YV33bPS76afnLqzCYO3+BWIqkZ6w0sFXqsciCPoTUMjTakPaMDHF6l+4vrIvQIn9AciX X-Received: by 2002:a62:5d55:: with SMTP id r82-v6mr21435343pfb.150.1532511496223; Wed, 25 Jul 2018 02:38:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532511496; cv=none; d=google.com; s=arc-20160816; b=AnwgNfObEqFuGw22ZEVAlWihmJmAQtsSNnZtJzy1mn0v04wQPlIEVjB3fKI+x3vmVW SCgqD8q0/gpEIkdwFcfwobwoIITYJMXHFUZ4Vpr/uaOEHek+LQG835YEznPj97xovqGG WSlBXX3ltToGzI1KMRzz8fdpdZsdYVH/BGXxc6bvU/YmTVcBp+sYiPxtCZaDwP9UxgHe EDZcbB7z4zjhkMuminFvps1wm3ZKqcJbxU5tVfYWB+C9FAEC97jOTrbp1n0yx+inMsZn 3/ZFp0Wsn73nkjv/WyiLlK4xplemH0eO0jH9KbiRke8pETVqKAAYCWJxtkEUOTyplYhL jU1w== 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=zhstDJvlMR88y/n8HDcByIWkATqEMA8LcEPCSwC7STA=; b=t/2Bt10vrDMedml5lH03elT2ffe6w1zxSOhu6s7Uf6lcBkKcI5KJlK8ucvamGwufCb hnyfPQjseEnVI2UVskL1AALXj8M7/KyRIblxohx87jCVIDuFqhTt2tQZyPqktRGwIzeH iGqDjdIghO+0ezzQOMapuiuMc+mqwpUvzpAjVBYWWheQ6pTagDJR1ALAfhLksWkL2Dgg sJMJ1cMzNgydgpzjLrXnYZiQBtTucJh9EfYiOA1/Dkjz4ANGDMdweKRQhB5wrIiWDQqM kSdOKf/ETL68MY6saLfxXsxr2uFwbkbwGodfOybtsIQd7kP/Rw3BFynMrFWaBI10I+av 0kIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=QuKEToOs; 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 l6-v6si13590879pgl.567.2018.07.25.02.38.01; Wed, 25 Jul 2018 02:38:16 -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=@infradead.org header.s=bombadil.20170209 header.b=QuKEToOs; 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 S1728806AbeGYKry (ORCPT + 99 others); Wed, 25 Jul 2018 06:47:54 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:42590 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728600AbeGYKrx (ORCPT ); Wed, 25 Jul 2018 06:47:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=zhstDJvlMR88y/n8HDcByIWkATqEMA8LcEPCSwC7STA=; b=QuKEToOslYFimeb5qIWIKr5Kk o9ARM6mGjTAw6hoPAKo+bd7DGJs1oRTu5XRlxGGFii58x+EP2sJjckzCikMgA1hH6SxXf0NDFtzG/ 8Ox022zSYvFJq7dZ+6pw7qFkP0du7Ck3FAkeWa6J9vVtqPVb/8y2ZuLw11YJL7aefsKxPrxyp+272 SPdd1BdYHNKK6LqX7sFFQzR5r0d7eiGeL+yShBSIPc/APqqQP2bTIAaBY/UHuz5DKzCY+VfkxZ/g2 rwlj2l34j6QqwIvjbgCTs5KGfNUj5PZ0HoBZ9p0W8AjE4G3ENDlovtj4e6PS3JLbmixPXOd3dG+SB PO2Dh/0ng==; Received: from [91.112.108.175] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fiGE1-0005EC-EN; Wed, 25 Jul 2018 09:36:54 +0000 From: Christoph Hellwig To: tglx@linutronix.de, palmer@sifive.com, jason@lakedaemon.net, marc.zyngier@arm.com, robh+dt@kernel.org, mark.rutland@arm.com Cc: devicetree@vger.kernel.org, aou@eecs.berkeley.edu, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, shorne@gmail.com Subject: RISC-V irqchip drivers Date: Wed, 25 Jul 2018 11:36:43 +0200 Message-Id: <20180725093649.32332-1-hch@lst.de> X-Mailer: git-send-email 2.18.0 X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The RISC-V ISA mandantes the presence of a simple, per-hart (hardware thread) interrupt controller availiable to supervisor mode. In addition the RISC-V specification contains the definition of a programmable interrupt controller that is present on all current RISC-V cores (at least as far as a I know). This series adds both of them. For the per-hart controller this series tries to address all comments vs the last posting from Palmr in June, and for the PLIC it has a lot of cleanups which I think should address all outstanding comments, but it has been a while since it was last posted. Without these irqchip drivers the RISC-V port in mainline is rather useless as it can't boot on any SOC or emulator. With it it still is almost as useless as a clocksource driver is still missing, but at least we're only a patch or two away from a booting system, and the clocksource driver will need the per-hart interrupt driver to work as well. Palmer: I assume you are ok with me pushing this forward. If not I'll happily drop this series. A git tree with the patches in this series, the missing clocksource driver a few pending patches to allow booting a RISC-V kernel in qemu is available here: git://git.infradead.org/users/hch/riscv.git riscv-linux-4.18 Gitweb: http://git.infradead.org/users/hch/riscv.git/shortlog/refs/heads/riscv-linux-4.18