Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp340284ybg; Mon, 1 Jun 2020 02:47:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEkuBFXm7T6rrnVgOmWDxQ/0FK9DIlGfj8XgQoYgeGN0nsv6VpoG8eQZz3EXsnoP5poTDN X-Received: by 2002:a50:9556:: with SMTP id v22mr19805056eda.291.1591004842932; Mon, 01 Jun 2020 02:47:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591004842; cv=none; d=google.com; s=arc-20160816; b=UtjQh8H4YWrdAts19Sk50T2eO4r6R92h7hN/S0eQ9C6ITap6U8UPzyAhaEKFaeNJU7 gRQOMP2zk6evD14ylU6I1A1uB4BTse4LELL1u0RlMCBreezGfR8pWNQPw1qJmm/I1h1U OZKeegkV7W4IP43YTtiHAx3L6LHvNHuwjoVicBh5/RpkDoXVuuFPZgcSdDwKSPWYwbEI gwrDX7v9sWrNnd9dTaWT1uOb4ooJGe8YmDKW4sNvvsOya2fYJXh1nDbnP+l3M8OS5WAL SRp7hQJkY5xisA+xy0ElnP/E7wZwB5EURRXwH+8k6Z0XYo/va3yHPSidDHayT3J+IimA Tq0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature; bh=nK0+eKVCyPlC6EXT1miJY9Ok/aPDXZQ4jt1wFnHJgxU=; b=rqUZvOrzQSrNd+xa54hJy7josUVBNGEAB2eucCoNQYL+MqmT0oS6s4+0aej5NyIljd testI8I0LlUS2+4NmYqJ1Rz23Ci8qTH8hdbk77co/fwMC3sPJxw3nNWK9whaPXSPu8Zu okEZ6bFNqgqsTiJRVaTx6oq8AaF2qe2sNbZ+VSYsMtwo8VCjarYIHKx0iSCudDD/4SA8 shsEjU7L+KZiyfB7fDs3em05o2ZVxbILY0vNWiCspb5NUZFEfuKk8Sa+oPbzXX3QKaH3 +2L+x3aZCDujd34JlNF6aMmSaFDTV1KMY5xRhyiZqCRM2/GOhoOFjcfUe/WQR7isp27s 0hSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Kt+W89EY; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o19si4723798eja.256.2020.06.01.02.47.00; Mon, 01 Jun 2020 02:47:22 -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=@kernel.org header.s=default header.b=Kt+W89EY; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725976AbgFAJpI (ORCPT + 99 others); Mon, 1 Jun 2020 05:45:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:50802 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725788AbgFAJpH (ORCPT ); Mon, 1 Jun 2020 05:45:07 -0400 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EE70420734; Mon, 1 Jun 2020 09:45:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1591004707; bh=M6x8W4Mi9J9XLfLXOURQuiS1H21aTtrGLADZ3opwq3w=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Kt+W89EYFKSzrtHUbuKkC9HHUfNUY2mjWqRkZs8ynwxan/ai+kG3AaFuXaPxH/XtK 66X/Gn9Zegz/EniKLTW4e9hwsHE4IOKvuKT0FJLy+umv/jOIBKVhyRG4phOEuCsSzz qF3uuyKcdJmehU8sjilORHDfTstEGLNH/b5jSIMo= Received: from disco-boy.misterjones.org ([51.254.78.96] helo=www.loen.fr) by disco-boy.misterjones.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jfh0D-00Grna-4n; Mon, 01 Jun 2020 10:45:05 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 01 Jun 2020 10:45:05 +0100 From: Marc Zyngier To: Anup Patel Cc: Palmer Dabbelt , Paul Walmsley , Albert Ou , Daniel Lezcano , Thomas Gleixner , Jason Cooper , Atish Patra , Alistair Francis , Anup Patel , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Palmer Dabbelt Subject: Re: [PATCH v7 3/6] irqchip: RISC-V per-HART local interrupt controller driver In-Reply-To: <20200601091543.943678-4-anup.patel@wdc.com> References: <20200601091543.943678-1-anup.patel@wdc.com> <20200601091543.943678-4-anup.patel@wdc.com> User-Agent: Roundcube Webmail/1.4.4 Message-ID: <43c4770a9c8a2e03242a5176037f823c@kernel.org> X-Sender: maz@kernel.org X-SA-Exim-Connect-IP: 51.254.78.96 X-SA-Exim-Rcpt-To: anup.patel@wdc.com, palmer@dabbelt.com, paul.walmsley@sifive.com, aou@eecs.berkeley.edu, daniel.lezcano@linaro.org, tglx@linutronix.de, jason@lakedaemon.net, atish.patra@wdc.com, Alistair.Francis@wdc.com, anup@brainfault.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, palmerdabbelt@google.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-06-01 10:15, Anup Patel wrote: > The RISC-V per-HART local interrupt controller manages software > interrupts, timer interrupts, external interrupts (which are routed > via the platform level interrupt controller) and other per-HART > local interrupts. > > We add a driver for the RISC-V local interrupt controller, which > eventually replaces the RISC-V architecture code, allowing for a > better split between arch code and drivers. > > The driver is compliant with RISC-V Hart-Level Interrupt Controller > DT bindings located at: > Documentation/devicetree/bindings/interrupt-controller/riscv,cpu-intc.txt > > Co-developed-by: Palmer Dabbelt > Signed-off-by: Palmer Dabbelt > Signed-off-by: Anup Patel > Acked-by: Palmer Dabbelt > --- > arch/riscv/Kconfig | 1 + > arch/riscv/include/asm/irq.h | 2 - > arch/riscv/kernel/irq.c | 33 +------ > arch/riscv/kernel/traps.c | 2 - > drivers/irqchip/Kconfig | 13 +++ > drivers/irqchip/Makefile | 1 + > drivers/irqchip/irq-riscv-intc.c | 146 ++++++++++++++++++++++++++++++ > drivers/irqchip/irq-sifive-plic.c | 30 ++++-- > include/linux/cpuhotplug.h | 1 + > 9 files changed, 188 insertions(+), 41 deletions(-) > create mode 100644 drivers/irqchip/irq-riscv-intc.c Reviewed-by: Marc Zyngier M. -- Jazz is not dead. It just smells funny...