Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1426164imj; Sun, 17 Feb 2019 05:42:43 -0800 (PST) X-Google-Smtp-Source: AHgI3IZRaactKDaYeM0UOR6a6YjACPNr7+49KGv9T0XG9CKTvp0T6GOeAMPNNfvFnUnDZgVtKEXj X-Received: by 2002:a17:902:2b8a:: with SMTP id l10mr19254926plb.70.1550410963454; Sun, 17 Feb 2019 05:42:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550410963; cv=none; d=google.com; s=arc-20160816; b=BFIIasS8I3NPsaUbRO29yda/tDRddKrd659skefNiXp6S27Lx2KyZu8g8o37275M3n fEOdEYWFi1BChfBOJp3RdSY9MiV74W108gzW+yQyVFsYPRSqpQgzfvigYX0xP6KTMbPW UssdMAWQ+lo2yunpV+QpvFae4zSGuA3e94RUCQHXfAqlaCE45nNSR49VAdcJF6E1R15X VTOC3qGy6MHS8lHMBdZ2bF9Suk4uUcm9RnT43MyF/jnsxig2dZ/2NayKpBg8vRC/71e9 jGqSHYqSJgOJMpxCjfkCQFlDPI+yQLF8tfoly/iTEANyn0lUTxY//tUJB/Odc0LHxdWu /SdQ== 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=OhZ9FVRRbRsgWnD9EZmBkcctr5w3lkWvOMQSyxG4rOA=; b=h53iZoau+OaywPpk23QDVOOyJRnF92f/waLu9G5rSfSHjiKyxK9Qtt1YmgT1y8A6xk yUPaHUG+ICMGIgYFEf63zQ0tpDreEtF34O1zEtEiCBMOYQALsnttzRHhJrXqAsNrZfwR sTOQxDU0BRAVJvI4fsVzC8I6qr5vCnuBnuvXYthXu7jaJwyvGwteLNjXfbUku0Cr+ZFf AUEU+nNt1umEq2ekbkb8xAXo6md8IbZa20hrMWf2xpvs328WKfHSI76RpdybTU9b0j6K vZOZMdy1XozSDHiRCaCcZNxR7dzxOsPYU9icZSjtNnoUhar3IgFqOuG9d3c2f3R2a3pI wmiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=em+fbkL1; 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 s12si10185629pfm.242.2019.02.17.05.42.26; Sun, 17 Feb 2019 05:42:43 -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=em+fbkL1; 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 S1727982AbfBQJ40 (ORCPT + 99 others); Sun, 17 Feb 2019 04:56:26 -0500 Received: from vern.gendns.com ([98.142.107.122]:54210 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727053AbfBQJ4Z (ORCPT ); Sun, 17 Feb 2019 04:56:25 -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=OhZ9FVRRbRsgWnD9EZmBkcctr5w3lkWvOMQSyxG4rOA=; b=em+fbkL1HwaGnBh53nkUv79WQP 4Qr09frukJzYYU14fbVI4pkFZPDRtH/jJoTaNTyB8wqdGI/paV8KGPm4nLWE66KXRHEFYnJBoPCF9 zlYLzm8kcWbnBpFAdkRDZy9z1pavKsgfrQu3YlYc6gntnusD3yzlO0CZFi6AC0WoM/IFL7no1/xiA 68W7HWt6I8a6CTAFyS7ygx2dhFPxI6W7qstXTdqPv6KBEgW1OAKfJ8PFpHSy+bJ9zb+hEPKDkSDTl RTYvCsygX3Ll90NOo2cSgewrCIaSl8wjsQHMpOnFebfLkLJLIMH8o+9L8xSZfUgKYo9OUXiCOb7KY Td/YvX1Q==; Received: from [185.122.190.68] (port=58375 helo=gerda-5.local) by vern.gendns.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1gvJBF-0008Vb-Vc; Sun, 17 Feb 2019 04:56:14 -0500 Subject: Re: [PATCH v4 29/37] ARM: davinci: cp-intc: use the new-style config structure To: Bartosz Golaszewski , Dmitry Torokhov , Sekhar Nori , Kevin Hilman , Thomas Gleixner , Jason Cooper , Marc Zyngier Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski References: <20190214145231.8750-1-brgl@bgdev.pl> <20190214145231.8750-30-brgl@bgdev.pl> From: David Lechner Message-ID: <685e9c7b-39f2-e42a-86b6-fd903830e8e4@lechnology.com> Date: Sun, 17 Feb 2019 10:56:21 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 In-Reply-To: <20190214145231.8750-30-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 2/14/19 8:52 AM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Modify the cp-intc driver to take all its configuration from the new > config structure. Stop referencing davinci_soc_info in any way. > Move the declaration for davinci_cp_intc_init() to > irq-davinci-cp-intc.h and make it take the new config structure as > parameter. Convert all users to the new version. > > Also: since the two da8xx SoCs default all irq priorities to 7, just > drop the priority configuration at all and hardcode the channels to 7. > > It will simplify the driver code and make our lives easier when it > comes to device-tree support. > > Signed-off-by: Bartosz Golaszewski > --- Reviewed-by: David Lechner