From: Leo Liang <ycliang@andestech.com>
To: Niklas Cassel <Niklas.Cassel@wdc.com>
Cc: Sean Anderson <seanga2@gmail.com>, Rick Chen <rick@andestech.com>,
"damien.lemoal@opensource.wdc.com"
<damien.lemoal@opensource.wdc.com>,
"u-boot@lists.denx.de" <u-boot@lists.denx.de>
Subject: Re: [PATCH v2 4/8] k210: dts: align plic node with Linux
Date: Tue, 15 Mar 2022 17:41:11 +0800 [thread overview]
Message-ID: <20220315094111.GA28277@atcfdc88> (raw)
In-Reply-To: <20220301103529.3060257-5-Niklas.Cassel@wdc.com>
On Tue, Mar 01, 2022 at 10:35:42AM +0000, Niklas Cassel wrote:
> From: Niklas Cassel <niklas.cassel@wdc.com>
>
> The Linux PLIC interrupt-controller driver actually initializes the hart
> context registers in the PLIC driver exactly in the same order as
> specified in the interrupts-extended device tree property. See the device
> tree binding [1].
>
> The ordering of the interrupts is therefore essential in order to
> configure the PLIC correctly.
>
> Fix the order so that we will have sane IRQ behavior when booting Linux
> with the u-boot device tree.
>
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml
>
> Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
next prev parent reply other threads:[~2022-03-15 9:41 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-01 10:35 [PATCH v2 0/8] canaan k210 SoC fixes Niklas Cassel
2022-03-01 10:35 ` [PATCH v2 1/8] k210: use the board vendor name rather than the marketing name Niklas Cassel
2022-03-15 9:40 ` Leo Liang
2022-03-01 10:35 ` [PATCH v2 2/8] k210: dts: add missing power bus clocks Niklas Cassel
2022-03-01 10:35 ` [PATCH v2 3/8] k210: dts: align fpioa node with Linux Niklas Cassel
2022-03-01 10:35 ` [PATCH v2 4/8] k210: dts: align plic " Niklas Cassel
2022-03-15 9:41 ` Leo Liang [this message]
2022-03-01 10:35 ` [PATCH v2 5/8] spi: dw: Force set K210 fifo length to 31 Niklas Cassel
2022-03-01 10:35 ` [PATCH v2 6/8] spi: dw: Actually mask interrupts Niklas Cassel
2022-03-01 10:35 ` [PATCH v2 7/8] pinctrl: k210: Fix loop in k210_pc_get_drive() Niklas Cassel
2022-03-01 10:35 ` [PATCH v2 8/8] pinctrl: k210: Fix bias-pull-up Niklas Cassel
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=20220315094111.GA28277@atcfdc88 \
--to=ycliang@andestech.com \
--cc=Niklas.Cassel@wdc.com \
--cc=damien.lemoal@opensource.wdc.com \
--cc=rick@andestech.com \
--cc=seanga2@gmail.com \
--cc=u-boot@lists.denx.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox