Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp5246926ima; Tue, 5 Feb 2019 08:35:59 -0800 (PST) X-Google-Smtp-Source: AHgI3IYedXtm1AcF8B0xW3pDY7gi6qep0X4vsmdNfZyHcTbs4ZBq8FBhuqVVPES3JNLfYxIi7lg6 X-Received: by 2002:a65:6544:: with SMTP id a4mr532173pgw.412.1549384559610; Tue, 05 Feb 2019 08:35:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549384559; cv=none; d=google.com; s=arc-20160816; b=igNpMy7tENTbgohwiuc9gpcYGvLTrf3Y651wdxXNnKGWk1Z92IXvhBh4uC5TiFj55g DwRxL+7MQvwQXX/ssSnYTPv6bHzzqeko3mKGuo3XpA3WmxnZesgNFt8gzFPQPgKjj6eo rfSOmdvC4eHBsFKcRxaGtgUM6XX3q9pU30hNEr4Mkbwd5D+c3c6aOyFNNQxh6veREdca ubpDtlrAASCRwG8yqg8jHb9SZpzVtmazxaF7uSV5eshIqanYi0ToEHYGkcdGW1S9Hp21 ab2gQzYSYfmKhPnzSllLC5MpIl6IRrSlHwUsR91cgUsq0ioLmgzhOghEdRqSiBQi5rUc WD4Q== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=3YOiGZDXVeVb+PqdpffE1ymvFvsSY64s9CxiJy1tZz8=; b=CSo0Gzw80y79rQR60+5cEKhinGMSfKJ3bUxI4gDvjcm+ZasdW3LDZDCyYzp9It7Pij pJtIlOZCxsTavT5MB6132BgIuaRLdczNOBH/5pYa0EH7ulJ6TJJDM+D2/k3JeJT3ytld ix27IjNmBJTFNQrtLuwHeFyf/OwzNp1udJ9AQ0VMLZtj08PYISOFv2qnW+sXY6/N5bIr Q/DRGSSnExMVGF1bXJyk92fpkPByDHgztNutJcQvVgN3N2/xVajMUcDiFpmI9UPeHT+W O38kpRfvtdQx5XAPgiBInpa1bHOulPjJo/sYbSCW3Nm3UQoZQaQRfpTpVX3zgKZzxIC1 R0eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=XiE1A8wy; 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 t74si2536519pgc.150.2019.02.05.08.35.43; Tue, 05 Feb 2019 08:35: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=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=XiE1A8wy; 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 S1729674AbfBEQQl (ORCPT + 99 others); Tue, 5 Feb 2019 11:16:41 -0500 Received: from mail-it1-f194.google.com ([209.85.166.194]:54281 "EHLO mail-it1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728445AbfBEQQl (ORCPT ); Tue, 5 Feb 2019 11:16:41 -0500 Received: by mail-it1-f194.google.com with SMTP id i145so9703592ita.4 for ; Tue, 05 Feb 2019 08:16:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=3YOiGZDXVeVb+PqdpffE1ymvFvsSY64s9CxiJy1tZz8=; b=XiE1A8wy6TEiht9WrFV9kb8WMiGpdFDp00lYY2SyumWmYnbBrT+fkTMXVbhARsWSlI VP4U8c+zLoLuQFA5+r+SgpyGatleRkReeTUgGbc5FfyZUVa+CH8MrSnKyLQ6P7DsnsOo 7Ds4CTP0qNWx8wH9fpa8UgaV14AGJuYGivs4njJT9x1QZ49psj1fSF1bUPAQhsflz94Y RFtaQdF/+5RhPh7DfXxDAR07/bGPKT8SmzUO0kQMjXm4/SrG00L8APCSJ6qfppJH5Tw5 AkteO4whyUp81HmbN9wEYdXRdYtjB7X1dbheMRkj5mzNc7cC4KmPbQrnXFF9sNiptiu4 50WA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=3YOiGZDXVeVb+PqdpffE1ymvFvsSY64s9CxiJy1tZz8=; b=p3V3jKk4fBcq4Ei/zeXAxy3hWZ2+uXgQ3wjEyuD5erJ5cuGwrsZGR+jL9ifJ9tz2FR +JOND77TZHL1WcmgrJSxJ1OK06XAVeNI1rpx5rhmfCI5qOz1hx4WwlZFOHlfAB4cQQvb ja+2aP81dho7NgpSBobbsATzMjLo4ogc2wp57Us+Pdks5UeXe/oCOwVK/3AosKV18FlG pNpPgpgsAjrvsHaQG7x+juFGIIEy/NmgKQd0G5Nn0VzFFtqkwHAfE+1L5SGcEiWtcl5/ MmgeNl6lXfm+cJK3V3F5FJF3GW3GBShVmBPJqHy/Djvjw8LZJY2UKmUrzWAxixkzoBxZ S3Qg== X-Gm-Message-State: AHQUAuYe6mWNspzawfR7Yrqw43s58J0Z/BgC8KkRGDzfQykaI37oqNRW Q7P6v7rSrpMPn+nJ7KD9QtYb2pBm6bAcAQKoD5Y8JQ== X-Received: by 2002:a5e:dd0c:: with SMTP id t12mr593456iop.258.1549383400360; Tue, 05 Feb 2019 08:16:40 -0800 (PST) MIME-Version: 1.0 References: <20190131133928.17985-1-brgl@bgdev.pl> <20190131133928.17985-6-brgl@bgdev.pl> <28694e1b-415a-d53f-f2e5-ba2a407fa88c@lechnology.com> In-Reply-To: <28694e1b-415a-d53f-f2e5-ba2a407fa88c@lechnology.com> From: Bartosz Golaszewski Date: Tue, 5 Feb 2019 17:16:29 +0100 Message-ID: Subject: Re: [PATCH 05/35] ARM: davinci: drop irq defines from default_priorites To: David Lechner Cc: Sekhar Nori , Kevin Hilman , Thomas Gleixner , Jason Cooper , Marc Zyngier , Bartosz Golaszewski , Linux Kernel Mailing List , Linux ARM Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org wt., 5 lut 2019 o 01:20 David Lechner napisa=C5=82(a= ): > > On 1/31/19 7:38 AM, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > In order to select SPARSE_IRQ we need to make the interrupt numbers > > dynamic (at least at build-time for the top-level controller). The > > interrupt numbers are used as array indexes for irq priorities. > > > > Drop the defines and just initialize the arrays in a linear manner. > > > > Signed-off-by: Bartosz Golaszewski > > --- [snip!] > > > > Technically, any holes in the array that are being deleted > here have a default priority of 15 assigned in the cp_intc > driver instead of 7. I don't think this is a problem, but it > might be worth mentioning in the commit message. Same goes > for DA850. > Actually the defaulting is only done if no priorities have been defined at all. I'll double check though if there are no holes here. Bart