Re: [PATCH v2] drivers/soc/litex: Add restart handler

2021-01-19 Thread Geert Uytterhoeven
Hi Stafford, On Mon, Jan 18, 2021 at 10:16 PM Stafford Horne wrote: > On Mon, Jan 18, 2021 at 01:27:32PM +0100, Geert Uytterhoeven wrote: > > On Mon, Jan 18, 2021 at 12:43 PM Stafford Horne wrote: > > > On Thu, Jan 14, 2021 at 02:48:49PM +0100, Geert Uytterhoeven wrote: > > > > On Thu, Jan 14,

Re: [PATCH v2] drivers/soc/litex: Add restart handler

2021-01-18 Thread Stafford Horne
On Mon, Jan 18, 2021 at 01:27:32PM +0100, Geert Uytterhoeven wrote: > Hi Stafford, > > On Mon, Jan 18, 2021 at 12:43 PM Stafford Horne wrote: > > On Thu, Jan 14, 2021 at 02:48:49PM +0100, Geert Uytterhoeven wrote: > > > On Thu, Jan 14, 2021 at 3:03 AM Stafford Horne wrote: > > > > On Mon, Jan

Re: [PATCH v2] drivers/soc/litex: Add restart handler

2021-01-18 Thread Geert Uytterhoeven
Hi Stafford, On Mon, Jan 18, 2021 at 12:43 PM Stafford Horne wrote: > On Thu, Jan 14, 2021 at 02:48:49PM +0100, Geert Uytterhoeven wrote: > > On Thu, Jan 14, 2021 at 3:03 AM Stafford Horne wrote: > > > On Mon, Jan 04, 2021 at 05:49:03PM +0100, Geert Uytterhoeven wrote: > > > > On Mon, Jan 4,

Re: [PATCH v2] drivers/soc/litex: Add restart handler

2021-01-18 Thread Stafford Horne
On Thu, Jan 14, 2021 at 02:48:49PM +0100, Geert Uytterhoeven wrote: > Hi Stafford, > > On Thu, Jan 14, 2021 at 3:03 AM Stafford Horne wrote: > > On Mon, Jan 04, 2021 at 05:49:03PM +0100, Geert Uytterhoeven wrote: > > > On Mon, Jan 4, 2021 at 5:45 PM Geert Uytterhoeven > > > wrote: > > > > Let

Re: [PATCH v2] drivers/soc/litex: Add restart handler

2021-01-14 Thread Geert Uytterhoeven
Hi Stafford, On Thu, Jan 14, 2021 at 3:03 AM Stafford Horne wrote: > On Mon, Jan 04, 2021 at 05:49:03PM +0100, Geert Uytterhoeven wrote: > > On Mon, Jan 4, 2021 at 5:45 PM Geert Uytterhoeven > > wrote: > > > Let the LiteX SoC Controller a register a restart handler, which resets > > > the

Re: [PATCH v2] drivers/soc/litex: Add restart handler

2021-01-13 Thread Stafford Horne
On Mon, Jan 04, 2021 at 05:49:03PM +0100, Geert Uytterhoeven wrote: > On Mon, Jan 4, 2021 at 5:45 PM Geert Uytterhoeven > wrote: > > Let the LiteX SoC Controller a register a restart handler, which resets > > the LiteX SoC by writing 1 to CSR_CTRL_RESET_ADDR. > > > > Signed-off-by: Geert

Re: [PATCH v2] drivers/soc/litex: Add restart handler

2021-01-04 Thread Geert Uytterhoeven
On Mon, Jan 4, 2021 at 5:45 PM Geert Uytterhoeven wrote: > Let the LiteX SoC Controller a register a restart handler, which resets > the LiteX SoC by writing 1 to CSR_CTRL_RESET_ADDR. > > Signed-off-by: Geert Uytterhoeven > --- > Tested with linux-on-litex-vexriscv. > > This patch is based on

[PATCH v2] drivers/soc/litex: Add restart handler

2021-01-04 Thread Geert Uytterhoeven
Let the LiteX SoC Controller a register a restart handler, which resets the LiteX SoC by writing 1 to CSR_CTRL_RESET_ADDR. Signed-off-by: Geert Uytterhoeven --- Tested with linux-on-litex-vexriscv. This patch is based on upstream, i.e. not on top of Gabriel Somlo's "[PATCH v5 0/4]