Failed to boot ARM64 boards for recent linux-next
Marc Zyngier
marc.zyngier at arm.com
Tue Mar 20 06:34:31 PDT 2018
On 20/03/18 10:13, JeffyChen wrote:
> Hi Shawn,
>
> On 03/20/2018 05:39 PM, Shawn Lin wrote:
>>
>>
>> Also another patch warns a lot when booting the kernel. Is there
>> anything else I could do to let it go? Seems I am using broken
>> dts for requesting IRQ_TYPE_NONE there?
>
> could be:
> https://github.com/torvalds/linux/blob/master/drivers/irqchip/irq-gic-v3.c#L1145
>
> struct irq_fwspec ppi_fwspec = {
> .fwnode = gic_data.fwnode,
> .param_count = 3,
> .param = {
> [0] = 1,
> [1] = i,
> [2] = IRQ_TYPE_NONE, <--
> },
> };
>
> irq = irq_create_fwspec_mapping(&ppi_fwspec);
Probably is. Caught at my own game, fun! ;-)
Turning that NONE into LEVEL will work, as there is no known PPIs
configured as edge (specially in a partitioned system), but the general
case isn't pretty. I'll queue a workaround for now, and will look at
addressing the more general issue.
Thanks,
M.
--
Jazz is not dead. It just smells funny...
More information about the linux-arm-kernel
mailing list