Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2808118imm; Mon, 10 Sep 2018 06:50:39 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYUDZg1bH9Q2hn0aIeVGtvmyZcyzyNJK8zPUcl/dSXM3fuOj+ZtJxChY+7FsLUeMVs99cdm X-Received: by 2002:a17:902:6b4b:: with SMTP id g11-v6mr19550798plt.19.1536587438942; Mon, 10 Sep 2018 06:50:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536587438; cv=none; d=google.com; s=arc-20160816; b=AOhc6d7Nd1RZhlagiPD8GxaSGikVXo04mDZGfXSnoc1coXh+jRVxf2bqe6/D5/jh4D Pbw1+qHC/ttifOHE7SV8ik7HLi/usyelt52jTt7KJ7XlH9UYWgqJQ9fKEvxucdKjLGJb KrlCWBFGLRkttU7EiUaO68Psqsyw+i/loiyxfZyqrWcblp2TzLpD9qHxZbX4HLYHLLxF hh+Fz/8ampFM5bkDDHN618/71I1IameUEF7ZQBE0ITpCWrolGUecHBvTCzhi4pvp0mpQ Jax+h4eQvWrZuV/shs/iDrnhLY++Qo64HL7+RF5XpUFvfvaB9XVfZUuIUgHHyk+pAg+k MB7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=fqzn+PqFPl0yNjNpGoWyBBlFhdcckZJ6LuPnyrE8R60=; b=CohW3Dym5c8BUCZFXfvhgWJigwxaLem0F00+t2TDv0sk9R1knpIalDoprYAeGJcfL5 px2E0reWqY3qzx+FOmntwkhRC++a/x1E6lenpkQUL/A/JWXP92NRN12k7Cf+BKfBEzhn GEcIfY4i4p1Eoq2/p7qwchdDmtJFbD1ibvWkBOjtPvmTClPyUy4U6fxyv3f+ZdRliHa8 o8pUyfyaIj4wT/DaPsY8+54tXOL3QSrWZW0PAkqQy4hB3i+aWXyt8F3j7Ubbd5X+66CI oMseAuTJfGh032Rzg4QDLLAGrPamFiQSCPWNPqxG60kXZ+PNxLvLLTFSGN5SiH52jIc7 y8pw== ARC-Authentication-Results: i=1; mx.google.com; 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 b12-v6si17706993pgh.264.2018.09.10.06.49.53; Mon, 10 Sep 2018 06:50:38 -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; 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 S1728635AbeIJSj6 (ORCPT + 99 others); Mon, 10 Sep 2018 14:39:58 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:39499 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728243AbeIJSj6 (ORCPT ); Mon, 10 Sep 2018 14:39:58 -0400 Received: from hsi-kbw-5-158-153-52.hsi19.kabel-badenwuerttemberg.de ([5.158.153.52] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fzMVa-0000l8-H9; Mon, 10 Sep 2018 15:45:42 +0200 Date: Mon, 10 Sep 2018 15:45:42 +0200 (CEST) From: Thomas Gleixner To: Christoph Hellwig cc: Daniel Lezcano , Jason Cooper , Marc Zyngier , Anup Patel , Palmer Dabbelt , linux-kernel@vger.kernel.org, Atish Patra , Albert Ou , Palmer Dabbelt , linux-riscv@lists.infradead.org Subject: Re: [PATCH v2 3/5] irqchip: RISC-V Local Interrupt Controller Driver In-Reply-To: <20180910133902.GB21593@infradead.org> Message-ID: References: <20180906123651.28500-1-anup@brainfault.org> <20180906123651.28500-4-anup@brainfault.org> <20180906140628.GA10580@infradead.org> <20180910132924.GA6987@infradead.org> <20180910133902.GB21593@infradead.org> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 10 Sep 2018, Christoph Hellwig wrote: > On Mon, Sep 10, 2018 at 03:37:31PM +0200, Thomas Gleixner wrote: > > > > Just a few weeks ago you said the contrary: > > > > > > > > http://lists.infradead.org/pipermail/linux-riscv/2018-August/000943.html > > > > > > Sigh. Yes. Now that you remind me. > > > > Just for clarification. I had the impression that Anup was trying to wire > > up more than just the timer interrupt, but that doesn't seem to be the > > case. > > He has an irqchip that is called from the RISC-V exception handler > when the interrupt flag is set in scause and then dispatches to one > of: IPI, timer, actual irqchip. So the per cpu timer is the only per cpu interrupt and that thing is used unconditionally, right? Thanks, tglx