Le 01/07/2015 22:35, Kevin Hilman a écrit :
> Nicolas Ferre writes:
>
>> From: Boris Brezillon
>>
>> at91sam9g45, at91sam9x5 and sama5 SoCs should not use
>> "atmel,at91sam9rl-udc" for their USB device compatible property since
>> this compati
Acked-by: Nicolas Ferre
Cc: #4.0+
---
Hi,
This patch was forgotten while dealing with the series "usb: atmel_usba_udc:
Rework errata handling". This patch and the previous one should be added to
mainline as fixes, the soonest. In fact, the errata handling is now broken
because of th
To please checkpatch and the tiresome reader, add the "atmel," prefix to the
USB udc compatible string.
Signed-off-by: Nicolas Ferre
Cc: #4.0+
---
Documentation/devicetree/bindings/usb/atmel-usb.txt | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Doc
Trivial fix that prevents to compile this pmc clock driver if h32mx clock is
present but smd clock isn't.
Signed-off-by: Nicolas Ferre
Fixes: bcc5fd49a0fd ("clk: at91: add a driver for the h32mx clock")
Cc: # 3.18+
---
drivers/clk/at91/pmc.h | 2 +-
1 file changed, 1 insertion
dovic Desroches
> Cc: # 3.12 and later
Indeed, thanks!
Acked-by: Nicolas Ferre
> ---
> drivers/tty/serial/atmel_serial.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/tty/serial/atmel_serial.c
> b/drivers/tty/serial/atmel_serial.c
> index 4e959c4..6a
Le 03/04/2015 23:56, Olof Johansson a écrit :
> On Fri, Apr 03, 2015 at 01:55:07PM -0700, Olof Johansson wrote:
>> On Fri, Apr 03, 2015 at 10:43:40AM +0200, Nicolas Ferre wrote:
>>> Le 31/03/2015 10:56, Nicolas Ferre a écrit :
>>>> After 57a38effa598 (net: phy:
Le 31/03/2015 10:56, Nicolas Ferre a écrit :
> After 57a38effa598 (net: phy: micrel: disable broadcast for KSZ8081/KSZ8091)
> the macb1 interface refuses to work properly because it tries
> to cling to address 0 which isn't able to communicate in broadcast with
> the mac anymore.
GEM flavor.
Fixes: 8a013a9c71b2 ("net: macb: Include multi queue support for xilinx ZynqMP
ethernet version")
Signed-off-by: Nicolas Ferre
Cc: Michal Simek
Cc: Punnaiah Choudary Kalluri
Cc: #4.0 (if it doesn't make it for -final)
---
Changes in v2:
- fix peripheral version tes
up at address 1.
Adding the phy node and its real address fixes the issue.
Signed-off-by: Nicolas Ferre
Cc: Johan Hovold
Cc: #3.19
---
arch/arm/boot/dts/at91-sama5d3_xplained.dts | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts
b/arch/arm/boot/dts
after reading,
this patch seems okay:
Acked-by: Nicolas Ferre
Thanks, bye.
> ---
> drivers/pinctrl/pinctrl-at91.c | 108
> +
> 1 file changed, 55 insertions(+), 53 deletions(-)
>
> diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/
g_cleanup [g_hid]) from []
(SyS_delete_module+0x118/0x19c)
[] (SyS_delete_module) from [] (ret_fast_syscall+0x0/0x30)
Code: bad PC value
Signed-off-by: Songjun Wu
[nicolas.fe...@atmel.com: reworked the commit message]
Signed-off-by: Nicolas Ferre
Fixes: 914a3f3b3754 ("USB: add atmel_usba_udc
Le 19/12/2014 15:02, Ronald Wahl a écrit :
> On 19.12.2014 14:51, Luis Henriques wrote:
>> Hi Felipe,
>>
>> On Thu, Nov 20, 2014 at 01:50:49PM -0600, Felipe Balbi wrote:
>>> On Wed, Nov 19, 2014 at 04:37:27PM +0100, Nicolas Ferre wrote:
>>&g
clock
preparation and setting clock rate into process context (at91udc_probe).
Signed-off-by: Ronald Wahl
Acked-by: Alexandre Belloni
Acked-by: Boris Brezillon
Acked-by: Nicolas Ferre
Cc: Felipe Balbi
Cc: # v3.17+
---
Hi Felipe,
I forgot to answer you on this patch. So I resend it now with the
_SCDR, scdr);
> + at91_pmc_write(AT91_PMC_PCDR, pcdr);
> if (cpu_is_sama5d3())
> at91_pmc_write(AT91_PMC_PCDR1, pcdr1);
>
>
--
Nicolas Ferre
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
're not relying on IMR values to disable
> + * interrupts.
> + */
> + writel_relaxed(AT91_RTC_IRQ_MASK, base + AT91_RTC_IDR);
> + (void)readl_relaxed(base + AT91_RTC_IMR); /* flush */
>
> iounmap(base);
> }
Okay for me (maybe change the comment as it can puzzle some users):
Acked-by: Nicolas Ferre
Thanks, bye,
--
Nicolas Ferre
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
ILLON
Acked-by: Nicolas Ferre
Cc: stable # 3.4
---
drivers/usb/gadget/at91_udc.c | 10 --
1 file changed, 10 deletions(-)
diff --git a/drivers/usb/gadget/at91_udc.c b/drivers/usb/gadget/at91_udc.c
index cea8c20a1425..1926925a52a9 100644
--- a/drivers/usb/gadget/at91_udc.c
+++ b/driver
On 12/03/2014 16:31, Greg Kroah-Hartman :
> On Wed, Mar 12, 2014 at 03:57:48PM +0100, Nicolas Ferre wrote:
>> On 12/02/2014 14:03, Nicolas Ferre :
>>> From: Jean-Jacques Hiblot
>>>
>>> When using dt resources retrieval (interrupts and reg properties) there
On 12/02/2014 14:03, Nicolas Ferre :
> From: Jean-Jacques Hiblot
>
> When using dt resources retrieval (interrupts and reg properties) there is
> no predefined order for these resources in the platform dev resource
> table. Also don't expect the number of resource to be alway
ILLON
Acked-by: Nicolas Ferre
Cc: stable # 3.4
---
drivers/usb/gadget/at91_udc.c | 10 --
1 file changed, 10 deletions(-)
diff --git a/drivers/usb/gadget/at91_udc.c b/drivers/usb/gadget/at91_udc.c
index cea8c20a1425..1926925a52a9 100644
--- a/drivers/usb/gadget/at91_udc.c
+++ b/driver
When setting the gpio irq type, use the __irq_set_handler_locked()
variant instead of the irq_set_handler() to prevent false
spinlock recursion warning.
Signed-off-by: Nicolas Ferre
Cc: stable # v3.12
---
drivers/pinctrl/pinctrl-at91.c | 10 +-
1 file changed, 5 insertions(+), 5
variable length of messages from systemd and timing
> between messages contributes to being unlucky and having the timer
> fire at the wrong time.
>
> But from manual testing I'm pretty confident the bug is fixed.
Nice, thanks for the detailed feedback.
So I send the patch for inc
stops a tasklet from
being scheduled unexpectedly.
Signed-off-by: Marek Roszko
Cc: stable # v3.12
[nicolas.fe...@atmel.com: modify commit message, call setup_timer() in any case]
Signed-off-by: Nicolas Ferre
---
drivers/tty/serial/atmel_serial.c | 22 ++
1 file changed, 10
From: Jean-Jacques Hiblot
There was a copy/paste error when reading the nwe_pulse value.
Signed-off-by: Jean-Jacques Hiblot
Acked-by: Boris BREZILLON
Cc: stable # 3.3
Signed-off-by: Nicolas Ferre
---
Arnd, Olof, Kevin,
This is a little fix that I have just received. As the "
stops a tasklet from
being scheduled unexpectedly.
Signed-off-by: Marek Roszko
Cc: stable # v3.12
[nicolas.fe...@atmel.com: modify commit message, call setup_timer() in any case]
Signed-off-by: Nicolas Ferre
---
Hi Marek,
This is my modified version of your patch.
* I adapted it to the
From: Marek Roszko
Something asks a tasklet to be scheduled when the uart port is closed.
Need to supress the kernel panic for now by checking if the port is NULL or
not.
Signed-off-by: Marek Roszko
Acked-by: Leilei Zhao
Cc: # v3.12
Signed-off-by: Nicolas Ferre
---
drivers/tty/serial
ip it, you can then log in.
Signed-off-by: Mark Deneen
Acked-by: Leilei Zhao
[nicolas.fe...@atmel.com: adapt to mainline kernel, handle !DMA case]
Cc: # v3.12
Signed-off-by: Nicolas Ferre
---
drivers/tty/serial/atmel_serial.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/driver
+0x40/0x50) from []
(atmel_rx_dma_release+0x88/0xb8)
[] (atmel_rx_dma_release+0x88/0xb8) from []
(atmel_shutdown+0x104/0x160)
[] (atmel_shutdown+0x104/0x160) from []
(uart_port_shutdown+0x2c/0x38)
Signed-off-by: Marek Roszko
Acked-by: Leilei Zhao
Cc: # v3.12
Signed-off-by: Nicolas Ferre
.
Simply putting the tasklet_kill at the start of the function will prevent this
conflict.
Signed-off-by: Marek Roszko
Acked-by: Leilei Zhao
Cc: # v3.12
Signed-off-by: Nicolas Ferre
---
drivers/tty/serial/atmel_serial.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers
From: Arnd Bergmann
commit 8b2efa896cc618e055e90c9d9600e7c8388ae3b7 upstream.
A recent series has added CPU numbers to a lot of dts files,
but unfortunately in a few cases the #address-cells
and #size-cells values are missing, which causes build warnings.
This adds the missing ones for sunxi and
Commit 23fb05c688a8dcb0cf6a4d8d819cffeca82e5c54 upstream. Applies on 3.10.x.
Due to a bug with RTC IMR, we cannot consider at91sam9x5 RTC compatible
with the previous one. Modify DT compatibility string, even if the driver
is not yet modified to take it into account.
Signed-off-by: Nicolas Ferre
On 09/07/2013 10:36, Jongsung Kim :
Signed-off-by: Jongsung Kim
Acked-by: Nicolas Ferre
Cc: stable # 3.10+
Thanks for having spotted that.
Best regards,
---
drivers/net/ethernet/cadence/macb.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net
On 04/11/2013 04:38 PM, Johan Hovold :
> Add missing iounmap to probe error path and remove.
>
> Cc: stable
> Signed-off-by: Johan Hovold
Acked-by: Nicolas Ferre
Andrew, can you take this one please?
(https://patchwork.kernel.org/patch/2429031/)
Best regards,
> ---
>
driver currently does not support.
Cc: stable
Signed-off-by: Johan Hovold
Signed-off-by: Nicolas Ferre
---
Linus,
As suggested by Greg, I send you directly this "revert" patch. I hope it will
join your tree before 3.9-final.
Here is the discussion that led to this "revert" pat
On 04/03/2013 12:18 PM, Nicolas Ferre :
> On 04/03/2013 11:54 AM, Johan Hovold :
>> This reverts commit 0ef1594c017521ea89278e80fe3f80dafb17abde.
>>
>> This patch introduced a few races which cannot be easily fixed with a
>> small follow-up patch. Furthermore, the S
w, please can you take this "revert" patch for 3.9-rc ?
And sorry for the noise.
Acked-by: Nicolas Ferre
(Andrew, I figured out that you are not in copy of the original email:
do I need to send it back to you or can you pick it up in patchwork?
https://patchwork.kernel.org/patch/2385921/
)
ned-off-by: Nicolas Ferre
---
arch/arm/mach-at91/board-neocore926.c | 2 +-
include/video/atmel_lcdc.h| 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/arm/mach-at91/board-neocore926.c
b/arch/arm/mach-at91/board-neocore926.c
index bc7a1c4..4726297 100644
--- a/arc
t.
Tested on at91sam9263 and at91sam9g45.
Cc:
Acked-by: Peter Korsgaard
Signed-off-by: Johan Hovold
Signed-off-by: Nicolas Ferre
---
drivers/video/atmel_lcdfb.c | 22 +++---
include/video/atmel_lcdc.h | 1 +
2 files changed, 16 insertions(+), 7 deletions(-)
diff --git a/dri
> Signed-off-by: Nicolas Royer
>> Acked-by: Nicolas Ferre
>> Acked-by: Eric Bénard
>> Tested-by: Eric Bénard
>> Cc: stable@vger.kernel.org # 3.6
>
> ok will see if we can have it for 3.7
Queued in our at91-fixes pull request for 3.7-final.
Thanks a lot, best r
nt_irq)
I have the same remark for the 3.4-stable.
Thanks, best regards,
>>From 6fffb77c8393151b0cf8cef1b9c2ba90587dd2e8 Mon Sep 17 00:00:00 2001
> From: Nicolas Ferre
> Date: Wed, 29 Aug 2012 11:49:18 +0200
> Subject: USB: ohci-at91: fix PIO handling in re
On 05/23/2012 03:00 PM, Nicolas Ferre :
> On 05/23/2012 02:31 PM, Peter Korsgaard :
>> Brown paper bag: Data valid is LSB of the ISR (status register), and NOT
>> of ODATA (current random data word)!
>>
>> With this, rngtest is a lot happier. Before:
>>
>
ed: (min=11.951; avg=12.715; max=12.887)Mibits/s
> rngtest: Program run time: 2035543 microseconds
>
> Cc: stable@vger.kernel.org
> Signed-off-by: Peter Korsgaard
> Reported-by: George Pontis
Acked-by: Nicolas Ferre
Thanks!
> ---
> drivers/char/hw_random/atmel-rng.c |7
On 05/25/2012 12:10 PM, Peter Korsgaard :
>>>>>> "Nicolas" == Nicolas Ferre writes:
>
> Hi,
>
> Nicolas> What about a single read to ISR like this:
>
> Nicolas> tmp = readl(trng->base + TRNG_ODATA);
> Nicolas> if (readl(trng->
> } else
> return 0;
What about a single read to ISR like this:
tmp = readl(trng->base + TRNG_ODATA);
if (readl(trng->base + TRNG_ISR) & 1) {
*data = tmp;
return 4;
} else {
return 0;
}
But it is true that there is always 2 reads in c
; rngtest: Program run time: 1955282 microseconds
>
> Cc: stable@vger.kernel.org
> Signed-off-by: Peter Korsgaard
> Reported-by: George Pontis
Indeed, yes ;-)
Acked-by: Nicolas Ferre
> ---
> drivers/char/hw_random/atmel-rng.c |2 +-
> 1 file changed, 1 insertion(+), 1 de
On 05/09/2012 07:22 PM, Sergei Shtylyov :
> Hello.
>
> On 09-05-2012 12:48, Nicolas Ferre wrote:
>
>> A possible race condition appears because we are not initializing
>> the ohci->regs before calling usb_hcd_request_irqs().
>> We move the call to ohci_init() i
n OHCI and EHCI
controllers.
Signed-off-by: Nicolas Ferre
Tested-by: Christian Eggers
Cc: stable
---
drivers/usb/host/ohci-at91.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/host/ohci-at91.c b/drivers/usb/host/ohci-at91.c
index 13ebeca..55d3d
On 04/23/2012 04:22 PM, Greg KH :
> On Mon, Apr 23, 2012 at 10:31:43AM +0200, Nicolas Ferre wrote:
>> commit 5509fea59bb1bad4ead7d9a194cb4555c1350e1c upstream.
>>
>> Commit 892a884 (leds: convert led platform drivers to module_platform_driver)
>> is omitting the sectio
commit 5509fea59bb1bad4ead7d9a194cb4555c1350e1c upstream.
Commit 892a884 (leds: convert led platform drivers to module_platform_driver)
is omitting the section mismatch error: so change annotation of the probe
function to __devinit instead of __init.
Signed-off-by: Nicolas Ferre
Cc: Richard
On 04/16/2012 02:46 PM, Nicolas Ferre :
> This loop on EBCISR register was designed to clear IRQ sources before enabling
> a DMA channel. This register is clear-on-read so a race condition can appear
> if
> another channel is already active and has just finished its transfer.
> Rem
where an
IRQ
could be pending: we already make sure that this register is drained at probe()
time and during resume.
Signed-off-by: Nicolas Ferre
Cc: stable
---
drivers/dma/at_hdmac.c |4
1 file changed, 4 deletions(-)
diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c
index
Change vbus gpio configuration in .dts files to switch to
active low configuration.
Signed-off-by: Nicolas Ferre
Acked-by: Jean-Christophe PLAGNIOL-VILLARD
Cc: stable
---
arch/arm/boot/dts/at91sam9g25ek.dts|4 ++--
arch/arm/boot/dts/at91sam9m10g45ek.dts |4 ++--
2 files changed, 4
Change vbus gpio configuration in .dts files to switch to
active low configuration.
Signed-off-by: Nicolas Ferre
Acked-by: Jean-Christophe PLAGNIOL-VILLARD
Cc: stable
---
arch/arm/boot/dts/at91sam9g25ek.dts|4 ++--
arch/arm/boot/dts/at91sam9m10g45ek.dts |4 ++--
2 files changed, 4
Change vbus gpio configuration in .dts files to switch to
active low configuration.
Signed-off-by: Nicolas Ferre
Cc: stable
---
arch/arm/boot/dts/at91sam9g25ek.dts|4 ++--
arch/arm/boot/dts/at91sam9m10g45ek.dts |4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a
Registration of at91_udc as a module will enable SoC
related code.
Fix following an idea from Karel Znamenacek.
Signed-off-by: Nicolas Ferre
Cc: stable
---
Karel,
Do you want to add your "Acked-by" line?
arch/arm/mach-at91/at91rm9200_devices.c |2 +-
arch/arm
54 matches
Mail list logo