Re: [PATCH] reset: socfpga: use arch_initcall for early initialization

2014-10-18 Thread Arnd Bergmann
On Friday 10 October 2014 11:32:35 atull wrote: > On Thu, 9 Oct 2014, Steffen Trumtrar wrote: > > Do you have an example where this is really needed? > > My last version of the fpga manager framework > (https://lkml.org/lkml/2014/8/1/518) > added fpga_mgr_firmware_write(). This can be called

Re: [PATCH] reset: socfpga: use arch_initcall for early initialization

2014-10-18 Thread Arnd Bergmann
On Friday 10 October 2014 11:32:35 atull wrote: On Thu, 9 Oct 2014, Steffen Trumtrar wrote: Do you have an example where this is really needed? My last version of the fpga manager framework (https://lkml.org/lkml/2014/8/1/518) added fpga_mgr_firmware_write(). This can be called from a

Re: [PATCH] reset: socfpga: use arch_initcall for early initialization

2014-10-15 Thread Dinh Nguyen
On 10/15/14, 5:02 AM, Steffen Trumtrar wrote: > Hi! > > On Tue, Oct 14, 2014 at 01:45:29PM -0500, atull wrote: >> The FPGA bridge driver that I submitted last year handled the following >> things: >> * The bridges might have been brought out of reset in the bootloader. Some >>of the

Re: [PATCH] reset: socfpga: use arch_initcall for early initialization

2014-10-15 Thread Steffen Trumtrar
Hi! On Tue, Oct 14, 2014 at 01:45:29PM -0500, atull wrote: > The FPGA bridge driver that I submitted last year handled the following > things: > * The bridges might have been brought out of reset in the bootloader. Some >of the bridges have write-only registers (!) so this information had to

Re: [PATCH] reset: socfpga: use arch_initcall for early initialization

2014-10-15 Thread Steffen Trumtrar
Hi! On Tue, Oct 14, 2014 at 01:45:29PM -0500, atull wrote: The FPGA bridge driver that I submitted last year handled the following things: * The bridges might have been brought out of reset in the bootloader. Some of the bridges have write-only registers (!) so this information had to

Re: [PATCH] reset: socfpga: use arch_initcall for early initialization

2014-10-15 Thread Dinh Nguyen
On 10/15/14, 5:02 AM, Steffen Trumtrar wrote: Hi! On Tue, Oct 14, 2014 at 01:45:29PM -0500, atull wrote: The FPGA bridge driver that I submitted last year handled the following things: * The bridges might have been brought out of reset in the bootloader. Some of the bridges have

Re: [PATCH] reset: socfpga: use arch_initcall for early initialization

2014-10-14 Thread atull
On Fri, 10 Oct 2014, atull wrote: > On Thu, 9 Oct 2014, Steffen Trumtrar wrote: > > Hi Steffen, > > > Hi! > > > > On Thu, Oct 09, 2014 at 09:57:49AM -0500, atull wrote: > > > On Thu, 9 Oct 2014, Steffen Trumtrar wrote: > > > > > > > On Thu, Oct 09, 2014 at 08:16:18AM -0500, Dinh Nguyen wrote:

Re: [PATCH] reset: socfpga: use arch_initcall for early initialization

2014-10-14 Thread atull
On Fri, 10 Oct 2014, atull wrote: On Thu, 9 Oct 2014, Steffen Trumtrar wrote: Hi Steffen, Hi! On Thu, Oct 09, 2014 at 09:57:49AM -0500, atull wrote: On Thu, 9 Oct 2014, Steffen Trumtrar wrote: On Thu, Oct 09, 2014 at 08:16:18AM -0500, Dinh Nguyen wrote: Hi Philipp,

Re: [PATCH] reset: socfpga: use arch_initcall for early initialization

2014-10-12 Thread Pavel Machek
Hi! > From: Dinh Nguyen > > There are certain drivers that are required to get loaded very early using > arch_initcall. An example of such a driver is the SOCFPGA's FPGA bridge > driver. > This driver has to get loaded early because it needs to enable FPGA components > that are connected to

Re: [PATCH] reset: socfpga: use arch_initcall for early initialization

2014-10-12 Thread Pavel Machek
Hi! From: Dinh Nguyen dingu...@opensource.altera.com There are certain drivers that are required to get loaded very early using arch_initcall. An example of such a driver is the SOCFPGA's FPGA bridge driver. This driver has to get loaded early because it needs to enable FPGA components

Re: [PATCH] reset: socfpga: use arch_initcall for early initialization

2014-10-10 Thread atull
On Thu, 9 Oct 2014, Steffen Trumtrar wrote: Hi Steffen, > Hi! > > On Thu, Oct 09, 2014 at 09:57:49AM -0500, atull wrote: > > On Thu, 9 Oct 2014, Steffen Trumtrar wrote: > > > > > On Thu, Oct 09, 2014 at 08:16:18AM -0500, Dinh Nguyen wrote: > > > > Hi Philipp, > > > > > > > > On 10/9/14, 4:03

Re: [PATCH] reset: socfpga: use arch_initcall for early initialization

2014-10-10 Thread atull
On Thu, 9 Oct 2014, Steffen Trumtrar wrote: Hi Steffen, Hi! On Thu, Oct 09, 2014 at 09:57:49AM -0500, atull wrote: On Thu, 9 Oct 2014, Steffen Trumtrar wrote: On Thu, Oct 09, 2014 at 08:16:18AM -0500, Dinh Nguyen wrote: Hi Philipp, On 10/9/14, 4:03 AM, Philipp Zabel

Re: [PATCH] reset: socfpga: use arch_initcall for early initialization

2014-10-09 Thread Steffen Trumtrar
Hi! On Thu, Oct 09, 2014 at 09:57:49AM -0500, atull wrote: > On Thu, 9 Oct 2014, Steffen Trumtrar wrote: > > > On Thu, Oct 09, 2014 at 08:16:18AM -0500, Dinh Nguyen wrote: > > > Hi Philipp, > > > > > > On 10/9/14, 4:03 AM, Philipp Zabel wrote: > > > > Am Mittwoch, den 08.10.2014, 21:44 -0500

Re: [PATCH] reset: socfpga: use arch_initcall for early initialization

2014-10-09 Thread atull
On Thu, 9 Oct 2014, Steffen Trumtrar wrote: > On Thu, Oct 09, 2014 at 08:16:18AM -0500, Dinh Nguyen wrote: > > Hi Philipp, > > > > On 10/9/14, 4:03 AM, Philipp Zabel wrote: > > > Am Mittwoch, den 08.10.2014, 21:44 -0500 schrieb > > > dingu...@opensource.altera.com: > > >> From: Dinh Nguyen > >

Re: [PATCH] reset: socfpga: use arch_initcall for early initialization

2014-10-09 Thread Steffen Trumtrar
On Thu, Oct 09, 2014 at 08:16:18AM -0500, Dinh Nguyen wrote: > Hi Philipp, > > On 10/9/14, 4:03 AM, Philipp Zabel wrote: > > Am Mittwoch, den 08.10.2014, 21:44 -0500 schrieb > > dingu...@opensource.altera.com: > >> From: Dinh Nguyen > >> > >> There are certain drivers that are required to get

Re: [PATCH] reset: socfpga: use arch_initcall for early initialization

2014-10-09 Thread Dinh Nguyen
Hi Philipp, On 10/9/14, 4:03 AM, Philipp Zabel wrote: > Am Mittwoch, den 08.10.2014, 21:44 -0500 schrieb > dingu...@opensource.altera.com: >> From: Dinh Nguyen >> >> There are certain drivers that are required to get loaded very early using >> arch_initcall. An example of such a driver is the

Re: [PATCH] reset: socfpga: use arch_initcall for early initialization

2014-10-09 Thread Philipp Zabel
Am Mittwoch, den 08.10.2014, 21:44 -0500 schrieb dingu...@opensource.altera.com: > From: Dinh Nguyen > > There are certain drivers that are required to get loaded very early using > arch_initcall. An example of such a driver is the SOCFPGA's FPGA bridge > driver. > This driver has to get loaded

Re: [PATCH] reset: socfpga: use arch_initcall for early initialization

2014-10-09 Thread Philipp Zabel
Am Mittwoch, den 08.10.2014, 21:44 -0500 schrieb dingu...@opensource.altera.com: From: Dinh Nguyen dingu...@opensource.altera.com There are certain drivers that are required to get loaded very early using arch_initcall. An example of such a driver is the SOCFPGA's FPGA bridge driver. This

Re: [PATCH] reset: socfpga: use arch_initcall for early initialization

2014-10-09 Thread Dinh Nguyen
Hi Philipp, On 10/9/14, 4:03 AM, Philipp Zabel wrote: Am Mittwoch, den 08.10.2014, 21:44 -0500 schrieb dingu...@opensource.altera.com: From: Dinh Nguyen dingu...@opensource.altera.com There are certain drivers that are required to get loaded very early using arch_initcall. An example of

Re: [PATCH] reset: socfpga: use arch_initcall for early initialization

2014-10-09 Thread Steffen Trumtrar
On Thu, Oct 09, 2014 at 08:16:18AM -0500, Dinh Nguyen wrote: Hi Philipp, On 10/9/14, 4:03 AM, Philipp Zabel wrote: Am Mittwoch, den 08.10.2014, 21:44 -0500 schrieb dingu...@opensource.altera.com: From: Dinh Nguyen dingu...@opensource.altera.com There are certain drivers that are

Re: [PATCH] reset: socfpga: use arch_initcall for early initialization

2014-10-09 Thread atull
On Thu, 9 Oct 2014, Steffen Trumtrar wrote: On Thu, Oct 09, 2014 at 08:16:18AM -0500, Dinh Nguyen wrote: Hi Philipp, On 10/9/14, 4:03 AM, Philipp Zabel wrote: Am Mittwoch, den 08.10.2014, 21:44 -0500 schrieb dingu...@opensource.altera.com: From: Dinh Nguyen

Re: [PATCH] reset: socfpga: use arch_initcall for early initialization

2014-10-09 Thread Steffen Trumtrar
Hi! On Thu, Oct 09, 2014 at 09:57:49AM -0500, atull wrote: On Thu, 9 Oct 2014, Steffen Trumtrar wrote: On Thu, Oct 09, 2014 at 08:16:18AM -0500, Dinh Nguyen wrote: Hi Philipp, On 10/9/14, 4:03 AM, Philipp Zabel wrote: Am Mittwoch, den 08.10.2014, 21:44 -0500 schrieb

[PATCH] reset: socfpga: use arch_initcall for early initialization

2014-10-08 Thread dinguyen
From: Dinh Nguyen There are certain drivers that are required to get loaded very early using arch_initcall. An example of such a driver is the SOCFPGA's FPGA bridge driver. This driver has to get loaded early because it needs to enable FPGA components that are connected to the bridge. This FPGA

[PATCH] reset: socfpga: use arch_initcall for early initialization

2014-10-08 Thread dinguyen
From: Dinh Nguyen dingu...@opensource.altera.com There are certain drivers that are required to get loaded very early using arch_initcall. An example of such a driver is the SOCFPGA's FPGA bridge driver. This driver has to get loaded early because it needs to enable FPGA components that are