ions where it is available but tricky to enable) the
code to change groups does not deploy and all IPIs will be raised via
IRQ.
Signed-off-by: Daniel Thompson
Cc: Thomas Gleixner
Cc: Jason Cooper
Cc: Russell King
Cc: Marc Zyngier
Tested-by: Jon Medhurst
---
drivers/irqchip/irq-gic.c
oftirq() we no
longer need to mask interrupts during gic_raise_softirq() because the
b.L migration is always performed from task context.
Signed-off-by: Daniel Thompson
Cc: Thomas Gleixner
Cc: Jason Cooper
Cc: Russell King
Cc: Marc Zyngier
Acked-by: Nicolas Pitre
---
drivers/irqchip/irq-gic.
ment using FIQ.
Signed-off-by: Daniel Thompson
---
arch/arm/include/asm/smp.h | 9 +
arch/arm/kernel/smp.c | 6 ++
arch/arm/kernel/traps.c| 9 -
3 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/arch/arm/include/asm/smp.h b/arch/arm/include/asm/smp.h
i
finer
grain lock and providing conditionally compiled inlines to lock/unlock
it.
Signed-off-by: Daniel Thompson
Cc: Thomas Gleixner
Cc: Jason Cooper
Cc: Russell King
Cc: Marc Zyngier
Acked-by: Nicolas Pitre
---
drivers/irqchip/irq-gic.c | 36 +---
1 file changed
MULTI_IRQ_HANDLER support by clearing FIQs using
handle_arch_irq (Marc Zygnier).
* Fix gic_cpu_if_down() to ensure group 1 interrupts are disabled
when the interface is brought down.
For changes in v20 and earlier see:
http://thread.gmane.org/gmane.linux.kernel/1928465
Daniel Thompson (4):
irqchip
ions where it is available but tricky to enable) the
code to change groups does not deploy and all IPIs will be raised via
IRQ.
Signed-off-by: Daniel Thompson <daniel.thomp...@linaro.org>
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Jason Cooper <ja...@lakedaemon.net>
Cc: Russell
oftirq() we no
longer need to mask interrupts during gic_raise_softirq() because the
b.L migration is always performed from task context.
Signed-off-by: Daniel Thompson <daniel.thomp...@linaro.org>
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Jason Cooper <ja...@lakedaemon.net&
ment using FIQ.
Signed-off-by: Daniel Thompson <daniel.thomp...@linaro.org>
---
arch/arm/include/asm/smp.h | 9 +
arch/arm/kernel/smp.c | 6 ++
arch/arm/kernel/traps.c| 9 -
3 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/arch/arm/include/asm/smp.h
MULTI_IRQ_HANDLER support by clearing FIQs using
handle_arch_irq (Marc Zygnier).
* Fix gic_cpu_if_down() to ensure group 1 interrupts are disabled
when the interface is brought down.
For changes in v20 and earlier see:
http://thread.gmane.org/gmane.linux.kernel/1928465
Daniel Thompson (4):
irqchip
finer
grain lock and providing conditionally compiled inlines to lock/unlock
it.
Signed-off-by: Daniel Thompson <daniel.thomp...@linaro.org>
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Jason Cooper <ja...@lakedaemon.net>
Cc: Russell King <li...@arm.linux.org.uk>
Cc:
On 18/12/15 14:52, Petr Mladek wrote:
On Fri 2015-12-18 10:18:08, Daniel Thompson wrote:
On 11/12/15 23:26, Jiri Kosina wrote:
On Fri, 11 Dec 2015, Russell King - ARM Linux wrote:
I'm personally happy with the existing code, and I've been wondering why
there's this effort to apply further
On 18/12/15 07:39, Marc Zyngier wrote:
On 16/12/15 17:08, Daniel Thompson wrote:
It is possible for the secure world to reserve certain SGI IDs for itself.
Currently we have limited visibility of which IDs are safe to use for IPIs.
Modify the GIC initialization code to actively search
On 11/12/15 23:26, Jiri Kosina wrote:
On Fri, 11 Dec 2015, Russell King - ARM Linux wrote:
I'm personally happy with the existing code, and I've been wondering why
there's this effort to apply further cleanups - to me, the changelogs
don't seem to make that much sense, unless we want to start
On 11/12/15 23:26, Jiri Kosina wrote:
On Fri, 11 Dec 2015, Russell King - ARM Linux wrote:
I'm personally happy with the existing code, and I've been wondering why
there's this effort to apply further cleanups - to me, the changelogs
don't seem to make that much sense, unless we want to start
On 18/12/15 07:39, Marc Zyngier wrote:
On 16/12/15 17:08, Daniel Thompson wrote:
It is possible for the secure world to reserve certain SGI IDs for itself.
Currently we have limited visibility of which IDs are safe to use for IPIs.
Modify the GIC initialization code to actively search
On 18/12/15 14:52, Petr Mladek wrote:
On Fri 2015-12-18 10:18:08, Daniel Thompson wrote:
On 11/12/15 23:26, Jiri Kosina wrote:
On Fri, 11 Dec 2015, Russell King - ARM Linux wrote:
I'm personally happy with the existing code, and I've been wondering why
there's this effort to apply further
On Wed, Dec 16, 2015 at 05:47:09PM +, Marc Zyngier wrote:
> Hi Daniel,
Hi Marc
Thanks for the review.
> On 16/12/15 17:08, Daniel Thompson wrote:
> > It is possible for the secure world to reserve certain SGI IDs for itself.
> > Currently we have limited visibility of
On Wed, Dec 16, 2015 at 05:47:09PM +, Marc Zyngier wrote:
> Hi Daniel,
Hi Marc
Thanks for the review.
> On 16/12/15 17:08, Daniel Thompson wrote:
> > It is possible for the secure world to reserve certain SGI IDs for itself.
> > Currently we have limited visibility of
on Inforce
IFC6410 and a patch to detect and report reserved SGI IDs during boot.
The patch (deliberately) keeps quiet on platforms where the kernel's
world is not subject to any restrictions.
Daniel Thompson (2):
arm: Fix "NMI" backtrace for Inforce IFC6410
irqchip/gic: Identify and
on the console.
It is likely this is because SGI IDs 14 and 15 have been reserved for
use by secure world on this platform. For IFC6410 platform the code
works as expected when IPI_CPU_BACKTRACE is set to any value in the
interval 9..13.
Signed-off-by: Daniel Thompson
---
arch/arm/kernel/smp.c | 3
here ~~~
Signed-off-by: Daniel Thompson
---
drivers/irqchip/irq-gic.c | 53 +++
1 file changed, 53 insertions(+)
diff --git a/drivers/irqchip/irq-gic.c b/drivers/irqchip/irq-gic.c
index abf2ffaed392..541622da7049 100644
--- a/drivers/irqchip/irq-gic.c
on the console.
It is likely this is because SGI IDs 14 and 15 have been reserved for
use by secure world on this platform. For IFC6410 platform the code
works as expected when IPI_CPU_BACKTRACE is set to any value in the
interval 9..13.
Signed-off-by: Daniel Thompson <daniel.thomp...@linaro.
here ~~~
Signed-off-by: Daniel Thompson <daniel.thomp...@linaro.org>
---
drivers/irqchip/irq-gic.c | 53 +++
1 file changed, 53 insertions(+)
diff --git a/drivers/irqchip/irq-gic.c b/drivers/irqchip/irq-gic.c
index abf2ffaed392..541622da7049
on Inforce
IFC6410 and a patch to detect and report reserved SGI IDs during boot.
The patch (deliberately) keeps quiet on platforms where the kernel's
world is not subject to any restrictions.
Daniel Thompson (2):
arm: Fix "NMI" backtrace for Inforce IFC6410
irqchip/gic: Identify and
On 11/12/15 23:21, Russell King - ARM Linux wrote:
As I explained when I did that work, the vast majority of ARM platforms
are unable to trigger anything like a NMI - the FIQ is something that's
generally a property of the secure monitor, and is not accessible to
Linux. However, there are
On 11/12/15 23:21, Russell King - ARM Linux wrote:
As I explained when I did that work, the vast majority of ARM platforms
are unable to trigger anything like a NMI - the FIQ is something that's
generally a property of the secure monitor, and is not accessible to
Linux. However, there are
On 02/12/15 13:08, tiffany lin wrote:
We need MTK_STATE_ABORT to inform encoder thread (mtk_venc_worker) that
stop encodeing job from stopped ctx instance.
When user space qbuf, we need to make sure everything is ready to sent
buf to encode.
Agree that you need a flag here. In fact currently
On 02/12/15 13:08, tiffany lin wrote:
We need MTK_STATE_ABORT to inform encoder thread (mtk_venc_worker) that
stop encodeing job from stopped ctx instance.
When user space qbuf, we need to make sure everything is ready to sent
buf to encode.
Agree that you need a flag here. In fact currently
On 01/12/15 10:42, tiffany lin wrote:
> diff --git a/drivers/media/platform/mtk-vcodec/common/venc_drv_if.c
b/drivers/media/platform/mtk-vcodec/common/venc_drv_if.c
> new file mode 100644
> index 000..9b3f025
> --- /dev/null
[snip]
> +int venc_if_create(void *ctx, unsigned int
On 01/12/15 10:42, tiffany lin wrote:
> diff --git a/drivers/media/platform/mtk-vcodec/common/venc_drv_if.c
b/drivers/media/platform/mtk-vcodec/common/venc_drv_if.c
> new file mode 100644
> index 000..9b3f025
> --- /dev/null
[snip]
> +int venc_if_create(void *ctx, unsigned int
On 30 November 2015 at 11:43, andrew-ct chen
wrote:
> On Fri, 2015-11-27 at 12:21 +0000, Daniel Thompson wrote:
>> On 27/11/15 12:10, andrew-ct chen wrote:
>> >>> +
>> >>> > >+ memcpy((void *)send_obj->share_buf, buf, len);
>> >>&g
On 30 November 2015 at 11:39, tiffany lin wrote:
>> > diff --git a/drivers/media/platform/mtk-vcodec/Makefile
>> > b/drivers/media/platform/mtk-vcodec/Makefile
>> > new file mode 100644
>> > index 000..c7f7174
>> > --- /dev/null
>> > +++ b/drivers/media/platform/mtk-vcodec/Makefile
>> > @@
On 30 November 2015 at 11:39, tiffany lin wrote:
>> > diff --git a/drivers/media/platform/mtk-vcodec/Makefile
>> > b/drivers/media/platform/mtk-vcodec/Makefile
>> > new file mode 100644
>> > index 000..c7f7174
>> > --- /dev/null
>> > +++
On 30 November 2015 at 11:43, andrew-ct chen
<andrew-ct.c...@mediatek.com> wrote:
> On Fri, 2015-11-27 at 12:21 +0000, Daniel Thompson wrote:
>> On 27/11/15 12:10, andrew-ct chen wrote:
>> >>> +
>> >>> > >+ memcpy((void *)send_obj->shar
Hi Tiffany/Andrew
This review is a rather more superficial than my previous one. Mostly
I'm just commenting on some of the bits I spotted whilst trying to find
my way around the patchset.
I hope to another more detailed review for v2 (and feel free to add me
to Cc:).
On 17/11/15 12:54,
On 27/11/15 12:10, andrew-ct chen wrote:
+
> >+ memcpy((void *)send_obj->share_buf, buf, len);
> >+ send_obj->len = len;
> >+ send_obj->id = id;
> >+ vpu_cfg_writel(vpu, 0x1, HOST_TO_VPU);
> >+
> >+ /* Wait until VPU receives the command */
> >+ timeout = jiffies +
Hi Tiffany/Andrew
This review is a rather more superficial than my previous one. Mostly
I'm just commenting on some of the bits I spotted whilst trying to find
my way around the patchset.
I hope to another more detailed review for v2 (and feel free to add me
to Cc:).
On 17/11/15 12:54,
On 27/11/15 12:10, andrew-ct chen wrote:
+
> >+ memcpy((void *)send_obj->share_buf, buf, len);
> >+ send_obj->len = len;
> >+ send_obj->id = id;
> >+ vpu_cfg_writel(vpu, 0x1, HOST_TO_VPU);
> >+
> >+ /* Wait until VPU receives the command */
> >+ timeout = jiffies +
On 17/11/15 12:54, Tiffany Lin wrote:
From: Andrew-CT Chen
The VPU driver for hw video codec embedded in Mediatek's MT8173 SOCs.
It is able to handle video decoding/encoding of in a range of formats.
The driver provides with VPU firmware download, memory management and
the communication
On 17/11/15 12:54, Tiffany Lin wrote:
From: Andrew-CT Chen
The VPU driver for hw video codec embedded in Mediatek's MT8173 SOCs.
It is able to handle video decoding/encoding of in a range of formats.
The driver provides with VPU firmware download, memory management
On 27/10/15 21:52, Andreas Färber wrote:
Am 27.10.2015 um 22:46 schrieb Linus Walleij:
Heartbeat is awesome.
Yes, it's awesome for testing, but not for a .dts file that ends up in a
distro (not the case here, of course) and keeps blinking on the desk.
If someone wants LEDs to blink, they can
On 27/10/15 21:52, Andreas Färber wrote:
Am 27.10.2015 um 22:46 schrieb Linus Walleij:
Heartbeat is awesome.
Yes, it's awesome for testing, but not for a .dts file that ends up in a
distro (not the case here, of course) and keeps blinking on the desk.
If someone wants LEDs to blink, they can
On 17/10/15 18:23, Maxime Coquelin wrote:
Signed-off-by: Maxime Coquelin
---
include/dt-bindings/pinctrl/pinctrl-stm32.h | 12 +
include/dt-bindings/pinctrl/stm32f429-pinfunc.h | 1241 +++
2 files changed, 1253 insertions(+)
create mode 100644
On 17/10/15 18:23, Maxime Coquelin wrote:
Signed-off-by: Maxime Coquelin
---
include/dt-bindings/pinctrl/pinctrl-stm32.h | 12 +
include/dt-bindings/pinctrl/stm32f429-pinfunc.h | 1241 +++
2 files changed, 1253 insertions(+)
create mode
Currently this driver calls pm_runtime_get_sync() rampantly
but never puts anything back. This makes it impossible for the
device to autosuspend properly; it will remain fully active
after the first use.
Fix in the obvious way.
Signed-off-by: Daniel Thompson
Cc: Kukjin Kim
Cc: Krzysztof
Currently this driver calls pm_runtime_get_sync() rampantly
but never puts anything back. This makes it impossible for the
device to autosuspend properly; it will remain fully active
after the first use.
Fix in the obvious way.
Signed-off-by: Daniel Thompson <daniel.thomp...@linaro.org&
On 15/10/15 12:29, Maxime Coquelin wrote:
2015-10-15 13:14 GMT+02:00 Daniel Thompson :
On 14/10/15 21:07, Maxime Coquelin wrote:
Signed-off-by: Maxime Coquelin
---
include/dt-bindings/pinctrl/pinctrl-stm32.h | 12 +
include/dt-bindings/pinctrl/stm32f429-pinfunc.h | 1241
On 14/10/15 21:07, Maxime Coquelin wrote:
Signed-off-by: Maxime Coquelin
---
include/dt-bindings/pinctrl/pinctrl-stm32.h | 12 +
include/dt-bindings/pinctrl/stm32f429-pinfunc.h | 1241 +++
2 files changed, 1253 insertions(+)
create mode 100644
On 14/10/15 21:07, Maxime Coquelin wrote:
Signed-off-by: Maxime Coquelin
---
include/dt-bindings/pinctrl/pinctrl-stm32.h | 12 +
include/dt-bindings/pinctrl/stm32f429-pinfunc.h | 1241 +++
2 files changed, 1253 insertions(+)
create mode
On 15/10/15 12:29, Maxime Coquelin wrote:
2015-10-15 13:14 GMT+02:00 Daniel Thompson <daniel.thomp...@linaro.org>:
On 14/10/15 21:07, Maxime Coquelin wrote:
Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com>
---
include/dt-bindings/pinctrl/pinctrl-stm32.h | 12 +
Commit c6a97c42e399 ("hwrng: stm32 - add support for STM32 HW RNG")
was inadequately tested (actually it was tested quite hard so
incompetent would be a better description that inadequate) and does
not compile on platforms with CONFIG_PM set.
Fix this.
Signed-off-by: Daniel Thompson
Add support for STMicroelectronics STM32 random number generator.
The config value defaults to N, reflecting the fact that STM32 is a
very low resource microcontroller platform and unlikely to be targeted
by any "grown up" defconfigs.
Signed-off-by: Daniel Thompson
Reviewed-by: Lin
New bindings and driver have been created for STM32 series parts. This
patch integrates this changes.
Signed-off-by: Daniel Thompson
Acked-by: Maxime Coquelin
---
arch/arm/boot/dts/stm32f429.dtsi | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch
This adds documentation of device tree bindings for the STM32 hardware
random number generator.
Signed-off-by: Daniel Thompson
Acked-by: Maxime Coquelin
Acked-by: Rob Herring
---
.../devicetree/bindings/rng/st,stm32-rng.txt| 21 +
1 file changed, 21 insertions
(Linus Walleij, Maxime
Coquelin).
* Only WARN_ONCE() when hardware failure mechanisms trigger (Maxime
Coquelin).
* Simplify end of probe function after cocci warning (Fengguang Wu).
* Switch to devm_hwrng_register.
Daniel Thompson (3):
dt-bindings: Document the STM32 HW RNG bindings
On 14/10/15 16:26, M'boumba Cedric Madianga wrote:
2015-10-14 16:24 GMT+02:00 Daniel Thompson :
Hmnnn...
The dmaengine framework will WARN_ONCE() if an dmaengine is removed whilst
it is active and also works hard to ensure dmaengine modules are not removed
whilst there are active drivers
On 14/10/15 14:41, M'boumba Cedric Madianga wrote:
2015-10-14 15:29 GMT+02:00 Daniel Thompson :
On 14/10/15 14:17, M'boumba Cedric Madianga wrote:
Hi Daniel,
+
+static int stm32_dma_remove(struct platform_device *pdev)
+{
+ struct stm32_dma_device *dmadev = platform_get_drvdata(pdev
On 14/10/15 14:17, M'boumba Cedric Madianga wrote:
Hi Daniel,
+
+static int stm32_dma_remove(struct platform_device *pdev)
+{
+ struct stm32_dma_device *dmadev = platform_get_drvdata(pdev);
+
+ of_dma_controller_free(pdev->dev.of_node);
+
+ dma_async_device_unregister(>ddev);
On 14/10/15 08:54, M'boumba Cedric Madianga wrote:
+static int stm32_dma_alloc_chan_resources(struct dma_chan *c)
+{
+ struct stm32_dma_chan *chan = to_stm32_dma_chan(c);
+ struct stm32_dma_device *dmadev = stm32_dma_chan_get_dev(chan);
+ int ret;
+
+ chan->config_init =
(Linus Walleij, Maxime
Coquelin).
* Only WARN_ONCE() when hardware failure mechanisms trigger (Maxime
Coquelin).
* Simplify end of probe function after cocci warning (Fengguang Wu).
* Switch to devm_hwrng_register.
Daniel Thompson (3):
dt-bindings: Document the STM32 HW RNG bindings
This adds documentation of device tree bindings for the STM32 hardware
random number generator.
Signed-off-by: Daniel Thompson <daniel.thomp...@linaro.org>
Acked-by: Maxime Coquelin <mcoquelin.st...@gmail.com>
Acked-by: Rob Herring <r...@kernel.org>
---
.../devicetree/bin
New bindings and driver have been created for STM32 series parts. This
patch integrates this changes.
Signed-off-by: Daniel Thompson <daniel.thomp...@linaro.org>
Acked-by: Maxime Coquelin <mcoquelin.st...@gmail.com>
---
arch/arm/boot/dts/stm32f429.dtsi | 7 +++
1 file changed,
On 14/10/15 16:26, M'boumba Cedric Madianga wrote:
2015-10-14 16:24 GMT+02:00 Daniel Thompson <daniel.thomp...@linaro.org>:
Hmnnn...
The dmaengine framework will WARN_ONCE() if an dmaengine is removed whilst
it is active and also works hard to ensure dmaengine modules are not removed
Commit c6a97c42e399 ("hwrng: stm32 - add support for STM32 HW RNG")
was inadequately tested (actually it was tested quite hard so
incompetent would be a better description that inadequate) and does
not compile on platforms with CONFIG_PM set.
Fix this.
Signed-off-by: Danie
On 14/10/15 14:41, M'boumba Cedric Madianga wrote:
2015-10-14 15:29 GMT+02:00 Daniel Thompson <daniel.thomp...@linaro.org>:
On 14/10/15 14:17, M'boumba Cedric Madianga wrote:
Hi Daniel,
+
+static int stm32_dma_remove(struct platform_device *pdev)
+{
+ struct stm32_dma_device *
Add support for STMicroelectronics STM32 random number generator.
The config value defaults to N, reflecting the fact that STM32 is a
very low resource microcontroller platform and unlikely to be targeted
by any "grown up" defconfigs.
Signed-off-by: Daniel Thompson <daniel.thomp.
On 14/10/15 08:54, M'boumba Cedric Madianga wrote:
+static int stm32_dma_alloc_chan_resources(struct dma_chan *c)
+{
+ struct stm32_dma_chan *chan = to_stm32_dma_chan(c);
+ struct stm32_dma_device *dmadev = stm32_dma_chan_get_dev(chan);
+ int ret;
+
+ chan->config_init =
On 14/10/15 14:17, M'boumba Cedric Madianga wrote:
Hi Daniel,
+
+static int stm32_dma_remove(struct platform_device *pdev)
+{
+ struct stm32_dma_device *dmadev = platform_get_drvdata(pdev);
+
+ of_dma_controller_free(pdev->dev.of_node);
+
+ dma_async_device_unregister(>ddev);
On 13/10/15 15:05, M'boumba Cedric Madianga wrote:
This patch adds support for the STM32 DMA controller.
Signed-off-by: M'boumba Cedric Madianga
---
drivers/dma/Kconfig | 12 +
drivers/dma/Makefile|1 +
drivers/dma/stm32-dma.c | 1175
On 13/10/15 15:05, M'boumba Cedric Madianga wrote:
This patch adds support for the STM32 DMA controller.
Signed-off-by: M'boumba Cedric Madianga
---
drivers/dma/Kconfig | 12 +
drivers/dma/Makefile|1 +
drivers/dma/stm32-dma.c | 1175
This adds documentation of device tree bindings for the STM32 hardware
random number generator.
Signed-off-by: Daniel Thompson
Acked-by: Maxime Coquelin
Acked-by: Rob Herring
---
.../devicetree/bindings/rng/st,stm32-rng.txt| 21 +
1 file changed, 21 insertions
Add support for STMicroelectronics STM32 random number generator.
The config value defaults to N, reflecting the fact that STM32 is a
very low resource microcontroller platform and unlikely to be targeted
by any "grown up" defconfigs.
Signed-off-by: Daniel Thompson
---
drivers/char
New bindings and driver have been created for STM32 series parts. This
patch integrates this changes.
Signed-off-by: Daniel Thompson
Acked-by: Maxime Coquelin
---
arch/arm/boot/dts/stm32f429.dtsi | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch
to devm_hwrng_register.
Daniel Thompson (3):
dt-bindings: Document the STM32 HW RNG bindings
hwrng: stm32 - add support for STM32 HW RNG
ARM: dts: stm32f429: Adopt STM32 RNG driver
.../devicetree/bindings/rng/st,stm32-rng.txt | 21 +++
arch/arm/boot/dts/stm32f429.dtsi
New bindings and driver have been created for STM32 series parts. This
patch integrates this changes.
Signed-off-by: Daniel Thompson <daniel.thomp...@linaro.org>
Acked-by: Maxime Coquelin <mcoquelin.st...@gmail.com>
---
arch/arm/boot/dts/stm32f429.dtsi | 7 +++
1 file changed,
This adds documentation of device tree bindings for the STM32 hardware
random number generator.
Signed-off-by: Daniel Thompson <daniel.thomp...@linaro.org>
Acked-by: Maxime Coquelin <mcoquelin.st...@gmail.com>
Acked-by: Rob Herring <r...@kernel.org>
---
.../devicetree/bin
Add support for STMicroelectronics STM32 random number generator.
The config value defaults to N, reflecting the fact that STM32 is a
very low resource microcontroller platform and unlikely to be targeted
by any "grown up" defconfigs.
Signed-off-by: Daniel Thompson <daniel.thomp.
to devm_hwrng_register.
Daniel Thompson (3):
dt-bindings: Document the STM32 HW RNG bindings
hwrng: stm32 - add support for STM32 HW RNG
ARM: dts: stm32f429: Adopt STM32 RNG driver
.../devicetree/bindings/rng/st,stm32-rng.txt | 21 +++
arch/arm/boot/dts/stm32f429.dtsi
On 5 October 2015 at 10:22, Daniel Thompson wrote:
> On 4 October 2015 at 11:32, Linus Walleij wrote:
>> On Sat, Oct 3, 2015 at 10:35 PM, Daniel Thompson
>> wrote:
>> Then this construct:
>>
>>> +static int stm32_rng_read(struct hwrng *rng, vo
On 5 October 2015 at 10:22, Daniel Thompson wrote:
> On 4 October 2015 at 11:32, Linus Walleij wrote:
>> On Sat, Oct 3, 2015 at 10:35 PM, Daniel Thompson
>> 3. I took out the datasheet for Nomadik STn8820 and it seems that
>> the hardware is very similar to what this driv
On 5 October 2015 at 10:22, Daniel Thompson <daniel.thomp...@linaro.org> wrote:
> On 4 October 2015 at 11:32, Linus Walleij <linus.wall...@linaro.org> wrote:
>> On Sat, Oct 3, 2015 at 10:35 PM, Daniel Thompson
>> 3. I took out the datasheet for Nomadik STn8820 and it
On 5 October 2015 at 10:22, Daniel Thompson <daniel.thomp...@linaro.org> wrote:
> On 4 October 2015 at 11:32, Linus Walleij <linus.wall...@linaro.org> wrote:
>> On Sat, Oct 3, 2015 at 10:35 PM, Daniel Thompson
>> <daniel.thomp...@linaro.org> wrote:
>>
On 08/10/15 13:05, chunfeng yun wrote:
Hi,
On Thu, 2015-10-01 at 12:44 +0100, Daniel Thompson wrote:
On 29/09/15 04:01, Chunfeng Yun wrote:
There some vendor quirks for MTK xhci host controller:
1. It defines some extra SW scheduling parameters for HW
to minimize the scheduling effort
On 08/10/15 13:05, chunfeng yun wrote:
Hi,
On Thu, 2015-10-01 at 12:44 +0100, Daniel Thompson wrote:
On 29/09/15 04:01, Chunfeng Yun wrote:
There some vendor quirks for MTK xhci host controller:
1. It defines some extra SW scheduling parameters for HW
to minimize the scheduling effort
. This means only 4 of the 8 available values are being read
during each invocation of .read().
This change increased the device bandwidth by a factor of 2.
Reported-by: Daniel Thompson
Signed-off-by: Lee Jones
---
drivers/char/hw_random/st-rng.c | 3 ++-
1 file changed, 2 insertions(+), 1
. This means only 4 of the 8 available values are being read
during each invocation of .read().
This change increased the device bandwidth by a factor of 2.
Reported-by: Daniel Thompson <daniel.thomp...@linaro.org>
Signed-off-by: Lee Jones <lee.jo...@linaro.org>
---
drivers/char/hw_ran
On 05/10/15 13:11, Lee Jones wrote:
On Mon, 05 Oct 2015, Daniel Thompson wrote:
Late but...
That's okay. Fixup patches can always be submitted.
We have forever. :)
On 17/09/15 14:45, Lee Jones wrote:
diff --git a/drivers/char/hw_random/Makefile b/drivers/char/hw_random/Makefile
index
Hi Lee
Late but...
On 17/09/15 14:45, Lee Jones wrote:
diff --git a/drivers/char/hw_random/Makefile b/drivers/char/hw_random/Makefile
index 055bb01..8bcfb45 100644
--- a/drivers/char/hw_random/Makefile
+++ b/drivers/char/hw_random/Makefile
@@ -30,4 +30,5 @@ obj-$(CONFIG_HW_RANDOM_TPM) +=
On 4 October 2015 at 09:52, Maxime Coquelin wrote:
> Hi Daniel,
>
> On 10/03/2015 10:35 PM, Daniel Thompson wrote:
>>
>> Add support for STMicroelectronics STM32 random number generator.
>>
>> The config value defaults to N, reflecting the fact that STM32 is a
>
On 4 October 2015 at 11:32, Linus Walleij wrote:
> On Sat, Oct 3, 2015 at 10:35 PM, Daniel Thompson
> wrote:
>
>> Add support for STMicroelectronics STM32 random number generator.
>>
>> The config value defaults to N, reflecting the fact that STM32 is a
>>
On 4 October 2015 at 11:32, Linus Walleij <linus.wall...@linaro.org> wrote:
> On Sat, Oct 3, 2015 at 10:35 PM, Daniel Thompson
> <daniel.thomp...@linaro.org> wrote:
>
>> Add support for STMicroelectronics STM32 random number generator.
>>
>> The config v
On 4 October 2015 at 09:52, Maxime Coquelin <mcoquelin.st...@gmail.com> wrote:
> Hi Daniel,
>
> On 10/03/2015 10:35 PM, Daniel Thompson wrote:
>>
>> Add support for STMicroelectronics STM32 random number generator.
>>
>> The config value defaults to N, refl
Hi Lee
Late but...
On 17/09/15 14:45, Lee Jones wrote:
diff --git a/drivers/char/hw_random/Makefile b/drivers/char/hw_random/Makefile
index 055bb01..8bcfb45 100644
--- a/drivers/char/hw_random/Makefile
+++ b/drivers/char/hw_random/Makefile
@@ -30,4 +30,5 @@ obj-$(CONFIG_HW_RANDOM_TPM) +=
On 05/10/15 13:11, Lee Jones wrote:
On Mon, 05 Oct 2015, Daniel Thompson wrote:
Late but...
That's okay. Fixup patches can always be submitted.
We have forever. :)
On 17/09/15 14:45, Lee Jones wrote:
diff --git a/drivers/char/hw_random/Makefile b/drivers/char/hw_random/Makefile
index
Add support for STMicroelectronics STM32 random number generator.
The config value defaults to N, reflecting the fact that STM32 is a
very low resource microcontroller platform and unlikely to be targeted
by any "grown up" defconfigs.
Signed-off-by: Daniel Thompson
---
drivers/char
New bindings and driver have been created for STM32 series parts. This
patch integrates this changes.
Signed-off-by: Daniel Thompson
---
arch/arm/boot/dts/stm32f429.dtsi | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429
This adds documenttaion of device tree binds for the STM32 hardware
random number generator.
Signed-off-by: Daniel Thompson
---
.../devicetree/bindings/hwrng/stm32-rng.txt | 21 +
1 file changed, 21 insertions(+)
create mode 100644 Documentation/devicetree/bindings
This patchset introduces a driver for the STM32 hardware random number
generator.
Daniel Thompson (3):
dt-bindings: Document the STM32 HW RNG bindings
hwrng: stm32 - add support for STM32 HW RNG
ARM: dts: stm32f429: Adopt STM32 RNG driver
.../devicetree/bindings/hwrng/stm32-rng.txt
Add support for STMicroelectronics STM32 random number generator.
The config value defaults to N, reflecting the fact that STM32 is a
very low resource microcontroller platform and unlikely to be targeted
by any "grown up" defconfigs.
Signed-off-by: Daniel Thompson <daniel.thomp.
This adds documenttaion of device tree binds for the STM32 hardware
random number generator.
Signed-off-by: Daniel Thompson <daniel.thomp...@linaro.org>
---
.../devicetree/bindings/hwrng/stm32-rng.txt | 21 +
1 file changed, 21 insertions(+)
create mode
901 - 1000 of 2746 matches
Mail list logo