[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID:
<MAUPR01MB11072A30DFBCC8E1F8CD7219AFE3EA@MAUPR01MB11072.INDPRD01.PROD.OUTLOOK.COM>
Date: Mon, 25 Aug 2025 15:00:21 +0800
From: Chen Wang <unicorn_wang@...look.com>
To: Inochi Amaoto <inochiama@...il.com>
Cc: Chen Wang <unicornxw@...il.com>, u.kleine-koenig@...libre.com,
aou@...s.berkeley.edu, conor+dt@...nel.org, inochiama@...il.com,
krzk+dt@...nel.org, looong.bin@...il.com, palmer@...belt.com,
paul.walmsley@...ive.com, robh@...nel.org, tglx@...utronix.de,
sycamoremoon376@...il.com, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-riscv@...ts.infradead.org,
sophgo@...ts.linux.dev
Subject: Re: [PATCH 4/4] riscv: sophgo: dts: sg2044: change msi irq type to
IRQ_TYPE_EDGE_RISING
Hi, Inochi,
Please help review and test this with SG2044 board, I only have
pioneerbox/SG2042 and it's tested and works.
Thanks,
Chen
On 8/25/2025 2:56 PM, Chen Wang wrote:
> From: Chen Wang <unicorn_wang@...look.com>
>
> The latest MSI driver will read the DTS configuration to set the IRQ type,
> so correct the IRQ type in the DTS to the correct value.
>
> This field in the DTS was not used before.
>
> Signed-off-by: Chen Wang <unicorn_wang@...look.com>
> ---
> arch/riscv/boot/dts/sophgo/sg2044.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/riscv/boot/dts/sophgo/sg2044.dtsi b/arch/riscv/boot/dts/sophgo/sg2044.dtsi
> index 6ec955744b0c..320c4d1d08e6 100644
> --- a/arch/riscv/boot/dts/sophgo/sg2044.dtsi
> +++ b/arch/riscv/boot/dts/sophgo/sg2044.dtsi
> @@ -214,7 +214,7 @@ msi: msi-controller@...0000000 {
> reg-names = "clr", "doorbell";
> #msi-cells = <0>;
> msi-controller;
> - msi-ranges = <&intc 352 IRQ_TYPE_LEVEL_HIGH 512>;
> + msi-ranges = <&intc 352 IRQ_TYPE_EDGE_RISING 512>;
> status = "disabled";
> };
>
Powered by blists - more mailing lists