Re: [PATCH] riscv: Do not invoke early_init_dt_verify() twice

2021-03-25 Thread Changbin Du
On Wed, Mar 24, 2021 at 08:51:06PM +0530, Anup Patel wrote: > On Wed, Mar 24, 2021 at 8:33 PM Changbin Du wrote: > > > > In the setup_arch() of riscv, function early_init_dt_verify() has > > been done by parse_dtb(). So no need to call it again. Just directly > > invoke unflatten_device_tree(). >

Re: [PATCH] riscv: Do not invoke early_init_dt_verify() twice

2021-03-24 Thread Anup Patel
On Wed, Mar 24, 2021 at 8:33 PM Changbin Du wrote: > > In the setup_arch() of riscv, function early_init_dt_verify() has > been done by parse_dtb(). So no need to call it again. Just directly > invoke unflatten_device_tree(). > > Signed-off-by: Changbin Du > --- > arch/riscv/kernel/setup.c | 5 +

[PATCH] riscv: Do not invoke early_init_dt_verify() twice

2021-03-24 Thread Changbin Du
In the setup_arch() of riscv, function early_init_dt_verify() has been done by parse_dtb(). So no need to call it again. Just directly invoke unflatten_device_tree(). Signed-off-by: Changbin Du --- arch/riscv/kernel/setup.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/