Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2796460imm; Mon, 10 Sep 2018 06:40:14 -0700 (PDT) X-Google-Smtp-Source: ANB0VdacXc3lIi1jnWzthu98A+C5tiSPsqIYn8JHO1oubiVlp+jC/2YRaSDUnNU1JNqs7szit75K X-Received: by 2002:a17:902:9a06:: with SMTP id v6-v6mr22123497plp.316.1536586814480; Mon, 10 Sep 2018 06:40:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536586814; cv=none; d=google.com; s=arc-20160816; b=VUJnbuGoMwMdNZxWhG/6EXQIIE3aSL2zkmggVP56PJu2Df0J3Prt3eVF5Pv1yv/eGf NAOvrgKlyngXgYGAuANdGTfMWCXFgXf3PbvQ5oGogWNQc5Q/Ibh58Iw57yqDJM2MaIB3 E3Qx6w5z21gdDJz1HZYBur0KqUM6HVtsVKTBWbf1sH5fyIOmDJpz/Cl7Caa5xxqro9rN bYbtArsztJURKeM4FfZYrtZ7XPK3KjCYkU83OgSO5sl8Iz10LWcnh38cO3ipZoNZKGOo 3SxBnai92WnxpP4p2Tv6kpX9MAb/5iaEVyfAmP2pVhsxmAt9Mwa2AseG7Q0o4yTgQSXv Nktg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=+I6/VnbkzcALLbtNYS6kdkIx7tfZfA6n3AWorPqSPSg=; b=bYbMMpTbbf0/dUIUXVIJsCreVLJfu8AoeAVlttQn75QS5xK76HpMtoqALJqCQUL0NV NM0oRii7wDw8ijWadDFQRhNIHP6SvaOeWQWEQUAs2CZRebc3Fp+H43GXB9tFLCD/426r MYhNvd2Usl7SKpB64W/dRHtAKxkNJjWZCAUOD9BnWwKCZeAEIhq2EU8YeqWJN3/GFHfq 0wnSvK67CJHIReGwWqFQs0H15xMslJv3uepu/LcXVP3tHgvZruD3FH6z7fbvU260Hmul cWo9QWiuwperQQ0we3nnJvk+bbS7qrKcL5JTSN3qYCq06gPpddok0P/zF5aAheZl+xB6 t60w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=sCHvsXc6; 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 d13-v6si17910725plj.286.2018.09.10.06.39.29; Mon, 10 Sep 2018 06:40:14 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=sCHvsXc6; 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 S1728737AbeIJS23 (ORCPT + 99 others); Mon, 10 Sep 2018 14:28:29 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:38970 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727970AbeIJS22 (ORCPT ); Mon, 10 Sep 2018 14:28:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=+I6/VnbkzcALLbtNYS6kdkIx7tfZfA6n3AWorPqSPSg=; b=sCHvsXc6FPErJMWjPUklYs5sw SuZbxFlWu/1OUdqrYYvohsT8KwLfgPuKVvbnE4R0kWTH9nYPSVPt25B2eg/tnujQCTmagesdeysNN DSQLOD8xaDitmlZkUKRN8hmhEIJc24kyEWIOvOf7qh9EjiKvwM/A7DgwqGTJo0SjFB/9VKC4RQbvG 2oINfNkUIiAzf81iODVWiG8TZArkBZ35AsGodytOdAr3Cpvo4t3nIE7eaWS7L7xdhZ+hOryghaZfR ze2YmgSAgRddUopRY2wRJWVnqI25hpg4APwl5zcEiajgMBpNkmLknh/YYBxM0fjpPnNOvg/ClSqHP Laqq3/xvw==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1fzMKY-000444-S0; Mon, 10 Sep 2018 13:34:18 +0000 Date: Mon, 10 Sep 2018 06:34:18 -0700 From: Christoph Hellwig To: Anup Patel Cc: Palmer Dabbelt , Albert Ou , Jason Cooper , Marc Zyngier , Daniel Lezcano , "linux-kernel@vger.kernel.org List" , Christoph Hellwig , Atish Patra , Thomas Gleixner , linux-riscv@lists.infradead.org Subject: Re: [RFC PATCH 1/5] RISC-V: Make IPI triggering flexible Message-ID: <20180910133418.GA12330@infradead.org> References: <20180904185001.GA25119@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > 2. Have more generic IPI handler in arch/riscv so that IRQCHIP driver > can call it And that is rather irrelevant without 1) above.