From: JeffyChen <jeffy.chen@rock-chips.com>
To: Shawn Lin <shawn.lin@rock-chips.com>,
Marc Zyngier <marc.zyngier@arm.com>
Cc: "open list:ARM/Rockchip SoC..."
<linux-rockchip@lists.infradead.org>,
Robin Murphy <robin.murphy@arm.com>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>
Subject: Re: Failed to boot ARM64 boards for recent linux-next
Date: Tue, 20 Mar 2018 18:13:06 +0800 [thread overview]
Message-ID: <5AB0DEB2.4000803@rock-chips.com> (raw)
In-Reply-To: <fe56e7e3-50dd-88de-ce61-f3cbcc1f572b@rock-chips.com>
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);
>
> [ 0.000000] WARNING: CPU: 0 PID: 0 at
> drivers/irqchip/irq-gic-v3.c:909 gic_irq_domain_translate+0x84/0xe8
> [ 0.000000] Modules linked in:
> [ 0.000000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted
> 4.16.0-rc6-next-20180320-00006-g841c1d1-dirty #257
> [ 0.000000] Hardware name: Excavator-RK3399 Board (DT)
> [ 0.000000] pstate: 60000085 (nZCv daIf -PAN -UAO)
> [ 0.000000] pc : gic_irq_domain_translate+0x84/0xe8
> [ 0.000000] lr : irq_create_fwspec_mapping+0x64/0x328
> [ 0.000000] sp : ffff000009033cb0
> [ 0.000000] x29: ffff000009033cb0 x28: 0000000000000002
> [ 0.000000] x27: ffff8000f280fc90 x26: 0000000000000003
> [ 0.000000] x25: 0000000000000000 x24: ffff8000f280fc80
> [ 0.000000] x23: ffff00000903c8f8 x22: ffff00000903c000
> [ 0.000000] x21: ffff000009033d88 x20: ffff000009039000
> [ 0.000000] x19: ffff8000f2825000 x18: ffffffffffffffff
> [ 0.000000] x17: 000000000000000a x16: 00000000000007ff
> [ 0.000000] x15: ffff0000090396c8 x14: 31407570632f7375
> [ 0.000000] x13: 70632f207b205d31 x12: 5b312d6e6f697469
> [ 0.000000] x11: 747261702d747075 x10: 727265746e69206e
> [ 0.000000] x9 : 6f69746974726170 x8 : 407570632f737570
> [ 0.000000] x7 : 0000000000000000 x6 : 0000000000000002
> [ 0.000000] x5 : 0000000000000001 x4 : ffff000008c153f8
> [ 0.000000] x3 : ffff000009033cec x2 : ffff000009033cf0
> [ 0.000000] x1 : ffff000009033d88 x0 : 0000000000000000
> [ 0.000000] Call trace:
> [ 0.000000] gic_irq_domain_translate+0x84/0xe8
> [ 0.000000] gic_populate_ppi_partitions+0x1fc/0x280
> [ 0.000000] gic_of_init+0x174/0x214
> [ 0.000000] of_irq_init+0x180/0x2e8
> [ 0.000000] irqchip_init+0x14/0x38
> [ 0.000000] init_IRQ+0xfc/0x130
> [ 0.000000] start_kernel+0x284/0x414
> [ 0.000000] ---[ end trace 5a16819db6b2d5d2 ]---
>
> commit 6ef6386ef7c15bea21afce06f951c87de7e2a562
> Author: Marc Zyngier <marc.zyngier@arm.com>
> Date: Fri Mar 16 14:35:17 2018 +0000
>
> irqchip/gic-v3: Loudly complain about the use of IRQ_TYPE_NONE
>
> There is a huge number of broken device trees out there. Just
> grepping through the tree for the use of IRQ_TYPE_NONE in conjunction
> with the GIC is scary.
>
> People just don't realise that IRQ_TYPE_NONE just doesn't exist, and
> you just get whatever junk was there before. So let's make them aware
> of the issue.
>
> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
WARNING: multiple messages have this Message-ID (diff)
From: jeffy.chen@rock-chips.com (JeffyChen)
To: linux-arm-kernel@lists.infradead.org
Subject: Failed to boot ARM64 boards for recent linux-next
Date: Tue, 20 Mar 2018 18:13:06 +0800 [thread overview]
Message-ID: <5AB0DEB2.4000803@rock-chips.com> (raw)
In-Reply-To: <fe56e7e3-50dd-88de-ce61-f3cbcc1f572b@rock-chips.com>
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);
>
> [ 0.000000] WARNING: CPU: 0 PID: 0 at
> drivers/irqchip/irq-gic-v3.c:909 gic_irq_domain_translate+0x84/0xe8
> [ 0.000000] Modules linked in:
> [ 0.000000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted
> 4.16.0-rc6-next-20180320-00006-g841c1d1-dirty #257
> [ 0.000000] Hardware name: Excavator-RK3399 Board (DT)
> [ 0.000000] pstate: 60000085 (nZCv daIf -PAN -UAO)
> [ 0.000000] pc : gic_irq_domain_translate+0x84/0xe8
> [ 0.000000] lr : irq_create_fwspec_mapping+0x64/0x328
> [ 0.000000] sp : ffff000009033cb0
> [ 0.000000] x29: ffff000009033cb0 x28: 0000000000000002
> [ 0.000000] x27: ffff8000f280fc90 x26: 0000000000000003
> [ 0.000000] x25: 0000000000000000 x24: ffff8000f280fc80
> [ 0.000000] x23: ffff00000903c8f8 x22: ffff00000903c000
> [ 0.000000] x21: ffff000009033d88 x20: ffff000009039000
> [ 0.000000] x19: ffff8000f2825000 x18: ffffffffffffffff
> [ 0.000000] x17: 000000000000000a x16: 00000000000007ff
> [ 0.000000] x15: ffff0000090396c8 x14: 31407570632f7375
> [ 0.000000] x13: 70632f207b205d31 x12: 5b312d6e6f697469
> [ 0.000000] x11: 747261702d747075 x10: 727265746e69206e
> [ 0.000000] x9 : 6f69746974726170 x8 : 407570632f737570
> [ 0.000000] x7 : 0000000000000000 x6 : 0000000000000002
> [ 0.000000] x5 : 0000000000000001 x4 : ffff000008c153f8
> [ 0.000000] x3 : ffff000009033cec x2 : ffff000009033cf0
> [ 0.000000] x1 : ffff000009033d88 x0 : 0000000000000000
> [ 0.000000] Call trace:
> [ 0.000000] gic_irq_domain_translate+0x84/0xe8
> [ 0.000000] gic_populate_ppi_partitions+0x1fc/0x280
> [ 0.000000] gic_of_init+0x174/0x214
> [ 0.000000] of_irq_init+0x180/0x2e8
> [ 0.000000] irqchip_init+0x14/0x38
> [ 0.000000] init_IRQ+0xfc/0x130
> [ 0.000000] start_kernel+0x284/0x414
> [ 0.000000] ---[ end trace 5a16819db6b2d5d2 ]---
>
> commit 6ef6386ef7c15bea21afce06f951c87de7e2a562
> Author: Marc Zyngier <marc.zyngier@arm.com>
> Date: Fri Mar 16 14:35:17 2018 +0000
>
> irqchip/gic-v3: Loudly complain about the use of IRQ_TYPE_NONE
>
> There is a huge number of broken device trees out there. Just
> grepping through the tree for the use of IRQ_TYPE_NONE in conjunction
> with the GIC is scary.
>
> People just don't realise that IRQ_TYPE_NONE just doesn't exist, and
> you just get whatever junk was there before. So let's make them aware
> of the issue.
>
> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
next prev parent reply other threads:[~2018-03-20 10:13 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-20 8:48 Failed to boot ARM64 boards for recent linux-next Shawn Lin
2018-03-20 8:48 ` Shawn Lin
2018-03-20 9:01 ` Marc Zyngier
2018-03-20 9:01 ` Marc Zyngier
[not found] ` <077cecdd-7982-dd33-454f-e38cc571366c-5wv7dgnIgG8@public.gmane.org>
2018-03-20 9:32 ` Shawn Lin
2018-03-20 9:32 ` Shawn Lin
2018-03-20 9:39 ` Shawn Lin
2018-03-20 9:39 ` Shawn Lin
2018-03-20 10:13 ` JeffyChen [this message]
2018-03-20 10:13 ` JeffyChen
2018-03-20 13:34 ` Marc Zyngier
2018-03-20 13:34 ` Marc Zyngier
2018-03-20 15:52 ` John Garry
2018-03-20 15:52 ` John Garry
[not found] ` <cbc89d68-ba41-1f6a-4ab2-4c9647b48f75-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2018-03-20 16:06 ` Marc Zyngier
2018-03-20 16:06 ` Marc Zyngier
2018-03-20 16:52 ` John Garry
2018-03-20 16:52 ` John Garry
2018-03-20 17:00 ` Marc Zyngier
2018-03-20 17:00 ` Marc Zyngier
2018-03-21 0:34 ` Shawn Lin
2018-03-21 0:34 ` Shawn Lin
2018-03-21 6:10 ` JeffyChen
2018-03-21 6:10 ` JeffyChen
2018-03-21 8:52 ` Marc Zyngier
2018-03-21 8:52 ` Marc Zyngier
2018-03-21 9:18 ` JeffyChen
2018-03-21 9:18 ` JeffyChen
2018-03-21 9:33 ` Marc Zyngier
2018-03-21 9:33 ` Marc Zyngier
2018-03-21 12:04 ` JeffyChen
2018-03-21 12:04 ` JeffyChen
2018-03-21 12:20 ` Marc Zyngier
2018-03-21 12:20 ` Marc Zyngier
2018-03-20 10:33 ` Marc Zyngier
2018-03-20 10:33 ` Marc Zyngier
2018-03-20 9:56 ` Marc Zyngier
2018-03-20 9:56 ` Marc Zyngier
2018-03-20 10:06 ` Shawn Lin
2018-03-20 10:06 ` Shawn Lin
2018-03-20 12:43 ` Marc Zyngier
2018-03-20 12:43 ` Marc Zyngier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5AB0DEB2.4000803@rock-chips.com \
--to=jeffy.chen@rock-chips.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=marc.zyngier@arm.com \
--cc=robin.murphy@arm.com \
--cc=shawn.lin@rock-chips.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.