* Ивайло Димитров [130401 13:41]:
> It could be that I am misreading something, but RX51 is OMAP3.
Yes the FIQs are only accessible in the secure mode starting with
omap2. So that also means omap3, 4, 5.
Regards,
Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel"
* Ивайло Димитров freemangor...@abv.bg [130401 13:41]:
It could be that I am misreading something, but RX51 is OMAP3.
Yes the FIQs are only accessible in the secure mode starting with
omap2. So that also means omap3, 4, 5.
Regards,
Tony
--
To unsubscribe from this list: send the line
Hi,
On Sun, Mar 31, 2013 at 03:05:42PM +0300, Ивайло Димитров wrote:
> Yep, the code looks almost identical, I guess with some tweaks all SMC
> code from that patch could be removed and instead used the one from SMC
> PPA API.
>
> What I don't get, is why one needs to disable/enable fiqs/irqs:
It could be that I am misreading something, but RX51 is OMAP3.
Regards,
Ivo
> Оригинално писмо
>От: Tony Lindgren
>Относно: Re: [PATCH] OMAP3 ROM Random Number Generator support
>До: Ивайло Димитров
>Изпратено на: Понеделник, 2013, Април
* Ивайло Димитров [130331 05:10]:
>
> Hi Pali,
>
> Yep, the code looks almost identical, I guess with some tweaks all SMC code
> from that patch could be removed and instead used the one from SMC PPA API.
>
> What I don't get, is why one needs to disable/enable fiqs/irqs:
>
> +static int
* Pali Rohár [130331 02:32]:
> On Thursday 28 March 2013 22:44:11 Tony Lindgren wrote:
> >
> > You can use regular clk_get if you add the alias to
> > struct omap_clk omap3xxx_clks table.
>
> Tony, can you show me how?
Take a look at the omap3xxx_clks in cclock3xxx_data.c.
Note how some
* Pali Rohár pali.ro...@gmail.com [130331 02:32]:
On Thursday 28 March 2013 22:44:11 Tony Lindgren wrote:
You can use regular clk_get if you add the alias to
struct omap_clk omap3xxx_clks table.
Tony, can you show me how?
Take a look at the omap3xxx_clks in cclock3xxx_data.c.
Note how
* Ивайло Димитров freemangor...@abv.bg [130331 05:10]:
Hi Pali,
Yep, the code looks almost identical, I guess with some tweaks all SMC code
from that patch could be removed and instead used the one from SMC PPA API.
What I don't get, is why one needs to disable/enable fiqs/irqs:
It could be that I am misreading something, but RX51 is OMAP3.
Regards,
Ivo
Оригинално писмо
От: Tony Lindgren
Относно: Re: [PATCH] OMAP3 ROM Random Number Generator support
До: Ивайло Димитров
Изпратено на: Понеделник, 2013, Април 1 19:59:50 EEST
* Ивайло
Hi,
On Sun, Mar 31, 2013 at 03:05:42PM +0300, Ивайло Димитров wrote:
Yep, the code looks almost identical, I guess with some tweaks all SMC
code from that patch could be removed and instead used the one from SMC
PPA API.
What I don't get, is why one needs to disable/enable fiqs/irqs:
[..]
On Sunday 31 March 2013 14:05:42 Ивайло Димитров wrote:
> Hi Pali,
>
> Yep, the code looks almost identical, I guess with some tweaks
> all SMC code from that patch could be removed and instead
> used the one from SMC PPA API.
>
> What I don't get, is why one needs to disable/enable
> fiqs/irqs:
understanding...
Regards,
Ivo
> Оригинално писмо
>От: Pali Rohár
>Относно: Re: [PATCH] OMAP3 ROM Random Number Generator support
>До: Tony Lindgren
>Изпратено на: Неделя, 2013, Март 31 12:28:12 EEST
>
>
>On Thursday 28 March 2013 22:44:11 Tony Li
On Thursday 28 March 2013 22:44:11 Tony Lindgren wrote:
> * Pali Rohár [130328 10:58]:
> > Here is new version of patch:
> >
> > --- a/arch/arm/mach-omap2/devices.c
> > +++ b/arch/arm/mach-omap2/devices.c
> > @@ -486,6 +486,23 @@ static void omap_init_mcspi(void)
> >
> > static inline void
On Thursday 28 March 2013 22:44:11 Tony Lindgren wrote:
* Pali Rohár pali.ro...@gmail.com [130328 10:58]:
Here is new version of patch:
--- a/arch/arm/mach-omap2/devices.c
+++ b/arch/arm/mach-omap2/devices.c
@@ -486,6 +486,23 @@ static void omap_init_mcspi(void)
static inline
understanding...
Regards,
Ivo
Оригинално писмо
От: Pali Rohár
Относно: Re: [PATCH] OMAP3 ROM Random Number Generator support
До: Tony Lindgren
Изпратено на: Неделя, 2013, Март 31 12:28:12 EEST
On Thursday 28 March 2013 22:44:11 Tony Lindgren wrote:
* Pali Rohár
On Sunday 31 March 2013 14:05:42 Ивайло Димитров wrote:
Hi Pali,
Yep, the code looks almost identical, I guess with some tweaks
all SMC code from that patch could be removed and instead
used the one from SMC PPA API.
What I don't get, is why one needs to disable/enable
fiqs/irqs:
* Pali Rohár [130328 10:58]:
>
> Here is new version of patch:
>
> --- a/arch/arm/mach-omap2/devices.c
> +++ b/arch/arm/mach-omap2/devices.c
> @@ -486,6 +486,23 @@ static void omap_init_mcspi(void)
> static inline void omap_init_mcspi(void) {}
> #endif
>
> +extern u32
On Wednesday 27 March 2013 23:25:24 Tony Lindgren wrote:
> * Pali Rohár [130327 15:08]:
> > I will remove above code for checking omap type from hw rand
> > driver, because same code is in omap part which creating
> > platform_device for this driver. So soc.h is not needed.
>
> OK thanks,
>
>
On Thursday 28 March 2013 10:52:28 Russell King - ARM Linux
wrote:
> On Wed, Mar 27, 2013 at 02:09:18PM -0700, Tony Lindgren wrote:
> > > + setup_timer(_timer, omap3_rom_idle_rng, 0);
> > > + rng_clk = clk_get_sys("omap_rng", "ick");
>
> Why is this using clk_get_sys when it should be using
>
On Wed, Mar 27, 2013 at 02:09:18PM -0700, Tony Lindgren wrote:
> > + setup_timer(_timer, omap3_rom_idle_rng, 0);
> > + rng_clk = clk_get_sys("omap_rng", "ick");
Why is this using clk_get_sys when it should be using clk_get() with the
platform device?
--
To unsubscribe from this list: send the
On Thursday 28 March 2013 10:52:28 Russell King - ARM Linux
wrote:
On Wed, Mar 27, 2013 at 02:09:18PM -0700, Tony Lindgren wrote:
+ setup_timer(idle_timer, omap3_rom_idle_rng, 0);
+ rng_clk = clk_get_sys(omap_rng, ick);
Why is this using clk_get_sys when it should be using
clk_get()
On Wednesday 27 March 2013 23:25:24 Tony Lindgren wrote:
* Pali Rohár pali.ro...@gmail.com [130327 15:08]:
I will remove above code for checking omap type from hw rand
driver, because same code is in omap part which creating
platform_device for this driver. So soc.h is not needed.
OK
* Pali Rohár pali.ro...@gmail.com [130328 10:58]:
Here is new version of patch:
--- a/arch/arm/mach-omap2/devices.c
+++ b/arch/arm/mach-omap2/devices.c
@@ -486,6 +486,23 @@ static void omap_init_mcspi(void)
static inline void omap_init_mcspi(void) {}
#endif
+extern u32
On Wed, Mar 27, 2013 at 02:09:18PM -0700, Tony Lindgren wrote:
+ setup_timer(idle_timer, omap3_rom_idle_rng, 0);
+ rng_clk = clk_get_sys(omap_rng, ick);
Why is this using clk_get_sys when it should be using clk_get() with the
platform device?
--
To unsubscribe from this list: send the
* Pali Rohár [130327 15:08]:
>
> I will remove above code for checking omap type from hw rand
> driver, because same code is in omap part which creating
> platform_device for this driver. So soc.h is not needed.
OK thanks,
Tony
--
To unsubscribe from this list: send the line "unsubscribe
On Wednesday 27 March 2013 22:09:18 Tony Lindgren wrote:
> * Pali Rohár [130228 10:09]:
> > --- /dev/null
> > +++ b/drivers/char/hw_random/omap3-rom-asm.S
> > @@ -0,0 +1,27 @@
> > +/*
> > + * Copyright (C) 2009 Nokia Corporation
> > + *
> > + * This program is free software; you can redistribute
* Pali Rohár [130228 10:09]:
> --- /dev/null
> +++ b/drivers/char/hw_random/omap3-rom-asm.S
> @@ -0,0 +1,27 @@
> +/*
> + * Copyright (C) 2009 Nokia Corporation
> + *
> + * This program is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public
* Pali Rohár pali.ro...@gmail.com [130228 10:09]:
--- /dev/null
+++ b/drivers/char/hw_random/omap3-rom-asm.S
@@ -0,0 +1,27 @@
+/*
+ * Copyright (C) 2009 Nokia Corporation
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General
On Wednesday 27 March 2013 22:09:18 Tony Lindgren wrote:
* Pali Rohár pali.ro...@gmail.com [130228 10:09]:
--- /dev/null
+++ b/drivers/char/hw_random/omap3-rom-asm.S
@@ -0,0 +1,27 @@
+/*
+ * Copyright (C) 2009 Nokia Corporation
+ *
+ * This program is free software; you can
* Pali Rohár pali.ro...@gmail.com [130327 15:08]:
I will remove above code for checking omap type from hw rand
driver, because same code is in omap part which creating
platform_device for this driver. So soc.h is not needed.
OK thanks,
Tony
--
To unsubscribe from this list: send the line
On Thursday 28 February 2013 19:05:47 Pali Rohár wrote:
> This driver provides kernel-side support for the Random Number
> Generator hardware found on OMAP34xx processors.
>
> This driver is included in Maemo 2.6.28 kernel used on Nokia
> N900.
>
> I fixed driver to work with 3.8 kernel and
On Thursday 28 February 2013 19:05:47 Pali Rohár wrote:
This driver provides kernel-side support for the Random Number
Generator hardware found on OMAP34xx processors.
This driver is included in Maemo 2.6.28 kernel used on Nokia
N900.
I fixed driver to work with 3.8 kernel and added
This driver provides kernel-side support for the Random Number
Generator hardware found on OMAP34xx processors.
This driver is included in Maemo 2.6.28 kernel used on Nokia N900.
I fixed driver to work with 3.8 kernel and added platform_driver
code to autoload it on omap3 devices.
diff --git
This driver provides kernel-side support for the Random Number
Generator hardware found on OMAP34xx processors.
This driver is included in Maemo 2.6.28 kernel used on Nokia N900.
I fixed driver to work with 3.8 kernel and added platform_driver
code to autoload it on omap3 devices.
diff --git
34 matches
Mail list logo