Message ID | 20230119070544.7423-2-peterlin@andestech.com |
---|---|
State | Superseded |
Delegated to: | Andes |
Headers | show |
Series | cache operation cleanups for Andes AE350 platform | expand |
On Thu, Jan 19, 2023 at 03:05:34PM +0800, Yu Chien Peter Lin wrote: > PLIC is used for external interrupt, while PLICSW is an Andes-specific > design for software interrupt. > > Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com> > --- > arch/riscv/include/asm/global_data.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
> From: Peter Yu-Chien Lin(林宇謙) <peterlin@andestech.com> > Sent: Thursday, January 19, 2023 3:06 PM > To: u-boot@lists.denx.de > Cc: Leo Yu-Chi Liang(梁育齊) <ycliang@andestech.com>; Rick Jian-Zhi Chen(陳建志) <rick@andestech.com>; Peter Yu-Chien Lin(林宇謙) <peterlin@andestech.com> > Subject: [PATCH 01/11] riscv: global_data.h: Correct the comment for PLICSW > > PLIC is used for external interrupt, while PLICSW is an Andes-specific design for software interrupt. > > Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com> > --- > arch/riscv/include/asm/global_data.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) It seems not relative to cache. Other than that, Reviewed-by: Rick Chen <rick@andestech.com> > > diff --git a/arch/riscv/include/asm/global_data.h b/arch/riscv/include/asm/global_data.h > index 6fdc86dd8b..31ba72693d 100644 > --- a/arch/riscv/include/asm/global_data.h > +++ b/arch/riscv/include/asm/global_data.h > @@ -22,7 +22,7 @@ struct arch_global_data { > void __iomem *clint; /* clint base address */ > #endif > #ifdef CONFIG_ANDES_PLICSW > - void __iomem *plicsw; /* plic base address */ > + void __iomem *plicsw; /* andes plicsw base address */ > #endif > #if CONFIG_IS_ENABLED(SMP) > struct ipi_data ipi[CONFIG_NR_CPUS]; > -- > 2.34.1
diff --git a/arch/riscv/include/asm/global_data.h b/arch/riscv/include/asm/global_data.h index 6fdc86dd8b..31ba72693d 100644 --- a/arch/riscv/include/asm/global_data.h +++ b/arch/riscv/include/asm/global_data.h @@ -22,7 +22,7 @@ struct arch_global_data { void __iomem *clint; /* clint base address */ #endif #ifdef CONFIG_ANDES_PLICSW - void __iomem *plicsw; /* plic base address */ + void __iomem *plicsw; /* andes plicsw base address */ #endif #if CONFIG_IS_ENABLED(SMP) struct ipi_data ipi[CONFIG_NR_CPUS];
PLIC is used for external interrupt, while PLICSW is an Andes-specific design for software interrupt. Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com> --- arch/riscv/include/asm/global_data.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)