Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1888138imm; Thu, 2 Aug 2018 02:45:59 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe1pXgnKxASe9GzPFY00O4E5mSlqV96wtr3E8LxiS8T/sBUi3XmT6PVdy85bQWPy2K3wH2W X-Received: by 2002:a63:7c18:: with SMTP id x24-v6mr2003785pgc.311.1533203159907; Thu, 02 Aug 2018 02:45:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533203159; cv=none; d=google.com; s=arc-20160816; b=LveEch/uYhb8lpEUDADKPfEBZ+9EKqVvZkc7/qMc+p7uvAbVKNrIbr191HL+sSZYwA FoXzw0A8L0Mz3TUgbUX1VjpQECLnEBEuVJRR+ZWDDTnAxQGgwMEPM5N4yx7HAFILGD2p Fl3LA6sLIIM5X2Kr7K+/zYKSfPrIs34Y+05Qv3cZiHqJEAoXzAhVYcg2K3BSNnIc37EO VkCW2k+lf0vdfqHV14hcFNiXFpymXR5J9pJ/sFTiHIgr/ZytDqUREnLLMH+DbyOVbmou UBKrSXX6ciRWIrCHiyPM35b6+wJSbxaRb+IMsBhPOq/9BArkWMGc7kOE5FuBVRSvK43J QVtA== 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 :arc-authentication-results; bh=6RMnHA49NKon4PBglBA/f4awxPaJyzDXMV7SDIPxfYY=; b=GVMcVu7bVBhpXCwMwqe0h1BaFoRtc/gCqT5xygstZlnHlg3IRHQkB+YL6nueUxcxuy NG6QahYkiqZxesHU05sZGTD34dTA25xhuVlr39OVQlklDV7J21+/mM3LitvBQI/x04cd B6vA9SMCCDoCeomk0TTEbOflHIjywpvhuE08c5hUvLkC4Ce4BUrAahWwlrlBet0s831c 2zVB/vvOHrTeF1cCksWdlSsYjhHevVWbdLvDAPB6W8GX8E6UmyKSUsA4KoGLufV2WO7s AvSsVmIWG6nXIl1XjQG3f5lCycIhXdT20W2ZpfeXdxhJ/mh83W2IOBycaC/LJ4jk0dvt UNTw== 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 v127-v6si1385267pgv.89.2018.08.02.02.45.44; Thu, 02 Aug 2018 02:45:59 -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 S1729460AbeHBLfR (ORCPT + 99 others); Thu, 2 Aug 2018 07:35:17 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:36222 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726246AbeHBLfR (ORCPT ); Thu, 2 Aug 2018 07:35:17 -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 1flAA6-0002oQ-Rd; Thu, 02 Aug 2018 11:44:51 +0200 Date: Thu, 2 Aug 2018 11:44:50 +0200 (CEST) From: Thomas Gleixner To: Christoph Hellwig cc: Marc Zyngier , palmer@sifive.com, jason@lakedaemon.net, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, aou@eecs.berkeley.edu, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, shorne@gmail.com, Palmer Dabbelt Subject: Re: [PATCH 3/6] irqchip: RISC-V Local Interrupt Controller Driver In-Reply-To: <20180802094300.GA14127@lst.de> Message-ID: References: <20180725093649.32332-1-hch@lst.de> <20180725093649.32332-4-hch@lst.de> <20180725112457.GA24502@lst.de> <20180802073452.GA11693@lst.de> <20180802094300.GA14127@lst.de> 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 Thu, 2 Aug 2018, Christoph Hellwig wrote: > On Thu, Aug 02, 2018 at 11:35:43AM +0200, Thomas Gleixner wrote: > > So that's the low level per cpu interrupt/exception distribution mechanism, > > i.e. a distinct per cpu 'vector' space with fixed functionality. It does > > not make sense to actually handle that as an irq chip. It has absolutely no > > relevance. The software interrupts are enabled when the CPU is started and > > the external ones as well as they are gated by the PLIC. > > > > The only thing which might need to access the enable register is the local > > timer interrupt. That really does not require an extra irq chip as the > > enable/disable is really just at cpu up/down time and the magic happens on > > the local CPU so no smp functional call hackery is required. > > > > The PLIC is the beast which wants a proper irqdomain/irqchip > > implementation. > > And that is exactly what I've done in the repost. Ok. > I need to polish the DT binding a little more and will repost later today. Lemme go through that reposted series quickly. Thanks, tglx