Thread (98 messages) 98 messages, 4 authors, 2019-02-08

Re: [PATCH 05/35] ARM: davinci: drop irq defines from default_priorites

From: Bartosz Golaszewski <hidden>
Date: 2019-02-05 16:16:42
Also in: lkml

wt., 5 lut 2019 o 01:20 David Lechner [off-list ref] napisał(a):
On 1/31/19 7:38 AM, Bartosz Golaszewski wrote:
quoted
From: Bartosz Golaszewski <redacted>

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 <redacted>
---
[snip!]
quoted
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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help