Re: [PATCH v2 01/21] mips: add support to restore exception vector base before booting linux

2020-01-19 Thread Weijie Gao
On Sun, 2020-01-19 at 12:18 +0800, Weijie Gao wrote: > On Fri, 2020-01-17 at 13:15 +0100, Daniel Schwierzeck wrote: > > > > Am 17.01.20 um 08:45 schrieb Weijie Gao: > > > In U-Boot the exception vector base will be moved to top of memory, to be > > > used to display register dump when exception

Re: [PATCH v2 01/21] mips: add support to restore exception vector base before booting linux

2020-01-18 Thread Weijie Gao
On Fri, 2020-01-17 at 13:15 +0100, Daniel Schwierzeck wrote: > > Am 17.01.20 um 08:45 schrieb Weijie Gao: > > In U-Boot the exception vector base will be moved to top of memory, to be > > used to display register dump when exception occurs. > > > > But some old linux kernel does not honor the

Re: [PATCH v2 01/21] mips: add support to restore exception vector base before booting linux

2020-01-17 Thread Daniel Schwierzeck
Am 17.01.20 um 08:45 schrieb Weijie Gao: > In U-Boot the exception vector base will be moved to top of memory, to be > used to display register dump when exception occurs. > > But some old linux kernel does not honor the base set in CP0_EBASE. A > modified exception vector base will cause

[PATCH v2 01/21] mips: add support to restore exception vector base before booting linux

2020-01-16 Thread Weijie Gao
In U-Boot the exception vector base will be moved to top of memory, to be used to display register dump when exception occurs. But some old linux kernel does not honor the base set in CP0_EBASE. A modified exception vector base will cause kernel crash. This patch adds an option to enable reset