Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1616624imm; Sat, 29 Sep 2018 00:08:08 -0700 (PDT) X-Google-Smtp-Source: ACcGV62EiHYb+0qG5EX1oQF0AMIFVQLbzpkBapA6678smnOKgkyhegnXrBjKGN9IHJ8ICdmeOrlr X-Received: by 2002:a17:902:1e2:: with SMTP id b89-v6mr1936076plb.296.1538204888624; Sat, 29 Sep 2018 00:08:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538204888; cv=none; d=google.com; s=arc-20160816; b=dKpS3OG9lTHDJAKAbIq2HKCJgithSFOOIeTJIQ2Vmb9j0ossSXAnRBzMQwZVarV6mc 8Ee8Le8DP0wy+qCmX1FaiJK1qWPnUbe35zUjd9IQnxDst+jfy3sj5fb4D8Uce0j8qwfD LUa+myNjbfQIq+S6ZtCu18WENeH2KLiPcHmsNHEZcm/adIcV+amRhqUqtxHEjurV8Mas Yhk6TlBqQLeIuvp1G3eanD+lbRaaMZnnShDsZFx4ci3aHpjPPpPhBlFgPv307VUlawYS L/tLVn8jeYFlaImBBeCSsLS53ljlvuZZsGYV6og6YtP4ZSHhchj3XjFk98sM6K/ImtoV CChA== 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 :in-reply-to:references:mime-version:dkim-signature; bh=PxZ34R8u0YcbHaqttHc8byjj9EW0gSodxQpNWy+NBXk=; b=ZQ0/U3BhBMcC5yhH8QgdpQIsm6xn0zsf9S+U/S7PpM/cODXjz4JAkE7/kZyjuZN5WF JNoPi1n82uRdZ3Qxp46nmNN4gk1J+e6wXtNb4Ou2KtUagv0lxbDQ/upN1kpJ+Cc4ljWl dtO4DKhPLufnNb18MsR9JLTYywc/g8pHFlTf72CY7PJ3vfb3OTv2zxFd8KcYXKSlNHSG 1kB68MMtU3A7oj6RIGx/0W/gqOdJ7m9wKMKma71VYYcNOfLm6lquO1sUeygkef063N9S 8LxFdnefVgMj4/Gyk0YBfOa7/69whkI77Qe9PI6ekpZG7Fm9li0AS2a+H4uc+frvXHaT lSdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b=IeJyw2BF; 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 l18-v6si7026727pfk.78.2018.09.29.00.07.23; Sat, 29 Sep 2018 00:08:08 -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=IeJyw2BF; 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 S1727533AbeI2Ndd (ORCPT + 99 others); Sat, 29 Sep 2018 09:33:33 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:33545 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727418AbeI2Ndd (ORCPT ); Sat, 29 Sep 2018 09:33:33 -0400 Received: by mail-wr1-f68.google.com with SMTP id f10-v6so8530588wrs.0 for ; Sat, 29 Sep 2018 00:06:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PxZ34R8u0YcbHaqttHc8byjj9EW0gSodxQpNWy+NBXk=; b=IeJyw2BFZ1Zwwg8Ii3/hDH4Wc5j+u5G7bm63DKyr1xw5xoaIhLDak7zHFtSRNAidny 6WT9zAy3TrsVkV96Vh4WqqOAid8lOzYFUW4RHEsStBRiDNG+rHQql5aMTa8p62mdJhLl bsq6CwoEor2Xbs0YkWv13VmKti7abUiLCd/0gr/1GnSuco4X5C546klQMfQEcZS5fEnN 0/oZ9AvT6JnKVBapYpYW3hXemin542L0d1HmTd6zzdAELkvA21GuHUA/F1maK6Zvchmx l966aB2QLw4QEBXe19kuPQ8JDfD+YA1nsDF6HTFThvma32WxIl4lMOucDmXmvwE6et0v se/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PxZ34R8u0YcbHaqttHc8byjj9EW0gSodxQpNWy+NBXk=; b=RJPODStYZ4xDOo4J26V8VOPX5WOloML2ss96h87PKNEjtj+sI7kIsw0ZarB8PLvMvs cWkLAjJ2lnIWB9XhJ1AEoQpIwkg1ahtL0a87VC3y8dhBFxf78IWLxFUP0TLvw+82JY7u f1oEf18/ftdJ4xV9+pr79bFc1zLHuVtgKjzf/waf/fCwHBIvJiHts4BX+MmzhMJpop+J B9AWq7BNkQZvbXygmXR+3rpis9H1gn494rzcEmW3KnOQstZkQMCGsS/5ntx1MGKjDAdK Rqu9lx4vS4lgM7dTf9KaGNJQOxzk2Vd7cNV7iM8qh9SIlc7MwlAgrqvMHEYi1LLQBNyS +MeA== X-Gm-Message-State: ABuFfohP3uPMOO76+Y+0e56D9ahC7gGWh77NywChIYQwdSeXgjs2Jkiw hZ02ACfSEU4+6oT3ooI5WIbSVUPUoWJYVxgwATaDxzw1 X-Received: by 2002:adf:8447:: with SMTP id 65-v6mr1105286wrf.251.1538204774107; Sat, 29 Sep 2018 00:06:14 -0700 (PDT) MIME-Version: 1.0 References: <20180910133418.GA12330@infradead.org> In-Reply-To: From: Anup Patel Date: Sat, 29 Sep 2018 12:36:03 +0530 Message-ID: Subject: Re: [RFC PATCH 1/5] RISC-V: Make IPI triggering flexible To: Palmer Dabbelt Cc: Christoph Hellwig , 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 Sat, Sep 29, 2018 at 7:15 AM Palmer Dabbelt wrote: > > On Mon, 10 Sep 2018 06:34:18 PDT (-0700), 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 agree. The whole point of the SBI is to provide an interface that everyone > uses so we can the go figure out how to make this fast later. If each platform > has their own magic IPI hooks then this will end up being a mess. > > We've got some schemes floating around to make the SBI fast (essentially an SBI > VDSO), I'd prefer to push on that rather than adding a bunch of complexity > here. Yes, I have already removed the IPI triggering part from this patchset. Regards, Anup