Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3753929imj; Tue, 12 Feb 2019 04:10:51 -0800 (PST) X-Google-Smtp-Source: AHgI3Ia6HpilXmod2MvvO3iuTNAiIBOzglh50BVJ2ILhu9z3ZMmPNJJG7V67+NCEDUUHSAixbpub X-Received: by 2002:a17:902:7202:: with SMTP id ba2mr3671702plb.147.1549973451104; Tue, 12 Feb 2019 04:10:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549973451; cv=none; d=google.com; s=arc-20160816; b=ecDtE0Q5bzz0GcyrbraKuQjLzWQkMVTL0nLYCZfsW+wdLYjcb2pe5ziTRcYWxQEo51 3w9ENPwk4cnZLeoCqs5IpLsNgqq/V/veKe9fxQsbEEX2i6xARjlMS7OxyPw/icmd6nXr /fkX3mCpGOgsI+mkHJsDuOoUtNOSFIZcVZzm8ftzu3QGRDQ0g2RJdqdVpPWYzvRGdHhj aY6ApJ1hTJZqudWT6X0vrGHsMfjZx0mX4Hdo13ABRigtaTFscb7Pceq3s2WfhF9/m6eX d58bmE9lfLTR6RytihOuOyLXgiHrWXfk/B4Lekti2SjY4MSrJNRC+E1GCTMKpXEPBALL kYZA== 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=IcHEmmZgff9rH6vurQUWXdw/7vg+Ums9TMd+fjY7zHU=; b=HoXGE+Wa+mXOtI2jTkHjxdduxZRMorxx5KzkAIVlxbXZEC/Tu/KxjrP4XSVG/cjAY5 IJUVK+zNlYdMs6HAeRyEAxmwMcI8oJRJLgoQv/kUK4dudj3j0GIImZiM4ag+q3LVL2BA Ay9Eqqb1usARWdqXVlJwF7Qwf5Ei+z9KWTQwLhiF5xDBTxAfEUEkfa78kkOr7LcnuD3G /uZQRbKyVxujKfYolve5+0GE3Q8sRxwk1bwNifdOL/5h1vAxkyYUa0L97DLjtxxXfynr 7ewQxuZB3/nGnmlUi4tPSI4ozuy6TGee3pshGeIjTAwk2edwv0YfyJ2pEpQe/oBJj4Uj cmlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b=RZzZVIKv; 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 c8si11216527pgq.300.2019.02.12.04.10.34; Tue, 12 Feb 2019 04:10:51 -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=pass header.i=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b=RZzZVIKv; 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 S1729240AbfBLMFr (ORCPT + 99 others); Tue, 12 Feb 2019 07:05:47 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:50184 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726026AbfBLMFq (ORCPT ); Tue, 12 Feb 2019 07:05:46 -0500 Received: by mail-wm1-f67.google.com with SMTP id x7so2660584wmj.0 for ; Tue, 12 Feb 2019 04:05:45 -0800 (PST) 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=IcHEmmZgff9rH6vurQUWXdw/7vg+Ums9TMd+fjY7zHU=; b=RZzZVIKvpawTjPi44K80byEQQMIvdOQ/s4HtSUN7bf5Nkr4fr9LvJGkPedg7sk+oZi DYYSQas+4eAMFiT2JaqeJB+uBe15j3vnGHWW33g8ZKZ6GvwXlDEzlN+RtDIVjfCizsZu SMoBK+x2odVuxDOUyQUkKok+4f/sKhPhzckCYE3OQKd7Npaw0TKMrV7P6Uw3zuzp/30f BrTJ93MAHjO02e9Nm6Sg/IbZLRSABS+dcTX4xDIp8KDBoz20MTSmKUgGhYHlNXW1q4Jm VjMzE++bZ21M+v3xIjAXphVV3zQ+uVUYwNIn/SOq29b52gCP1wOtUbaQJ0PEWLpdgeho VEoA== 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=IcHEmmZgff9rH6vurQUWXdw/7vg+Ums9TMd+fjY7zHU=; b=dd08ICfxWIZD4K+bAGgmB1Z3inKNAiDhbJxnke8cb2MV7VW+Vv+jduitxyZGREow5D CIcl+M0aj2fC30yooyHenV4k76LGs05vzmKe5flvNryljTX17PGADMFE1l3wvKXe1Hml YwGi47o4hE7Gja9/4U02YlazOgChuaTvgy5JbVCMjbeEGXUk0edrls5qgl6HpsldK/iK r0oEJzodOkyUC6k/Z0jAByKxqPsXwztJiJuWCNsRBV2gXpG5wOq+M9yMgTEEUO72wM9O Yw3SACVJCBDrDiByeYRRyLTl+N+mqSFg1TGH4X9I4yp0HSpPHGsdfz/9ClKXGhVsGjRn QT5g== X-Gm-Message-State: AHQUAubpFiEZObpTEPMdV3g1oq39pqEF3AReEvs8jiafnzVqycuYklKs 7ZBKV8bQNSVm0S4Y/ppjalgQvXwh1H668+lKNkjGqg== X-Received: by 2002:a1c:48f:: with SMTP id 137mr1892636wme.21.1549973144409; Tue, 12 Feb 2019 04:05:44 -0800 (PST) MIME-Version: 1.0 References: <20190119055625.100054-1-anup@brainfault.org> <20190119055625.100054-3-anup@brainfault.org> <20190212070925.GE26747@infradead.org> In-Reply-To: <20190212070925.GE26747@infradead.org> From: Anup Patel Date: Tue, 12 Feb 2019 17:35:32 +0530 Message-ID: Subject: Re: [PATCH v5 2/5] irqchip: sifive-plic: Don't inline plic_toggle() and plic_irq_toggle() To: Christoph Hellwig Cc: 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" 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 Tue, Feb 12, 2019 at 12:39 PM Christoph Hellwig wrote: > > 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. No issues. I will drop this patch since you "very much disagree". Regards, Anup