Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3505781imj; Mon, 11 Feb 2019 23:10:19 -0800 (PST) X-Google-Smtp-Source: AHgI3IYyjOQaPY9+4mZ5EQYp/xPMNu+bDHyLPoP6zobSLgh+giHAE1ouYlOGlQz1Z96xcHc/6kfJ X-Received: by 2002:a62:4bd5:: with SMTP id d82mr2466298pfj.85.1549955419299; Mon, 11 Feb 2019 23:10:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549955419; cv=none; d=google.com; s=arc-20160816; b=I8eqRus40Iiux9XNWSiR5aUymEfcFRGoQvc+ZI+LX+BPZFlPB0jyIFRa8fvIvLE4KE x8+jNFORPy6bYWogVf+ya3tMBUl0GiZLL+hugtavMqnSbsf9VY/l4h6lf9jewliUL6Jn vxRCZs6dw7kpIZPFH/edDIFvFHrA7cWr1iZ++JUgC8cCBiaSshD62OjXmfxU1LxpcRN8 VEP5EKgY7lZ971HaP8fiPO1yXHDYY0b/0SCId5f6GwQaBT1rEF8O8Y2Jnku3zi8nT2Hf iJS/mBKQrMygbKIbxB6Cj7TNcH364nQKZXwXHdpp8iZ6U/cdeMoTmktsAIOctWRbz4iw r3RQ== 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=oJ8Lf+WqyK8XHYzmCU9ASXjpWHI+Pi1oJblH35r6YpY=; b=cqV9IQ8btwvNM26/8ThhXKU3ubhDXBiXjuOIIPx9orc7aP1LUMsOWEZcXQutQF3G2W ylQLphlNn0UyuHk+55jRNjsbJzP3VIuXAwU75Ho+9ispD0Hsz1Xrc8YcW9gJ/MOcKXfU R3PBh3vrwTvn6OxfD8b7ohvfmAh6H1oV/qJ/sQMps16LZcrH6cJ+r9b1emwBPln6AKtB VmJ0kLkQ3RN52s5HHXIh7ckefaUOYg8k+NGuCQiVCOaFcOmuLdn600z0GmhpiLlAFPX3 aDaWKd+EMuPTatRwIY983triDmRj41pB582hdCW+VY16eEaSYdVDsu+S3RA35OqYKDys 6bYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=Il00iSVp; 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 d78si3805475pfj.261.2019.02.11.23.10.03; Mon, 11 Feb 2019 23:10:19 -0800 (PST) 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=Il00iSVp; 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 S1727890AbfBLHJe (ORCPT + 99 others); Tue, 12 Feb 2019 02:09:34 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:35130 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725936AbfBLHJc (ORCPT ); Tue, 12 Feb 2019 02:09:32 -0500 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=oJ8Lf+WqyK8XHYzmCU9ASXjpWHI+Pi1oJblH35r6YpY=; b=Il00iSVppHyQ2NyM9vUUAuIbA omBstN6MpCPAnqSkIe2W/8G+bI38g91ktBCghpKmYU0MreZfGAgs1jfbLMnGT1/JloC9DTU5fmQgT 9BLnJ8HGwCbV7qBRE/p583F+tVJHHKSRtsTGOIGvkqw3jCWMj5WoTG/j6XnxOZAa3XyV23QAuh1WC 6LZ9DxOvXduef8Xwl7VbkudZKYtaX+vhNFAGbnuQaYcHL/E+m0m3qKCtP278CrhMN/lpvDPjcVeW/ /hdRAFlFkg+EIwpIsTx8RZdB+0mYpYrQ+n86h4O28hRaTWeJ8G1zU0ajWdb+NCbpJLmXeQiOJvHW9 e7/f/uD+A==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1gtSC5-000168-8M; Tue, 12 Feb 2019 07:09:25 +0000 Date: Mon, 11 Feb 2019 23:09:25 -0800 From: Christoph Hellwig To: Anup Patel Cc: Palmer Dabbelt , Albert Ou , Daniel Lezcano , Thomas Gleixner , Jason Cooper , Marc Zyngier , Christoph Hellwig , Atish Patra , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 2/5] irqchip: sifive-plic: Don't inline plic_toggle() and plic_irq_toggle() Message-ID: <20190212070925.GE26747@infradead.org> References: <20190119055625.100054-1-anup@brainfault.org> <20190119055625.100054-3-anup@brainfault.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190119055625.100054-3-anup@brainfault.org> 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 Sat, Jan 19, 2019 at 11:26:22AM +0530, Anup Patel wrote: > The plic_toggle() uses raw_spin_lock() and plic_irq_toggle has a > for loop so both these functions are not suitable for being inline > hence this patch removes the inline keyword. I still very much disagree. Very strongly with the above rationale, but also (less strongly) with the decision not to inline here.