Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1400959imm; Fri, 22 Jun 2018 16:23:19 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKtns9dlyJS5lme1AJbSCJnakW9RzpDIheL+shslc/1uV/KIOj4E6Cc9zSQ5smUSugbqLnL X-Received: by 2002:a62:c882:: with SMTP id i2-v6mr3582630pfk.13.1529709799862; Fri, 22 Jun 2018 16:23:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529709799; cv=none; d=google.com; s=arc-20160816; b=OSKGgpbo19W459RAn7kpVwC9t+T2fSqK07WyO/OiOYWkaPES9LreK2Be4faB5sOfer SRZiOR9UsAUBSvX7fBtRvygVK7bjW5QI3NWTwPQA2c/vVOUZykqqcHr+FXWwI5xffTSC itIf0hRM/Jt69zYXCDeQV4kKNu8DoFZXj0JGpEHgqcQIoVwWuiduCzrFmad/WNl5wn4+ LNYr8nhU0GmieuWW8SXtlU0sEYH/0JL/vocAiEE3XMrzE9S3LmGYBVytgk4yaulDIsCI TJbuHFjFaXJKXohXrm8dTizP6d8hRwSkcgIxjg3lam1wbF4wTQi5HMAs+fjyTOMTOOW7 I2ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:from:cc:message-id:date:subject :dkim-signature:arc-authentication-results; bh=sqC8pE5iajhtogWJlfHen5WxYD8aVk/phL1mUlPtmu0=; b=Rk0KobwQPzoX22Vi308OayfBIFo5kj00kUJt20EgXnJFCVOJ7fjH4ug2BsyNggp6ue jDGPwNMtWV5qxAEUkq5mhHzsXlDWWfRt8rxVoMKNJSzJaKoGzpDIQFj78a87cdJeYITZ WBclQ15Qhp0jhIG6kT2RoOdFbBlsSLygS4DZGn048sBwxepkxj1JXwl5rr2TMyzrNtlu ftBZhF7tAmpj/ab2GG0BVSDFsusksMw76MsKAFA21wRfKUW/LCWPo0AKICieEbYKmG95 bUjUXwo9pr42QgjtFHy409LUdDuemWjvKF3mq6xdOwtfSWtVZ2scf9q+x21q8c+PiLB+ f/+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=WMsVwJQZ; 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 p7-v6si6838911pgf.58.2018.06.22.16.23.05; Fri, 22 Jun 2018 16:23:19 -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=pass header.i=@sifive.com header.s=google header.b=WMsVwJQZ; 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 S933987AbeFVXVP (ORCPT + 99 others); Fri, 22 Jun 2018 19:21:15 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:39578 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933931AbeFVXVO (ORCPT ); Fri, 22 Jun 2018 19:21:14 -0400 Received: by mail-pf0-f195.google.com with SMTP id r11-v6so3862900pfl.6 for ; Fri, 22 Jun 2018 16:21:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=subject:date:message-id:cc:from:to; bh=sqC8pE5iajhtogWJlfHen5WxYD8aVk/phL1mUlPtmu0=; b=WMsVwJQZ3LGG60DxIGHfGtO74kEARZ1Z4c9rh9WXGQxRsC2tgz70SVhub7T+tVGXL/ 5011FFxWiBEBwvvlOTLQO6zqK13t0apVQv4kM1FnxdlIgYKdUCWBEM2wNHOKZ2McyaDp XhozU7rc6hCyVqPrAQBeTXbpD2yfDtMWLJm2EM4rqcQIKxc83A9Ygbs3Lr4CMDYyNXhh o7FK3HRIIINcZM3ZSsyTztJFHa4ItwTRmfbVfoM22aLd2cVeEfKPxWry7MxGU95sI+EA 4mHTSWX0K3UvIeS/WfcifmGbacCxlQd4FlpJY2Y7/QJVqkMt257XRBu1/JGA5CbLH5tA zMyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:date:message-id:cc:from:to; bh=sqC8pE5iajhtogWJlfHen5WxYD8aVk/phL1mUlPtmu0=; b=FE+qqE2MoQkzq0/XRu/12ivU8hOwwI0TFaybVimru+DSDxWc2CvvpNpTZZK0OWuKZq iEGMVldOZBTsJ/kiNEpjwWmcE4M9hnrDH0WcDMXzHEbDbqa5glT1AbbLQ8xMC/Qttjv7 LpOFBWxVSeBS9NoT6YIXeoOyy04EdGY8YE+yRvXStd7oiUgZfxx6Zla5x6Q+q9s5I7/m zUZ56jovpswO1CRs2/hYNWhfPjRPQWyuthyNbSZmwyXE8Ku6T9rDStPR5ttzKMwStW/c ZqcuNK4OQYssdkt50P+kxmtDSEqqiBfrKP6BeBCkhtHjc3vZEWd7iyEKyYe9tgV9OBiL P1hg== X-Gm-Message-State: APt69E0sMqSZhsBrF9FfUB8DMRJKDdReDAm61x3IG+De1IUG0VuIcD+Q GMwGC7J67PWKV1ugQgtEY0bSWA== X-Received: by 2002:a65:6148:: with SMTP id o8-v6mr2982991pgv.93.1529709673601; Fri, 22 Jun 2018 16:21:13 -0700 (PDT) Received: from localhost ([12.206.222.5]) by smtp.gmail.com with ESMTPSA id m11-v6sm4096904pgt.46.2018.06.22.16.21.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Jun 2018 16:21:12 -0700 (PDT) Subject: Driver for the RISC-V Interrupt Controller Date: Fri, 22 Jun 2018 16:20:03 -0700 Message-Id: <20180622232006.12158-1-palmer@sifive.com> X-Mailer: git-send-email 2.16.4 Cc: Palmer Dabbelt , aou@eecs.berkeley.edu, shorne@gmail.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org From: Palmer Dabbelt To: tglx@linutronix.de, jason@lakedaemon.net, marc.zyngier@arm.com, robh+dt@kernel.org, mark.rutland@arm.com 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. This patch set adds a driver for this interrupt controller. The patch set itself has been around in various flavors for a while, but as far as I remember it's never been properly cleaned up and submitted before. As it currently stands it's essentially three seperate patches, but as they're all intertwined I'm keeping them together. Sorry if that's the wrong thing to do. The patches are: * A cleanup to arch/riscv to remove a bit of the old initialization mechanism that snuck in to our arch port. This patch is trivial, so unless there's any feedback on it specificly I'll include it in my next pull request. * The addition of device tree bindings to describe "riscv,cpu-intc". * The actual irqchip driver. If this gets merged before the arch/riscv patch then it'll cause our build to fail, but I'm assuming this will be targeted at the next merge window so we should be safe.