Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp4366792ima; Mon, 4 Feb 2019 15:21:00 -0800 (PST) X-Google-Smtp-Source: AHgI3IbiXTZqbWeUGTlL34RrKOSUNQ7BLLb18IztNjEZgvODkaX+kMrgv0jHr6yF9oQjc27C/nVe X-Received: by 2002:a63:1f64:: with SMTP id q36mr1619089pgm.230.1549322459924; Mon, 04 Feb 2019 15:20:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549322459; cv=none; d=google.com; s=arc-20160816; b=JRgW6EO3O9cb1hs7HKo4P+8tEd1ViFYel68ZmSWOhXaquIUgp+8bBFkB5m5sOgRHl5 PYEWV9sGApWMenLOtzU02vuk6xwoZfhfC1r/0tSxBWMjb8+IUSxrl17XeLGz4I7wyQZk Y6byPUeLpyYcusHK4xEm+JqHbwZL6UaRE+Z9ASlJQaB27NGounpM4jTZUWKF7UZ0aMOt R0QBWogvv8/aV65ilLcZxqSMtUFE25XAkKfSTBuVRXhYfZY5Q84C8kaAweIerizHb5O2 mcIw0SZgxCq5wkrbP6PKwgVnJBNQ04w38UNPSeFAzNVmiSg286h9C03OjBOVpkXcS7fn aK+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=NXs7dtRm+dtTaNJFKqa2TjG7q527p9qEuT86JohJ4JI=; b=laFyNONlo8ktgUmAhP9snYyEnsFZhjg3wCQtHxZkdjmhrOvHXLxgW7tWnH6hMh0nEn p2EI0+CJcRJVTyeuPdNpOFLeYQ0rsF3X1w7QjWUZ6dTTHB4lKuRjVPirLLOygn4kFp+3 sIFN0TO8sYjjPeUr6igKXGG/0nEnDMsqM4cmfmgHfL48cDyupy++bBvoQAHREf+p5vFU zbs1dW58aRO0pup8Fe5Uq++SirZ1AAkP2b44nbLJLZz2fwVLkSkMt2Ob6XFq+qOO0n3f +u7fidzVXvjIypHo+YAVPri1SJ36uvP8lZEBvujGO7VLnCePcCFc/PYDuFJv+EnKHu4H MNDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=vwERBmho; 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 j61si1307761plb.232.2019.02.04.15.20.44; Mon, 04 Feb 2019 15:20:59 -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=@lechnology.com header.s=default header.b=vwERBmho; 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 S1728401AbfBDXCT (ORCPT + 99 others); Mon, 4 Feb 2019 18:02:19 -0500 Received: from vern.gendns.com ([98.142.107.122]:40580 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728074AbfBDXCT (ORCPT ); Mon, 4 Feb 2019 18:02:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lechnology.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To: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=NXs7dtRm+dtTaNJFKqa2TjG7q527p9qEuT86JohJ4JI=; b=vwERBmhoURmh4vnlIH5e0JaJf3 p7vyVaWTa0zx8So2RCINRyYf+qj4h6jahNIUN4kDHOlm7rEdr0NKHGvjWzDTuxhEATbsxiW3mQZId an4P0dgOz71bxi4/9p55yevPaMLObkxKu99xd68d1xkyDHWA7F3lTzBEJO+H0e9hHV7T/U5OhqM9V gcUO9cmlawlHlEWbCqKxmak/PdwjdoEIVV89mrSN9Hp+Rt4HnzQZwnlJM3OA845KJFjhcSJ8HnbFH wdqLIQPbtCMpQEV3HE+5/5sbPybL6Y82KHAqOAfGwB91ElkXU7oagv2ZM9fuylVJpuV+qj7YqtBc8 /g7ewhgA==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:58842 helo=[192.168.0.134]) by vern.gendns.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1gqnCM-0002XB-8G; Mon, 04 Feb 2019 17:58:42 -0500 Subject: Re: [PATCH 13/35] ARM: davinci: aintc: add a new config structure To: Bartosz Golaszewski , Sekhar Nori , Kevin Hilman , Thomas Gleixner , Jason Cooper , Marc Zyngier Cc: Bartosz Golaszewski , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20190131133928.17985-1-brgl@bgdev.pl> <20190131133928.17985-14-brgl@bgdev.pl> From: David Lechner Message-ID: Date: Mon, 4 Feb 2019 17:02:15 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190131133928.17985-14-brgl@bgdev.pl> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/31/19 7:39 AM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Add a config structure that will be used by aintc-based platforms. > It contains the register range resource, number of interrupts and > a list of priorities. > > Signed-off-by: Bartosz Golaszewski > --- > include/linux/irqchip/irq-davinci-aintc.h | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > create mode 100644 include/linux/irqchip/irq-davinci-aintc.h > > diff --git a/include/linux/irqchip/irq-davinci-aintc.h b/include/linux/irqchip/irq-davinci-aintc.h > new file mode 100644 > index 000000000000..d488e798bbef > --- /dev/null > +++ b/include/linux/irqchip/irq-davinci-aintc.h > @@ -0,0 +1,17 @@ > +/* SPDX-License-Identifier: GPL-2.0+ */ GPL-2.0-or-later ? > +/* > + * Copyright (C) 2019 Texas Instruments > + */ > + > +#ifndef _LINUX_IRQ_DAVINCI_AINTC_ > +#define _LINUX_IRQ_DAVINCI_AINTC_ > + > +#include > + doc comment would be nice here, especially to say that "prios" is short for priorities and that the length of the array is num_irqs. > +struct davinci_aintc_config { > + struct resource reg; > + unsigned int num_irqs; > + u8 *prios; > +}; > + > +#endif /* _LINUX_IRQ_DAVINCI_AINTC_ */ >