On 5/28/10 5:04 PM, Carl-Daniel Hailfinger wrote:
On 28.05.2010 16:32, Carl-Daniel Hailfinger wrote:
ICH SPI can enforces address restrictions for all accesses which take an address (well, it could if the chipset implementation was not broken). Since exploiting the broken implementation is harder than conforming to the address restrictions wherever possible, conform to the address restrictions instead. This patch will eliminate a lot of transaction errors people were seeing (for probe, anyway).
New patch. Added feature: Explicitly check for invalid addresses in the ichspi driver and abort early with SPI_INVALID_ADDRESS.
Signed-off-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
Acked-by: Stefan Reinauer stepan@coresystems.de