Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp4464132ima; Mon, 4 Feb 2019 17:34:20 -0800 (PST) X-Google-Smtp-Source: AHgI3IY6O9fvPEThzTrGcOLfrBei8Pe0YYWsbYrqyzqFUAmAiodMlq2jmFrjtGNae6T34jJ2wy+6 X-Received: by 2002:a63:da45:: with SMTP id l5mr2172525pgj.111.1549330460819; Mon, 04 Feb 2019 17:34:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549330460; cv=none; d=google.com; s=arc-20160816; b=kf8IiJ2fyxSZFc9rl2i1U2SPWH/DcCvDeQo9TnhsrIMht6HW3qPHUGkLla7ngB4WNH HFduKEis/9Yu7a3hbgRqk0sSeEafZgDqe1CM3XhC9Fj2UoRl+xAxSo+wsk4X//RSeTn+ +bgwJW3XZKKdw+R9NOnVjRpTPSl3lkWtXorpcHw/uOYVirmCJ85jn8R9PjLRdR0xMaKO 7ZWPQIFfiiypTC+TUAUIPFoGu/jA5ETUZSSYRcHYX2titlC84mwxaKOBHFfew+0M1056 Qt0PW58bdeX3qITgJ38LjuoPwpWWXmaVaW/mg7iLXymvvy+689/qOH/g800W8SSAmjp2 jCxQ== 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=9143fEFiv9Z6gdD0b+ulyN7PkSp1bjjjNTkDc5sshjc=; b=rp7z5ZtG7wGSlJf951Kw48bO5dzNwNnkue2dENYRLpXZxFnCnKsnbjoA5VvnLVNzkw jm35Ve7JEo2FVSJrk7x80PWb/DEcx0okGQAMRODm6QFI+QoEuQ9g/T3EnySqcIvs2ayA 0J2gC8v4KQj8qC21dWOjfc26hqmoRoLAFleMtDF229zkRDYxASSoj/QY21usFbLSzoUR NXyCoO+S0momWTvaIPGi4lhS7r/AngT7Q+y53Wf1dcvRmd9U8FeTU1fuh247h95Qk7Kz rI2u7Ilvk6CGo3ezFkb9eatRjmeKVTRjJ1vhTO3GZ6RhlO36xHtp4EISdMuX54D0YTKX 3fcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=wTyHpEPt; 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 k16si1606637pls.124.2019.02.04.17.34.04; Mon, 04 Feb 2019 17:34:20 -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=wTyHpEPt; 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 S1727563AbfBEA37 (ORCPT + 99 others); Mon, 4 Feb 2019 19:29:59 -0500 Received: from vern.gendns.com ([98.142.107.122]:33484 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726946AbfBEA37 (ORCPT ); Mon, 4 Feb 2019 19:29:59 -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=9143fEFiv9Z6gdD0b+ulyN7PkSp1bjjjNTkDc5sshjc=; b=wTyHpEPtSoR1YmGsslTM6Puq+3 8bDGvH+jWFz2wSoFsrPKd2vkuLKuHPx3IM6BwZ/6o1MLOJk09ARjFZPTQnVafgMQXAwi8fVY4XCPH jCHKmVmIldUnuSQ2Tt9agB+/VuXlTR9VfpLmm0pC2yNU7/wi54tLCQNrDUE3PzNcm9uczr67BIlqS uHLtPBccOY5W7lLkOTZLWZHFR3wEJ7G1UniD0Sm2EMdYLolf/RLzpL7RCeENkRnwnb4Kz8yI+4vWg MrA78Q98LLeFNYMZa4bdlN8bTIqzBVt15jCmkrKhRmTFjw8pKWQ3OERo50FaeMmK0+v1QLuYZky9C 1UpAc4OQ==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:60374 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 1gqoZB-0001WB-RM; Mon, 04 Feb 2019 19:26:21 -0500 Subject: Re: [PATCH 25/35] ARM: davinci: cp-intc: use the new-style 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-26-brgl@bgdev.pl> From: David Lechner Message-ID: <55b5797c-ee0b-c2d8-9eb9-0d681da08018@lechnology.com> Date: Mon, 4 Feb 2019 18:29:55 -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-26-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 > > 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. As mentioned in a comment on a different patch, this isn't strictly true (although in practice, it probably is). This patch deletes a code path with the comment "Default everything to channel 15 if priority not specified.", so it is possible (although unlikely) that this patch could change a priority of some IRQ that is being used. > > It will simplify the driver code and make our lives easier when it > comes to device-tree support. > > Signed-off-by: Bartosz Golaszewski > ---