Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3548888imm; Mon, 10 Sep 2018 20:37:50 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZNNgCVVfznIY/aqt02lASyUBPoA5A6QNykm01pyLNGRrlXQEGm1LdSuO7WaoKPS03e5P+Z X-Received: by 2002:a17:902:7d87:: with SMTP id a7-v6mr25466388plm.103.1536637070443; Mon, 10 Sep 2018 20:37:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536637070; cv=none; d=google.com; s=arc-20160816; b=0ucSm4Rek/IpEwWA2ZdVgb5JOLNDKLPjhiXXXbDczSHZca4pSxn/RBTi8hLBxhGKZW nVFo+WTM0CvPpv4IAx+qagXWc0bCnDCYmUg2OgZFWII2yYBGLU0uxnCEucJzrEv0zaJU +s1VyLDxK4UZWDFDrgeaNOaMSlHoKxG4NXu8WZoFWCbhCIp3QMkg4BKvObgOai6tKGf2 ncuNtXAzgvh12mtEqxpEaPkp5bmckrbUmEzIlPGWqWFyMWy1pABxGjheq4/zwgNZH1W0 b0m46bLLS2wqjVagNXJT43tiIPDCEhpxQTtUpIKXFviYnxTfJ3fpVCX9Zv5v2g8leDKB 1uhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature; bh=7Jnpooms19DYfZDOgfxp7DgeD/sjaxBF8WszHUEKvj8=; b=Z3ldoXj2Zf9XMUSrm2oxbmgZuGWAXBwhGJI75jnCzbVaPGIH/DdB7Mkltxvu6Exmnj NAs9T8hvrfTdnmgEe8WiSD6nOvA6HmdGwJmzxQ/DWbrzFzEP+59RizDUdSQNT3ADGkqy XIOnH43WqSUoMgt7+9CIJoQMNV48CySVqZj/D1jHGtfGjs908fAwW/ppcJMN4Efh+3hx cpsmo7BWeowUOKVlK5GFKnNy2F8KTrfhamIYsJ9vMnLlF8rWFcmmS5pzgrVAHsTGqOUy 6TQuAsu4K9C1/Qhjgxg8cjQTJVtuCxuEFH2a27WtLQdwVUG2YFxmxgWaT10wg8Mro+Qc F71A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b=hXVMnFBW; 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 a20-v6si16521093pgv.85.2018.09.10.20.37.34; Mon, 10 Sep 2018 20:37:50 -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=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b=hXVMnFBW; 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 S1726649AbeIKIe1 (ORCPT + 99 others); Tue, 11 Sep 2018 04:34:27 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:43823 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726251AbeIKIe1 (ORCPT ); Tue, 11 Sep 2018 04:34:27 -0400 Received: by mail-wr1-f65.google.com with SMTP id k5-v6so24008775wre.10 for ; Mon, 10 Sep 2018 20:37:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=7Jnpooms19DYfZDOgfxp7DgeD/sjaxBF8WszHUEKvj8=; b=hXVMnFBWjnw3HZiMwkbzv5gte7QG1kjKaDtpEATqq8EmxemyxJvwoIHSRR3H7RiWhC SaQ/Sox2/27OA3Q08giq5Cog2AItCFOE2yOT9Z9X1SIGCEROm+rXHg2fYRMW7dsz7sEh R7RmVW6DzvgNXlnDQIVBS4F+25aVvWH8vkKNNwOGC2jWAA11ifhvUzNRhYJc40BzVu2n bZJcthzV3BwzI1zFLD8Vm55eWTk61QnVDS2J377VtaxlUPIHBrFy4D835PO3BqCqjnwa nJdcWqlmB2Ud/dw2lzqJs9mzh/ARBQTMFm7U1V9Hf5i2wu2oS0bnxDELLlTsgL/T3PU/ mPtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=7Jnpooms19DYfZDOgfxp7DgeD/sjaxBF8WszHUEKvj8=; b=OmOb5bgdbrRAcarRxdk7mfeM3qkkotDno9NzpiM/9N0bYciXksEzQlS/dDREbgglDY Wf7yvFrEVZqxbRqbVgV2ILjczjHuX3uWG5Ba6h3YGQi1OsmJOTPPMahMQY+OeLE8fZpm 7ZaRNotLunzgHzHbFXIYt3DRwoc/mmmhtfNFyx8kDVnKKpYMX0Sn5m1HX2B+5XwjjGH0 brST5VLtz2CkYSKIrDw0V3DgH/C2Eq6+JvXyiNk70GFQZZ/mgsyyfCOR22SXs++bPrXz KD2ynrVTjQ3ODA5SngqgTI4eX94gYkLs70uSj7/HskE2dDhF53KBrOXv6/QwgwlabSED 3X1w== X-Gm-Message-State: APzg51Abw2Mi+ZvJOTAJpJIn7ilOIe7wocBnMchuKomMeLwG1gSrrcyQ DlU3YX9Hb2lLiOGPakgF8ICMPIJRAtvZtxYRKNxWsg== X-Received: by 2002:adf:8167:: with SMTP id 94-v6mr17842031wrm.127.1536637033089; Mon, 10 Sep 2018 20:37:13 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:adf:9dcb:0:0:0:0:0 with HTTP; Mon, 10 Sep 2018 20:37:12 -0700 (PDT) In-Reply-To: <20180910133418.GA12330@infradead.org> References: <20180904185001.GA25119@infradead.org> <20180910133418.GA12330@infradead.org> From: Anup Patel Date: Tue, 11 Sep 2018 09:07:12 +0530 Message-ID: Subject: Re: [RFC PATCH 1/5] RISC-V: Make IPI triggering flexible To: Christoph Hellwig Cc: Palmer Dabbelt , Albert Ou , Jason Cooper , Marc Zyngier , Daniel Lezcano , "linux-kernel@vger.kernel.org List" , Atish Patra , Thomas Gleixner , linux-riscv@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 10, 2018 at 7:04 PM, Christoph Hellwig wrote: > On Thu, Sep 06, 2018 at 04:15:14PM +0530, Anup Patel wrote: >> This patch is doing two things: >> 1. Allow IRQCHIP driver to provide IPI trigger mechanism > > And the big questions is why do we want that? The last thing we > want is for people to "innovate" on how they deliver IPIs. RISC-V > has defined an SBI interface for it to hide all the details, and > we should not try to handle systems that are not SBI compliant. > > Eventuall we might want to revisit the SBI to improve on shortcomings > if there are any, but we should not allow random irqchip drivers to > override this. I have already dropped this part from the PATCH v2. > >> 2. Have more generic IPI handler in arch/riscv so that IRQCHIP driver >> can call it > > And that is rather irrelevant without 1) above. Nopes, this is required for the RISC-V INTC driver. Regards, Anup