Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4174819imm; Wed, 5 Sep 2018 11:57:45 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZlDtm4e9TzyKqgY02YkNRZrXJ4rzohOPvY0BUb/Ykm5Z0P+uWS9fRbCms7DwfqNBJXWF6W X-Received: by 2002:a62:219b:: with SMTP id o27-v6mr41666970pfj.235.1536173864974; Wed, 05 Sep 2018 11:57:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536173864; cv=none; d=google.com; s=arc-20160816; b=Q4/T1Qqvr/0Hkf2I62fs050zV77RqlKvjb68ckgUDzp8T7V8nH1/BwU87F/nMO6kes 5CL085UmmLhmVHcUSv7SklDqdRZSEZ6JwSUHGDd0FO4adxIJFdbOkndeRrJW+wW+S6nt a9fOa3pR0Z9uFim5A95u3ABKqmMTx0Ud9Je+OV3lqw9QB/B7NpWr1qYLTE4Iyce26QK7 dQ5WD9LOOqN0wOdb0cgc0PK+RnJQsxEwHLaVa/zo6AuwrroQaDYbwKs+lkyYKzLSEIBI hAhOFyDJ6XnR/r+7kBZrDF6bcRugt502W/UX+wqtjmFweJ/9Ihoei01ln7vLi6uURZdV qM6g== 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=EFDUXFM7N9blfi2vX04wXNpX3qEo7tdrdnrYx7eYqR8=; b=xV+jlj8CfHZPQeis21MRF+fDLDHOv13O1baj0ZlmcZ2UenBVX1uXH1BjNChZII+Dfu K7Y4qUD3JjVxWVfrX402Z0Zn6fobWLWAp6JWOpoQABV1zPpNsd7ScrwUeAoZP7eqa1nd h1Ra6Zxi22ixBhKsekFusZqmxU8lP0BY4+2Mfe3dabTdPfU5i+5bJuezaQIfZfKOX812 3u51hj0wKbc16Vnga6WZEar3qxame0XlhU3BrM6pM21/eSXaRC7GD1zbnMwcvuvu6xFH kYqeMWZlSWac7j14mg27+YAnUz1ooiG3CErK+XNDSy8uRVcw3GQk/cwbALVv2YUHMtV5 Zp6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=TxtkN1Wb; 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 l12-v6si2482281plt.440.2018.09.05.11.57.22; Wed, 05 Sep 2018 11:57:44 -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=TxtkN1Wb; 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 S1727674AbeIEX1h (ORCPT + 99 others); Wed, 5 Sep 2018 19:27:37 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:42738 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726487AbeIEX1g (ORCPT ); Wed, 5 Sep 2018 19:27:36 -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=EFDUXFM7N9blfi2vX04wXNpX3qEo7tdrdnrYx7eYqR8=; b=TxtkN1WbnxdCVUqdCLsbNU2fN 7xTVFD7TADo7Qf/QyTfGCy30CuekRWKDahnuCIHloLqMhbZ8bOBZ64sUylqgzg/cEw4dyaOH93aVV JSjymmrgBPIsgkEYV1gsZ0T2G8+5C92rHzOfIhjRK92QDAeQptMENKwJgsaGrVYXJwMnbIcjhRliD kUOok89Xp+KOT2gCdzr5TZD6r3xZwroeNpxS6qrBmSOUEXPTnu46xw5XpfpspNDvpupUSy0TMPSBP UlG2N4jqWdDvwZUEwUFwNXTM3IbM6Ed6GLK+ooXsMp0LjzFR5DH/SUBkGo51RZRINV9xTOpXf1RzB BBPwaMbzw==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1fxcyB-0005Sb-Ke; Wed, 05 Sep 2018 18:56:03 +0000 Date: Wed, 5 Sep 2018 11:56:03 -0700 From: Christoph Hellwig To: Anup Patel Cc: Christoph Hellwig , Palmer Dabbelt , Albert Ou , Daniel Lezcano , Thomas Gleixner , Jason Cooper , Marc Zyngier , Atish Patra , linux-riscv@lists.infradead.org, "linux-kernel@vger.kernel.org List" Subject: Re: [RFC PATCH 1/5] RISC-V: Make IPI triggering flexible Message-ID: <20180905185603.GA15741@infradead.org> References: <20180904124514.6290-1-anup@brainfault.org> <20180904124514.6290-2-anup@brainfault.org> <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 Wed, Sep 05, 2018 at 10:06:24AM +0530, Anup Patel wrote: > It's outrageous to call IPI mechanisms using interrupt-controller as "wacky". I call pluggable IPI whacky, and it's not outragous. What is outragous is your bullshit architecture astronaut patches. There might be a nned to abstract IPI details even more in the future, but the way to do it is either architectureally in the RISC-V privileged spec, or in the SBI spec once we actually have one. Having host OSes go through hoops to provide pluggable IPI implementations is complete bullshit, and the argument that we already have this in some architectures is not a good reason to repeat that mistake.