Re: [PATCH] Fix Oops with Atmel SPI

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Anders Larsen
Date: Wednesday, April 14, 2010 - 12:57 am

Hi Iwo,

On 2010-04-14 09:30:41, Iwo Mergler wrote:

the original problem occurs with SPI flashes, which typically have a much
smaller erase block size (and it only occurs when they are driven by an Atmel
SoC SPI controller, hence the #ifdefs)


The buffer in question is indeed allocated _once_ (at the first write
operation to the device) and only deallocated when the device is unmounted,
so allocating it at driver load time wouldn't make much difference IMHO.

I realize that my patch also affects e.g. parallel NOR flash on the system,
but unless an MTD device is unmounted/remounted over and over again, I don't
see a problem.

Did I miss something else?


That's unfortunately beyond my abilities, I fear.

Cheers
Anders


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Fix Oops with Atmel SPI, Anders Larsen, (Tue Apr 13, 4:31 am)
Re: [PATCH] Fix Oops with Atmel SPI, Iwo Mergler, (Wed Apr 14, 12:30 am)
Re: [PATCH] Fix Oops with Atmel SPI, Anders Larsen, (Wed Apr 14, 12:57 am)
Re: [PATCH] Fix Oops with Atmel SPI, Kevin Cernekee, (Wed Apr 14, 11:13 am)
Re: [PATCH] Fix Oops with Atmel SPI, Iwo Mergler, (Thu Apr 15, 12:32 am)
Re: [PATCH] Fix Oops with Atmel SPI, Andrew Morton, (Wed Apr 21, 3:24 pm)
Re: [PATCH] Fix Oops with Atmel SPI, Artem Bityutskiy, (Tue Apr 27, 5:57 am)
Re: [PATCH] Fix Oops with Atmel SPI, Anders Larsen, (Wed May 19, 4:05 am)
Re: [PATCH] Fix Oops with Atmel SPI, Andrew Morton, (Fri May 21, 12:01 pm)
Re: [PATCH] Fix Oops with Atmel SPI, Ian McDonnell, (Mon May 24, 8:09 am)
Re: [PATCH] Fix Oops with Atmel SPI, Haavard Skinnemoen, (Fri May 28, 2:27 am)