Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5038774imu; Tue, 15 Jan 2019 10:05:49 -0800 (PST) X-Google-Smtp-Source: ALg8bN7uySFCDvheFLI4WNkxl9oC0NpJWrjEK+zbKsA1mfU5REnRd4QdLmJDj8Rl4p/fBW0OBD9m X-Received: by 2002:a63:e80e:: with SMTP id s14mr4936586pgh.30.1547575549197; Tue, 15 Jan 2019 10:05:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547575549; cv=none; d=google.com; s=arc-20160816; b=CjtQfyGS0vdgST1nIU5X0MWIMPtnlCYKyXY3Yvm9SUt19AOy+Kn5LfWmDy1w7vppyy +uW3gNyKV2Eg5YZFEvK+qMvUwqu4m9aA181zYHiJEp7DpKb7q2j8xK3w+oB09n4VWWFU cbezonOxTY1jiNtDoWLnZ1csM1BtRERAAh/ZFZVnS+ybZPxC9m2VkbL9NVtMyQIMpyXX SNb1shFjrmUKh7TMJ7HG9b0GVRKtHPYxcLj58ZGta5sJYabaAwxJXuFPairaPE0uaGkR VvSdRDkk1MQ1+rlp0sL0XFVq9f1RgU6UTCy+CkHIbJCVPLDIBfEUjcVhqs3am9DAssmv UQZg== 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=rP94Pp1ZMFPy7h3gy3CC8PZWAJD8fQQaMhu0Bz75bT4=; b=cyb4AVpLTnD3X5Kt7/KnV2mMN3oTgvziP9t7ZKtGMclTJsKFoxwsT049AhhghCpf62 ck6VjL5IdZKqITxIcN2jvMHBE2VHAW+WyRzBWGqbaIVCAC6+ZnGNeuM97WUJDUEafad4 T/dlN2Gt6eSFKsda/+LnnbyW55ZFlHlD5FugZArFujq8utrc4qObhEX/wyBZ94FqxeXu ot8Gz+RU4IMUS2DZABv2/kkfZrFhNS5WIbCmzzeUpME7zRHQq5NKr2EyXQI+q2IVb4HX nYltLc7nqvbe6+v0f7MredURu6uS9puMRe7HuQOMNdpIoqWtRbc33IXYilYLhbeSxChA u2sA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=X7HRtyy9; 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 l23si3642282pgh.533.2019.01.15.10.05.29; Tue, 15 Jan 2019 10:05:49 -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=X7HRtyy9; 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 S1731310AbfAOP4F (ORCPT + 99 others); Tue, 15 Jan 2019 10:56:05 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:35228 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728971AbfAOP4E (ORCPT ); Tue, 15 Jan 2019 10:56:04 -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=rP94Pp1ZMFPy7h3gy3CC8PZWAJD8fQQaMhu0Bz75bT4=; b=X7HRtyy95AGclhwpKx7KnR+yF ejeAihpxR91vjve/s9jVnTl+fqiqdIMJVoqU4YHKL7kWMjyp7XbIdEf60KtHPPOpKYy9q35N4OsLA diRv5RyIoUoj+bLQS/0jt5OPPEKbfDXXwi+ubElXzBT35waAaLncJqgnJclDQ0/siPSEBUuBpxnXi 14WAz9EqJW+m/id1T4JJCiqB8eD/83RFiVKohVA90a25gb4MseGp4zvtodobrTk5T62PzAyBznDLH Z8+8bDmOq06C9VGjfXTlFENObtOGctHHXO+JnB5+4RwYKm3oHrV9ENx2i4dUl184NwGNCUvZcAdE3 7h5p1ui9w==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1gjR4K-00059h-9C; Tue, 15 Jan 2019 15:56:00 +0000 Date: Tue, 15 Jan 2019 07:56:00 -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 v4 4/5] irqchip: sifive-plic: Differentiate between PLIC handler and context Message-ID: <20190115155600.GC13095@infradead.org> References: <20181227111821.80908-1-anup@brainfault.org> <20181227111821.80908-5-anup@brainfault.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181227111821.80908-5-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 Thu, Dec 27, 2018 at 04:48:20PM +0530, Anup Patel wrote: > We explicitly differentiate between PLIC handler and context because > PLIC context is for given mode of HART whereas PLIC handler is per-CPU > software construct meant for handling interrupts from a particular > PLIC context. > > To achieve this differentiation, we rename "nr_handlers" to "nr_contexts" > and "nr_mapped" to "nr_handlers" in plic_init(). Not sure what this differenciates that we previously didn't. As far as I can tell it just is a slight naming cleanup.