Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp4366643ima; Mon, 4 Feb 2019 15:20:47 -0800 (PST) X-Google-Smtp-Source: AHgI3IZ0deehhEgtwwb/0CL3pD8Etw4lLfdLFIcv03IUlUOzyY7mm13uIFn9hulreKws/dlbWobc X-Received: by 2002:a62:5c1:: with SMTP id 184mr1816527pff.165.1549322447436; Mon, 04 Feb 2019 15:20:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549322447; cv=none; d=google.com; s=arc-20160816; b=ukFN2wpdL7fNvlb3M+oWk8xu3E6AQ0KUQ4J3iC4UNewduUAjQA6qNMG2/HGlCh9oS7 hRvzGHIeVhn4M3j3XlBWQv2XvxpBj+POJsezBtzP2YnGWL2QbD8fsp9euQzOaNcaYDUr OsaMxGQSe5pdf/vgxfzs+sTH+Hrf/XX7Sx6xsB3IPaeLiQzauH5p/2q3xGapl5ZUoEir uGkLVL+DaeAIYhLwZAYxJ+YvPeO5RbIXqUdeL5i10KQREbeqMuO/V/dLO+JU8ORfE66N v2ap8uVy4ZSZ1W4rKEr+N8c49Y5+1kLR3ItLgsY/1ITzuTjLp6D0qESO2wGYQq6z5SEp tWpg== 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=8qKRBFRTH9ZlQ+nCypAosq40t2H6pbB7sIjdnsc+C5I=; b=umQrcqAa+l1Li1pyA5kdhH67kGvQI+LiJHfSo+j/xOwJh1A6GNlYI7leAwUcAkhE4l LEYsctMumBUpz7pD1TnLYFtovwhsdi2TxoKsPVyJ7nctnh61EOoh+4lDXQsYB0w2N7ER ftp7eyHc+4uERyuNo0LuqbzqsgGSlktplWwitUPBZ80J1bdDslyS3T8P04p45bJOkWca xJBAV4kZqv9AQ1vWz5R2Vazv07rG8ICVcKTuhyxrTXXKQEYSRGLL/N6uo3OupseswPjj SKOqOjnfZgXvqcDhWjEv17eJnh+0YX7PuHV/TEndTtMLBD/J05Db48BXwLW8L+IvArce cuhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=FS31z7iH; 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 g128si1217794pgc.352.2019.02.04.15.20.31; Mon, 04 Feb 2019 15:20:47 -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=FS31z7iH; 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 S1728566AbfBDXJl (ORCPT + 99 others); Mon, 4 Feb 2019 18:09:41 -0500 Received: from vern.gendns.com ([98.142.107.122]:42458 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726901AbfBDXJl (ORCPT ); Mon, 4 Feb 2019 18:09:41 -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=8qKRBFRTH9ZlQ+nCypAosq40t2H6pbB7sIjdnsc+C5I=; b=FS31z7iHM0DKZalwai6hyeHzjH c+F8kXDq2WEX+JG+tXNaXXd6mBROOVKabIN8uxxGAWOSER0hVcSpJVjwD0FJqicUTA5fTPWCyeHFT 4+EngKRScxikRQ/rpSVv7PBdHJVALMuyH289mxDw9R22qo1BdwKBVl/lttOvtK3L/gvh7I5rAwjG1 iteFgeeht/igBXVPG9Ir9oHkm91nx/GclFzPWQlZvLvdChaC64sxHtd738hqMa84IVMH+rEnneydt TLo3ej0Ev7enVYq2lQSPn1a4UhP4Iy2eZGkgdhAgYmLIJ1mYu+k71WoqlQu3wneEkbI/CYuycV9uP pZ7dSiUw==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:58964 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 1gqnJT-0004go-FJ; Mon, 04 Feb 2019 18:06:03 -0500 Subject: Re: [PATCH 14/35] ARM: davinci: aintc: use the new irqchip config structure in dm* SoCs 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-15-brgl@bgdev.pl> From: David Lechner Message-ID: <96ce8a1e-0b51-7cf0-0cb9-f0f6ae1e563d@lechnology.com> Date: Mon, 4 Feb 2019 17:09:37 -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-15-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 the new-style config structures for dm* SoCs. They will be used > once we make the aintc driver stop using davinci_soc_info. > > Signed-off-by: Bartosz Golaszewski > --- > arch/arm/mach-davinci/dm355.c | 11 +++++++++++ > arch/arm/mach-davinci/dm365.c | 11 +++++++++++ > arch/arm/mach-davinci/dm644x.c | 11 +++++++++++ > arch/arm/mach-davinci/dm646x.c | 11 +++++++++++ > 4 files changed, 44 insertions(+) > > diff --git a/arch/arm/mach-davinci/dm355.c b/arch/arm/mach-davinci/dm355.c > index cf574956ce1d..0dcfcbec522a 100644 > --- a/arch/arm/mach-davinci/dm355.c > +++ b/arch/arm/mach-davinci/dm355.c > @@ -15,6 +15,7 @@ > #include > #include > #include > +#include > #include > #include > #include > @@ -738,6 +739,16 @@ int __init dm355_init_video(struct vpfe_config *vpfe_cfg, > return 0; > } > > +static const struct davinci_aintc_config dm355_aintc_config = { > + .reg = { > + .start = DAVINCI_ARM_INTC_BASE, > + .end = DAVINCI_ARM_INTC_BASE + SZ_4K, missing a minus 1 after SZ_4K? + .end = DAVINCI_ARM_INTC_BASE + SZ_4K - 1, (repeated 3 more times below) > + .flags = IORESOURCE_MEM, > + }, > + .num_irqs = 64, > + .prios = dm355_aintc_prios, > +}; > + > void __init dm355_init_irqs(void) > { > davinci_aintc_init();